Passer au contenu principal

platform.getSubnets RPC Method

Chargement...

Mis à jour le
29 avril 2026

platform.getSubnets RPC Method

To use the platform.getSubnets method on the P-Chain, ensure that the end of your URL includes ext/bc/P.

Paramètres

ids
tableau
Chargement...

Renvoie

subnets
tableau
Chargement...
ID
chaîne de caractères
Chargement...
controlKeys
tableau
Chargement...
clé
chaîne de caractères
Chargement...
threshold
chaîne de caractères
Chargement...
Requête
Réponse
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"subnets": [
5
{
6
"id": "11111111111111111111111111111111LpoYY",
7
"controlKeys": [],
8
"threshold": "0"
9
}
10
]
11
},
12
"id": 1
13
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"subnets": [
5
{
6
"id": "11111111111111111111111111111111LpoYY",
7
"controlKeys": [],
8
"threshold": "0"
9
}
10
]
11
},
12
"id": 1
13
}
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement