Skip to content

eth_gasPrice

Returns the current price per gas in wei.

Returns

string

A hexadecimal string representing the integer value of the current gas price in wei.

Example

"0x09184e72a000" // 10000000000000

Errors

This method does not typically return errors.