# `Ethers.Transaction.Metadata`
[🔗](https://github.com/ExWeb3/elixir_ethers/blob/v0.6.12/lib/ethers/transaction/metadata.ex#L1)

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

# `t`

```elixir
@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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
