Skip to main content

eth_getTransactionReceipt RPC Method

Returns the receipt of a transaction by transaction hash.

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

Parameters

hash
string
REQUIRED

The hash of a transaction

Returns

result
object

An object of transaction receipt:

blockHash
string

The hash of the block. null when pending

blockNumber
string

The block number encoded as a 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

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

The block number where this log was in, encoded as a hexadecimal. null when it is a pending log

transactionHash
string

The hash of the transactions this log was created from

transactionIndex
string

Integer of the transaction's index position log was created from

blockHash
string

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

logIndex
string

Integer of the log index position in the block

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

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
"blockHash": "0x14431d03f1bd73799eb2a364d122a6878bd9d9f522bf372f97b2e034e27af763",
6
"blockNumber": "0x264ec1c",
7
"contractAddress": null,
8
"cumulativeGasUsed": "0x1a2596",
9
"effectiveGasPrice": "0x10a5bb6b00",
10
"from": "0xb3c506d60d45abb917ee10a947749a098b497d3d",
11
"gasUsed": "0x1fcf8",
12
"logs": [],
13
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
14
"status": "0x0",
15
"to": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
16
"transactionHash": "0x0a0e5de068f7afd79c4fd47670a90a44ea461ff77f5f415b80ef5225fcfb9b30",
17
"transactionIndex": "0x2",
18
"type": "0x0"
19
}
20
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blockHash": "0x14431d03f1bd73799eb2a364d122a6878bd9d9f522bf372f97b2e034e27af763",
6
"blockNumber": "0x264ec1c",
7
"contractAddress": null,
8
"cumulativeGasUsed": "0x1a2596",
9
"effectiveGasPrice": "0x10a5bb6b00",
10
"from": "0xb3c506d60d45abb917ee10a947749a098b497d3d",
11
"gasUsed": "0x1fcf8",
12
"logs": [],
13
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
14
"status": "0x0",
15
"to": "0x5543c6176feb9b4b179078205d7c29eea2e2d695",
16
"transactionHash": "0x0a0e5de068f7afd79c4fd47670a90a44ea461ff77f5f415b80ef5225fcfb9b30",
17
"transactionIndex": "0x2",
18
"type": "0x0"
19
}
20
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free