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

Implement eth_getBlockReceipts method #5910

Open
Isarafanikov opened this issue Jul 10, 2024 · 4 comments
Open

Implement eth_getBlockReceipts method #5910

Isarafanikov opened this issue Jul 10, 2024 · 4 comments

Comments

@Isarafanikov
Copy link

Background

I noticed that method eth_getBlockReceipts is not implemented in the java-tron node, making it incompatible with tooling that expects proper specification implementation (for example, TheGraph)

Rationale

eth_getBlockReceipts is a part of the Ethereum JSON-RPC Specification since August 2023, and is based on the method with the same name present in various node implementations (geth, erigon) as well as in QuickNode and Alchemy.

Specification

See eth_getBlockReceipts in https://ethereum.github.io/execution-apis/api-documentation/

Implementation

Not yet implemented

@317787106
Copy link
Contributor

@Isarafanikov You can now use /wallet/gettransactioninfobyblocknum temporarily. Further progress may be discussed here.

@Isarafanikov
Copy link
Author

Thanks for the info. Sadly, using the custom method would require too much code modifications (and, in some cases, impossible due to closed source tooling), so I will have to wait until the endpoint is properly implemented

@tomatoishealthy
Copy link
Contributor

@Isarafanikov Do you have plans to help implement this feature?

@317787106
Copy link
Contributor

@Isarafanikov We will read Ethereum's implementation of eth_getBlockReceipts carefully to see if there are any difficulties and then incorporate it into the plan.

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

No branches or pull requests

3 participants