Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include support for eth_getBlockReceipts #2613

Open
acuarica opened this issue Jun 20, 2024 · 0 comments
Open

Include support for eth_getBlockReceipts #2613

acuarica opened this issue Jun 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@acuarica
Copy link
Contributor

acuarica commented Jun 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants