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
Ecosystem
NEAR AI Cloud: Revoke all tokens for a user
/api-reference/openapi.json delete /v1/users/me/tokens Revokes all tokens (both refresh tokens and access tokens) for the currently authenticated user. This deletes all…
Nov 2, 2026
Ecosystem
NEAR Intents: Balances and Token IDs
How to check your balance and identify tokens in the Verifier contract Multi Token Standard (NEP-245) After a successful deposit, the Verifier contract manages…
Nov 2, 2026
Ecosystem
NEAR Intents: Deposits
Depositing fungible and non-fungible tokens into the Verifier contract Before you can swap or transfer tokens on the Verifier contract, you need to deposit t…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Revoke a reporting token.
…ce/openapi.json delete /v1/organizations/{org_id}/reporting-tokens/{token_id} Revoked reporting tokens can no longer authenticate usage reporting requests.
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Create a new access token
/api-reference/openapi.json post /v1/users/me/access-tokens Creates a new short-lived access token using the current refresh token.
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Revoke a user refresh token
/api-reference/openapi.json delete /v1/users/me/refresh-tokens/{refresh_token_id} Revokes a specific refresh token for the currently authenticated user.
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Delete admin access token (Admin only)
/api-reference/openapi.json delete /v1/admin/access-tokens/{token_id} Revokes an admin access token by setting it as inactive. Only authenticated admins can perform this op…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Create a read-only reporting token.
…ence/openapi.json post /v1/organizations/{org_id}/reporting-tokens Organization owners and admins can create reporting tokens for usage export and summary endpoints. The raw rpt- t…
Nov 2, 2026
Ecosystem
NEAR Intents: Get supported tokens
… get /v0/tokens Retrieves a list of tokens currently supported by the 1Click API for asset swaps. Each token entry includes its b…
Nov 2, 2026
Ecosystem
NEAR Intents: Withdrawals
How to withdraw tokens from the Verifier contract After a successful deposit, tokens are assigned to your account in the Verifier contra…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Get user's refresh tokens
/api-reference/openapi.json get /v1/users/me/refresh-tokens Returns all active refresh tokens for the currently authenticated user.
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Accept invitation by token (requires authentication)
/api-reference/openapi.json post /v1/invitations/{token}/accept Accepts an invitation using its token. The authenticated user's email must match the invitation email.
Nov 2, 2026
Ecosystem
NEAR AI Cloud: List admin access tokens (Admin only)
/api-reference/openapi.json get /v1/admin/access-tokens Retrieves a paginated list of all admin access tokens in the system. Only authenticated admins can access this en…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: List active reporting tokens for an organization.
…rence/openapi.json get /v1/organizations/{org_id}/reporting-tokens The response includes non-secret prefixes and audit timestamps. It never includes raw reporting tokens or stored …
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Create admin access token (Admin only)
/api-reference/openapi.json post /v1/admin/access-tokens Creates an access token for admin users with customizable expiration time, IP address, and user agent. This is ty…
Nov 2, 2026
Ecosystem
NEAR AI Cloud: Get invitation details by token (public endpoint)
/api-reference/openapi.json get /v1/invitations/{token} Returns invitation details for a specific token. This is a public endpoint that allows users to view invitation d…
Nov 2, 2026
Ecosystem
NEAR Intents: Get user token balances
… get /v0/account/balances Returns token balances for the authenticated user from private balance sources
Nov 2, 2026
Ecosystem
NEAR Intents: Refresh Access Token
post /v0/auth/refresh Exchange a refresh token for a new access token Once the accessToken from Authenticate User with Signed Data expires, exchange refreshToken…
Nov 2, 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
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
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
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
Showing 1 to 30 of 106Search all sources →