Get asset counts for assets owned by specified user
export type GetUserAssetsBaseProps = { walletUserId?: string; // specifies walletId if user is an app-owned wallet }
const asset = await assetlayer.assets.getUserAssetCounts();
const assets = await assetlayer.assets.getUserAssetCounts({ walletUserId: 'walletUserId' });
type ReturnType = AssetCounts;
Last updated 1 year ago