View Source Ethers.Transaction.Metadata (Ethers v0.6.2)
Metadata for a transaction like block hash, block number, and transaction index.
Summary
Types
@type t() :: %Ethers.Transaction.Metadata{ block_hash: binary() | nil, block_number: non_neg_integer() | nil, transaction_index: non_neg_integer() | nil }
Transaction metadata type incorporating the following fields:
block_hash
- hash of the block where the transaction was includedblock_number
- block number where the transaction was includedtransaction_index
- index of the transaction in the block