Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject | null
A transaction receipt object, or null when no receipt was found
- blockHashstring
The hash of the block where this transaction was in
- blockNumberstring
The block number where this transaction was added encoded as a hexadecimal
- contractAddressstring | null
The contract address created for contract creation, otherwise null
- cumulativeGasUsedstring
The total gas used when this transaction was executed in the block
- effectiveGasPricestring
The actual gas price paid by the sender encoded as a hexadecimal
- fromstring
The address of the sender
- gasUsedstring
The amount of gas used by this specific transaction alone
- gasUsedForL1string
The gas used for L1 data posting
- l1BlockNumberstring
The L1 block number
- logsarray
An array of log objects that were generated by this transaction
- addressstring
The address from which this log originated
- topicsarray
An array of (0 to 4) 32-byte topics. The first topic is usually the event signature hash
- datastring
One or more 32-byte non-indexed arguments of the log encoded as hexadecimal
- blockHashstring | null
The hash of the block where this log was in. null when it's a pending log
- blockNumberstring | null
The block number where this log was in. null when it's a pending log
- blockTimestampstring
The timestamp of the block that included this log
- transactionHashstring | null
The hash of the transaction this log was created from. null when it's a pending log
- transactionIndexstring | null
The transaction index position this log was created from encoded as hexadecimal. null when it's a pending log
- logIndexstring | null
The log index position in the block encoded as hexadecimal. null when it's a pending log
- removedboolean
True if the log was removed due to a chain reorganization, false if it's a valid log
- logsBloomstring
The bloom filter which is used to retrieve related logs
- statusstring
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The transaction index position in the block encoded as a hexadecimal
- typestring
The transaction type encoded as a hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xd2ef4e91af5fc49137909f323104a64f99a5d500086b5299bacb33d10eb9d17c",6"blockNumber": "0x6d000",7"contractAddress": null,8"cumulativeGasUsed": "0x8995",9"effectiveGasPrice": "0x13134d0",10"from": "0xf4e84fee3aa08aec9c2580260311d28de371d937",11"gasUsed": "0x8995",12"gasUsedForL1": "0x871",13"l1BlockNumber": "0x183f0fd",14"logs": [15{16"address": "0x4e5b9fc9df660c355743f8b6dd79389db8dcd836",17"topics": [18"0x3882913cc68f82c89cce1c0bf8531b426601a2ff3ac7c382f47bed684295b2f8"19],20"data": "0x000000000000000000000000000000000000000000000000000000039cf985fd000000000000000000000000000000000000000000000000000000000183f0fd0000000000000000000000000000000000000000000000000000000000000000",21"blockNumber": "0x6d000",22"transactionHash": "0x33dec5073161051abab063f8dc8d93674d32c77a362054eb2b29acb880f23314",23"transactionIndex": "0x1",24"blockHash": "0xd2ef4e91af5fc49137909f323104a64f99a5d500086b5299bacb33d10eb9d17c",25"blockTimestamp": "0x6a428abd",26"logIndex": "0x0",27"removed": false28}29],30"logsBloom": "0x01000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000040000000000000000000",31"status": "0x1",32"to": "0x4e5b9fc9df660c355743f8b6dd79389db8dcd836",33"transactionHash": "0x33dec5073161051abab063f8dc8d93674d32c77a362054eb2b29acb880f23314",34"transactionIndex": "0x1",35"type": "0x2"36}37}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0xd2ef4e91af5fc49137909f323104a64f99a5d500086b5299bacb33d10eb9d17c",6"blockNumber": "0x6d000",7"contractAddress": null,8"cumulativeGasUsed": "0x8995",9"effectiveGasPrice": "0x13134d0",10"from": "0xf4e84fee3aa08aec9c2580260311d28de371d937",11"gasUsed": "0x8995",12"gasUsedForL1": "0x871",13"l1BlockNumber": "0x183f0fd",14"logs": [15{16"address": "0x4e5b9fc9df660c355743f8b6dd79389db8dcd836",17"topics": [18"0x3882913cc68f82c89cce1c0bf8531b426601a2ff3ac7c382f47bed684295b2f8"19],20"data": "0x000000000000000000000000000000000000000000000000000000039cf985fd000000000000000000000000000000000000000000000000000000000183f0fd0000000000000000000000000000000000000000000000000000000000000000",21"blockNumber": "0x6d000",22"transactionHash": "0x33dec5073161051abab063f8dc8d93674d32c77a362054eb2b29acb880f23314",23"transactionIndex": "0x1",24"blockHash": "0xd2ef4e91af5fc49137909f323104a64f99a5d500086b5299bacb33d10eb9d17c",25"blockTimestamp": "0x6a428abd",26"logIndex": "0x0",27"removed": false28}29],30"logsBloom": "0x01000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000040000000000000000000",31"status": "0x1",32"to": "0x4e5b9fc9df660c355743f8b6dd79389db8dcd836",33"transactionHash": "0x33dec5073161051abab063f8dc8d93674d32c77a362054eb2b29acb880f23314",34"transactionIndex": "0x1",35"type": "0x2"36}37}