Granite Upgrade Activates in11d:16h:54m:33s
EVM Chains

Get a list of supported blockchains

Get a list of Metrics API supported blockchains. This endpoint is paginated and supports a maximum page size of 10000.

GET
/v2/chains

Query Parameters

pageToken?string

A page token, received from a previous list call. Provide this to retrieve the subsequent page.

network?string

Either mainnet or testnet/fuji.

Value in"mainnet" | "fuji" | "testnet"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://metrics.avax.network/v2/chains?network=mainnet"
{
  "nextPageToken": "string",
  "chains": [
    {
      "evmChainId": 43114,
      "chainName": "c_chain",
      "blockchainId": "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5",
      "subnetId": "11111111111111111111111111111111LpoYY",
      "network": "mainnet"
    }
  ]
}
{
  "message": "string",
  "statusCode": 400,
  "error": "Bad Request"
}
{
  "message": "string",
  "statusCode": 401,
  "error": "Unauthorized"
}
{
  "message": "string",
  "statusCode": 403,
  "error": "Forbidden"
}
{
  "message": "string",
  "statusCode": 404,
  "error": "Not Found"
}
{
  "message": "string",
  "statusCode": 429,
  "error": "Too Many Requests"
}
{
  "message": "string",
  "statusCode": 500,
  "error": "Internal Server Error"
}
{
  "message": "string",
  "statusCode": 502,
  "error": "Bad Gateway"
}
{
  "message": "string",
  "statusCode": 503,
  "error": "Service Unavailable"
}

Is this guide helpful?