ethereum / ethereum/execution-apis

`eth_estimateGas` With Block Hash Parameter

Open
#491 2 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.