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"
}
Path Params
string
required
Body Params
string
required
Defaults to 2.0
string
required
Defaults to eth_gasPrice
params
array
required
length ≤ 0
Defaults to []
params*
integer
required
Defaults to 0
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json