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( CONTRACT_ADDRESS, CHAIN_ID, AMOUNT, TO ); const txHash = response.txHash;
const response: { txHash: string } = await altura.transferItem( CONTRACT_ADDRESS, CHAIN_ID, AMOUNT, TO ); const txHash = response.txHash;
contract_address
String
Yes
The erc20 contract address
chainID
number
the network ID
amount
the amount of erc20 tokens
to
The recipient's EVM-compatible address (0x...)