@lelantos-org/sdk / index / AssetRef
Type Alias: AssetRef
ts
type AssetRef = AssetIdLike | string;Defined in: @lelantos-org/sdk/dist/wallet/assets/asset-ref.d.ts:8
How a caller names an asset: its MASP id, its ERC-20 address, or its symbol.
1n / "1" are the id; "0x…" is the token; anything else is a symbol.