Skip to main content

eth_getTransactionReceipt RPC Method

Returns the receipt of a transaction by transaction hash.

Updated on
Dec 02, 2026

Parameters

hash
string
REQUIRED

The hash of a transaction

Returns

object
object

A transaction receipt object, or null when no receipt was found

type
string

The type of value

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 that generated this transaction

logsBloom
string

The bloom filter which is used to retrive related logs

transactionHash
string

The hash of the transaction

transactionIndex
string

The transactions index position in the block encoded as a hexadecimal

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 total base charge plus tip paid for each unit of gas

from
string

The address of the sender

to
string

The address of the receiver. Null when its a contract creation transaction

contractAddress
string | null

The contract address created for contract creation, otherwise null

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