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

result
object

The transaction receipt object

type
string

The transaction type

status
string

Transaction execution status: 1 for success, 0 for failure (hex encoded)

cumulativeGasUsed
string

Total gas used in the block up to and including this transaction

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

transactionHash
string

The hash of the transaction this log was created from

transactionIndex
string

Index position of the transaction that generated the log

blockHash
string | null

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

logIndex
string

Index position of the log in the block

removed
boolean

True if the log was removed due to a chain reorganization

logsBloom
string

Bloom filter for light clients to quickly retrieve related logs

transactionHash
string

The hash of the transaction

transactionIndex
string

Index position of the transaction within the block

blockHash
string

The hash of the block containing this transaction

blockNumber
string

The block number containing this transaction, in hexadecimal

gasUsed
string

Gas used by this specific transaction alone

effectiveGasPrice
string

Actual gas price paid post base fee and priority fee calculation

from
string

The address of the sender

to
string | null

The address of the receiver. null if it's a contract creation transaction

contractAddress
string | null

Contract address created by the transaction, or null if not a contract creation

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x0",
6
"status": "0x1",
7
"cumulativeGasUsed": "0x251f4",
8
"logs": [],
9
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
10
"transactionHash": "0x58140afbab35d992bcccaf9df2630ed2e4c179ab2ae132e4e7b0f252f4b562b5",
11
"transactionIndex": "0x3",
12
"blockHash": "0x3470f949d7b08fa655c7228dd7a05a36dd31ceaf67fb05b42664262f31922d87",
13
"blockNumber": "0xba2cd",
14
"gasUsed": "0x947d",
15
"effectiveGasPrice": "0x47868c08",
16
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
17
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
18
"contractAddress": null
19
}
20
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x0",
6
"status": "0x1",
7
"cumulativeGasUsed": "0x251f4",
8
"logs": [],
9
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
10
"transactionHash": "0x58140afbab35d992bcccaf9df2630ed2e4c179ab2ae132e4e7b0f252f4b562b5",
11
"transactionIndex": "0x3",
12
"blockHash": "0x3470f949d7b08fa655c7228dd7a05a36dd31ceaf67fb05b42664262f31922d87",
13
"blockNumber": "0xba2cd",
14
"gasUsed": "0x947d",
15
"effectiveGasPrice": "0x47868c08",
16
"from": "0x339d413ccefd986b1b3647a9cfa9cbbe70a30749",
17
"to": "0x3c2269811836af69497e5f486a85d7316753cf62",
18
"contractAddress": null
19
}
20
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free