API Reference

eth_gasPrice - DogeOS

Returns the current price per gas in wei.

Returns the current price per gas in wei.

PARAMETERS

None

REQUEST

{
    "jsonrpc":"2.0",
    "method":"eth_gasPrice",
    "params":[],
    "id":0
}

RESPONSE

Result - An integer of the current gas price in wei.

{
  "jsonrpc": "2.0",
  "id": 0,
  "result": "0xef426c"
}
Language
Click Try It! to start a request and see the response here!