import { Avalanche } from "@avalanche-sdk/chainkit";
const avalanche = new Avalanche();
async function run() {
const result = await avalanche.data.evm.chains.list({
network: "mainnet",
feature: "nftIndexing",
});
console.log(result);
}
run();{
"chains": [
{
"chainId": "<string>",
"status": "OK",
"chainName": "<string>",
"description": "<string>",
"vmName": "EVM",
"rpcUrl": "<string>",
"isTestnet": true,
"networkToken": {
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"logoUri": "<string>",
"description": "<string>"
},
"platformChainId": "<string>",
"subnetId": "<string>",
"vmId": "<string>",
"explorerUrl": "<string>",
"wsUrl": "<string>",
"utilityAddresses": {
"multicall": "<string>"
},
"chainLogoUri": "<string>",
"private": true,
"enabledFeatures": [
"nftIndexing"
]
}
]
}Lists the AvaCloud supported EVM-compatible chains. Filterable by network.
import { Avalanche } from "@avalanche-sdk/chainkit";
const avalanche = new Avalanche();
async function run() {
const result = await avalanche.data.evm.chains.list({
network: "mainnet",
feature: "nftIndexing",
});
console.log(result);
}
run();{
"chains": [
{
"chainId": "<string>",
"status": "OK",
"chainName": "<string>",
"description": "<string>",
"vmName": "EVM",
"rpcUrl": "<string>",
"isTestnet": true,
"networkToken": {
"name": "<string>",
"symbol": "<string>",
"decimals": 123,
"logoUri": "<string>",
"description": "<string>"
},
"platformChainId": "<string>",
"subnetId": "<string>",
"vmId": "<string>",
"explorerUrl": "<string>",
"wsUrl": "<string>",
"utilityAddresses": {
"multicall": "<string>"
},
"chainLogoUri": "<string>",
"private": true,
"enabledFeatures": [
"nftIndexing"
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.avacloud.io/llms.txt
Use this file to discover all available pages before exploring further.
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
Either mainnet or testnet/fuji.
mainnet, fuji, testnet Filter by feature.
nftIndexing, webhooks, teleporter Successful response
Show child attributes
Was this page helpful?