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 4h ago3 sources
Official
NEAR Native Token
Use NEAR to pay transaction fees, cover on-chain storage, and secure the network through staking. NEAR (Ⓝ) is the native token of NEAR Protocol. You can transfer it between accounts, use it to pay for
Nov 1, 2026
Official
NEAR Networks
Explore the different networks available in NEAR NEAR Protocol operates on several networks, each with its own independent validators and unique state. These networks are designed to serve different p
Nov 1, 2026
Official
Nodes & RPC
Node configuration, archival history, health checks, and network upgrades for exchange integrations. NEAR nodes provide RPC access to the network: exchanges use them to query balances, read blocks and
Nov 1, 2026
Official
Off-chain Compute
Learn how NEAR smart contracts can delegate heavy or impossible-on-chain work to verifiable off-chain computation running inside Trusted Execution Environments (TEEs). Smart contracts run inside a det
Nov 1, 2026
Official
Omni Bridge Overview
Learn about Omni Bridge, a multi-chain asset bridge that enables secure and efficient transfers between blockchain networks using Chain Signatures and MPC technology. The Omni Bridge is a multi-chain
Nov 1, 2026
Official
Omni Bridge Roadmap
Explore the Omni Bridge roadmap, including hybrid architecture launch, Chain Signatures migration path, and future development plans for cross-chain infrastructure. Omni Bridge launches with a hybrid
Nov 1, 2026
Official
Oracles
Learn about blockchain oracles on NEAR Protocol, including price feeds, data integration, and using oracle services like Outlayer Price Oracle and Pyth Network. Blockchain Oracles serve as intermediar
Nov 1, 2026
Official
OutLayer
OutLayer is a verifiable off-chain compute platform for NEAR. Run Rust/WASM code inside Intel TDX enclaves with built-in VRF, secrets, MPC vaults, and payment keys. OutLayer is a verifiable off-chain
Nov 1, 2026
Official
Private Callbacks
Remember to make your callbacks private In NEAR, your contract can call a function from another contract, and then schedule a callback to handle its result. The callback function needs to be "public"
Nov 1, 2026
Official
Privy
Enable users to login with their social accounts (Google, GitHub, etc.) Privy is a third-party service that allows users to login using their email or social accounts (Google, Facebook, Twitter, etc).
Nov 1, 2026
Official
Production Builds
Reduce contract size and create reproducible builds that users can verify against the deployed code. In this page, we will explore strategies for reducing the size of smart contracts on NEAR. This is
Nov 1, 2026
Official
Protocol
Learn how to retrieve the genesis and current protocol configurations using the NEAR RPC API. The RPC API enables you to retrieve the current genesis and protocol configuration. Quick Reference | Meth
Nov 1, 2026
Official
Protocol Call Reference
Overview of tools and methods for interacting with the NEAR Protocol. NEAR Protocol provides multiple ways to interact with the network — from low-level JSON-RPC calls to visual explorers and wallets.
Nov 1, 2026
Official
Random Numbers
Avoid predictable randomness vulnerabilities When writing smart contracts in NEAR you have access to a random seed that enables you to create random numbers/strings within your contract. This random s
Nov 1, 2026
Official
Receiving Deposits
Track finalized native NEAR deposits through blocks, chunks, and receipt outcomes. Native NEAR deposits can arrive as direct transfers or as transfers generated by contract calls. Both are detected th
Nov 1, 2026
Official
Reference Contracts
Explore NEAR contracts deployed across projects. List of contracts of various projects deployed on NEAR. This list is not exhaustive and is meant to be a reference for developers and users [!NOTE] Fin
Nov 1, 2026
Official
Refund NEAR tokens
Return attached NEAR tokens to the original user when a cross-contract call fails. When your contract sends attached NEAR tokens in a cross-contract call and that call fails, the tokens return to your
Nov 1, 2026
Official
Require one yoctoNEAR
Require a deposit-capable access key for sensitive smart contract methods. NEAR accounts can have two types of access keys: Full-access keys have complete control over the account, including the abili
Nov 1, 2026
Official
RPC Providers
List of public RPC endpoints for the NEAR Protocol. NEAR Protocol exposes a JSON-RPC API for interacting with the network. You can use any of the providers below or run your own node. RPC Providers Fa
Nov 1, 2026
Official
Run Your Own Localnet
Learn how to run a localnet on NEAR. Now that we understand what a localnet is, let's walk through the complete workflow of running it and testing it with a simple smart contract and a frontend applic
Nov 1, 2026
Official
Runtime
Explore NEAR Protocol's runtime system, including core runtime operations, cross-contract calls, action and data receipts, and state management. The runtime applies NEAR's execution rules to transacti
Nov 1, 2026
Official
Rust SDK
The Rust SDK for building smart contracts. NEAR's only official smart-contract SDK is near-sdk-rs, the NEAR SDK for Rust. It provides APIs for contract state, serialization, cross-contract calls, and
Nov 1, 2026
Official
Sandbox Testing
Lets test our contract in a realistic sandbox environment. In the previous section, we went through the contract's code, analyzing how it worked. Now, we need to test it and make sure it works as expe
Nov 1, 2026
Official
Sending Withdrawals
Learn how to create, sign, and send transactions on NEAR protocol, including transaction structure, actions, and best practices for integration. You can send a transfer on NEAR using NEAR CLI or an AP
Nov 1, 2026
Official
Serialization
Learn how contract serialize data for function calls and storage. Smart contracts need to be able to communicate complex data in a simple way, while also reading and storing such data into their state
Nov 1, 2026
Official
Setting up a Near account to be controlled by MPC
Set up a NEAR account to be securely controlled via MPC by deriving a public key and adding it as an access key. One of the powerful features of the NEAR Protocol is its flexible access keys architect
Nov 1, 2026
Official
Signing Transactions
Learn how to sign transactions across multiple blockchains. Chain signatures enable NEAR accounts, including smart contracts, to sign and execute transactions across many blockchain protocols. This un
Nov 1, 2026
Official
Smart contract security checklist
Learn the main security risks in NEAR smart contracts and review them before deployment. Smart contracts handle assets and shared state in an adversarial environment. A secure contract must protect it
Nov 1, 2026
Official
Social
Learn how to build social features on NEAR - profiles, posts, follows, likes and notifications - using SocialDB (social.near) and the near-social-js SDK. SocialDB is a smart contract deployed at socia
Nov 1, 2026
Official
Staking & Delegation
Validator selection, delegation, withdrawal availability, and staking-pool custody. NEAR delegation uses staking-pool contracts to manage delegated funds and distribute rewards. For an exchange, this
Nov 1, 2026
Showing 121 to 150 of 198Search all sources →