Skip to main content

platform.getStakingAssetId RPC Method

Loading...

Updated on
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.

Parameters

subnetID
string
Loading...

Returns

assetID
string
Loading...
Request
1
curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "platform.getStakingAssetID",
6
"params": {
7
"subnetID": "11111111111111111111111111111111LpoYY"
8
},
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "platform.getStakingAssetID",
6
"params": {
7
"subnetID": "11111111111111111111111111111111LpoYY"
8
},
9
"id": 1
10
}'
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