GetTransactionReceipt
Get transaction receipt from transaction hash.
String
- The transaction hash.
blockHash
32 Bytes - String
: Hash of the block where this transaction was in.
blockNumber
- Number
: Block number where this transaction was in.
transactionHash
32 Bytes - String
: Hash of the transaction.
transactionIndex
- Number
: Integer of the transactions index position in the block.
from
- String
: Address of the sender.
to
- String
: Address of the receiver. null
when its a contract creation transaction.
contractAddress
- String
: The contract address created, if the transaction was a contract creation, otherwise null
.
cumulativeGasUsed
- Number
: The total amount of gas used when this transaction was executed in the block.
gasUsed
- Number
: The amount of gas used by this specific transaction alone.
logs
- Array
: Array of log objects, which this transaction generated.
Sample Curl Request
Sample Curl Response
String
- The transaction hash.
blockHash
32 Bytes - String
: Hash of the block where this transaction was in.
blockNumber
- Number
: Block number where this transaction was in.
transactionHash
32 Bytes - String
: Hash of the transaction.
transactionIndex
- Number
: Integer of the transactions index position in the block.
from
- String
: Address of the sender.
to
- String
: Address of the receiver. null
when its a contract creation transaction.
contractAddress
- String
: The contract address created, if the transaction was a contract creation, otherwise null
.
cumulativeGasUsed
- Number
: The total amount of gas used when this transaction was executed in the block.
gasUsed
- Number
: The amount of gas used by this specific transaction alone.
logs
- Array
: Array of log objects, which this transaction generated.
Sample Curl Request
Sample Curl Response