getTransactionByHash
Returns information about a transaction for a given hash.
HEADERS
REQUEST PARAMS
TRANSACTION HASH
[required] - a string representing the hash (32 bytes) of a transaction
EXAMPLE
RESPONSE
RESULT FIELDS
TRANSACTION
- A transaction object, or null when no transaction was foundhash
: 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
BODY
Last updated