Skip to content
New issue

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

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

Already on GitHub? # to your account

eth_estimateGas With Block Hash Parameter #491

Open
nlordell opened this issue Nov 13, 2023 · 0 comments
Open

eth_estimateGas With Block Hash Parameter #491

nlordell opened this issue Nov 13, 2023 · 0 comments

Comments

@nlordell
Copy link

I noticed that the eth_estimateGas method’s Block field is specified to only accept a block number or tag (i.e. “latest”, etc.). However, other related methods (specifically eth_call) are also specified to take a block hash. eth_estimateGas seems like the odd-method-out in this regard and I was wondering if this was intentional or an oversight from when more methods transitioned to accepting block hashes as parameters.

FWIW, experimentally nodes seem to accept block hashes for eth_estimateGas.

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

No branches or pull requests

2 participants
@nlordell and others