getUserAssetCounts()

Get asset counts for assets owned by specified user

Parameters

export type GetUserAssetsBaseProps = {
    walletUserId?: string; // specifies walletId if user is an app-owned wallet
}

Examples

const asset = await assetlayer.assets.getUserAssetCounts();
const assets = await assetlayer.assets.getUserAssetCounts({
    walletUserId: 'walletUserId'
});

Return Types

type ReturnType = AssetCounts;
Asset

Alternatives

user()

Last updated