_createsignedtx_.md 1.01 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

15
**createSignedTx**(`unsigned`: [UnsignedTransaction](../interfaces/_balancetransfer_.unsignedtransaction.md), `signature`: string): *string*
16

17
*Defined in [src/createSignedTx.ts:14](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/createSignedTx.ts#L14)*
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 |
------ | ------ | ------ |
27
`unsigned` | [UnsignedTransaction](../interfaces/_balancetransfer_.unsignedtransaction.md) | The JSON representing the unsigned transaction |
28
29
30
`signature` | string | Signature of the signing payload produced by the remote signer  |

**Returns:** *string*