Skip to main content

eth_getBlockReceipts RPC Method

Returns all transaction receipts for a given block.

Updated on
May 25, 2026
MegaETH nodes use a ~15-day pruning window for receipt data. Receipts older than ~15 days (1,296,064 blocks) are pruned from the database but are also persisted in static files. For more details, see the MegaETH Pruning Policy.

Parameters

blockReference
string
REQUIRED

The block number or block hash in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, and finalized for the most recent secure block accepted by more than 2/3 of validators

Returns

result
array

An array of transaction receipt objects

object
object

A transaction receipt object

type
string

The transaction type encoded as a hexadecimal

status
string

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

cumulativeGasUsed
string

The total amount of 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 originated

topics
array

An array of indexed log arguments. The first topic is usually the event signature hash

data
string

The non-indexed log arguments encoded as hexadecimal

blockHash
string

The hash of the block containing this log

blockNumber
string

The block number containing this log

blockTimestamp
string

The unix timestamp for when the block was collated encoded as a hexadecimal

transactionHash
string

The hash of the transaction that generated this log

transactionIndex
string

The index of the transaction within the block encoded as a hexadecimal

logIndex
string

The index position of this log in the block encoded as a hexadecimal

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

depositNonce
string

The nonce of the L1 deposit associated with this transaction, encoded as a hexadecimal

depositReceiptVersion
string

The version of the deposit receipt format, encoded as a hexadecimal

transactionHash
string

The hash of the transaction

transactionIndex
string

The index of the transaction in the block

blockHash
string

The hash of the block. null when pending

blockNumber
string

The block number

gasUsed
string

The amount of gas used by this transaction

effectiveGasPrice
string

The actual gas price paid by the sender

from
string

The address of the sender

to
string

The address of the receiver. null for contract creation transactions

contractAddress
string

The contract address created by the transaction, or null

l1GasPrice
string

The L1 gas price encoded as a hexadecimal

l1GasUsed
string

The L1 gas used encoded as a hexadecimal

l1Fee
string

The total L1 fee charged encoded as a hexadecimal

l1BaseFeeScalar
string

The L1 base fee scalar encoded as a hexadecimal

l1BlobBaseFee
string

The L1 blob base fee encoded as a hexadecimal

l1BlobBaseFeeScalar
string

