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

Get blockchain details by ID

Get details of the blockchain registered on the network.

GET
/v1/networks/{network}/blockchains/{blockchainId}
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

blockchainIdstring

The blockchain ID of the blockchain to retrieve.

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/blockchains/2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5"
{
  "createBlockTimestamp": 0,
  "createBlockNumber": "string",
  "blockchainId": "string",
  "vmId": "string",
  "subnetId": "string",
  "blockchainName": "string",
  "evmChainId": 43114,
  "genesisData": "{\"chainId\": 43114}"
}
{
  "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?