Setup
Import the SDK and create a wallet:Read Asset Details
UsegetAssetDetails with the asset ID. Get the asset ID from the issuer:
Check the Details
Before you list an asset, check these fields:decimals: amounts are in base units. Divide by 10decimals to show them to users. Ifdecimalsis absent, show base units.supply: the total units issued so far.controlAssetId: if present, the holder of the control asset can issue more units. If absent, the supply is fixed.
Read Custom Fields
name, ticker, and icon return as strings, and decimals returns as a number. Custom fields return as hex strings. Decode them to read text values:
Next Steps
Detect Deposits
Watch an address for incoming units of an asset
Issue Assets
Create new assets with metadata