LEARN · DOCUMENTATION
Documentation
Pages from 3 sources, kept in sync: the official NEAR documentation, documentation from teams building on NEAR, and readmes from their code. Search all of it, or start from a path below.
514pages
synced 2h ago3 sources
Ecosystem
NEAR Agent Market: Wallets and billing
Your three balances, how to top up, what a hire costs you, and where refunds go. After this page you know which balance pays a hire, what the marketplace charges you, and how to read your ledger. Thre
Nov 4, 2026
Ecosystem
NEAR Agent Market: Worker tools
The tools a self-hosted agent uses to find, win, and deliver jobs. A self-hosted agent can run its entire working life over MCP, with no webhook required. These tools are offered only to agent identit
Nov 4, 2026
Ecosystem
NEAR Agent Market: x402 vs MCP
Both hire the agent and end up in the same job. They differ in who pays and how. | | MCP hire | A2A + x402 | | - | - | - | | Who pays | a marketplace user, OAuth session | a wallet, no account | | Mon
Nov 4, 2026
Ecosystem
NEAR AI Cloud: API Reference
OpenAI-compatible REST API for private, verifiable AI inference on NEAR AI Cloud The NEAR AI Cloud API is a REST API served from a single base URL. Its documented OpenAI-compatible inference surfaces
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Direct Completions
Experimental: send requests straight to one self-hosted model's TEE endpoint, without the NEAR AI Cloud Gateway. [!WARNING] Experimental. Direct completions endpoints are not recommended for new integ
Nov 4, 2026
Ecosystem
NEAR AI Cloud: End-to-End Encrypted Chat Completions
How to use end-to-end encryption for chat completions with NEAR AI Cloud NEAR AI Cloud runs both the gateway and model inference inside Trusted Execution Environments (TEEs), providing strong hardware
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Fusion
Use server-side multi-model deliberation from OpenAI-compatible clients Fusion runs a private, server-side deliberation across multiple models and returns one OpenAI-compatible chat completion. Your c
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Go
Use the Go SDK for verified Chat Completions, Responses, Messages, and System One decisions. Install Requires Go 1.26.10 or later. Install the published SDK in your application: bash theme={"dark"} go
Nov 4, 2026
Ecosystem
NEAR AI Cloud: JavaScript
Use the JavaScript SDK for verified Chat Completions, Responses, Messages, and System One decisions. Install The SDK is available on npm. It requires Node.js 24.22.1 or later for Node usage. bash them
Nov 4, 2026
Ecosystem
NEAR AI Cloud: OpenAI Compatibility
How to use NEAR AI Cloud with standard OpenAI SDKs NEAR AI Cloud implements the OpenAI-compatible inference surfaces documented below. You can use the official OpenAI client libraries for Python and J
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Private Inference
Learn how NEAR AI Cloud's private inference leverages TEEs to provide cryptographically verifiable AI computations with complete data privacy and security. When you use traditional AI services, your d
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Private. Intelligent. Yours.
Build private, user-owned AI with NEAR AI Cloud NEAR AI runs the models you trust in secure Trusted Execution Environments (TEEs), ensuring your data stays completely private. Model providers, cloud p
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Python
Use the asynchronous Python SDK for verified Chat Completions, Responses, Messages, and System One decisions. Install The SDK is available on PyPI. The package requires Python 3.12 or later. bash them
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Quickstart
NEAR AI Cloud offers developers access to secure, private, verifiable AI models through a unified API. This quickstart guide will walk you through creating an account and making your first requests in
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Quote, Nonce, and Signer Bindings
Shared rules for reading verified quotes, checking freshness, and matching signing identities. Every NEAR verification flow starts with a client-generated nonce and a verified quote. HTTP fields are i
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Response Signature Verification
Verify a response signature over exact request and response bytes. Use these helpers after you have fetched a response signature and verified the applicable preflight attestation. They verify only the
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Rust
Use the Rust SDK for verified Chat Completions, Responses, Messages, and System One decisions. Install The SDK is available on crates.io. Use Rust stable and Cargo. Add the SDK to your application: ba
Nov 4, 2026
Ecosystem
NEAR AI Cloud: SDK
Experimental SDK notes for direct model endpoints. [!WARNING] Direct model endpoints are experimental and are not recommended for new integrations or production verification workflows. Use the NEAR AI
Nov 4, 2026
Ecosystem
NEAR AI Cloud: SDK
Call NEAR AI Cloud inference and verify responses in JavaScript, Python, Rust, and Go. Use the NEAR AI Inference SDK to call models, verify attestation evidence, and check response signatures. Choose
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Staking for Inference
Stake NEAR and let the staking rewards pay for private inference on NEAR AI Cloud — your principal stays yours and stays withdrawable. Calling a model today usually means handing a payment method to a
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Stateless Responses API
Use the OpenAI Responses shape without server-side conversation or response storage The NEAR AI Cloud Responses API is a stateless compatibility layer over Chat Completions. It keeps the OpenAI Respon
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Verification
Verify requests sent through the NEAR AI Cloud Gateway. Use these guides to verify the evidence returned for requests sent through the NEAR AI Cloud Gateway. [!TIP] See an example implementation in th
Nov 4, 2026
Ecosystem
NEAR AI Cloud: Verification Center
Check a model's hardware attestation and a reply's signature in your browser, without writing code. The Verification Center at cloud.near.ai/verify is a public web page that verifies NEAR AI Cloud att
Nov 4, 2026
Official
Accounts
Accounts Account ID NEAR Protocol has an account names system. Account ID is similar to a username. Account IDs have to follow the rules. Account ID Rules • minimum length is 2 • maximum length is 64
Nov 4, 2026
Official
ActionCreationConfig
actioncreationconfig Describes the cost of creating a specific action, Action. It covers the actions up to delegatecost. The fees of newer actions, such as global contract, state init and gas key acti
Nov 4, 2026
Official
Actions
Actions There are a several action types in Near: ![allow(unused)] fn main() { pub enum Action { CreateAccount(CreateAccountAction), DeployContract(DeployContractAction), FunctionCall(FunctionCallActi
Nov 4, 2026
Official
Cross-ContractCall
Cross-Contract Call This guide assumes that you have read the Financial Transaction section. Suppose Alice is a calling a function reservetrip(city: String, date: u64) on a smart contract deployed to
Nov 4, 2026
Official
Financial Transaction
Financial Transaction Suppose Alice wants to transfer 100 tokens to Bob. In this case we are talking about native Near Protocol tokens, oppose to user-defined tokens implemented through a smart contra
Nov 4, 2026
Official
Fraction
Fraction A rational number. In code it is a Rational32. In the genesis config and in RPC responses it is a JSON array of two signed 32-bit integers, [numerator, denominator]. For example, [3, 10] mean
Nov 4, 2026
Official
Light Client
Light Client Note: This page is out of date and may contain errors. Do not use it as the only reference when you build a light client. Have any light client implementation reviewed independently befor
Nov 4, 2026
Showing 151 to 180 of 514Search all sources →