eth_gasPrice

Returns the current gas price on the network in wei. The API credit value for this method is 100

  1. 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"}'
  1. Returns

    1. Result: The hexadecimal value of the current gas price in wei

Last updated