Eth gasPrice

Returns the current gas price in the default EVM denomination parameter.

POSTeth_gasPrice
Response

OK

Body
idinteger
jsonrpcstring
resultstring
Request
const response = await fetch('eth_gasPrice', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "id": 0,
  "jsonrpc": "text",
  "result": "text"
}