Setup
Import the SDK and create a wallet:Read Asset Metadata
UsegetAssetDetails to retrieve the metadata attached to an asset at issuance time:
Known Metadata Fields
| Field | Type | Description |
|---|---|---|
name | string | Human-readable asset name |
ticker | string | Short symbol (e.g., “TA”) |
decimals | number | Decimal places |
icon | string | URL to an image for display |
AssetMetadata extends Record<string, unknown>, so assets may include additional custom fields beyond these.