Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- resultobject
The transaction receipt object
- typestring
The transaction type
- statusstring
Transaction execution status: 1 for success, 0 for failure (hex encoded)
- cumulativeGasUsedstring
Total gas used in the block up to and including this transaction
- logsarray
An array of log objects generated by this transaction
- addressstring
The address from which this log originated
- topicsarray
Array of 0 to 4 32-byte DATA of indexed log arguments
- datastring
Contains one or more 32-byte non-indexed arguments of the log
- blockNumberstring | null
The block number where this log was in. null when it's a pending log
- transactionHashstring
The hash of the transaction this log was created from
- transactionIndexstring
Index position of the transaction that generated the log
- blockHashstring | null
Hash of the block where this log was in. null when pending
- logIndexstring
Index position of the log in the block
- removedboolean
True if the log was removed due to a chain reorganization
- logsBloomstring
Bloom filter for light clients to quickly retrieve related logs
- transactionHashstring
The hash of the transaction
- transactionIndexstring
Index position of the transaction within the block
- blockHashstring
The hash of the block containing this transaction
- blockNumberstring
The block number containing this transaction, in hexadecimal
- gasUsedstring
Gas used by this specific transaction alone
- effectiveGasPricestring
Actual gas price paid post base fee and priority fee calculation
- fromstring
The address of the sender
- tostring | null
The address of the receiver. null if it's a contract creation transaction
- contractAddressstring | null
Contract address created by the transaction, or null if not a contract creation
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"status": "0x1",7"cumulativeGasUsed": "0x251f4",8"logs": [],9"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",10"transactionHash": "0x58140afbab35d992bcccaf9df2630ed2e4c179ab2ae132e4e7b0f252f4b562b5",11"transactionIndex": "0x3",12"blockHash": "0x3470f949d7b08fa655c7228dd7a05a36dd31ceaf67fb05b42664262f31922d87",13"blockNumber": "0xba2cd",14"gasUsed": "0x947d",15"effectiveGasPrice": "0x47868c08",16"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",17"to": "0x3c2269811836af69497e5f486a85d7316753cf62",18"contractAddress": null19}20}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x0",6"status": "0x1",7"cumulativeGasUsed": "0x251f4",8"logs": [],9"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",10"transactionHash": "0x58140afbab35d992bcccaf9df2630ed2e4c179ab2ae132e4e7b0f252f4b562b5",11"transactionIndex": "0x3",12"blockHash": "0x3470f949d7b08fa655c7228dd7a05a36dd31ceaf67fb05b42664262f31922d87",13"blockNumber": "0xba2cd",14"gasUsed": "0x947d",15"effectiveGasPrice": "0x47868c08",16"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",17"to": "0x3c2269811836af69497e5f486a85d7316753cf62",18"contractAddress": null19}20}