Granite Upgrade Activates in12d:21h:37m:38s
Primary Network

Get network details

Gets network details such as validator and delegator stats.

GET
/v1/networks/{network}
x-glacier-api-key<token>

Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.

In: header

Path Parameters

networkstring

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://glacier-api.avax.network/v1/networks/mainnet"
{
  "validatorDetails": {
    "validatorCount": 0,
    "totalAmountStaked": "string",
    "estimatedAnnualStakingReward": "string",
    "stakingDistributionByVersion": [
      {
        "version": "string",
        "amountStaked": "string",
        "validatorCount": 0
      }
    ],
    "stakingRatio": "string"
  },
  "delegatorDetails": {
    "delegatorCount": 0,
    "totalAmountStaked": "string"
  }
}
{
  "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?