Skip to main content

Interface: EthereumTransaction

Common fields for all cryptocurrency transactions

Hierarchy

Properties

amount

amount: BigNumber

The amount of token to send in the transaction, denoted in the smallest cryptocurrency's magnitude For example in BTC, a tx with an 'amount' field of 1 will correspond to a tx corresponding to 0.00000001 BTC

Inherited from

TransactionCommon.amount

Defined in

packages/core/src/families/types.ts:47


data

Optional data: Buffer

Defined in

packages/core/src/families/ethereum/types.ts:9


family

Readonly family: "ethereum"

The family of the transaction

Overrides

TransactionCommon.family

Defined in

packages/core/src/families/ethereum/types.ts:7


gasLimit

Optional gasLimit: BigNumber

Defined in

packages/core/src/families/ethereum/types.ts:11


gasPrice

Optional gasPrice: BigNumber

Defined in

packages/core/src/families/ethereum/types.ts:10


maxFeePerGas

Optional maxFeePerGas: BigNumber

Defined in

packages/core/src/families/ethereum/types.ts:13


maxPriorityFeePerGas

Optional maxPriorityFeePerGas: BigNumber

Defined in

packages/core/src/families/ethereum/types.ts:12


nonce

Optional nonce: number

Defined in

packages/core/src/families/ethereum/types.ts:8


recipient

recipient: string

The address of the transaction's recipient

Inherited from

TransactionCommon.recipient

Defined in

packages/core/src/families/types.ts:51