The L1 blob base fee scalar encoded as a hexadecimal

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"type": "0x0",
7
"status": "0x1",
8
"cumulativeGasUsed": "0x0",
9
"logs": [
10
{
11
"address": "0x0000000000000000000000000000000000001000",
12
"topics": [
13
"0x3a420a01486b6b28d6ae89c51f5c3bde3e0e74eecbb646a0c481ccba3aae3754",
14
"0x0000000000000000000000000000000000000000000000000000000000000056",
15
"0x0000000000000000000000006f49a8f621353f12378d0046e7d7e4b9b249dc9e"
16
],
17
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e6",
18
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
19
"blockNumber": "0x23592c0",
20
"blockTimestamp": "0x69208301",
21
"transactionHash": "0x6ae0bb89e2b7170f243f7e48fe413e46ba26e6d1d24f6bb53746967168474ea3",
22
"transactionIndex": "0x0",
23
"logIndex": "0x0",
24
"removed": false
25
}
26
],
27
"logsBloom": "0x00000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000200000000000000000000000000000000000000000002000000000008000000000000000000000000020000000000000000000000000000000000000010000000000000000000000000000000000004000000000000000000400000000000000000000000000000000000000000000000000004000000010000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
28
"transactionHash": "0x6ae0bb89e2b7170f243f7e48fe413e46ba26e6d1d24f6bb53746967168474ea3",
29
"transactionIndex": "0x0",
30
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
31
"blockNumber": "0x23592c0",
32
"gasUsed": "0x0",
33
"effectiveGasPrice": "0x0",
34
"from": "0x6f49a8f621353f12378d0046e7d7e4b9b249dc9e",
35
"to": "0x0000000000000000000000000000000000001000",
36
"contractAddress": null
37
},
38
{
39
"type": "0x2",
40
"status": "0x1",
41
"cumulativeGasUsed": "0x3a980",
42
"logs": [
43
{
44
"address": "0x368ee51e47a594fe1e9908b48228748a30bc7ca4",
45
"topics": [
46
"0xf36866d965ee70c8632ff558f5cf8d41ee9ca1d0d0bc7700786e57be60747390"
47
],
48
"data": "0x0000000000000000000000000000000000000000000000000000003fb482bae245544800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000069208301",
49
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
50
"blockNumber": "0x23592c0",
51
"blockTimestamp": "0x69208301",
52
"transactionHash": "0x92f28ebdf21ba386757b8a17292791ec70edce1dd0828f9202ccead768006e6a",
53
"transactionIndex": "0x1",
54
"logIndex": "0x1",
55
"removed": false
56
},
57
{
58
"address": "0x368ee51e47a594fe1e9908b48228748a30bc7ca4",
59
"topics": [
60
"0xf36866d965ee70c8632ff558f5cf8d41ee9ca1d0d0bc7700786e57be60747390"
61
],
62
"data": "0x000000000000000000000000000000000000000000000000000007a4dfeb5fe242544300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000069208301",
63
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
64
"blockNumber": "0x23592c0",
65
"blockTimestamp": "0x69208301",
66
"transactionHash": "0x92f28ebdf21ba386757b8a17292791ec70edce1dd0828f9202ccead768006e6a",
67
"transactionIndex": "0x1",
68
"logIndex": "0x2",
69
"removed": false
70
}
71
],
72
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000042000000000000000000",
73
"transactionHash": "0x92f28ebdf21ba386757b8a17292791ec70edce1dd0828f9202ccead768006e6a",
74
"transactionIndex": "0x1",
75
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
76
"blockNumber": "0x23592c0",
77
"gasUsed": "0x3a980",
78
"effectiveGasPrice": "0x17bfac7c00",
79
"from": "0x4ea043757f7d2e0b386b26e57633ed97863ff63d",
80
"to": "0x368ee51e47a594fe1e9908b48228748a30bc7ca4",
81
"contractAddress": null
82
}
83
]
84
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": [
5
{
6
"type": "0x0",
7
"status": "0x1",
8
"cumulativeGasUsed": "0x0",
9
"logs": [
10
{
11
"address": "0x0000000000000000000000000000000000001000",
12
"topics": [
13
"0x3a420a01486b6b28d6ae89c51f5c3bde3e0e74eecbb646a0c481ccba3aae3754",
14
"0x0000000000000000000000000000000000000000000000000000000000000056",
15
"0x0000000000000000000000006f49a8f621353f12378d0046e7d7e4b9b249dc9e"
16
],
17
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e6",
18
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
19
"blockNumber": "0x23592c0",
20
"blockTimestamp": "0x69208301",
21
"transactionHash": "0x6ae0bb89e2b7170f243f7e48fe413e46ba26e6d1d24f6bb53746967168474ea3",
22
"transactionIndex": "0x0",
23
"logIndex": "0x0",
24
"removed": false
25
}
26
],
27
"logsBloom": "0x00000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000200000000000000000000000000000000000000000002000000000008000000000000000000000000020000000000000000000000000000000000000010000000000000000000000000000000000004000000000000000000400000000000000000000000000000000000000000000000000004000000010000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
28
"transactionHash": "0x6ae0bb89e2b7170f243f7e48fe413e46ba26e6d1d24f6bb53746967168474ea3",
29
"transactionIndex": "0x0",
30
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
31
"blockNumber": "0x23592c0",
32
"gasUsed": "0x0",
33
"effectiveGasPrice": "0x0",
34
"from": "0x6f49a8f621353f12378d0046e7d7e4b9b249dc9e",
35
"to": "0x0000000000000000000000000000000000001000",
36
"contractAddress": null
37
},
38
{
39
"type": "0x2",
40
"status": "0x1",
41
"cumulativeGasUsed": "0x3a980",
42
"logs": [
43
{
44
"address": "0x368ee51e47a594fe1e9908b48228748a30bc7ca4",
45
"topics": [
46
"0xf36866d965ee70c8632ff558f5cf8d41ee9ca1d0d0bc7700786e57be60747390"
47
],
48
"data": "0x0000000000000000000000000000000000000000000000000000003fb482bae245544800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000069208301",
49
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
50
"blockNumber": "0x23592c0",
51
"blockTimestamp": "0x69208301",
52
"transactionHash": "0x92f28ebdf21ba386757b8a17292791ec70edce1dd0828f9202ccead768006e6a",
53
"transactionIndex": "0x1",
54
"logIndex": "0x1",
55
"removed": false
56
},
57
{
58
"address": "0x368ee51e47a594fe1e9908b48228748a30bc7ca4",
59
"topics": [
60
"0xf36866d965ee70c8632ff558f5cf8d41ee9ca1d0d0bc7700786e57be60747390"
61
],
62
"data": "0x000000000000000000000000000000000000000000000000000007a4dfeb5fe242544300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000069208301",
63
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
64
"blockNumber": "0x23592c0",
65
"blockTimestamp": "0x69208301",
66
"transactionHash": "0x92f28ebdf21ba386757b8a17292791ec70edce1dd0828f9202ccead768006e6a",
67
"transactionIndex": "0x1",
68
"logIndex": "0x2",
69
"removed": false
70
}
71
],
72
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000042000000000000000000",
73
"transactionHash": "0x92f28ebdf21ba386757b8a17292791ec70edce1dd0828f9202ccead768006e6a",
74
"transactionIndex": "0x1",
75
"blockHash": "0x0aae422316a0c19edb48cbb72e26614202a8b56daefb21c3e9920ede19c7670c",
76
"blockNumber": "0x23592c0",
77
"gasUsed": "0x3a980",
78
"effectiveGasPrice": "0x17bfac7c00",
79
"from": "0x4ea043757f7d2e0b386b26e57633ed97863ff63d",
80
"to": "0x368ee51e47a594fe1e9908b48228748a30bc7ca4",
81
"contractAddress": null
82
}
83
]
84
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free