💠Transfer ERC1155

Use this method to transfer an ERC1155 Token.

You are only able to transfer ERC721 tokens, which is in your developer wallet and the collection use Altura services.

Usage in your script

const response = await altura.transferItem(
    COLLECTION_ADDRESS,
    TOKEN_ID,
    AMOUNT,
    TO_ADDRESS
);

const txHash = response.txHash;

Parameters

ParameterTypeRequiredDescription

collection_addr

String

Yes

The item's collection address

token_id

number

Yes

The item's tokenId

amount

number

Yes

The quantity of this particular item you wish to transfer. This operation will fail if you try to transfer more than your balance

to_addr

String

Yes

The recipient's EVM-compatible address (0x...)

Last updated