sendLowestAsset()

Send the asset with the lowest serial number belonging to the specified collection to the specified user

Parameters

export type SendLowestAssetProps = {
    receiver: string; // userId or handle of the receiver
    collectionId: string;
    walletUserId?: string; // specifies walletId if user is an app-owned wallet
}

Examples

const asset= await assetlayer.assets.sendLowestAsset({
    receiver: 'receiverHandle',
    collectionId: 'collectionId'
});

Return Types

type ReturnType = SendAssetResponseBody;
pageAsset

Last updated