eth_getTransactionByBlockNumberAndIndex
eth_getTransactionByBlockNumberAndIndex
Returns the transaction at the given index within the block identified by number or tag. Returns null if the block is unknown or the index is out of range.
⚡ Compute Units: 15 CU
Request
Response
32-byte hash of the transaction
20-byte address of the sender
20-byte address of the receiver, or null for contract-creation transactions.
32-byte hash of the block where this transaction was included. Null for pending transactions (mempool, not yet mined).
Transaction type as hex-encoded byte. Standard EIP values: 0x0 legacy, 0x1 EIP-2930 access list, 0x2 EIP-1559, 0x3 EIP-4844 blob, 0x4 EIP-7702 authorization. Some rollup stacks define additional types (e.g. 0x7E OP-Stack deposit transactions); these values are stack-specific.
EIP-2930 access list (present on type 0x1 and 0x2+)
EIP-1559 max total fee per gas (present on type 0x2+)
EIP-1559 max miner tip per gas (present on type 0x2+)
EIP-4844 max fee per blob gas (present on type 0x3)
EIP-4844 versioned hashes of blob commitments (present on type 0x3)
Signature y-parity (present on type 0x1+ instead of v)
Signature recovery byte (legacy and EIP-155 transactions)