Skip to main content

eth_getTransactionReceipt RPC Method

Returns the receipt of a transaction by transaction hash.

Updated on
Mar 27, 2026
Please note that transaction receipts are not available for pending transactions.

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 | null

The hash of the block. null when pending

blockNumber
string

The block number in hexadecimal

contractAddress
string | null

The contract address created if the transaction was a contract creation, otherwise null

cumulativeGasUsed
string

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

effectiveGasPrice
string

The actual value per gas deducted from the sender's account

from
string

The address of the sender

gasUsed
string

The amount of gas used by this specific transaction alone

gasUsedForL1
string

(Optional) The amount of Layer 1 gas used, encoded as hexadecimal

l1BlockNumber
string

(Optional) The block number of the L1 chain this transaction references

logs
array

An array of log objects generated by this transaction

address
string

The address from which this log originated

topics
array

Array of 0 to 4 32-byte DATA of indexed log arguments

data
string

Contains one or more 32-byte non-indexed arguments of the log

blockNumber
string | null

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

blockTimestamp
string

The Unix timestamp of the block containing this log, encoded as hexadecimal

transactionHash
string

The hash of the transaction this log was created from

transactionIndex
string

Integer of the transaction's index position this log was created from, encoded as hexadecimal

blockHash
string | null

Hash of the block where this log was in. null when pending

logIndex
string

Integer of the log index position in the block, encoded as hexadecimal

removed
boolean

True when the log was removed due to a chain reorganization

logsBloom
string

The bloom filter for light clients to quickly retrieve related logs

status
string

Either 1 (success) or 0 (failure) encoded as 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 index of the transaction in the block

type
string

The transaction type

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x2",
6
"status": "0x1",
7
"cumulativeGasUsed": "0x292c0",
8
"logs": [
9
{
10
"address": "0x779c127bd3b93efcefacf182e2ce4907765db997",
11
"topics": [
12
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
13
"0x00000000000000000000000043e4a1aa550a979582dc3449a6bd441f37f2f84c",
14
"0x000000000000000000000000f9f5d67ea953a764b07e05bbad59d851544351e5"
15
],
16
"data": "0x000000000000000000000000000000000004d0985cb1d3608acc930223590000",
17
"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",
18
"blockNumber": "0x100000",
19
"blockTimestamp": "0x6a0fdd04",
20
"transactionHash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",
21
"transactionIndex": "0x1",
22
"logIndex": "0x3",
23
"removed": false
24
}
25
],
26
"logsBloom": "0x00000000000000000000000000000000000000000040000000000000000000008000000000000000000000000000000000100000000001000000000000000000000000000000000000000008000000000000000000000000000000000000000000008000000000000004000000000000000000000000000000000012000000000000000000000000000000000000000400000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
27
"transactionHash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",
28
"transactionIndex": "0x1",
29
"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",
30
"blockNumber": "0x100000",
31
"gasUsed": "0xc964",
32
"effectiveGasPrice": "0xdf8475800",
33
"from": "0x43e4a1aa550a979582dc3449a6bd441f37f2f84c",
34
"to": "0x779c127bd3b93efcefacf182e2ce4907765db997",
35
"contractAddress": null
36
}
37
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x2",
6
"status": "0x1",
7
"cumulativeGasUsed": "0x292c0",
8
"logs": [
9
{
10
"address": "0x779c127bd3b93efcefacf182e2ce4907765db997",
11
"topics": [
12
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
13
"0x00000000000000000000000043e4a1aa550a979582dc3449a6bd441f37f2f84c",
14
"0x000000000000000000000000f9f5d67ea953a764b07e05bbad59d851544351e5"
15
],
16
"data": "0x000000000000000000000000000000000004d0985cb1d3608acc930223590000",
17
"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",
18
"blockNumber": "0x100000",
19
"blockTimestamp": "0x6a0fdd04",
20
"transactionHash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",
21
"transactionIndex": "0x1",
22
"logIndex": "0x3",
23
"removed": false
24
}
25
],
26
"logsBloom": "0x00000000000000000000000000000000000000000040000000000000000000008000000000000000000000000000000000100000000001000000000000000000000000000000000000000008000000000000000000000000000000000000000000008000000000000004000000000000000000000000000000000012000000000000000000000000000000000000000400000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
27
"transactionHash": "0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f",
28
"transactionIndex": "0x1",
29
"blockHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",
30
"blockNumber": "0x100000",
31
"gasUsed": "0xc964",
32
"effectiveGasPrice": "0xdf8475800",
33
"from": "0x43e4a1aa550a979582dc3449a6bd441f37f2f84c",
34
"to": "0x779c127bd3b93efcefacf182e2ce4907765db997",
35
"contractAddress": null
36
}
37
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free