一键导入
near-jsonrpc-skill
Operate NEAR JSON-RPC reads through UXC with a public provider default, provider-override guidance, and read-only guardrails.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Operate NEAR JSON-RPC reads through UXC with a public provider default, provider-override guidance, and read-only guardrails.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Operate Feishu or Lark IM APIs through UXC with a curated OpenAPI schema, tenant-token bearer auth, and chat/message guardrails.
Operate GitHub REST API through UXC with the official OpenAPI schema, explicit gh-to-uxc auth import, and read-first guardrails for repo, issue, pull request, and event workflows.
Operate X API v2 through UXC with the official OpenAPI schema, OAuth2 PKCE user-context auth, app-only bearer guidance, and read-first guardrails for timeline/bookmark/post workflows.
Discover and call remote schema-exposed interfaces with UXC. Use when an agent or skill needs to list operations, inspect operation schemas, and execute OpenAPI, GraphQL, gRPC, MCP, or JSON-RPC calls via one CLI contract.
Use a local QMD knowledge base through UXC over MCP stdio, with daemon-backed session reuse and typed retrieval flows that avoid repeated model warmup and unnecessary query-expansion latency.
Operate Notion Public API through UXC with a curated OpenAPI schema for search, block traversal, page reads, content writes, and data source/database inspection. Use when tasks need recursive reads or structured writes that Notion MCP does not expose directly.
| name | near-jsonrpc-skill |
| description | Operate NEAR JSON-RPC reads through UXC with a public provider default, provider-override guidance, and read-only guardrails. |
Use this skill to run NEAR JSON-RPC operations through uxc + JSON-RPC.
Reuse the uxc skill for shared execution and error-handling guidance.
uxc is installed and available in PATH.https://free.rpc.fastnear.com, which is listed on the official NEAR RPC providers page.https://raw.githubusercontent.com/holon-run/uxc/main/skills/near-jsonrpc-skill/references/near-public.openrpc.jsonThis skill covers a safe read-first NEAR RPC surface:
This skill does not cover:
near.org or pagoda.co public RPC endpointsThis skill uses the public FastNear mainnet RPC by default:
https://free.rpc.fastnear.comThe operation surface comes from the curated NEAR OpenRPC schema in this repo:
https://raw.githubusercontent.com/holon-run/uxc/main/skills/near-jsonrpc-skill/references/near-public.openrpc.jsonuxc JSON-RPC discovery depends on OpenRPC or rpc.discover. FastNear does not expose a discoverable method surface that UXC can consume directly, so this skill uses a fixed --schema-url link and request flow.
The official NEAR docs now treat near.org and pagoda.co RPC endpoints as deprecated. Do not use those old hosts as the default for new automation.
If the user already has a preferred provider from the official NEAR providers page, relink the same command to that provider instead of reusing the deprecated endpoints.
The default FastNear public RPC used by this skill does not require authentication.
If the user switches to a private NEAR provider, verify its auth model before reusing this skill unchanged.
Use the fixed link command by default:
command -v near-jsonrpc-cliuxc link near-jsonrpc-cli https://free.rpc.fastnear.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/near-jsonrpc-skill/references/near-public.openrpc.jsonnear-jsonrpc-cli -hInspect operation help first, then run known read methods:
near-jsonrpc-cli -hnear-jsonrpc-cli query -hnear-jsonrpc-cli gas_price -hnear-jsonrpc-cli statusnear-jsonrpc-cli gas_price --input-json '{"block_id":null}'Prefer narrow validation before deeper queries:
near-jsonrpc-cli statusnear-jsonrpc-cli block '{"finality":"final"}'near-jsonrpc-cli query '{"request_type":"view_account","finality":"final","account_id":"near"}'Use object JSON for request objects, and --input-json when a method expects positional null/default params:
near-jsonrpc-cli chunk '{"chunk_id":"75cewvnKFLrJshoUft1tiUC9GriuxWTc4bWezjy2MoPR"}'near-jsonrpc-cli gas_price --input-json '{"block_id":null}'
near-jsonrpc-cli validators --input-json '{"epoch_reference":null}'statusqueryblockchunkgas_pricevalidators--text.ok, kind, protocol, data, error.--schema-url from the linked command unless the provider proves it exposes usable OpenRPC or rpc.discover.near.org and pagoda.co public RPC endpoints as deprecated. Prefer providers from the official RPC providers page instead.chunk or older block lookups fail with unknown or garbage-collected errors, switch to a provider that explicitly supports the needed history.gas_price and validators that expect positional params, use --input-json '{"...":null}' instead of array payloads; UXC CLI positional JSON accepts objects, not arrays.near-jsonrpc-cli <operation> ... is equivalent to uxc https://free.rpc.fastnear.com --schema-url <near_openrpc_schema> <operation> ....references/usage-patterns.mdreferences/near-public.openrpc.json