Transfer a native token
How to perform a basic transfer. E.g transfer ETH 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 a transaction.
Function
Example
🧙 The destination of a 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.
pagecreateSignerpageexecuteTransferLast updated