platform.getStakingAssetID

Retrieve an assetID for a Subnet’s staking asset.

This method will use 140 Compute Units.


Reference: Here

Parameters

  • subnetID - string - (optional) the subnet whose assetID is requested.

Returns

  • assetID - string - (optional) the assetID for a subnets staking asset.

// Result
{
  "jsonrpc": "2.0",
  "result": {
    "assetID": "2fombhL7aGPwj3KH4bfrmJwW6PVnMobf9Y2fn9GwxiAAJyFDbe"
  },
  "id": 1
}

Last updated

Was this helpful?