Skip to content
docs

TxRow

Defined in: history-evm/src/rows.ts:12

Explorer rows normalized to one shape per list, whatever the backend (Etherscan txlist/tokentx/txlistinternal, Blockscout transactions/token-transfers/internal-transactions). mergeRows folds the three lists into one EvmChainTx per hash.

block: number

Defined in: history-evm/src/rows.ts:14


optional contractAddress?: string

Defined in: history-evm/src/rows.ts:26

Address created by this tx, when it was a deployment.


optional fee?: bigint

Defined in: history-evm/src/rows.ts:24


from: string

Defined in: history-evm/src/rows.ts:17


hash: string

Defined in: history-evm/src/rows.ts:13


input: string

Defined in: history-evm/src/rows.ts:22

0x when the tx carries no calldata.


raw: unknown

Defined in: history-evm/src/rows.ts:27


status: "confirmed" | "failed" | "pending"

Defined in: history-evm/src/rows.ts:23


time: number

Defined in: history-evm/src/rows.ts:16

Unix seconds.


to: string | null

Defined in: history-evm/src/rows.ts:19

Null for contract creation.


value: bigint

Defined in: history-evm/src/rows.ts:20