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
Dec 4, 2024

platform.getStakingAssetId RPC Method

Parameters

subnetID
string
The subnet whose assetID is requested

Returns

assetID
string
The assetID for a subnets staking asset
Request
1
curl --location --request POST https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/P \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc":"2.0",
5
"id" :1,
6
"method" :"platform.getStakingAssetID",
7
"params": {}
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free