Avalanche

Avalanche is a proof-of-stake Layer 1 using Snowman consensus whose Primary Network pairs the EVM-compatible C-Chain with the X-Chain and P-Chain.

Avalanche's Primary Network runs three chains validated by the same proof-of-stake validator set: the C-Chain executes EVM smart contracts with 0x addresses, the X-Chain handles Avalanche Native Tokens, and the P-Chain manages validators and Avalanche L1s. The C-Chain exposes the Ethereum JSON-RPC API, while the X-Chain and P-Chain use UTXO-based transactions and their own avm and platform JSON-RPC namespaces. AVAX pays fees on all three chains and is staked by validators.

Plans, pricing and dedicated nodes: Avalanche RPC nodes on tatum.io. Network tiers: Supported Blockchains. Chain documentation: Avalanche official website.

Avalanche RPC at a glance

Networks Mainnet and Testnet
Chain ID Mainnet 43114 (0xa86a) · Testnet 43113 (0xa869)
Interfaces JSON-RPC
Supported methods 82 · JSON-RPC methods
Debug and trace methods Available on Mainnet and Testnet
Native token AVAX
Authentication API key in the x-api-key header, see Authentication

Avalanche RPC endpoints

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

Get the latest Avalanche block

Sends eth_blockNumber to Avalanche Mainnet through Tatum RPC Gateway and shows the latest block number.

Get the Avalanche node version

Sends web3_clientVersion to Avalanche Mainnet through Tatum RPC Gateway and shows the node version and status.

Test Avalanche RPC methods in Postman

The Avalanche Postman collection has a ready request for the supported methods. Import it, set the gateway-api-key variable of the Tatum Gateway environment to your API key from Tatum Dashboard, and send any request.

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_chainId
  • 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_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_simulateV1
  • eth_syncing
  • net_listening
  • 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_chainId
  • 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_maxPriorityFeePerGas
  • eth_sendRawTransaction
  • eth_signTypedData
  • eth_signTypedData_v3
  • eth_simulateV1
  • eth_syncing
  • net_listening
  • 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.

Testing without an API key? Free public endpoints are listed on Avalanche RPC at FREERPC.com.