Passer au contenu principal

platform.getStakingAssetId RPC Method

Chargement...

Mis à jour le
29 avril 2026

platform.getStakingAssetId RPC Method

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

Paramètres

subnetID
chaîne de caractères
Chargement...

Renvoie

ID d'actif
chaîne de caractères
Chargement...
Requête
Réponse
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"assetID": "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k"
6
}
7
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"assetID": "2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k"
6
}
7
}
Vous n'avez pas encore de compte ?
Créez votre endpoint Quicknode en quelques secondes et commencez à développer
Commencez gratuitement