Get Started
Learn
- Tutorials
Health Check
- Health Check
EVM
Primary Network
- Network, Chains & subnet
- Validators & Delegators
- Blocks
- Vertices
- Transactions
- Balances & UTXOs
- Rewards
- Assets
ICM Services
- Teleporter
- Interchain Messaging
- Signature Aggregator
Operations
- Operations
Usage Metrics
- Usage Metrics
List chains
Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
import { AvaCloudSDK } from "@avalabs/avacloud-sdk";
const avaCloudSDK = new AvaCloudSDK({
serverURL: "https://api.example.com",
chainId: "43114",
network: "mainnet",
});
async function run() {
const result = await avaCloudSDK.data.evm.chains.supportedChains({
network: "mainnet",
feature: "nftIndexing",
});
// Handle the result
console.log(result);
}
run();
{
"chains": [
{
"chainId": "<string>",
"status": "OK",
"chainName": "<string>",
"description": "<string>",
"platformChainId": "<string>",
"subnetId": "<string>",
"vmId": "<string>",
"vmName": "EVM",
"explorerUrl": "<string>",
"rpcUrl": "<string>",
"wsUrl": "<string>",
"isTestnet": true,
"utilityAddresses": {
"multicall": "<string>"
},
"networkToken": {
"name": "Wrapped AVAX",
"symbol": "WAVAX",
"decimals": 18,
"logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
"description": "<string>"
},
"chainLogoUri": "<string>",
"private": true,
"enabledFeatures": [
"nftIndexing"
]
}
]
}
Authorizations
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
Query Parameters
Either mainnet or testnet/fuji.
mainnet
, fuji
, testnet
, devnet
Filter by feature.
nftIndexing
, webhooks
, teleporter
Response
Status of chain nodes. Chain nodes can become temporarily UNAVAILABLE
for several reasons, such as validator stake falling below threshold. If chain nodes are UNAVAILABLE
, requests that rely on data from the chain nodes may return 503 errors.
OK
, UNAVAILABLE
EVM
, BITCOIN
, ETHEREUM
The contract name.
"Wrapped AVAX"
The contract symbol.
"WAVAX"
The number of decimals the token uses. For example 6
, means to divide the token amount by 1000000
to get its user representation.
18
The logo uri for the address.
"https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"
nftIndexing
, webhooks
, teleporter
Was this page helpful?
import { AvaCloudSDK } from "@avalabs/avacloud-sdk";
const avaCloudSDK = new AvaCloudSDK({
serverURL: "https://api.example.com",
chainId: "43114",
network: "mainnet",
});
async function run() {
const result = await avaCloudSDK.data.evm.chains.supportedChains({
network: "mainnet",
feature: "nftIndexing",
});
// Handle the result
console.log(result);
}
run();
{
"chains": [
{
"chainId": "<string>",
"status": "OK",
"chainName": "<string>",
"description": "<string>",
"platformChainId": "<string>",
"subnetId": "<string>",
"vmId": "<string>",
"vmName": "EVM",
"explorerUrl": "<string>",
"rpcUrl": "<string>",
"wsUrl": "<string>",
"isTestnet": true,
"utilityAddresses": {
"multicall": "<string>"
},
"networkToken": {
"name": "Wrapped AVAX",
"symbol": "WAVAX",
"decimals": 18,
"logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
"description": "<string>"
},
"chainLogoUri": "<string>",
"private": true,
"enabledFeatures": [
"nftIndexing"
]
}
]
}