View Source Ethers.Transaction.Metadata (Ethers v0.6.2)

Metadata for a transaction like block hash, block number, and transaction index.

Summary

Types

t()

Transaction metadata type incorporating the following fields

Types

t()

@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 included
  • block_number - block number where the transaction was included
  • transaction_index - index of the transaction in the block