avalanche-sdk

Integrate the Avalanche TypeScript SDK for cross-chain operations and account queries.

Updated May 7, 2026
One-click install
npx skills add https://github.com/Ayomisco/avaxskills --skill avalanche-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: avalanche-sdk
Source: https://github.com/Ayomisco/avaxskills/tree/main/website/public/avalanche-sdk
Command: npx skills add https://github.com/Ayomisco/avaxskills --skill avalanche-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @avalabs/avalanche-sdk, and includes references (resource) components.

What problem does it solve?

This Skill streamlines interaction with Avalanche networks by providing a comprehensive TypeScript SDK that replaces older, more complex tools, enabling developers to perform cross-chain operations and data queries efficiently.

Core Features & Use Cases

  • Cross-chain operations: Facilitate exporting and importing AVAX between C-Chain and P-Chain.
  • Account management: Query balances and perform staking operations on Avalanche's primary chains.
  • Data retrieval: Access recent blocks, transaction details, and validator info for network monitoring and analysis.
  • Use Case: Developers building applications that require seamless cross-chain asset transfers and real-time network data can leverage these functions for reliable operation.

Quick Start

Use the avalanche-sdk skill to initialize a client, fetch account balances, and perform cross-chain transfers within your TypeScript project.

Frequently Asked Questions about avalanche-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transfer AVAX between C-Chain and P-Chain using TypeScript?

You can transfer AVAX between C-Chain and P-Chain using the Avalanche TypeScript SDK by initializing a client to facilitate cross-chain export and import operations natively within your project.

How do I query Avalanche account balances and staking information?

To query Avalanche account balances and perform staking operations, utilize the TypeScript SDK to interact directly with the primary chains for efficient account management and data retrieval.

What is the best way to retrieve recent blocks and transaction details on Avalanche?

The best way to retrieve recent blocks and transaction details on Avalanche is using the TypeScript SDK to access real-time network data for monitoring and analysis purposes.

Can I use the Avalanche TypeScript SDK for cross-chain data analysis?

Yes, you can use the Avalanche TypeScript SDK for cross-chain data analysis, as it provides comprehensive functions to access network data, query balances, and monitor validator info efficiently.

Does the Avalanche TypeScript SDK replace older blockchain interaction tools?

Yes, the Avalanche TypeScript SDK streamlines interaction by replacing older, more complex tools, enabling developers to perform secure cross-chain operations and data queries efficiently within a single integration.