[Documentation] Unconsistency in the documentation of eth_getBalance
stolab opened this issue · comments
When Checking the documentation for the eth_getBalance
here https://ethereum.github.io/execution-apis/api-documentation/ it says it takes 2 parameters:
- Address Required = True
- Block Required = False
however when you try a request only containing an Address it fails with the following output:
{"jsonrpc":"2.0","id":66,"error":{"code":-32602,"message":"missing value for required argument 1"}}
which tends to indicate that the Block Parameter is actually required.
Did I misunderstood something or is it a bug in the Documentation?
Actually it seems to be the same for the eth_GetStorageAt, if the block parameters is not present the following error is received:
{"jsonrpc":"2.0","id":66,"error":{"code":-32602,"message":"missing value for required argument 2"}}