ethereum / ethereum/execution-apis
`eth_estimateGas` With Block Hash Parameter
Open
- Dominant language
- Io
- Stars
- 1.1k
- Forks
- 530
- Avg merge
- 5d 8h
- Merged PRs (30d)
- 9
Description
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`.
Contributor guide
Assessment
This issue has not been assessed yet.