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

Support JSON-RPC batch requests #173

Closed
kdeme opened this issue Nov 8, 2023 · 0 comments · Fixed by #204
Closed

Support JSON-RPC batch requests #173

kdeme opened this issue Nov 8, 2023 · 0 comments · Fixed by #204

Comments

@kdeme
Copy link
Contributor

kdeme commented Nov 8, 2023

The JSON-RPC specification allows for batching requests and getting a response containing an array of responses for each request. See also https://www.jsonrpc.org/specification#batch

This is for example supported in geth: https://geth.ethereum.org/docs/interacting-with-geth/rpc/batch , and probably other clients.

One example where this would have been very usefyl was for eth_getTransactionReceipt. As to build the full receipts list per block, one would have to iterate over all transactions to request the individual receipts. I say would have, as this got resolved with this addition: ethereum/execution-apis#393

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
@kdeme and others