Interface EthereumTransactionCraftingResponse

interface EthereumTransactionCraftingResponse {
    chainId: number;
    data: string;
    gas: string;
    maxFeePerGas: string;
    maxPriorityFeePerGas: string;
    nonce: number;
    serialized: string;
    to: string;
    value: string;
}

Properties

chainId: number

Ethereum network chainId

Example

560048
data: string

serialised calldata

Example

"0x02f86d59085208943b57d2c0f0db7b7a5e080c0"
gas: string

Gas limit for the transaction

Example

"21000"
maxFeePerGas: string

Maximum fee per gas in wei

Example

"20000000000"
maxPriorityFeePerGas: string

Maximum priority fee per gas in wei

Example

"1000000000"
nonce: number

nonce value, this is based on the provided fromAddress

Example

3
serialized: string

serialized unsigned transaction made up of other returned fields

Example

"0x02f86d01808459682f00825208943b3b57de6e72c0f0db7b7a73b3e3e5e5e5e5e5e588016345785d8a000080c0"
to: string

target contract address

Example

"0x0000000000000000000000000000000000000000"
value: string

ETH value to send with transaction (in wei)

Example

"1000000000000000000"

Generated using TypeDoc