eth_gasPrice

Returns the current price per gas in wei.

Request

curl https://tn.henesis.io/ethereum/mainnet?clientId=<clientId> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":73}'

Response

{
"id":73,
"jsonrpc": "2.0",
"result": "0x09184e72a000" // 10000000000000
}

Parameters

none

Returns

QUANTITY - integer of the current gas price in wei.

Reference

​https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gasprice​ ​