post https://ethereum-mainnet-archive.allthatnode.com/
Returns current block height in a hexadecimal number
Parameters
- No parameter needed.
curl https://ethereum-mainnet-archive.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--request POST \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_gasPrice",
"params": []
}'
Returns
QUANTITY
- integer of the current gas price in wei.
{"jsonrpc":"2.0","id":1,"result":"0x500a7f4a3"}