API Reference

eth_gasPrice

Returns the current price per gas in wei.

Request Parameters

None.

Response

Returns the current price per gas in Wei.

Result Fields

  • GAS PRICE - a hex code of an integer representing the current gas price in Wei.

Examples

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