Get assetIds 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.getUserAssetIds();
const assets = await assetlayer.assets.getUserAssetIds({ walletUserId: 'walletUserId' });
type ReturnType = string[];
Last updated 1 year ago