Skip to content

Include support for eth_getBlockReceipts #2613

Closed
@acuarica

Description

@acuarica

The RPC method eth_getBlockReceipts is not implemented. For example,

curl -L 'https://mainnet.hashio.io/api' -X POST --data '{
    "id": "12",
    "jsonrpc": "2.0",
    "method": "eth_getBlockReceipts",
    "params": ["latest"]
}'

returns

{"error":{"message":"Method eth_getBlockReceipts not found","code":-32601},"jsonrpc":"2.0","id":"12"}

This method is listed in the official Ethereum JSON-RPC Specification. However, please note that is not listed in its docs.

The eth_getBlockReceipts RPC method is supported by Alchemy, QuickNode and Infura (although eth_getBlockReceipts is missing in Infura's docs).

We should implement this method to be closer to the Ethereum JSON-RPC spec and also include it in the Hedera JSON-RPC Specification.

Background

The eth_getBlockReceipts was added to the Ethereum spec here ethereum/execution-apis#438. It solves the problem discussed in ethereum/execution-apis#393.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions