-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
Get receipts by block number #19634
Comments
I think you can do it with |
Hi @hadv |
is perhaps using graphql an option until this is implemented? |
This should be doable on the old RPC, you're welcome to file a PR :) |
This is a valid question / request. You may be interested in the GraphQL which supports this. |
Maybe try GraphQL? :)) |
tests: - eth_getTransactionByBlockHashAndIndex - eth_getBlockReceipts
This is how you can get gasUsed with GraphQL with this query:
|
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have more relevant information or answers to our questions so that we can investigate further. |
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.0 Support eth_getBlockReceipts RPC API call now. |
Why you did not add RPC method
GetReceipts
by block number or block hash?It is internally stored by block hash.
The text was updated successfully, but these errors were encountered: