eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number and transaction index position.
REQUEST
HEADERS
REQUEST PARAMS
BLOCK PARAMETER
[required] - hexadecimal block number, or the string "latest", "earliest" or "pending".TRANSACTION INDEX POSITION
[required] - a hex of the integer representing the position in the block
EXAMPLE
RESPONSE
RESULT FIELDS
TRANSACTION
- A transaction object, or null when no transaction was foundaccessList
: [optional] list of addresses and storage keys the transaction plans to access. See access list transactions.blockHash
: 32 Bytes - hash of the block including this transaction.null
when it's pending.blockNumber
: number of the block including this transaction.null
when it's pending.chainID
: [optional] chain ID specifying the network. Returned only for EIP-1559 transactions.from
: 20 Bytes - address of the sender.gas
: gas provided by the sender.gasPrice
: gas price provided by the sender in Wei.hash
: 32 Bytes - hash of the transaction.input
: the data sent along with the transaction.maxPriorityFeePerGas
: [optional] maximum fee, in Wei, the sender is willing to pay per gas above the base fee. See EIP-1559 transactions.maxFeePerGas
: [optional] maximum total fee (base fee + priority fee), in Wei, the sender is willing to pay per gas. See EIP-1559 transactions.nonce
: the number of transactions made by the sender prior to this one.r
: 32 Bytes - ECDSA signaturer
.s
: 32 Bytes - ECDSA signatures
.to
: 20 Bytes - address of the receiver.null
when it's a contract creation transaction.transactionIndex
: the transaction's index position in the block, in hexadecimal.null
when it's pending.type
: the transaction type.v
: ECDSA recovery ID.value
: value transferred in Wei.
BODY
Last updated