You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the problem is not the block tag - the problem is that the first parameter must be a number in 1.10.6 - it is fixed on master and will be rolled out with 1.10.7 that you can use hex strings here.
Currently you need to do: curl -X POST --data '{"jsonrpc": "2.0","method": "eth_feeHistory","params": [4,"latest",[]],"id": 0}'
System information
Geth version:
v1.10.6
Expected behaviour
It is mentioned in the RPC spec that for
eth_feeHistory
block tags (e.g.earliest
,latest
,pending
) are supportedActual behaviour
An error is returned when attempting to use any block tag:
And the method implementation seems to be expecting an
int
Steps to reproduce the behaviour
curl -X POST --data '{"jsonrpc": "2.0","method": "eth_feeHistory","params": ["0x4","latest",[]],"id": 0}'
The text was updated successfully, but these errors were encountered: