Send specified assets to specified user
export type SendAssetsProps = { receiver: string; // userId or handle of the receiver walletUserId?: string; // specifies walletId if user is an app-owned wallet assetIds?: string[]; }
const assets = await assetlayer.assets.sendAssets({ receiver: 'receiverHandle', assetIds: ['assetId_1', 'assetId_2'] });
type ReturnType = SendAssetsResponseBody;
Last updated 1 year ago