Skip to main content

eth_getTransactionReceipt RPC Method

Returns the receipt of a transaction by transaction hash.

Updated on
Oct 15, 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

effectiveGasPrice
string

The actual gas price paid by the sender encoded as a hexadecimal

from
string

The address of the sender

gasUsed
string

The amount of gas used by this specific transaction alone

gasUsedForL1
string

Gas used for parent chain data posting, encoded as hexadecimal

l1BlockNumber
string

Parent chain block number encoded as hexadecimal

logs
array

An array of log objects that were generated by this transaction

address
string

The address from which this log originated

topics
array

An array of (0 to 4) 32-byte topics. The first topic is usually the event signature hash

data
string

One or more 32-byte non-indexed arguments of the log encoded as hexadecimal

blockHash
string | null

The hash of the block where this log was in. null when it's a pending log

blockNumber
string | null

The block number where this log was in. null when it's a pending log

blockTimestamp
string

The timestamp of the block that included this log

transactionHash
string | null

The hash of the transaction this log was created from. null when it's a pending log

transactionIndex
string | null

The transaction index position this log was created from encoded as hexadecimal. null when it's a pending log

logIndex
string | null

The log index position in the block encoded as hexadecimal. null when it's a pending log

removed
boolean

True if the log was removed due to a chain reorganization, false if it's a valid log

logsBloom
string

The bloom filter which is used to retrieve 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 it's a contract creation transaction

transactionHash
string

The hash of the transaction

transactionIndex
string

The transaction index position in the block encoded as a hexadecimal

type
string

The transaction type encoded as a hexadecimal

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x0f51457c6063a7e37360e528c2ccf2bb18528ccac1a15167c7a3822c0818fc0b",
6
"blockNumber": "0x92bef3",
7
"contractAddress": null,
8
"cumulativeGasUsed": "0x5208",
9
"effectiveGasPrice": "0x5f5e100",
10
"from": "0xa7e0c5e2339b30ef3e6d0478351fc6d225abc30a",
11
"gasUsed": "0x5208",
12
"gasUsedForL1": "0x0",
13
"l1BlockNumber": "0x3fe2390",
14
"logs": [],
15
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
16
"status": "0x1",
17
"to": "0xc64c78f7199b5477973bf68c010c932c2d663c11",
18
"transactionHash": "0x08882bf4ef7401b407f87367cb36887c4bbee74808a9dddd99b2b92c16e25ed3",
19
"transactionIndex": "0x1",
20
"type": "0x0"
21
}
22
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x0f51457c6063a7e37360e528c2ccf2bb18528ccac1a15167c7a3822c0818fc0b",
6
"blockNumber": "0x92bef3",
7
"contractAddress": null,
8
"cumulativeGasUsed": "0x5208",
9
"effectiveGasPrice": "0x5f5e100",
10
"from": "0xa7e0c5e2339b30ef3e6d0478351fc6d225abc30a",
11
"gasUsed": "0x5208",
12
"gasUsedForL1": "0x0",
13
"l1BlockNumber": "0x3fe2390",
14
"logs": [],
15
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
16
"status": "0x1",
17
"to": "0xc64c78f7199b5477973bf68c010c932c2d663c11",
18
"transactionHash": "0x08882bf4ef7401b407f87367cb36887c4bbee74808a9dddd99b2b92c16e25ed3",
19
"transactionIndex": "0x1",
20
"type": "0x0"
21
}
22
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free