_createsignedtx_.md 1.06 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[@amaurymartiny/txwrapper](../README.md)[Globals](../globals.md)["createSignedTx"](_createsignedtx_.md)

# External module: "createSignedTx"

## Index

### Functions

* [createSignedTx](_createsignedtx_.md#createsignedtx)

## Functions

###  createSignedTx

Amaury Martiny's avatar
Amaury Martiny committed
15
**createSignedTx**(`unsigned`: [UnsignedTransaction](../interfaces/_balancetransfer_.unsignedtransaction.md), `signature`: string, `metadataRpc`: string): *string*
16

Amaury Martiny's avatar
Amaury Martiny committed
17
*Defined in [src/createSignedTx.ts:15](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/4ad0632/src/createSignedTx.ts#L15)*
18
19
20
21
22
23
24
25
26

Serialize a signed transaction in a format that can be submitted over the
Node RPC Interface from the signing payload and signature produced by the
remote signer

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
Amaury Martiny's avatar
Amaury Martiny committed
27
`unsigned` | [UnsignedTransaction](../interfaces/_balancetransfer_.unsignedtransaction.md) | The JSON representing the unsigned transaction |
28
29
30
31
`signature` | string | Signature of the signing payload produced by the remote signer  |
`metadataRpc` | string | - |

**Returns:** *string*