Docs

Transfer

Transfer native or ERC20 tokens from this wallet to another wallet.

Usage

var data = await sdk.wallet.Transfer("{{to_address}}", "{{amount}}")

Configuration

to

The address of the account to send funds to.

Must be a string.

amount

The amount in tokens to be transferred.

Must be a string.

currencyAddress (optional)

The address of the token smart contract that you want to transfer.

If no address is provided, the native currency will be used.

Must be a string.

var data = await sdk.wallet.Transfer("{{to_address}}", "{{amount}}", "{{currency_contract_address}}")