| Hyperliquid spot token | "0001" + hex(10000 + tokenIndex, 4) | tokenIndex: token index in Hyperliquid’s spotMeta.tokens. Spot token IDs identify balances and collateral; orders use the spot pair ID. Hyperliquid’s own spot order asset is 10000 + pairIndex, a different number. |
| Hyperliquid perpetual | "0002" + hex(metaIndex, 4) | metaIndex: array index in Hyperliquid’s meta.universe. |
| Hyperliquid spot pair | "0003" + hex(pairIndex, 4) | pairIndex: pair index in Hyperliquid’s spotMeta.universe. |
| Hyperliquid outcome side | "0004" + hex(100000000 + outcomeId * 10 + side, 12) | outcomeId: outcome in Hyperliquid’s outcomeMeta.outcomes. side: 0 for Yes or 1 for No. |
| Hyperliquid HIP-3 perp | "0005" + hex(venueIndex, 12) | venueIndex = 100000 + dexIndex * 10000 + indexInDex. dexIndex is the array index in Hyperliquid’s perpDexs and indexInDex is the array index in Hyperliquid’s meta.universe for that dex. Only markets on supported dexes are listed. Both indexes follow Hyperliquid’s array order, so read HIP-3 Asset IDs from perpMeta. |
| Polymarket outcome share | "1001" + hex(tokenId, 64) | tokenId: decimal ID in Polymarket’s clobTokenIds for CTF (version: "v1") or Polymarket’s positionIds for version 2 (version: "v2"). Convert it with integer arithmetic, such as BigInt. |
| Polygon or HyperEVM asset | chainPrefix + assetKind + locator | chainPrefix: 8001 for Polygon or 8002 for HyperEVM. assetKind: 00 for native assets or 01 for ERC-20 assets. locator: 20 zero bytes for native assets, or the lowercase contract address without 0x for ERC-20 assets. |