Aller directement au contenu principal

platform.getBlockchains RPC Method

Chargement en cours...

Mis à jour le
Apr 29, 2026

platform.getBlockchains RPC Method

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

Paramètres

Cette méthode n'accepte aucun paramètre

Retours

blockchains
tableau
Chargement en cours...
nom
chaîne de caractères
Chargement en cours...
id
chaîne de caractères
Chargement en cours...
subnetID
chaîne de caractères
Chargement en cours...
vmID
chaîne de caractères
Chargement en cours...
Demande
Réponse
1
{
2
« jsonrpc »: « 2.0 »,
3
"result": {
4
"blockchains": [
5
{
6
"id": "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c",
7
"name": "C-Chain",
8
"subnetID": "11111111111111111111111111111111LpoYY",
9
"vmID": "mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6"
10
},
11
{
12
"id": "fK5e6T3EniMqagBkxXjAug9EbhFDZbEzPPr4f22uwMoP5i2cJ",
13
"name": "X-Chain",
14
"subnetID": "11111111111111111111111111111111LpoYY",
15
"vmID": "jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq"
16
}
17
]
18
},
19
« id »: 1
20
}
1
{
2
« jsonrpc »: « 2.0 »,
3
"result": {
4
"blockchains": [
5
{
6
"id": "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c",
7
"name": "C-Chain",
8
"subnetID": "11111111111111111111111111111111LpoYY",
9
"vmID": "mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6"
10
},
11
{
12
"id": "fK5e6T3EniMqagBkxXjAug9EbhFDZbEzPPr4f22uwMoP5i2cJ",
13
"name": "X-Chain",
14
"subnetID": "11111111111111111111111111111111LpoYY",
15
"vmID": "jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq"
16
}
17
]
18
},
19
« id »: 1
20
}
Vous n'avez pas encore de compte ?
Créez votreendpoint Quicknode endpoint quelques secondes et commencez à développer
Commencez gratuitement