POSTgas_price
https://near-mainnet.nodit.io/Returns the gas price (yoctoNEAR per gas unit) for the given block.
Set block_id to a block height or block hash to get that block's gas price, or to null to get the latest block's gas price. Specifying a block the node does not have returns the UNKNOWN_BLOCK error.
Request ID. Any string; it is returned unchanged in the response.
Height (integer) or hash (base58 string) of the block to query. null means the latest block.
JSON-RPC version
Request ID
Price per gas unit (yoctoNEAR, decimal string).
Error class. REQUEST_VALIDATION_ERROR (invalid request), HANDLER_ERROR (processing error), INTERNAL_ERROR (node internal error)
The specific cause of the error.
Name of the error cause (e.g. UNKNOWN_BLOCK, UNKNOWN_ACCOUNT, PARSE_ERROR)
Additional information about the error (block hash, height, account ID, etc.)
Legacy JSON-RPC error code (e.g. -32000 server error, -32700 parse error, -32601 method not found)
Legacy error message
Legacy error details