Skip to main content
POST
eth_gasPrice
Robinhood Chain API method that returns the current price per gas in Wei.

Parameters

None

Response

  • quantity — the current gas price in Wei

eth_gasPrice code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_gasPrice
params
any[]

Response

200 - application/json

Returns the current price per gas in wei.

jsonrpc
string
id
integer
result
object | null
Last modified on July 18, 2026