The RPC API enables you to query the gas price for a specific block or hash.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/near/docs/llms.txt
Use this file to discover all available pages before exploring further.
Quick Reference
| Parameter | Type | Description |
|---|---|---|
block_height | number | Specific block height to query gas price for |
block_hash | string | Specific block hash to query gas price for |
null | null | Returns gas price for the latest block |
Gas Price
Returns gas price for a specificblock_height or block_hash.
Using [null] will return the most recent block’s gas price.
gas_price[block_height], ["block_hash"], or [null]