Methods
Static serializeGenericTransaction
- serializeGenericTransaction(nonce: Nonce, gasPriceHex: string, gasLimitHex: string, recipient: Address, value: string, data: Uint8Array, v: string, r?: Uint8Array, s?: Uint8Array): Uint8Array
-
Parameters
-
nonce: Nonce
-
gasPriceHex: string
-
gasLimitHex: string
-
recipient: Address
-
value: string
-
data: Uint8Array
-
v: string
-
Optional r: Uint8Array
-
Optional s: Uint8Array
Returns Uint8Array
Static serializeSignedTransaction
- serializeSignedTransaction(signed: SignedTransaction, erc20Tokens?: Erc20TokensMap, atomicSwapContractAddress?: Address): Uint8Array
-
Parameters
-
signed: SignedTransaction
-
Default value erc20Tokens: Erc20TokensMap = new Map()
-
Optional atomicSwapContractAddress: Address
Returns Uint8Array
Static serializeUnsignedTransaction
- serializeUnsignedTransaction(unsigned: UnsignedTransaction, nonce: Nonce, erc20Tokens?: Erc20TokensMap, atomicSwapContractAddress?: Address): Uint8Array
-
Parameters
-
unsigned: UnsignedTransaction
-
nonce: Nonce
-
Default value erc20Tokens: Erc20TokensMap = new Map()
-
Optional atomicSwapContractAddress: Address
Returns Uint8Array