Skip to main content

eth_getTransactionReceipt RPC Method

Returns the receipt of a transaction by transaction hash.

Updated on
May 06, 2026

Parameters

hash
string
REQUIRED

The hash of a transaction

Returns

object
object | null

A transaction receipt object, or null when no receipt was found

blockHash
string

The hash of the block where this transaction was in

blockNumber
string

The block number where this transaction was added encoded as a hexadecimal

contractAddress
string | null

The contract address created for contract creation, otherwise null

cumulativeGasUsed
string

The total gas used when this transaction was executed in the block

depositNonce
string

The deposit nonce associated with a particular address

depositReceiptVersion
string

The version of a deposit receipt

effectiveGasPrice
string

The total base charge plus tip paid for each unit of gas

from
string

The address of the sender

gasUsed
string

The amount of gas used by this specific transaction alone

l1BaseFeeScalar
string

The L1 base fee scalar used to calculate the L1 fee

l1Fee
string

(Optional) The fee associated with a transaction on the Layer 1, it is calculated as l1GasPrice multiplied by l1GasUsed

l1FeeScalar
string

(Optional) A multiplier applied to the actual gas usage on Layer 1 to calculate the dynamic costs. If set to 1, it has no impact on the L1 gas usage

l1GasPrice
string

(Optional) The gas price for transactions on the Layer 1

l1GasUsed
string

(Optional) The amount of gas consumed by a transaction on the Layer 1

logs
array

An array of log objects that generated this transaction

address

The address from which this log was generated

topics
array

An array of zero to four 32 Bytes DATA of indexed log arguments. In Solidity, the first topic is the hash of the signature of the event (e.g. Deposit(address, bytes32, uint256)), except you declare the event with the anonymous specifier

data
string

The 32 byte non-indexed argument of the log

blockNumber
string | null

The block number where this log was in. null if the log is pending

transactionHash
string | null

The hash of the transaction from which this log was created from. null if the log is pending

transactionIndex
string | null

The transactions index position from which this log was created from. null if the log is pending

blockHash
string | null

The hash of the block where this log was in. null if the log is pending

logIndex
string | null

The integer of log index position in the block encoded as hexadecimal. null if the log is pending

removed
boolean

It is true if log was removed, due to a chain reorganization and false if it's a valid log

logsBloom
string

The bloom filter which is used to retrive related logs

status
string

It is either 1 (success) or 0 (failure) encoded as a hexadecimal

to
string | null

The address of the receiver. Null when its a contract creation transaction

transactionHash
string

The hash of the transaction

transactionIndex
string

The transactions index position in the block encoded as a hexadecimal

type
string

The type of value

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x1949aaec5140f62a0f701b977ac0ec162f81b40cc049006da145a69e7dfb9813",
6
"blockNumber": "0x6e69674",
7
"contractAddress": null,
8
"cumulativeGasUsed": "0xb741",
9
"depositNonce": "0xa0d3fc",
10
"depositReceiptVersion": "0x1",
11
"effectiveGasPrice": "0x0",
12
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
13
"gasUsed": "0xb741",
14
"logs": [],
15
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
16
"status": "0x1",
17
"to": "0x4200000000000000000000000000000000000015",
18
"transactionHash": "0x2c4c4979e226139eb70762c9ffee2920e7e82571e512ea5712c43d55cdb26eb4",
19
"transactionIndex": "0x0",
20
"type": "0x7e"
21
}
22
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x1949aaec5140f62a0f701b977ac0ec162f81b40cc049006da145a69e7dfb9813",
6
"blockNumber": "0x6e69674",
7
"contractAddress": null,
8
"cumulativeGasUsed": "0xb741",
9
"depositNonce": "0xa0d3fc",
10
"depositReceiptVersion": "0x1",
11
"effectiveGasPrice": "0x0",
12
"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",
13
"gasUsed": "0xb741",
14
"logs": [],
15
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
16
"status": "0x1",
17
"to": "0x4200000000000000000000000000000000000015",
18
"transactionHash": "0x2c4c4979e226139eb70762c9ffee2920e7e82571e512ea5712c43d55cdb26eb4",
19
"transactionIndex": "0x0",
20
"type": "0x7e"
21
}
22
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free