getTransactionReceipt
REQUEST
HEADERS
REQUEST PARAMS
RESPONSE
RESULT FIELDS
TRANSACTION RECEIPT
- A transaction receipt object, or null when no receipt was found:transactionHash
: 32 Bytes - hash of the transaction.transactionIndex
: integer of the transactions index position in the block.blockHash
: 32 Bytes - hash of the block where this transaction was in.blockNumber
: block number where this transaction was in.from
: 20 Bytes - address of the sender.to
: 20 Bytes - address of the receiver. Null when the transaction is a contract creation transaction.cumulativeGasUsed
: the total amount of gas used when this transaction was executed in the block.gasUsed
: the amount of gas used by this specific transaction alone.contractAddress
: 20 Bytes - the contract address created, if the transaction was a contract creation, otherwise - null.logs
: Array - Array of log objects, which this transaction generated.logsBloom
: 256 Bytes - Bloom filter for light clients to quickly retrieve related logs.
It also returns either: - root
: 32 bytes of post-transaction stateroot (pre Byzantium) - status
: either 1 (success) or 0 (failure)
BODY
Last updated