getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number and transaction index position.
REQUEST
HEADER
REQUEST PARAMS
BLOCK PARAMETER
[required] - an integer block number, or the string "latest", "earliest" or "pending", see the default block parameterTRANSACTION INDEX POSITION
[required] - a hex of the integer representing the position in the block
EXAAMPLE
RESPONSE
RESULT FIELDS
TRANSACTION
- A transaction object, or null when no transaction was found
hash
: 32 Bytes - hash of the transaction.nonce
: the number of transactions made by the sender prior to this one.blockHash
: 32 Bytes - hash of the block where this transaction was in. null when its pending.blockNumber
: block number where this transaction was in. null when its pending.transactionIndex
: integer of the transactions index position in the block. null when its pending.from
: 20 Bytes - address of the sender.to
: 20 Bytes - address of the receiver. null when its a contract creation transaction.value
: value transferred in Wei.gasPrice
: gas price provided by the sender in Wei.gas
: gas provided by the sender.input
: the data send along with the transaction.
BODY
Last updated