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 9m ago3 sources
Official
Accounts
Implicit-account derivation, on-chain creation, transfers, key management, and account costs for exchanges. NEAR supports implicit accounts with 64-character hexadecimal IDs derived locally from an ED
Nov 1, 2026
Official
Accounts / Contracts
Learn to query information from accounts and contracts using the NEAR RPC API. The RPC API enables you to view details about accounts and contracts as well as perform contract calls. Quick Reference |
Nov 1, 2026
Official
Address (Account ID)
Learn all about NEAR account addresses NEAR accounts are identified by a unique address, which can take multiple forms: 1. Implicit address, which are 64 characters long (e.g. fb9243ce...) 2. Named ad
Nov 1, 2026
Official
Anatomy of a Transaction
Learn about the structure and components of NEAR Protocol transactions, including signers, receivers, actions, and transaction validation fields. This section explains the anatomy of a transaction in
Nov 1, 2026
Official
API Libraries
Learn to use APIs in JavaScript, Rust, and Python to interact with the blockchain. We offer a collection of language-specific libraries that allow developers to interact with the NEAR blockchain from
Nov 1, 2026
Official
Architectural Overview
Understand NEAR's accounts, transactions, data flow, tokens, storage, and network. NEAR is a blockchain for applications built with smart contracts. Users interact with these applications through acco
Nov 1, 2026
Official
Auction factory
Create new auctions through a factory using a shared global contract. Since an auction contract hosts a single auction, each time you would like to host a new auction you will need a new contract acco
Nov 1, 2026
Official
Avoiding Token Loss
Learn about scenarios that can lead to token loss in NEAR Protocol and how to prevent them, including key management, account deletion, and smart contract failures. This document outlines the common e
Nov 1, 2026
Official
Backend Authentication
Learn how to authenticate NEAR users in your backend service by creating challenges, requesting wallet signatures, and verifying signatures. Recently NEAR has approved a new standard that, among other
Nov 1, 2026
Official
Balance Deduction
Remember to always deduct a user's balance before sending them tokens in a cross-contract call Between a cross-contract call and its callback, any public method of your contract can execute. This mean
Nov 1, 2026
Official
Balances & Reconciliation
Learn how to query and track account balances in NEAR protocol, including native NEAR tokens, fungible tokens, and balance management for integrations. Balance changes on accounts can be tracked by us
Nov 1, 2026
Official
Basic Anatomy
Learn the basic anatomy of all smart contracts. Let's illustrate the basic anatomy of a simple "Hello World" contract. The code on this page comes from our Hello NEAR repository on GitHub. Importing t
Nov 1, 2026
Official
Basic Auction
Learn how to build n auction smart contract on NEAR. In this section, we will analyze a simple auction contract, which allows users to place bids, track the highest bidder and claim tokens at the end
Nov 1, 2026
Official
Best Practices
A collection of best practices for writing smart contracts on NEAR. This page provides a collection of best practices for writing smart contracts on NEAR. These practices are designed to help you writ
Nov 1, 2026
Official
Bidding with FTs
Learn how to enable bidding with fungible tokens To further develop this contract we will introduce another primitive: fungible tokens. Instead of placing bids in $NEAR tokens, they will be placed in
Nov 1, 2026
Official
BigQuery Public Dataset
Learn how to use NEAR Protocol's BigQuery public dataset for blockchain data analysis, including querying on-chain data, understanding costs, and accessing historical transaction data. This document p
Nov 1, 2026
Official
Block / Chunk
Learn how to retrieve details about blocks and chunks from the NEAR RPC API. The RPC API enables you to query the network and get details about specific blocks or chunks. Quick Reference | Method | De
Nov 1, 2026
Official
Blocks and Finality
Finalized block queries, skipped heights, chunk processing, and transaction execution milestones for exchanges. NEAR blocks contain chunks from individual shards. Transactions can produce receipt chai
Nov 1, 2026
Official
Building a Meta Transaction Relayer
Learn how to build a meta transaction relayer that allows users to transact on NEAR without paying gas fees while maintaining transaction security through signed delegates. Relayers allow users to tra
Nov 1, 2026
Official
Building on NEAR
Curated resources to help you start building quickly, plus the Awesome NEAR directory. This page brings together practical resources you can use right away when building on NEAR. Getting started [card
Nov 1, 2026
Official
Callbacks can fail
A callback always runs, but it can still fail. Design your contract so a failed callback cannot leave it in an unsafe state. When you attach a callback to a cross-contract call, the protocol guarantee
Nov 1, 2026
Official
Collections
Efficiently store, access, and manage data in smart contracts. When deciding on data structures it is important to understand their tradeoffs. Choosing the wrong structure can create a bottleneck as t
Nov 1, 2026
Official
Communities
Connect with the NEAR community through various channels and join specialized communities. NEAR is a global community of Web3 enthusiasts and innovators. Connect with developers, builders, and founder
Nov 1, 2026
Official
Contract Events
Emit structured events from your contract so indexers and frontends can track on-chain activity. Smart contracts can emit events — structured log messages that follow NEP-297 and are stored on-chain.
Nov 1, 2026
Official
Controlling a NEAR account
Learn to control a NEAR account securely using Multi-Party Computation. Imagine acting on behalf of another Near account - without ever holding its private key. Sounds futuristic? It’s possible today,
Nov 1, 2026
Official
Create an Account
Understand how to create a NEAR account using a wallet and the NEAR CLI To start developing applications in NEAR you will need a NEAR testnet account. This account will allow you to deploy and test yo
Nov 1, 2026
Official
Creating a Frontend
Lets create a frontend for our auction using React. Now that we have successfully created a contract, it's time to build a frontend to provide a user-friendly interface for interacting with it. Up unt
Nov 1, 2026
Official
Creating a FT Contract
Learn how to create a fungible token (FT) using Contract Tools package In this tutorial, we will create a fungible token (FT) using the NEAR SDK Contract Tools package. This package is a collection of
Nov 1, 2026
Official
Creating a NFT Contract
Learn how to create a non-fungible token (NFT) using Contract Tools package In this tutorial, you will create a non-fungible token (NFT) using the NEAR SDK Contract Tools package. This package is a co
Nov 1, 2026
Official
Creating Deterministic Accounts
Create a deterministic fungible-token account using a published global contract and initial storage. A deterministic account starts with contract code and initial storage, but no access keys. Its 0s a
Nov 1, 2026
Showing 361 to 390 of 514Search all sources →