Avalanche

Discover Avalanche, a fast and scalable blockchain with RPC access. Build dApps using its customizable subnets and comprehensive documentation.

The Avalanche RPC documentation provides developers with a detailed guide to interact programmatically with the Avalanche network. This guide covers the various API endpoints for managing blockchain data, executing smart contracts, and submitting transactions across the C-Chain (EVM-compatible), X-Chain, and P-Chain. With its high throughput and customizable subnets, Avalanche offers a scalable environment for building decentralized applications. The RPC documentation includes best practices and examples to simplify integration with the Avalanche blockchain ecosystem.

Related: 📚 Supported Blockchains • 🌐 RPC Nodes Avalanche • 🔗 Official Avalanche Website

RPC Gateway for Avalanche blockchain

Avalanche RPC networks

↳ JSON-RPC (C-Chain)
https://avalanche-mainnet.gateway.tatum.io
↳ JSON-RPC (P-Chain)
https://avalanche-mainnet.gateway.tatum.io/ext/bc/P
↳ JSON-RPC (X-Chain)
https://avalanche-mainnet.gateway.tatum.io/ext/bc/X
↳ JSON-RPC (C-Chain)
https://avalanche-testnet.gateway.tatum.io
↳ JSON-RPC (P-Chain)
https://avalanche-testnet.gateway.tatum.io/ext/bc/P
↳ JSON-RPC (X-Chain)
https://avalanche-testnet.gateway.tatum.io/ext/bc/X

Connect to Avalanche and Fetch the Latest Block

This widget lets you instantly query the latest block height (or equivalent) for Avalanche using a chain-specific RPC method like eth_blockNumber, getblockcount, or getBlockHeight. Useful for connectivity checks, uptime monitoring, or API testing.

Retrieve Avalanche Node Status or Client Version via RPC

Use this pre-configured request to get version or status information for your connected Avalanche node. Whether it's web3_clientVersion, getblockchaininfo, or chain-specific endpoints, the method is optimized for each supported blockchain.

Test Avalanche RPC Methods in Postman

Explore and test Avalanche blockchain methods instantly using our pre-configured Postman collection. Perfect for developers who want to experiment with Avalanche RPC endpoints, validate API responses, or integrate Avalanche into their applications.

How to use the Avalanche Postman Collection

  1. Get your API key: Visit Tatum Dashboard to obtain your free API key
  2. Import the collection: Click the "Run in Postman" button below to import the Avalanche collection
  3. Configure your environment: Update the gateway-api-key variable in the Tatum Gateway environment
  4. Start testing: Execute any Avalanche RPC method and see real-time responses

Available Avalanche interfaces and methods

Each Avalanche network and interface below exposes its own set of RPC methods, listed live from Tatum's RPC Gateway. Query these endpoints for any interface to explore what it supports:

  • /_methods – machine-readable list of interfaces and methods
  • /llms.txt – human- and AI-readable documentation context
Avalanche Mainnet

JSON-RPC (C-Chain) · JSON-RPC

Base URL: https://avalanche-mainnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • debug_getBadBlocks
  • debug_storageRangeAt
  • debug_traceBlock
  • debug_traceBlockByHash
  • debug_traceBlockByNumber
  • debug_traceCall
  • debug_traceTransaction
  • eth_blockNumber
  • eth_call
  • eth_callMany
  • eth_estimateGas
  • eth_feeHistory
  • eth_gasPrice
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockReceipts
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode
  • eth_getLogs
  • eth_getProof
  • eth_getStorageAt
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_chainId
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_syncing
  • net_peerCount
  • net_version
  • trace_block
  • trace_call
  • trace_callMany
  • trace_rawTransaction
  • trace_replayBlockTransactions
  • trace_replayTransaction
  • trace_transaction
  • txpool_content
  • txpool_inspect
  • txpool_status
  • web3_clientVersion

JSON-RPC (P-Chain) · JSON-RPC

Base URL: https://avalanche-mainnet.gateway.tatum.io/ext/bc/P

