获取能量单价 (单位: sun)。
参数
无
返回值
result- 能量单价。
示例
请求
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_gasPrice", "params": []}'结果
{"jsonrpc":"2.0","id":1,"result":"0x8c"}获取能量单价 (单位: sun)。
参数
无
返回值
result - 能量单价。示例
请求
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_gasPrice", "params": []}'结果
{"jsonrpc":"2.0","id":1,"result":"0x8c"}