getUserAssetIds()

Get assetIds 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.getUserAssetIds();
const assets = await assetlayer.assets.getUserAssetIds({
    walletUserId: 'walletUserId'
});

Return Types

type ReturnType = string[];
Asset

Alternatives

user()

Last updated