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

eth_getblockbynumber supports finalized except latest, pending and #6158

Open
texasspurstar opened this issue Jan 28, 2025 · 2 comments
Open

Comments

@texasspurstar
Copy link

Do you have ideas regarding the implementation of this feature?
Yes.
Actually, we can get the current solidified block number by chainBaseManager.getDynamicPropertiesStore().getLatestSolidifiedBlockNum();.

Are you willing to implement this feature?
Yes

@ferdinand026
Copy link

@texasspurstar We can get any block information by this api, and as you mentioned, yes, for latest solidified block, we can get the number first, then get the block information through api.

@Sunny6889
Copy link

I think this request is quite reasonable.

@halibobo1205 halibobo1205 moved this to In progress in java-tron Feb 24, 2025
@halibobo1205 halibobo1205 moved this from In progress to Done in java-tron Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants