💠
Transfer ERC721
Use this method to transfer an ERC721 Token from your developer wallet.
You are only able to transfer ERC721 tokens, which is in your developer wallet and the collection use Altura services.
JavaScript
TypeScript
const response = await altura.transferErc721(
COLLECTION_ADDRESS,
TOKEN_ID,
TO_ADDRESS
);
const txHash = response.txHash;
const response: { txHash: string } = await altura.transferErc721(
COLLECTION_ADDRESS,
TOKEN_ID,
TO_ADDRESS
);
const txHash = response.txHash;
Parameter | Type | Required | Description |
---|---|---|---|
collection_addr | String | Yes | The ERC721 collection address |
token_id | number | Yes | The ERC721 tokenId |
to_addr | String | Yes | The recipient's EVM-compatible address (0x...) |
Last modified 6mo ago