Send specified asset to specified user
export type SendAssetProps = { receiver: string; // userId or handle of the receiver walletUserId?: string; // specifies walletId if user is an app-owned wallet assetId: string; }
const asset= await assetlayer.assets.sendAsset({ receiver: 'receiverHandle', assetId: 'assetId' });
type ReturnType = SendAssetResponseBody;
Last updated 1 year ago