Transfer ERC20

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

Usage in your script

const response = await altura.transferErc20(
    CONTRACT_ADDRESS,
    CHAIN_ID,
    AMOUNT,
    TO
);

const txHash = response.txHash;

Parameters

Parameter
Type
Required
Description

contract_address

String

Yes

The erc20 contract address

chainID

number

Yes

the network ID

amount

String

Yes

the amount of erc20 tokens

to

String

Yes

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

Last updated