Skip to main content

eth_getBlockReceipts RPC Method

Returns all transaction receipts for a given block.

Updated on
Mar 27, 2026

Parameters

blockNumber
string
REQUIRED

The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized

Returns

result
array

An array of transaction receipt objects

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 account

from
string

The address of the sender

gasUsed
string

The amount of gas used by this specific transaction alone

logs
array

Array of log objects that were generated during the transaction

address
string

An address from which this log originated

topics
array

Array of zero to four 32 Bytes of indexed log arguments. In Solidity, the first topic is the hash of the signature of the event, except for anonymous events

data
string

Contains the non-indexed arguments of the log

blockNumber
string | null

The block number where this log was in. null when its a pending log

transactionHash
string | null

The hash of the transactions this log was created from. null when its pending

transactionIndex
string | null

The index of the transaction in the block. null when its pending

blockHash
string | null

The hash of the block where this log was in. null when its pending

logIndex
string | null

The index of the log within the block. null when its pending

removed
boolean

True when the log was removed due to a chain reorganization, false if its a valid log

logsBloom
string

A bloom filter of logs/events generated during transaction execution

status
string

Either 1 (success) or 0 (failure) encoded as a hexadecimal

to
string | null

The address of the receiver. null when its 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
"result": [
4
{
5
"transactionHash": "0x9a2a185f47e86837c350e477ffd0fd1f8f429e531479d3761b488d74d6fb3c25",
6
"transactionIndex": "0x0",
7
"blockHash": "0xbebbc3be91c6795e7e194ef7751baa97d41dbe50adb57ad6cc544595d0f5ca72",
8
"blockNumber": "0x157dfea",
9
"cumulativeGasUsed": "0x5208",
10
"gasUsed": "0x5208",
11
"effectiveGasPrice": "0x18e9b26e07",
12
"from": "0x5cfce8669c672df27e3d6cad41859328932ec278",
13
"to": "0x5cfce8669c672df27e3d6cad41859328932ec278",
14
"contractAddress": null,
15
"logs": [],
16
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
17
"status": "0x1",
18
"type": "0x2"
19
}
20
],
21
"id": 1
22
}
1
{
2
"jsonrpc": "2.0",
3
"result": [
4
{
5
"transactionHash": "0x9a2a185f47e86837c350e477ffd0fd1f8f429e531479d3761b488d74d6fb3c25",
6
"transactionIndex": "0x0",
7
"blockHash": "0xbebbc3be91c6795e7e194ef7751baa97d41dbe50adb57ad6cc544595d0f5ca72",
8
"blockNumber": "0x157dfea",
9
"cumulativeGasUsed": "0x5208",
10
"gasUsed": "0x5208",
11
"effectiveGasPrice": "0x18e9b26e07",
12
"from": "0x5cfce8669c672df27e3d6cad41859328932ec278",
13
"to": "0x5cfce8669c672df27e3d6cad41859328932ec278",
14
"contractAddress": null,
15
"logs": [],
16
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
17
"status": "0x1",
18
"type": "0x2"
19
}
20
],
21
"id": 1
22
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free