balance
plugin.balance(assets?: readonly AssetId[]): Promise<readonly AssetAmount[]>
| Parameter | Type | Required | Description |
|---|---|---|---|
assets | AssetId[] | no | Scope sync; omit for all positive private balances |
const balances = await plugin.balance([ASSET_TOKEN_USDC]);
Returns: Private balance after wallet-receipt sync. Requires unlock material in host storage.
Shared shape: Asset amount.