Skip to main content

platform.getStakingAssetID RPC Method

Retrieve an assetID for a subnet’s staking asset. Currently this always returns the Primary Network’s staking assetID.

Updated on
Oct 29, 2026
To use the platform.getStakingAssetID method on the P-Chain, ensure that the end of your URL includes ext/bc/P.

Parameters

subnetID
string

The subnet whose assetID is requested

Returns

assetID
string

The assetID for a subnets staking asset

Request
Response
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
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free