Export

EthereumTransaction

interface EthereumTransaction {
    block_timestamp?: string;
    flattened_traces?: EthereumTransactionFlattenedTrace[];
    from: string;
    gas?: number;
    gas_price?: number;
    hash?: string;
    index?: number;
    input?: string;
    max_fee_per_gas?: number;
    max_priority_fee_per_gas?: number;
    mint?: string;
    nonce?: number;
    priority_fee_per_gas?: number;
    receipt?: TransactionReceipt;
    rlp_encoded_tx?: string;
    to: string;
    token_transfers?: EthereumTokenTransfer[];
    transaction_access_list?: EthereumTransactionAccessList;
    type?: number;
    value?: string;
}

Properties

block_timestamp?: string

The timestamp of the block in which the event was emitted

Memberof

EthereumTransaction

Memberof

EthereumTransaction

from: string

The onchain address of the sender.

Memberof

EthereumTransaction

gas?: number

The amount of gas spent in the transaction.

Memberof

EthereumTransaction

gas_price?: number

The price per gas spent in the transaction in atomic units of the native asset.

Memberof

EthereumTransaction

hash?: string

The hash of the transaction as a hexadecimal string, prefixed with 0x.

Memberof

EthereumTransaction

index?: number

The index of the transaction in the block.

Memberof

EthereumTransaction

input?: string

The input data of the transaction.

Memberof

EthereumTransaction

max_fee_per_gas?: number

The max fee per gas as defined in EIP-1559. https://eips.ethereum.org/EIPS/eip-1559 for more details.

Memberof

EthereumTransaction

max_priority_fee_per_gas?: number

The max priority fee per gas as defined in EIP-1559. https://eips.ethereum.org/EIPS/eip-1559 for more details.

Memberof

EthereumTransaction

mint?: string

This is for handling optimism rollup specific EIP-2718 transaction type field.

Memberof

EthereumTransaction

nonce?: number

The nonce of the transaction in the source address.

Memberof

EthereumTransaction

priority_fee_per_gas?: number

The confirmed priority fee per gas as defined in EIP-1559. https://eips.ethereum.org/EIPS/eip-1559 for more details.

Memberof

EthereumTransaction

Memberof

EthereumTransaction

rlp_encoded_tx?: string

RLP encoded transaction as a hex string (prefixed with 0x) for native compatibility with popular eth clients such as etherjs, viem etc.

Memberof

EthereumTransaction

to: string

The onchain address of the receiver.

Memberof

EthereumTransaction

token_transfers?: EthereumTokenTransfer[]

Memberof

EthereumTransaction

transaction_access_list?: EthereumTransactionAccessList

Memberof

EthereumTransaction

type?: number

The EIP-2718 transaction type. See https://eips.ethereum.org/EIPS/eip-2718 for more details.

Memberof

EthereumTransaction

value?: string

The value of the transaction in atomic units of the native asset.

Memberof

EthereumTransaction