Links
💠

Bulk Transfer ERC1155

Use this method to transfer multiple ERC1155 tokens from the same collection
You are only able to transfer ERC1155 tokens, which is in your developer wallet and the collection use Altura services.

Usage in your script

JavaScript
TypeScript
const response = await altura.transferItems(
COLLECTION_ADDRESS,
TOKEN_IDS, //array
AMOUNTS, //array
TO_ADDRESS
);
const txHash = response.txHash;
const response: {txHash: string} = await altura.transferItems(
COLLECTION_ADDRESS,
TOKEN_IDS,
AMOUNTS,
TO_ADDRESS
);
const txHash = response.txHash;

Parameters

Parameter
Type
Required
Description
collection_address
String
Yes
The item's collection address
token_ids
number[]
Yes
An array of the token Id's you wish to transfer from the specified collection
amounts
number[]
Yes
An array of the amount of each tokenId you wish to transfer. This array must be the same length as the tokenIds array
to
String
Yes
The recipient's EVM-compatible address (0x...)