Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject | null
A transaction receipt object, or null when no receipt was found
- typestring
The type of transaction
- statusstring
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
- cumulativeGasUsedstring
The total gas used when this transaction was executed in the block
- logsarray
An array of log objects generated by this transaction
- addressstring
The address from which this log was generated
- topicsarray
An array of 0 to 4 indexed log topics. The first is usually the event signature hash
- datastring
The data (non-indexed arguments) of the log
- blockHashstring
The hash of the block where this log was in
- blockNumberstring
The block number where this log was in
- blockTimestampstring
The timestamp of the block where this log was included
- transactionHashstring
The hash of the transaction that generated this log
- transactionIndexstring
The index position of the transaction within the block
- logIndexstring
The index position of the log within the block
- removedboolean
True if the log was removed due to a chain reorganization
- logsBloomstring
The bloom filter for light clients to quickly retrieve related logs
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The index position of the transaction within the block
- blockHashstring
The hash of the block where this transaction was in
- blockNumberstring
The block number where this transaction was added encoded as a hexadecimal
- gasUsedstring
The amount of gas used by this specific transaction alone
- effectiveGasPricestring
The actual gas price paid (base fee + tip)
- fromstring
The address of the sender
- tostring | null
The address of the receiver. Null when it’s a contract creation transaction
- contractAddressstring | null
The contract address created, if the transaction was a contract creation. Null otherwise
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x2",6"status": "0x1",7"cumulativeGasUsed": "0x24935",8"logs": [9{10"address": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",11"topics": [12"0xcbdf6214089cba887ecbf35a0b6a734589959c9763342c756bb2a80ca2bc9f6e",13"0x000000000000000000000000000000000000000000000000000000000000001c",14"0x0000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f"15],16"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064",17"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",18"blockNumber": "0x247e80",19"blockTimestamp": "0x69de1215",20"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",21"transactionIndex": "0x0",22"logIndex": "0x0",23"removed": false24}25],26"logsBloom": "0x00000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000200800000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000200080000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000400000000000000000000000000000000000000000000000000000020000000000000000400000",27"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",28"transactionIndex": "0x0",29"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",30"blockNumber": "0x247e80",31"gasUsed": "0x24935",32"effectiveGasPrice": "0xf4247",33"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",34"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",35"contractAddress": null36}37}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x2",6"status": "0x1",7"cumulativeGasUsed": "0x24935",8"logs": [9{10"address": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",11"topics": [12"0xcbdf6214089cba887ecbf35a0b6a734589959c9763342c756bb2a80ca2bc9f6e",13"0x000000000000000000000000000000000000000000000000000000000000001c",14"0x0000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f"15],16"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064",17"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",18"blockNumber": "0x247e80",19"blockTimestamp": "0x69de1215",20"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",21"transactionIndex": "0x0",22"logIndex": "0x0",23"removed": false24}25],26"logsBloom": "0x00000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000200800000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000200080000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000400000000000000000000000000000000000000000000000000000020000000000000000400000",27"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",28"transactionIndex": "0x0",29"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",30"blockNumber": "0x247e80",31"gasUsed": "0x24935",32"effectiveGasPrice": "0xf4247",33"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",34"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",35"contractAddress": null36}37}