v7

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-2138342633.5 KB

Returns gas price for a specific block_height or block_hash. Using [null] will return the most recent block's gas price.

post/gas_price

Request body

idstring

JSON-RPC request id. Auto-populated; can be any string.

jsonrpc'2.0'

JSON-RPC protocol version. Always 2.0.

method'gas_price' required

Response

OR