getUserSlotsAssets()
Get assets belonging to the specified slots owned by the specified user
Parameters
type GetUserSlotsAssetsProps = {
slotIds: string[];
walletUserId?: string; // specifies walletId if user is an app-owned wallet
idOnly?: boolean; // if true, response includes assetIds only
includeDeactivated?: boolean; // if true, response includes assets from deactivated collections
countsOnly?: boolean; // if true, response includes asset counts only
}
Examples
const assets = await assetlayer.assets.getUserSlotsAssets({
slotIds: ['slotId_1', 'slotId_2'],
idOnly: false
});
Return Types
type ReturnType = Asset[] | AssetCounts;
Last updated