·near-api-js
</>

near-api-js

near/agent-skills

Guide for developing with near-api-js v7 - the JavaScript/TypeScript library for NEAR blockchain interaction. Use when: (1) building apps that interact with NEAR blockchain, (2) creating/signing transactions, (3) calling smart contracts, (4) managing accounts and keys, (5) working with NEAR RPC API, (6) handling FT/NFT tokens on NEAR, (7) using NEAR cryptographic operations (KeyPair, signing), (8) converting between NEAR units (yocto, gas), (9) gasless/meta transactions with relayers, (10) wallet integration and session management, (11) NEP-413 message signing for authentication, (12) storage deposit management for FT contracts. Triggers on any NEAR blockchain development tasks.

22Installs·2Trend·@near

Installation

$npx skills add https://github.com/near/agent-skills --skill near-api-js

SKILL.md

JavaScript/TypeScript library for NEAR blockchain interaction. Works in browser and Node.js.

| Mainnet | https://rpc.mainnet.near.org | | Mainnet (Pagoda) | https://rpc.mainnet.pagoda.co | | Mainnet (FastNEAR) | https://free.rpc.fastnear.com | | Testnet | https://rpc.testnet.near.org | | Testnet (FastNEAR) | https://test.rpc.fastnear.com |

Guide for developing with near-api-js v7 - the JavaScript/TypeScript library for NEAR blockchain interaction. Use when: (1) building apps that interact with NEAR blockchain, (2) creating/signing transactions, (3) calling smart contracts, (4) managing accounts and keys, (5) working with NEAR RPC API, (6) handling FT/NFT tokens on NEAR, (7) using NEAR cryptographic operations (KeyPair, signing), (8) converting between NEAR units (yocto, gas), (9) gasless/meta transactions with relayers, (10) wallet integration and session management, (11) NEP-413 message signing for authentication, (12) storage deposit management for FT contracts. Triggers on any NEAR blockchain development tasks. Source: near/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/near/agent-skills --skill near-api-js
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is near-api-js?

Guide for developing with near-api-js v7 - the JavaScript/TypeScript library for NEAR blockchain interaction. Use when: (1) building apps that interact with NEAR blockchain, (2) creating/signing transactions, (3) calling smart contracts, (4) managing accounts and keys, (5) working with NEAR RPC API, (6) handling FT/NFT tokens on NEAR, (7) using NEAR cryptographic operations (KeyPair, signing), (8) converting between NEAR units (yocto, gas), (9) gasless/meta transactions with relayers, (10) wallet integration and session management, (11) NEP-413 message signing for authentication, (12) storage deposit management for FT contracts. Triggers on any NEAR blockchain development tasks. Source: near/agent-skills.

How do I install near-api-js?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/near/agent-skills --skill near-api-js Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/near/agent-skills