NEAR Gas Price
nearrpc/gas-price
The gas price of the latest NEAR block in yoctoNEAR per gas unit, an exact decimal string (1 NEAR = 10^24 yoctoNEAR). Read from public NEAR RPC nodes that offer no SLA and can be slow or throttled; the public nodes keep only about a day of history and are all run by one operator. Served by Eden Engine; not an official product of NEAR or FastNEAR.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
On-chain data read from public NEAR RPC nodes; no licence or credit is required. Served by Eden Engine; not an official product of NEAR or FastNEAR.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "nearrpc/gas-price" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "nearrpc/gas-price" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "nearrpc/gas-price", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "nearrpc/gas-price", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 28, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"network"
],
"properties": {
"network": {
"enum": [
"mainnet",
"testnet"
],
"type": "string",
"description": "The network to read: mainnet (NEAR mainnet), testnet (NEAR testnet). Required; there is no default, so a call never reads the wrong chain silently."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"gas_price_yocto"
],
"properties": {
"found": {
"type": "boolean",
"description": "False when the node has no such item; then no other field is present."
},
"gas_price_yocto": {
"type": "string",
"description": "yoctoNEAR per gas unit, an exact decimal string."
}
},
"description": "The gas price.",
"additionalProperties": true
}