curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "platform.getStakingAssetID",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Retrieve an assetID for a Subnet’s staking asset.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "platform.getStakingAssetID",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
platform.getStakingAssetID:params.subnetID: The Subnet ID to retrieve the staking asset ID for.Show properties
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "platform.getStakingAssetID",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?