Link.batchNftTransfer
Last updated
Last updated
As of 1.3.52
, the @imtbl/imx-sdk
supports transferring large amounts of NFT assets in batches. To begin a new batch transfer flow, link should be called like so:
Where the payload is of type LinkParams.BatchNftTransfer
:
The response type is the same as Link.transfer.
Requests will be batched in groups of 100 (This is the current batch size, it is subject to change, however this will not affect your implementation)
Only tokens of type ERC721TokenType.ERC721
can be used in link.batchNftTransfer
If any validation errors are present in the current batch, the entire batch will not be performed
If any API errors are received as part of processing the current batch, the entire batch will fail
If any errors are present (due to validation, API or otherwise) for a particular batch, you will still be able progress to the next batch
Each confirmation is accompanied by a signing process on the user wallet
See error responses here.