getUserAssets()

Get assets owned by the specified user

Parameters

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

Examples

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

Return Types

type ReturnType = Asset[];
Asset

Alternatives

user()

Last updated