Parameters
- hashstringREQUIRED
The hash of a transaction
Returns
- objectobject | null
A transaction receipt object, or null when no receipt was found
- typestring
The transaction type encoded as a hexadecimal
- 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 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
- 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
- depositNoncestring
The deposit nonce encoded as a hexadecimal
- depositReceiptVersionstring
The deposit receipt version encoded as a hexadecimal
- logsBloomstring
The bloom filter which is used to retrieve related logs
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The transaction index position in the block encoded as a hexadecimal
- 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 by the sender encoded as a hexadecimal
- 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 for contract creation, otherwise null
- l1GasPricestring
The L1 gas price used for the transaction encoded as a hexadecimal
- l1GasUsedstring
The L1 gas used for the transaction encoded as a hexadecimal
- l1Feestring
The L1 fee charged for the transaction encoded as a hexadecimal
- l1BaseFeeScalarstring
The L1 base fee scalar encoded as a hexadecimal
- l1BlobBaseFeestring
The L1 blob base fee encoded as a hexadecimal
- l1BlobBaseFeeScalarstring
The L1 blob base fee scalar encoded as a hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x7e",6"status": "0x1",7"cumulativeGasUsed": "0x18d5c",8"logs": [],9"depositNonce": "0x6e8c54",10"depositReceiptVersion": "0x1",11"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",12"transactionHash": "0x6eac46de7abaf4079fae382032f670261d68637a9c5b5c515b66f1c5c302a475",13"transactionIndex": "0x0",14"blockHash": "0xb851bd3df47af166dd39c7b54d0effe9174f2202e46dac92cae0098abc116517",15"blockNumber": "0x6e8c55",16"gasUsed": "0x18d5c",17"effectiveGasPrice": "0x0",18"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",19"to": "0x4200000000000000000000000000000000000015",20"contractAddress": null,21"l1GasPrice": "0x297fe0b4",22"l1GasUsed": "0x6f5",23"l1Fee": "0x0",24"l1BaseFeeScalar": "0x558",25"l1BlobBaseFee": "0x8c6083ea1d86a98",26"l1BlobBaseFeeScalar": "0x0"27}28}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"type": "0x7e",6"status": "0x1",7"cumulativeGasUsed": "0x18d5c",8"logs": [],9"depositNonce": "0x6e8c54",10"depositReceiptVersion": "0x1",11"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",12"transactionHash": "0x6eac46de7abaf4079fae382032f670261d68637a9c5b5c515b66f1c5c302a475",13"transactionIndex": "0x0",14"blockHash": "0xb851bd3df47af166dd39c7b54d0effe9174f2202e46dac92cae0098abc116517",15"blockNumber": "0x6e8c55",16"gasUsed": "0x18d5c",17"effectiveGasPrice": "0x0",18"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",19"to": "0x4200000000000000000000000000000000000015",20"contractAddress": null,21"l1GasPrice": "0x297fe0b4",22"l1GasUsed": "0x6f5",23"l1Fee": "0x0",24"l1BaseFeeScalar": "0x558",25"l1BlobBaseFee": "0x8c6083ea1d86a98",26"l1BlobBaseFeeScalar": "0x0"27}28}