getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number and transaction index position.
Last updated
Returns information about a transaction by block number and transaction index position.
Last updated
BLOCK PARAMETER
[required] - an integer block number, or the string "latest", "earliest" or "pending", see the
TRANSACTION INDEX POSITION
[required] - a hex of the integer representing the position in the block
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.