> ## 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.

# getAsset

> Retrieves the metadata and detailed information of a compressed or standard Solana asset. Requires Solana DAS API add-on.

### Parameters

<ParamField query="chainId" type="string" default="solana-devnet" 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="getAsset" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={{"id":"9ARngHhVaCtH5JFieRdSS5Y8cdZk2TMF4tfGSWFB9iSK","options":{"showFungible":true}}} placeholder="{&#x22;id&#x22;:&#x22;9ARngHhVaCtH5JFieRdSS5Y8cdZk2TMF4tfGSWFB9iSK&#x22;,&#x22;options&#x22;:{&#x22;showFungible&#x22;:true}}" required>
  Positional parameters for <code>getAsset</code>:

  <ul>
    <li><code>params\[]</code>: Type: object.</li>
  </ul>
</ParamField>

### Returns

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

  <Expandable title="properties">
    <ResponseField name="interface" type="string" />

    <ResponseField name="id" type="string" />

    <ResponseField name="content" type="object">
      <Expandable title="properties">
        <ResponseField name="$schema" type="string" />

        <ResponseField name="json_uri" type="string" />

        <ResponseField name="files" type="array">
          <Expandable title="items">
            <ResponseField name="items[]" type="object">
              <Expandable title="properties">
                <ResponseField name="uri" type="string" />

                <ResponseField name="mime" type="string" />

                <ResponseField name="quality" type="object" />

                <ResponseField name="contexts" type="array">
                  <Expandable title="items">
                    <ResponseField name="items[]" type="string" />
                  </Expandable>
                </ResponseField>
              </Expandable>
            </ResponseField>
          </Expandable>
        </ResponseField>

        <ResponseField name="metadata" type="object" />
      </Expandable>
    </ResponseField>

    <ResponseField name="authorities" type="array">
      <Expandable title="items">
        <ResponseField name="items[]" type="object">
          <Expandable title="properties">
            <ResponseField name="address" type="string" />

            <ResponseField name="scopes" type="array">
              <Expandable title="items">
                <ResponseField name="items[]" type="string" />
              </Expandable>
            </ResponseField>
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="compression" type="object">
      <Expandable title="properties">
        <ResponseField name="asset_hash" type="string" />

        <ResponseField name="compressed" type="boolean" />

        <ResponseField name="creator_hash" type="string" />

        <ResponseField name="data_hash" type="string" />

        <ResponseField name="eligible" type="boolean" />

        <ResponseField name="leaf_id" type="integer" />

        <ResponseField name="seq" type="integer" />

        <ResponseField name="tree" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="grouping" type="array">
      <Expandable title="items">
        <ResponseField name="items[]" type="object">
          <Expandable title="properties">
            <ResponseField name="group_key" type="string" />

            <ResponseField name="group_value" type="string" />
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="royalty" type="object">
      <Expandable title="properties">
        <ResponseField name="basis_points" type="integer" />

        <ResponseField name="locked" type="boolean" />

        <ResponseField name="percent" type="integer" />

        <ResponseField name="primary_sale_happened" type="boolean" />

        <ResponseField name="royalty_model" type="string" />

        <ResponseField name="target" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="creators" type="array">
      <Expandable title="items">
        <ResponseField name="items[]" type="object">
          <Expandable title="properties">
            <ResponseField name="address" type="string" />

            <ResponseField name="share" type="integer" />

            <ResponseField name="verified" type="boolean" />
          </Expandable>
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="ownership" type="object">
      <Expandable title="properties">
        <ResponseField name="delegate" type="string" />

        <ResponseField name="delegated" type="boolean" />

        <ResponseField name="frozen" type="boolean" />

        <ResponseField name="owner" type="string" />

        <ResponseField name="ownership_model" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="uses" type="object">
      <Expandable title="properties">
        <ResponseField name="remaining" type="integer" />

        <ResponseField name="total" type="integer" />

        <ResponseField name="use_method" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="supply" type="object">
      <Expandable title="properties">
        <ResponseField name="edition_nonce" type="integer" />

        <ResponseField name="print_current_supply" type="integer" />

        <ResponseField name="print_max_supply" type="integer" />
      </Expandable>
    </ResponseField>

    <ResponseField name="mutable" type="boolean" />

    <ResponseField name="burnt" type="boolean" />

    <ResponseField name="token_info" type="object">
      <Expandable title="properties">
        <ResponseField name="supply" type="integer" />

        <ResponseField name="decimals" type="integer" />

        <ResponseField name="token_program" type="string" />

        <ResponseField name="mint_authority" type="string" />

        <ResponseField name="freeze_authority" type="string" />

        <ResponseField name="mint_extensions" type="object" />
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

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

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