Last updated 1 year ago
Use this method to transfer ERC20 token from your developer wallet.
ERC20 transfer works for any ERC20, and they need to be in your developer wallet
const response = await altura.transferErc20( COLLECTION_ADDRESS, CHAIN_ID, AMOUNT, TO_ADDRESS ); const txHash = response.txHash;
const response: { txHash: string } = await altura.transferItem( COLLECTION_ADDRESS, TOKEN_ID, AMOUNT, TO_ADDRESS ); const txHash = response.txHash;
collection_addr
String
Yes
The erc20 contract address
chaiID
number
the network ID
amount
the amout of erc20 tokens
to_addr
The recipient's EVM-compatible address (0x...)