Standard Gas Flow
Transfer tokens from EOA to any receiver wallet address.
The executeMigration
function in our SDK enables the transfer of tokens from an Externally Owned Account (EOA) to any designated receiver's wallet address. This operation falls under the "Standard Gas Flow" model, which implies that the user initiating the transfer will be responsible for paying the gas fees that the transaction incurs.
Expected parameters
executeMigration
accepts the following parameters:
senderSigner
ethers.Signer
Signer object obtained from ethers
chainId
number
The chain id of the current network.
receiverAddress
string
The address of the recipient.
transferTokenDetails
[OPTIONAL]
TransferTokenDetails[]
The object specifies tokens with respective amounts to transfer or, in the case of NFTs tokenIds need to be
mentioned
NOTE:
If transferTokenDetails
is not passed, then all the assets will be transferred.
Function Call
Transfer All tokens
Transfer-specific tokens
Response
The response of the executeMigration
will be:
Support
If you face any trouble, feel free to reach out to our engineers in the Telegram support group.
Last updated