parity_setMinGasPrice - 设置最低gas价格
parity_setMinGasPrice
调用设置交易能够被节点接受的最低gas价格。
调用参数
- 要设置的最低gas价格
返回值
parity_setMinGasPrice
调用返回一个布尔值,表示设置是否成功。
示例代码
请求:
~$ curl --data '{
"method":"parity_setMinGasPrice",
"params":["0x3e8"],
"id":1,
"jsonrpc":"2.0"
}' -H "Content-Type: application/json" -X POST localhost:8545
响应结果:
{
"id": 1,
"jsonrpc": "2.0",
"result": true
}