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
1 more source12 pages
Showing“token”
Official
Fungible Token Implementation
…ansfer calls. The best practice for implementing a fungible token contract is to use the contract-tools crate. However, if you need to implement your own, be careful to avoid commo…
Nov 1, 2026
Official
Using FTs
…sfer, 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, regis…
Nov 1, 2026
Ecosystem
NEAR AI Cloud: Prompt Caching
…ed prefix, only the new suffix is computed. 3. Cached input tokens are billed at the model's discounted cache-read rate instead of the regular input rate. Per-model cache-read pric…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Get Intel Trust Authority attestation token
/api-reference/openapi.json get /v1/attestation/ita-token Get Intel Trust Authority signed attestation JWTs for the gateway and, when requested, compatible model provider e…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Reasoning Models
…your API requests. Reasoning output is billed as completion tokens. The number of tokens spent thinking is reported in usage.completion_tokens_details.reasoning_tokens, the same lo…
Nov 2, 2026
Official
Introduction
…bout Lockup contracts on NEAR – smart contracts that escrow tokens with time-based release schedules, supporting lockups, vesting, staking, and termination by foundation. Lockup co…
Nov 1, 2026
Ecosystem
NEAR AI Cloud: API Reference
…Authentication Every request is authenticated with a bearer token in the Authorization header. The API accepts four token types; for programmatic access you almost always want an A…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Usage Reporting API
… cost reporting for a NEAR AI Cloud organization. Reporting tokens are separate from inference API keys: they can read usage reports for one organization, but they cannot call mode…
Nov 2, 2026
Ecosystem
NEAR Intents: Making a Request
Query tokens, request a quote, send your deposit, and track it to completion This covers the standard ORIGIN_CHAIN swap flow e…
Nov 2, 2026
Official
Factory
Learn how a factory creates fungible token contracts on sub-accounts using a global contract ID. A factory is a smart contract that creates sub-accounts and …
Nov 1, 2026
Official
Require one yoctoNEAR
…ol over the account, including the ability to transfer NEAR tokens * Function-call keys are requested by third-party apps to sign transactions on behalf of the user. They can only …
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 fail…
Nov 1, 2026
Ecosystem
NEAR Intents: Intent Types and Execution
…ar The usdc.near contract requires a storage deposit before tokens can be deposited. While Intent 1 executes first, there's no guarantee the storage deposit call will complete befo…
Nov 2, 2026
Ecosystem
NEAR Intents: Example Solver
…intents | | Cron | src/services/cron.service.ts | Refreshes token balances from the Verifier contract on a 15-second interval | The WebSocket service receives a quote request, hand…
Nov 2, 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 b…
Nov 1, 2026
Ecosystem
NEAR Intents: API Keys
Obtain a JWT token for authenticated API access Unauthenticated requests incur an additional 0.25% (25 basis points) platform fee on …
Nov 2, 2026
Ecosystem
Trezu: Stake Delegation
Stake your treasury's tokens to earn rewards Trezu allows you to stake your treasury's tokens through third-party services, so you can earn re…
Nov 2, 2026
Ecosystem
NEAR Intents: Events
…t with standard, version, event, and data fields. Here is a token_diff event emitted after a successful trade: theme={null} EVENT_JSON:{ "standard": "dip4", "version": "0.3.0", "ev…
Nov 2, 2026
Ecosystem
NEAR Intents: Swap SDK
…nt libraries in multiple languages for seamless cross-chain token swaps using the 1Click Swap API. > TypeScript > > npm package > Go > > Go module > Rust > > Cargo crate *** Using …
Nov 2, 2026
Official
Staking NEAR Tokens
… 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 tut…
Nov 1, 2026
Official
Deploying Your Own Contract
…t on NEAR At its core, the Liquid Staking Contract issues a token that follows the Fungible Token (NEP-141) standard. When you stake NEAR, you don’t just lock it away — you receive…
Nov 1, 2026
Official
Winning an NFT
…oned off we need the account ID of the NFT contract and the token ID of the NFT. We will specify these when the contract is initialized; amend init to add nft_contract and token_id…
Nov 1, 2026
Ecosystem
NEAR Intents: Earn
…s coordinates execution; the user receives fungible receipt tokens (for example vault shares) that represent the position. > [!NOTE] > > NEAR Intents does not run these yield proto…
Nov 2, 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…
Nov 1, 2026
Official
Contract Events
…1.0.0","event":"nft_mint","data":[{"owner_id":"alice.near","token_ids":["1"]}]} *** Defining and Emitting Events The near-sdk provides a high-level macro-based API for defining and…
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 Contra…
Nov 1, 2026
Ecosystem
NEAR Intents: Using NEAR Tokens
How to use NEAR tokens with NEAR Intents The Verifier contract only accepts NEP-141 tokens, so native NEAR must be wrapped before deposi…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Fusion
…ate usage, which includes panel, judge, and synthesis model tokens. Request Shapes NEAR AI Cloud accepts OpenRouter-style Fusion configuration in either a server tool or a plugin e…
Nov 2, 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 thes…
Nov 1, 2026
Ecosystem
NEAR Intents: Verifier Contract
…s the on-chain settlement layer for NEAR Intents. Deposited tokens are credited to accounts in the contract's ledger. Swaps and transfers update those records; tokens leave the con…
Nov 2, 2026
Showing 31 to 60 of 223Search all sources →