eth_gasPrice
Returns the current gas price on the network in wei. The API credit value for this method is 100
Parameters- This method does not accept any parameters
curl https://Krypc-End Point URL/ \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_gasPrice","params":[],"id":1,"jsonrpc":"2.0"}'
Returns
Result: The hexadecimal value of the current gas price in wei
Last updated
Was this helpful?