Parameters
- hashstringREQUIRED
The transaction hash, You can use the existing receipt RPC to get preconfirmed receipts
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
- depositNoncestring
The nonce used for the deposit request associated with the transaction
- depositReceiptVersionstring
The version of a deposit receipt
- effectiveGasPricestring
The total base charge plus tip paid for each unit of gas
- fromstring
The address of the sender
- gasUsedstring
The amount of gas used by this specific transaction alone
- l1BaseFeeScalarstring
(Optional) The scalar applied to the Layer 1 base fee (specific to L2 networks).
- l1BlobBaseFeestring
(Optional) The Layer 1 blob base fee, used in blob-enabled L2s.
- l1BlobBaseFeeScalarstring
(Optional) The scalar applied to the Layer 1 blob base fee.
- l1Feestring
(Optional) The estimated total L1 fee for this transaction.
- l1GasPricestring
(Optional) The gas price used on Layer 1.
- l1GasUsedstring
(Optional) The amount of gas consumed on Layer 1.
- logsarray
An array of log objects that generated this transaction
- addressstring
The address from which this log was generated
- topicsarray
An array of zero to four 32 Bytes DATA of indexed log arguments
- datastring
The 32 byte non-indexed argument of the log
- blockNumberstring
The block number where this log was in
- transactionHashstring | null
The hash of the transaction from which this log was created from. null if the log is pending
- transactionIndexstring | null
The transaction's index position from which this log was created. null if pending
- blockHashstring
The hash of the block where this log was in
- logIndexstring | null
The integer of log index position in the block encoded as hexadecimal. null if the log is pending
- 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's index position in the block encoded as a hexadecimal
- typestring
The transaction type. '0x2' indicates an EIP-1559 transaction
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x863eb4e1084f11c3662c76786cef2bfd120b7d3f27302ebda967eec4b14ccff8",6"blockNumber": "0x3a09c",7"contractAddress": null,8"cumulativeGasUsed": "0xab96",9"depositNonce": "0x3a09b",10"depositReceiptVersion": "0x1",11"effectiveGasPrice": "0x0",12"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",13"gasUsed": "0xab96",14"logs": [],15"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",16"status": "0x1",17"to": "0x4200000000000000000000000000000000000015",18"transactionHash": "0x71ec1b60298dbb295aaf2c18561f41686e88fd1edfe9bf9a0059170d327d25e7",19"transactionIndex": "0x0",20"type": "0x7e"21}22}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"blockHash": "0x863eb4e1084f11c3662c76786cef2bfd120b7d3f27302ebda967eec4b14ccff8",6"blockNumber": "0x3a09c",7"contractAddress": null,8"cumulativeGasUsed": "0xab96",9"depositNonce": "0x3a09b",10"depositReceiptVersion": "0x1",11"effectiveGasPrice": "0x0",12"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",13"gasUsed": "0xab96",14"logs": [],15"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",16"status": "0x1",17"to": "0x4200000000000000000000000000000000000015",18"transactionHash": "0x71ec1b60298dbb295aaf2c18561f41686e88fd1edfe9bf9a0059170d327d25e7",19"transactionIndex": "0x0",20"type": "0x7e"21}22}