Skip to main content

eth_getBlockReceipts RPC Method

Returns all transaction receipts for a given block.

Updated on
Feb 17, 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

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

l1BatchNumber
string | null

The batch number on Layer 1 where this transaction was included

l1BatchTxIndex
string | null

The index of this transaction within its Layer 1 batch

l2ToL1Logs
array

Array of logs sent from Layer 2 to Layer 1

logs
array

Array of log objects generated by this transaction

address
string

Address from which this log originated

topics
array

Array of zero to four 32 Bytes DATA of indexed log arguments

data
string

Contains one or more 32 Bytes non-indexed arguments of the log

blockNumber
string

Block number where this log was in

blockHash
string

Hash of the block where this log was in

transactionHash
string

Hash of the transaction this log was created from

transactionIndex
string

Transaction's index position in the block

logIndex
string

Log's index position in the block

transactionLogIndex
string

Log's index position in the transaction

logType
string | null

Type of the log

removed
boolean

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

blockTimestamp
string

Timestamp of the block containing this log

l1BatchNumber
string | null

The batch number on Layer 1 containing this log

logsBloom
string

Bloom filter for light clients to quickly retrieve related logs

status
string

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

to
string | null

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

transactionHash
string

The hash of the transaction

transactionIndex
string

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
{
6
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
7
"transactionIndex": "0x0",
8
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
9
"blockNumber": "0x4154ce9",
10
"l1BatchTxIndex": null,
11
"l1BatchNumber": null,
12
"from": "0x57601a96f02f2276bbf511af7129386ed84840ba",
13
"to": "0x3bdb03ad7363152dfbc185ee23ebc93f0cf93fd1",
14
"cumulativeGasUsed": "0x0",
15
"gasUsed": "0x16e87",
16
"contractAddress": null,
17
"logs": [
18
{
19
"address": "0x000000000000000000000000000000000000800a",
20
"topics": [
21
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
22
"0x00000000000000000000000057601a96f02f2276bbf511af7129386ed84840ba",
23
"0x0000000000000000000000000000000000000000000000000000000000008001"
24
],
25
"data": "0x00000000000000000000000000000000000000000000000000000a5b0c707bc0",
26
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
27
"blockNumber": "0x4154ce9",
28
"l1BatchNumber": null,
29
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
30
"transactionIndex": "0x0",
31
"logIndex": "0x0",
32
"transactionLogIndex": "0x0",
33
"logType": null,
34
"removed": false,
35
"blockTimestamp": "0x698cdde3"
36
},
37
{
38
"address": "0x000000000000000000000000000000000000800a",
39
"topics": [
40
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
41
"0x0000000000000000000000000000000000000000000000000000000000008001",
42
"0x00000000000000000000000057601a96f02f2276bbf511af7129386ed84840ba"
43
],
44
"data": "0x00000000000000000000000000000000000000000000000000000263c7cb3040",
45
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
46
"blockNumber": "0x4154ce9",
47
"l1BatchNumber": null,
48
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
49
"transactionIndex": "0x0",
50
"logIndex": "0x1",
51
"transactionLogIndex": "0x1",
52
"logType": null,
53
"removed": false,
54
"blockTimestamp": "0x698cdde3"
55
},
56
{
57
"address": "0x000000000000000000000000000000000000800a",
58
"topics": [
59
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
60
"0x00000000000000000000000057601a96f02f2276bbf511af7129386ed84840ba",
61
"0x0000000000000000000000003bdb03ad7363152dfbc185ee23ebc93f0cf93fd1"
62
],
63
"data": "0x00000000000000000000000000000000000000000000000001a92e4c76e151f1",
64
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
65
"blockNumber": "0x4154ce9",
66
"l1BatchNumber": null,
67
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
68
"transactionIndex": "0x0",
69
"logIndex": "0x2",
70
"transactionLogIndex": "0x2",
71
"logType": null,
72
"removed": false,
73
"blockTimestamp": "0x698cdde3"
74
},
75
{
76
"address": "0x000000000000000000000000000000000000800a",
77
"topics": [
78
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
79
"0x0000000000000000000000000000000000000000000000000000000000008001",
80
"0x00000000000000000000000057601a96f02f2276bbf511af7129386ed84840ba"
81
],
82
"data": "0x0000000000000000000000000000000000000000000000000000041ab419cad0",
83
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
84
"blockNumber": "0x4154ce9",
85
"l1BatchNumber": null,
86
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
87
"transactionIndex": "0x0",
88
"logIndex": "0x3",
89
"transactionLogIndex": "0x3",
90
"logType": null,
91
"removed": false,
92
"blockTimestamp": "0x698cdde3"
93
}
94
],
95
"l2ToL1Logs": [],
96
"status": "0x1",
97
"logsBloom": "0x00000000000400000000000000000001000000000000000000000000000010000000002000000000000000000000000000000000000000000000000000000000000000000000040000000008000000020000000000000000000000000000080000000000000000000000000000000000000000000000000000000010000000000000000000000000000004000000000000002000000000000000000000000000000000000000100000000000040000000000000000000000000000000000000000000002008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
98
"type": "0x0",
99
"effectiveGasPrice": "0x2b275d0"
100
}
101
]
102
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
7
"transactionIndex": "0x0",
8
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
9
"blockNumber": "0x4154ce9",
10
"l1BatchTxIndex": null,
11
"l1BatchNumber": null,
12
"from": "0x57601a96f02f2276bbf511af7129386ed84840ba",
13
"to": "0x3bdb03ad7363152dfbc185ee23ebc93f0cf93fd1",
14
"cumulativeGasUsed": "0x0",
15
"gasUsed": "0x16e87",
16
"contractAddress": null,
17
"logs": [
18
{
19
"address": "0x000000000000000000000000000000000000800a",
20
"topics": [
21
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
22
"0x00000000000000000000000057601a96f02f2276bbf511af7129386ed84840ba",
23
"0x0000000000000000000000000000000000000000000000000000000000008001"
24
],
25
"data": "0x00000000000000000000000000000000000000000000000000000a5b0c707bc0",
26
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
27
"blockNumber": "0x4154ce9",
28
"l1BatchNumber": null,
29
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
30
"transactionIndex": "0x0",
31
"logIndex": "0x0",
32
"transactionLogIndex": "0x0",
33
"logType": null,
34
"removed": false,
35
"blockTimestamp": "0x698cdde3"
36
},
37
{
38
"address": "0x000000000000000000000000000000000000800a",
39
"topics": [
40
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
41
"0x0000000000000000000000000000000000000000000000000000000000008001",
42
"0x00000000000000000000000057601a96f02f2276bbf511af7129386ed84840ba"
43
],
44
"data": "0x00000000000000000000000000000000000000000000000000000263c7cb3040",
45
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
46
"blockNumber": "0x4154ce9",
47
"l1BatchNumber": null,
48
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
49
"transactionIndex": "0x0",
50
"logIndex": "0x1",
51
"transactionLogIndex": "0x1",
52
"logType": null,
53
"removed": false,
54
"blockTimestamp": "0x698cdde3"
55
},
56
{
57
"address": "0x000000000000000000000000000000000000800a",
58
"topics": [
59
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
60
"0x00000000000000000000000057601a96f02f2276bbf511af7129386ed84840ba",
61
"0x0000000000000000000000003bdb03ad7363152dfbc185ee23ebc93f0cf93fd1"
62
],
63
"data": "0x00000000000000000000000000000000000000000000000001a92e4c76e151f1",
64
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
65
"blockNumber": "0x4154ce9",
66
"l1BatchNumber": null,
67
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
68
"transactionIndex": "0x0",
69
"logIndex": "0x2",
70
"transactionLogIndex": "0x2",
71
"logType": null,
72
"removed": false,
73
"blockTimestamp": "0x698cdde3"
74
},
75
{
76
"address": "0x000000000000000000000000000000000000800a",
77
"topics": [
78
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
79
"0x0000000000000000000000000000000000000000000000000000000000008001",
80
"0x00000000000000000000000057601a96f02f2276bbf511af7129386ed84840ba"
81
],
82
"data": "0x0000000000000000000000000000000000000000000000000000041ab419cad0",
83
"blockHash": "0x9598ee78cddd715020583e86063a743904832714d726ed6855dfc46aa9fce96f",
84
"blockNumber": "0x4154ce9",
85
"l1BatchNumber": null,
86
"transactionHash": "0x66aa1f492e329c9715630a74818f857bba085cddbcee70db4329dc5317d57f61",
87
"transactionIndex": "0x0",
88
"logIndex": "0x3",
89
"transactionLogIndex": "0x3",
90
"logType": null,
91
"removed": false,
92
"blockTimestamp": "0x698cdde3"
93
}
94
],
95
"l2ToL1Logs": [],
96
"status": "0x1",
97
"logsBloom": "0x00000000000400000000000000000001000000000000000000000000000010000000002000000000000000000000000000000000000000000000000000000000000000000000040000000008000000020000000000000000000000000000080000000000000000000000000000000000000000000000000000000010000000000000000000000000000004000000000000002000000000000000000000000000000000000000100000000000040000000000000000000000000000000000000000000002008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
98
"type": "0x0",
99
"effectiveGasPrice": "0x2b275d0"
100
}
101
]
102
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free