获取当前的能量单价(以sun为单位)
参数
无参数
返回值
QUANTITY - 能量单价
示例
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为单位)
参数
无参数
返回值
QUANTITY - 能量单价
示例
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"}