Primary Network
Get Subnet details by ID
Get details of the Subnet registered on the 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"subnetIdstring
Subnet ID to fetch details for
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/subnets/11111111111111111111111111111111LpoYY"{
"createBlockTimestamp": 0,
"createBlockIndex": "string",
"subnetId": "string",
"ownerAddresses": [
"string"
],
"threshold": 0,
"locktime": 0,
"subnetOwnershipInfo": {
"locktime": 0,
"threshold": 1,
"addresses": [
"avax1qm2a25eytsrj235hxg6jc0mwk99tss64eqevsw"
]
},
"isL1": true,
"l1ConversionTransactionHash": "string",
"l1ValidatorManagerDetails": {
"blockchainId": "string",
"contractAddress": "string"
},
"blockchains": [
{
"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?