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.
483pages
synced 2h ago3 sources
Showingdocs.near.org
Official
Staking NEAR Tokens
Learn how to stake NEAR, delegate to validators, track rewards, and withdraw staked tokens safely. You can delegate NEAR tokens to a validator to help secure the network and earn staking rewards. This
Nov 1, 2026
Official
State
Explore how NEAR smart contracts manage their state. Smart contracts store data in their account's state, which is public on the chain. The storage starts empty until a contract is deployed and the st
Nov 1, 2026
Official
State Cleaner
Clean up a contract's state. State Cleaner is an extension for NEAR CLI that wipes a contract account's on-chain state without deleting the account, so you can redeploy a fresh contract or free the st
Nov 1, 2026
Official
Storage
Learn about NEAR Protocol's storage staking mechanism, including costs, storage pricing, attack prevention, and strategies for managing on-chain data storage. NEAR's storage staking is a mechanism tha
Nov 1, 2026
Official
Storage cost attacks
Prevent attackers from locking a contract's balance by forcing unbounded state growth. NEAR accounts must maintain a balance proportional to the data they store. If users can grow contract state witho
Nov 1, 2026
Official
Sunsetting a Staking Pool
Wind down a staking pool, pause staking, and help delegators withdraw their tokens. If you are a stake pool owner and want to wind down your validator service, follow these steps to ensure delegators
Nov 1, 2026
Official
Sybil attacks
Design NEAR applications that do not mistake multiple accounts for independent participants. A Sybil attack occurs when one actor creates or controls many accounts to gain extra votes, rewards, reputa
Nov 1, 2026
Official
Testing an Integration
Test an integration on NEAR testnet or in a local sandbox. Use testnet to exercise deposit detection, withdrawal submission, and reconciliation before enabling mainnet operations. [!TIP] Testnet token
Nov 1, 2026
Official
The Standard
Learn how Fungible Tokens (FT) are defined on NEAR Besides the native NEAR token, users have access to a multitude of tokens created by institutions and other users known as fungible tokens. In contra
Nov 1, 2026
Official
The Standard
Learn how Linkdrops are defined on NEAR Linkdrops allow users to distribute assets and onboard people to Web3 apps through a simple web link. They work by storing assets and linking AccessKeys to them
Nov 1, 2026
Official
The Standard
Learn how Non-Fungible Tokens (NFT) are defined on NEAR In contrast with fungible tokens, non-fungible tokens (NFT) are unitary and therefore unique. This makes NFTs ideal to represent ownership of as
Nov 1, 2026
Official
Token Drops
Learn how NEAR Drop enables token drops (NEAR, FT, NFT) claimable via private keys. NEAR Drop is a smart contract that allows users to create token drops ($NEAR, Fungible and Non-Fungible Tokens), and
Nov 1, 2026
Official
Token Faucet
Learn how to get free testnet tokens for development and testing on the NEAR blockchain A faucet provides free testnet tokens for testing and development purposes. There are two testnet faucets: the b
Nov 1, 2026
Official
Token Standards
Compare NEAR's smart contract standards for fungible tokens, NFTs, and MultiTokens. Beyond the native NEAR token, smart contracts can define their own tokens. NEAR provides standards for fungible toke
Nov 1, 2026
Official
Token transfer flow
Learn all steps involved on a token transfer. This section explains the flow of token transfers in the NEAR Protocol, detailing how tokens are moved between accounts, the role of receipts, and the imp
Nov 1, 2026
Official
Tokenized Vaults
Learn how Tokenized Vaults (NEP-621) are defined on NEAR A tokenized vault is a smart contract that accepts deposits of an underlying fungible token (FT) and, in exchange, issues shares that represent
Nov 1, 2026
Official
Tools for AI Agents
Guide your agent on building NEAR applications NEAR offers multiple tools and resources to help your AI agents build and use NEAR applications. This page provides an overview of the key tools availabl
Nov 1, 2026
Official
Transaction Lifecycle
How NEAR transactions are signed, validated, included in chunks, and executed. A NEAR transaction passes through signing, validation, and chunk inclusion before execution outcomes are available. The s
Nov 1, 2026
Official
Transactions
Send transactions and query their status using the NEAR RPC API. The RPC API exposes several methods for broadcasting signed transactions and tracking their execution. All transaction methods accept a
Nov 1, 2026
Official
Transactions
Learn how users interact with NEAR through transactions composed of actions, signed with private keys, and processed by the network with deterministic gas costs. Users interact with NEAR by creating t
Nov 1, 2026
Official
Transfer Near tokens on behalf of a controlled account
Build transaction arguments, request MPC signatures, and broadcast signed NEAR token transfers securely. In this part of the tutorial, we'll dig into how transaction arguments are built, how to reques
Nov 1, 2026
Official
Transfers & Actions
Learn how contracts can make transfers, call other contracts, and more This page describes the different types of actions that a smart contract can perform on NEAR like transferring NEAR, calling othe
Nov 1, 2026
Official
Tutorial: Creating an Indexer
This tutorial will guide you through building an indexer using the NEAR Indexer Framework. The indexer will listen for FunctionCalls on a specific contract and log the details of each call. In this tu
Nov 1, 2026
Official
Types and Interface
Learn how to define your contract's interface and use Rust and SDK types in its inputs, outputs, and state. Smart contracts expose functions so users can interact with them. There are different types
Nov 1, 2026
Official
Unit Testing
Learn how to write and run unit tests for NEAR smart contracts to test individual methods and functions in isolation. Smart contracts need both unit and integration tests: 1. Unit tests exercise metho
Nov 1, 2026
Official
Updating Contracts
Learn how to upgrade NEAR smart contracts safely, including programmatic updates, migration strategies, and best practices for contract versioning. Learn how to update NEAR smart contracts, both throu
Nov 1, 2026
Official
Updating the Frontend
Update the frontend to display the new token information. Now we've updated the contract to include an NFT as a reward and changed the contract such that it accepts bids in fungible tokens, we need to
Nov 1, 2026
Official
Using FTs
Learn how to create, transfer, and integrate FT in your dApp Wanting to use Fungible Tokens (FT) in your dApp? Here you will find all the information you need to get started creating your own tokens,
Nov 1, 2026
Official
Using Linkdrops
Learn about linkdrops following NEP-452 standard - distribute assets and onboard users to Web3 apps through simple web links using access keys and the Keypom platform. Wanting to use Linkdrops in your
Nov 1, 2026
Official
Using Liquid Staking
Learn about Liquid Staking on NEAR — a smart contract that issues a fungible token representing staked NEAR, enabling instant liquidity and validator diversification. Liquid staking is a modern altern
Nov 1, 2026
Showing 151 to 180 of 198Search all sources →