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

type
string

The type of transaction

status
string

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

cumulativeGasUsed
string

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

logs
array

An array of log objects generated by this transaction

address
string

The address from which this log was generated

topics
array

An array of 0 to 4 indexed log topics. The first is usually the event signature hash

data
string

The data (non-indexed arguments) of the log

blockHash
string

The hash of the block where this log was in

blockNumber
string

The block number where this log was in

blockTimestamp
string

The timestamp of the block where this log was included

transactionHash
string

The hash of the transaction that generated this log

transactionIndex
string

The index position of the transaction within the block

logIndex
string

The index position of the log within the block

removed
boolean

True if the log was removed due to a chain reorganization

logsBloom
string

The bloom filter for light clients to quickly retrieve related logs

transactionHash
string

The hash of the transaction

transactionIndex
string

The index position of the transaction within the block

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

gasUsed
string

The amount of gas used by this specific transaction alone

effectiveGasPrice
string

The actual gas price paid (base fee + tip)

from
string

The address of the sender

to
string | null

The address of the receiver. Null when it’s a contract creation transaction

contractAddress
string | null

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

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x2",
6
"status": "0x1",
7
"cumulativeGasUsed": "0x24935",
8
"logs": [
9
{
10
"address": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
11
"topics": [
12
"0xcbdf6214089cba887ecbf35a0b6a734589959c9763342c756bb2a80ca2bc9f6e",
13
"0x000000000000000000000000000000000000000000000000000000000000001c",
14
"0x0000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f"
15
],
16
"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064",
17
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
18
"blockNumber": "0x247e80",
19
"blockTimestamp": "0x69de1215",
20
"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
21
"transactionIndex": "0x0",
22
"logIndex": "0x0",
23
"removed": false
24
}
25
],
26
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000200800000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000200080000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000400000000000000000000000000000000000000000000000000000020000000000000000400000",
27
"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
28
"transactionIndex": "0x0",
29
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
30
"blockNumber": "0x247e80",
31
"gasUsed": "0x24935",
32
"effectiveGasPrice": "0xf4247",
33
"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",
34
"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
35
"contractAddress": null
36
}
37
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"type": "0x2",
6
"status": "0x1",
7
"cumulativeGasUsed": "0x24935",
8
"logs": [
9
{
10
"address": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
11
"topics": [
12
"0xcbdf6214089cba887ecbf35a0b6a734589959c9763342c756bb2a80ca2bc9f6e",
13
"0x000000000000000000000000000000000000000000000000000000000000001c",
14
"0x0000000000000000000000001a2a5e805342d5139111488c59d72832055a3e8f"
15
],
16
"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064",
17
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
18
"blockNumber": "0x247e80",
19
"blockTimestamp": "0x69de1215",
20
"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
21
"transactionIndex": "0x0",
22
"logIndex": "0x0",
23
"removed": false
24
}
25
],
26
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000200800000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000200080000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000400000000000000000000000000000000000000000000000000000020000000000000000400000",
27
"transactionHash": "0xe9e55413b4d0b2c1beab8cda113c7a2c25c9b1b2b24aba3a4b651f0943912e17",
28
"transactionIndex": "0x0",
29
"blockHash": "0x44905d43d8fb5767e4bfba697ae0b6948efce6b7ebbebb349a6bc53d6e76d75e",
30
"blockNumber": "0x247e80",
31
"gasUsed": "0x24935",
32
"effectiveGasPrice": "0xf4247",
33
"from": "0x1a2a5e805342d5139111488c59d72832055a3e8f",
34
"to": "0x5362874e334bb5a2c8083a2cf2eb3db6f3d8e33c",
35
"contractAddress": null
36
}
37
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free