Discovery: /_methods · /llms.txt

  • platform.getBlock
  • platform.getBlockByHeight
  • platform.getBlockchainStatus
  • platform.getCurrentSupply
  • platform.getCurrentValidators
  • platform.getFeeConfig
  • platform.getFeeState
  • platform.getHeight
  • platform.getL1Validator
  • platform.getMinStake
  • platform.getProposedHeight
  • platform.getStakingAssetID
  • platform.getSubnet
  • platform.getTimestamp
  • platform.getTotalStake
  • platform.getTx
  • platform.getTxStatus
  • platform.getUTXOs
  • platform.issueTx
  • platform.validatedBy
  • platform.validates

JSON-RPC (X-Chain) · JSON-RPC

Base URL: https://avalanche-mainnet.gateway.tatum.io/ext/bc/X

Discovery: /_methods · /llms.txt

  • avm.getAssetDescription
  • avm.getBlock
  • avm.getBlockByHeight
  • avm.getHeight
  • avm.getTx
  • avm.getTxFee
  • avm.getUTXOs
  • avm.issueTx
Avalanche Testnet

JSON-RPC (C-Chain) · JSON-RPC

Base URL: https://avalanche-testnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • debug_getBadBlocks
  • debug_storageRangeAt
  • debug_traceBlock
  • debug_traceBlockByHash
  • debug_traceBlockByNumber
  • debug_traceCall
  • debug_traceTransaction
  • eth_blockNumber
  • eth_call
  • eth_callMany
  • eth_estimateGas
  • eth_feeHistory
  • eth_gasPrice
  • eth_getBalance
  • eth_getBlockByHash
  • eth_getBlockByNumber
  • eth_getBlockReceipts
  • eth_getBlockTransactionCountByHash
  • eth_getBlockTransactionCountByNumber
  • eth_getCode
  • eth_getLogs
  • eth_getProof
  • eth_getStorageAt
  • eth_getTransactionByBlockHashAndIndex
  • eth_getTransactionByBlockNumberAndIndex
  • eth_getTransactionByHash
  • eth_getTransactionCount
  • eth_getTransactionReceipt
  • eth_getUncleByBlockHashAndIndex
  • eth_getUncleByBlockNumberAndIndex
  • eth_getUncleCountByBlockHash
  • eth_getUncleCountByBlockNumber
  • eth_chainId
  • eth_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_syncing
  • net_peerCount
  • net_version
  • trace_block
  • trace_call
  • trace_callMany
  • trace_rawTransaction
  • trace_replayBlockTransactions
  • trace_replayTransaction
  • trace_transaction
  • txpool_content
  • txpool_inspect
  • txpool_status
  • web3_clientVersion

JSON-RPC (P-Chain) · JSON-RPC

Base URL: https://avalanche-testnet.gateway.tatum.io/ext/bc/P

Discovery: /_methods · /llms.txt

  • platform.getBlock
  • platform.getBlockByHeight
  • platform.getBlockchainStatus
  • platform.getCurrentSupply
  • platform.getCurrentValidators
  • platform.getFeeConfig
  • platform.getFeeState
  • platform.getHeight
  • platform.getL1Validator
  • platform.getMinStake
  • platform.getProposedHeight
  • platform.getStakingAssetID
  • platform.getSubnet
  • platform.getTimestamp
  • platform.getTotalStake
  • platform.getTx
  • platform.getTxStatus
  • platform.getUTXOs
  • platform.issueTx
  • platform.validatedBy
  • platform.validates

JSON-RPC (X-Chain) · JSON-RPC

Base URL: https://avalanche-testnet.gateway.tatum.io/ext/bc/X

Discovery: /_methods · /llms.txt

  • avm.getAssetDescription
  • avm.getBlock
  • avm.getBlockByHeight
  • avm.getHeight
  • avm.getTx
  • avm.getTxFee
  • avm.getUTXOs
  • avm.issueTx

Method unavailable?

If you need a method we don't support yet, please contact our support.
We'd be happy to assist.