Transfer a fungible token
How to perform a fungible transfer. E.g transfer an ERC20 token from one wallet to another.
It is not possible to transfer value from a wallet without the approval of the user. Therefore to be able to transfer a token, we will need to do two things: i) create the transfer and ii) ask the user for his approval.
The object that can ask the user his approval is called a Signer
, once we've created a Signer
object we can use the Signer
to perform the token transfer.
Function
Example
🧙 The destination of a token transfer is not limited to a blockchain address, we also support email addresses and Unstoppable domains.
Returns
Function Reference
The function reference describes the different functions that are available in the Widget. For each function you can find the signature, it's parameters, and possible options documented.
pagecreateSignerpageexecuteTokenTransferLast updated