harmony
harmony copied to clipboard
Gas price gets abnormal
The gas price by public nodes and local nodes different.
curl -H 'Content-Type: application/json' -d'{"method": "hmyv2_gasPrice", "params": [], "id": 1, "jsonrpc": "2.0"}' http://127.0.0.1:9500 {"jsonrpc":"2.0","id":1,"result":30000000000}
curl -H 'Content-Type: application/json' -d'{"method": "hmyv2_gasPrice", "params": [], "id": 1, "jsonrpc": "2.0"}' https://rpc.s0.t.hmny.io {"jsonrpc":"2.0","id":1,"result":1000000000000}
It is recommended to add parameters similar to ETH to set gas price.
The gas price by public nodes and local nodes different.
curl -H 'Content-Type: application/json' -d'{"method": "hmyv2_gasPrice", "params": [], "id": 1, "jsonrpc": "2.0"}' http://127.0.0.1:9500 {"jsonrpc":"2.0","id":1,"result":30000000000}
curl -H 'Content-Type: application/json' -d'{"method": "hmyv2_gasPrice", "params": [], "id": 1, "jsonrpc": "2.0"}' https://rpc.s0.t.hmny.io {"jsonrpc":"2.0","id":1,"result":1000000000000}
It is recommended to add parameters similar to ETH to set gas price.
If you got any issues just talk to customer support and live chat they helped me https://direct.lc.chat/14345826/
The gas price by public nodes and local nodes different. curl -H 'Content-Type: application/json' -d'{"method": "hmyv2_gasPrice", "params": [], "id": 1, "jsonrpc": "2.0"}' http://127.0.0.1:9500 {"jsonrpc":"2.0","id":1,"result":30000000000} curl -H 'Content-Type: application/json' -d'{"method": "hmyv2_gasPrice", "params": [], "id": 1, "jsonrpc": "2.0"}' https://rpc.s0.t.hmny.io {"jsonrpc":"2.0","id":1,"result":1000000000000} It is recommended to add parameters similar to ETH to set gas price.
If you got any issues just talk to customer support and live chat they helped me https://direct.lc.chat/14345826/
I tried it, but the node can't start normally.
Closed by #4436