Aller directement au contenu principal

platform.getStakingAssetId RPC Method

Chargement en cours...

Mis à jour le
Apr 29, 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 en cours...

Retours

assetID
chaîne de caractères
Chargement en cours...
Demande
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 votreendpoint Quicknode endpoint quelques secondes et commencez à développer
Commencez gratuitement