To transfer an ERC20/FUSE with a relay, use theDocumentation Index
Fetch the complete documentation index at: https://docs.fuse.io/llms.txt
Use this file to discover all available pages before exploring further.
transferToken() method. This method relays the transaction and covers the gas fees for the user, so they don’t need to worry about those fees.
You can also subscribe to events related to the token transfer to track its progress. The method takes the following parameters as inputs:
| Parameter | Type | Description |
|---|---|---|
| tokenAddress | address | The contract address of the ERC20 token or FUSE |
| recipientAddress | address | The recipient’s wallet address |
| amount | string | The amount of tokens to transfer in wei |