Skip to content

eth_getGasPrice


Warning

This API is not yet implemented in this version of Zilliqa 2.0

Return the current gas price in Wei.

Example Request

curl -d '{
  "id": "1",
  "jsonrpc": "2.0",
  "method": "eth_gasPrice"
}' -H "Content-Type: application/json" -X POST "https://api.zq2-prototestnet.zilliqa.com/"

Example response

{"jsonrpc":"2.0","result":"0x454b7a4e100","id":"1"}

Arguments

Parameter Type Required Description
id string Required "1"
jsonrpc string Required "2.0"
method string Required "eth_gasPrice"
params empty Optional [] if present