eth_gasPrice

Parameters
None

Returns

  • QUANTITY - Integer of the current Energy price. (Unit: sun)

Example

Request

curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_gasPrice", "params": []}'

Response

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