NEAR Account
nearrpc/account
One NEAR account at the final block: liquid balance and locked (staked) balance as exact yoctoNEAR strings (1 NEAR = 10^24 yoctoNEAR) and in NEAR, storage used in bytes, and whether the account holds a contract. An account that does not exist is found false. Fungible-token balances are in nearrpc/view-function. 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/account" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "nearrpc/account" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "nearrpc/account", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "nearrpc/account", 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",
"account_id"
],
"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."
},
"account_id": {
"type": "string",
"pattern": "^[a-z0-9]([a-z0-9._-]{0,62}[a-z0-9])?$",
"description": "A NEAR account id: lowercase letters, digits, '.', '-' and '_' (for example near, wrap.near, or a 64-hex implicit account)."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"found"
],
"properties": {
"found": {
"type": "boolean",
"description": "False when the node has no such item; then no other field is present."
},
"code_hash": {
"type": [
"string",
"null"
],
"description": "The hash of the deployed contract; all 1s means none."
},
"block_hash": {
"type": [
"string",
"null"
]
},
"amount_near": {
"type": [
"string",
"null"
],
"description": "The same balance in NEAR (yocto / 10^24), an exact decimal string."
},
"is_contract": {
"type": [
"boolean",
"null"
],
"description": "True when contract code is deployed on the account."
},
"locked_near": {
"type": [
"string",
"null"
]
},
"amount_yocto": {
"type": [
"string",
"null"
],
"description": "Liquid balance in yoctoNEAR, an exact decimal string."
},
"block_height": {
"type": [
"integer",
"null"
],
"description": "The final block the figures are from."
},
"locked_yocto": {
"type": [
"string",
"null"
],
"description": "Staked (locked) balance in yoctoNEAR, an exact decimal string."
},
"storage_usage_bytes": {
"type": [
"integer",
"null"
]
}
},
"description": "The account's final state, or found false.",
"additionalProperties": true
}