_balancetransfer_.txinfo.md 3.61 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[@amaurymartiny/txwrapper](../README.md)[Globals](../globals.md)["balanceTransfer"](../modules/_balancetransfer_.md)[TxInfo](_balancetransfer_.txinfo.md)

# Interface: TxInfo

## Hierarchy

* **TxInfo**

## Index

### Properties

* [address](_balancetransfer_.txinfo.md#address)
* [amount](_balancetransfer_.txinfo.md#amount)
* [blockHash](_balancetransfer_.txinfo.md#blockhash)
* [blockNumber](_balancetransfer_.txinfo.md#blocknumber)
* [genesisHash](_balancetransfer_.txinfo.md#genesishash)
18
* [keepAlive](_balancetransfer_.txinfo.md#optional-keepalive)
19
20
21
22
23
* [metadataRpc](_balancetransfer_.txinfo.md#metadatarpc)
* [nonce](_balancetransfer_.txinfo.md#nonce)
* [specVersion](_balancetransfer_.txinfo.md#specversion)
* [tip](_balancetransfer_.txinfo.md#tip)
* [to](_balancetransfer_.txinfo.md#to)
24
* [validityPeriod](_balancetransfer_.txinfo.md#validityperiod)
25
26
27
28
29
30
31

## Properties

###  address

**address**: *string*

32
*Defined in [src/balanceTransfer.ts:22](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L22)*
33
34
35
36
37
38
39
40
41

The ss-58 encoded address

___

###  amount

**amount**: *number*

42
*Defined in [src/balanceTransfer.ts:26](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L26)*
43
44
45
46
47
48
49
50
51

The amount to send

___

###  blockHash

**blockHash**: *string*

52
*Defined in [src/balanceTransfer.ts:30](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L30)*
53
54
55
56
57
58
59
60
61

The checkpoint hash of the block, in hex

___

###  blockNumber

**blockNumber**: *number*

62
*Defined in [src/balanceTransfer.ts:34](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L34)*
63
64
65
66
67
68
69
70
71

The checkpoint block number (u32), in hex

___

###  genesisHash

**genesisHash**: *string*

72
*Defined in [src/balanceTransfer.ts:38](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L38)*
73
74
75
76
77

The genesis hash of the chain, in hex

___

78
79
80
81
82
83
84
85
86
87
### `Optional` keepAlive

**keepAlive**? : *undefined | false | true*

*Defined in [src/balanceTransfer.ts:42](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L42)*

Use balances::transfer_keep_alive instead of balances::transfer

___

88
89
90
91
###  metadataRpc

**metadataRpc**: *string*

92
*Defined in [src/balanceTransfer.ts:47](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L47)*
93
94
95
96
97
98
99
100
101
102

The SCALE-encoded metadata, as a hex string. Can be retrieved via the RPC
call `state_getMetadata`

___

###  nonce

**nonce**: *number*

103
*Defined in [src/balanceTransfer.ts:51](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L51)*
104
105
106
107
108
109
110
111
112

The nonce for this transaction,

___

###  specVersion

**specVersion**: *number*

113
*Defined in [src/balanceTransfer.ts:55](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L55)*
114
115
116
117
118
119
120
121
122

The current spec version for the runtime

___

###  tip

**tip**: *number*

123
*Defined in [src/balanceTransfer.ts:59](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L59)*
124
125
126
127
128
129
130
131
132

The tip for this transaction, in hex

___

###  to

**to**: *string*

133
*Defined in [src/balanceTransfer.ts:63](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L63)*
134
135

The recipient address, ss-58 encoded
136
137
138
139
140
141
142

___

###  validityPeriod

**validityPeriod**: *number*

143
*Defined in [src/balanceTransfer.ts:68](https://github.com/amaurymartiny/polkadotjs-wrapper/blob/9e2988f/src/balanceTransfer.ts#L68)*
144
145
146

The amount of time (in second) the transaction is valid for. Will be
translated into a mortal era