Avalanche RPC
Avalanche Overview
Avalanche is a Layer 1 blockchain platform designed for high throughput and low latency. It uses a multi-chain architecture consisting of three built-in blockchains:
- Exchange Chain (X-Chain): for creating and transferring digital assets
- Platform Chain (P-Chain): for coordinating validators and managing subnets
- Contract Chain (C-Chain): fully compatible with Ethereum's EVM for smart contracts
Avalanche employs two consensus protocols: Avalanche consensus for the DAG-based X-Chain and Snowman consensus for linear chains such as the C-Chain and P-Chain. Together, these enable the network to typically finalize transactions in under 1 second while maintaining security and decentralization.
The platform also supports subnets, custom blockchain networks where developers can define their own validator sets, virtual machines, and tokenomics, enabling application-specific blockchains to scale efficiently.
Interacting with Avalanche's APIs
Avalanche nodes expose multiple JSON-RPC interfaces for each chain. The C-Chain is compatible with Ethereum's JSON-RPC API, meaning developers can use Ethereum's native tools, such as Foundry, Hardhat, and popular Web3 libraries, without modification. The P-Chain and X-Chain have their own specific APIs for platform and asset management operations.
However, due to Avalanche's architectural differences, some RPC methods may behave differently from those on Ethereum. The QuickNode Avalanche documentation is continuously evolving as the chain undergoes upgrades and changes, so we highly recommend cross-referencing with the official Avalanche documentation for the latest updates and RPC differences.
Make Avalanche API Calls
The quickest way to start building on Avalanche is to create a QuickNode endpoint and send your first JSON-RPC request.
QuickNode provides managed Avalanche endpoints, giving you immediate access to the Avalanche Mainnet and Fuji Testnet without the overhead of running infrastructure. These endpoints offer:
- High reliability – globally distributed infrastructure designed to minimize downtime
- Enhanced performance – optimized latency and request handling for production-grade apps
- Integrated ecosystem – additional functionality through specialized APIs (add-ons) on the QuickNode Marketplace and products like Streams
Visit the QuickStart page to create your endpoint and send your first request.
Supported Networks
QuickNode provides access to the following Avalanche networks:
Complete reference for developers building on Avalanche with QuickNode:
QuickStart
Get started with Avalanche quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
Provider Endpoints
Learn how to configure and manage your Avalanche endpoints for optimal performance and reliability.
API Overview
Explore supported APIs, networks, QuickNode products, and enhanced API features for building powerful applications.
Marketplace
Discover and integrate powerful add-ons and tools from the QuickNode Marketplace to enhance your web3 applications.
Endpoint Security
Secure your endpoints with authentication, whitelisting, and best security practices.
Error Codes
Understand common error codes and troubleshooting steps for Avalanche API requests.