> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# platform.getStakingAssetID

> Retrieve an assetID for a Subnet’s staking asset.

### Parameters

<ParamField query="chainId" type="string" default="43113" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="platform.getStakingAssetID" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={{}}>
  Retrieve the staking asset ID for the specified Subnet. If subnetID is omitted, returns the staking asset ID of the Primary Network.

  Parameters for <code>platform.getStakingAssetID</code>:

  <ul>
    <li><code>params.subnetID</code>: The Subnet ID to retrieve the staking asset ID for.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  The JSON-RPC result.

  <Expandable title="properties">
    <ResponseField name="assetID" type="string">
      The asset ID used for staking in the specified Subnet.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43113 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "platform.getStakingAssetID",
      "params": {}
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {}
  }
  ```
</ResponseExample>
