NearApi.RPC.Gas (near_api v0.1.6)
NEAR RPC - Gas API
Link to this section Summary
Functions
Returns gas price for a specific block_height or block_hash.
Link to this section Functions
Link to this function
gas_price(block_id \\ nil)
Specs
gas_price(block_id :: any()) :: {:ok, body :: map()} | NearApi.RPC.Errors.t()
Returns gas price for a specific block_height or block_hash.
Using [nil] will return the most recent block's gas price.