balance()

Get the currency balances for the authenticated user for all currencies in the specified app

Parameters

export type GetCurrencyBalanceProps = {
    appId: string;
    walletUserId?: string;
}

Examples

const currencies = await assetlayer.currencies.balance({
    appId: 'appId'
});

Return Types

type ReturnType = CurrencyWithBalance[];
Currency

Alternatives

getCurrencyBalance()

Last updated