/pallets/assets/{assetId}/asset-info - Polkadot

This endpoint returns the details and metadata of an Asset Hub asset, including its owner, total supply, minimum balance, and its name, symbol, and decimals.

This endpoint is specific to Asset Hub (assets, foreign assets, and NFTs) and is served on the default network.

Endpoint

httpGET /pallets/assets/{assetId}/asset-info

Path Parameters

ParameterTypeDescription
assetIdstringThe asset ID on Asset Hub

Query Parameters

ParameterTypeRequiredDescription
atstringNoBlock height or hash to query at

Request

bashcurl --location 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/pallets/assets/1984/asset-info'

example.js

javascriptconst response = await fetch('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/pallets/assets/1984/asset-info');
const data = await response.json();
console.log(data);

example.py

pythonimport requests

response = requests.get('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/pallets/assets/1984/asset-info')
print(response.json())

Response

json{
  "at": {
    "hash": "0x255bc00927df8d33d561792635cbc6bde480a0a505eef5ff28630ece3fc15b32",
    "height": "6754362"
  },
  "assetInfo": {
    "owner": "15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5",
    "issuer": "15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5",
    "admin": "15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5",
    "freezer": "15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5",
    "supply": "12000000000000",
    "minBalance": "100",
    "isSufficient": true,
    "accounts": "45000",
    "status": "Live"
  },
  "assetMetadata": {
    "deposit": "0",
    "name": "Tether USD",
    "symbol": "USDt",
    "decimals": "6",
    "isFrozen": false
  }
}

Response Fields

FieldTypeDescription
assetInfo.ownerstringThe asset's owner account
assetInfo.supplystringTotal supply of the asset
assetInfo.minBalancestringMinimum balance to hold the asset
assetMetadata.namestringHuman-readable asset name
assetMetadata.symbolstringAsset ticker symbol
assetMetadata.decimalsstringDecimal places of the asset

Use Cases

  • Token Metadata: Read an asset's name, symbol, and decimals
  • Stablecoin Display: Show USDT or USDC supply and metadata
  • Wallets: Resolve asset details for balance display
  • Analytics: Track asset supply and holder counts