avalanche-rpc

Query Avalanche RPC endpoints for blockchain data via command-line curl commands.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables users to interact directly with Avalanche chains using RPC protocols, simplifying blockchain data retrieval and troubleshooting.

Core Features & Use Cases

  • Perform raw RPC calls to fetch balances, blocks, transactions, and chain info from Avalanche chains.
  • Use case includes scripting chain queries, diagnosing RPC issues, and understanding underlying chain behavior without relying on SDKs.
  • Execute functions like eth_getBalance, eth_blockNumber, and avax.getAtomicTx through simple curl commands.

Quick Start

Use the avalanche-rpc skill to fetch the current block number of the Fuji testnet.

Frequently Asked Questions about avalanche-rpc

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

FAQPage Schema
How do I query Avalanche blockchain data using RPC calls?

You can query Avalanche blockchain data by executing direct RPC calls via curl commands. This approach fetches balances, blocks, and transactions from C-Chain, P-Chain, and X-Chain without requiring SDKs.

Can I use curl to get an Avalanche balance on the Fuji testnet?

Yes, you can retrieve an Avalanche balance on the Fuji testnet using raw curl commands. The skill supports Ethereum-compatible endpoints like eth_getBalance and Avalanche-specific APIs for direct blockchain interaction.

What is the best way to troubleshoot Avalanche RPC issues without an SDK?

The best way to troubleshoot Avalanche RPC issues without an SDK is by performing raw RPC calls. This allows you to diagnose endpoint communication and understand underlying chain behavior directly.

Does this approach support both Ethereum-compatible and Avalanche-specific APIs?

Yes, direct RPC querying supports both Ethereum-compatible and Avalanche-specific APIs. You can execute functions like eth_blockNumber and avax.getAtomicTx across C-Chain, P-Chain, and X-Chain networks.

How do I script Avalanche chain queries for development environments?

You can script Avalanche chain queries by integrating curl-based RPC calls into your custom scripts. This ensures secure, reliable communication with configurable endpoints suitable for development and production environments.