Withdrawing XTZ to an external wallet?
Use case
As an End User, I want to validate the withdraw once I typed and validated the following mandatory fields:
An amount in XTZ,
The Tezos wallet address to withdraw the XTZ to,
My PIN code (the one that I set during my Eniblock NFTs solution account creation)
For security reason, the verification of the PIN code typed by the End User cannot be done in the front-end, only in the back-end.
For security reason, the PIN code must have been created at least 24 hours ago before the withdraw.
We highly recommend you to check the Tezos wallet address the End User typed starts with “tz” (like every Tezos address), to make sure he did not type another blockchain address like Ethereum which starts with “0x”.
API
Here is the link to the API documentation to withdraw a cryptocurrency like Tezos tokens to an external wallet address:
When an End User withdraws XTZ tokens, he has to pay gas fees charged automatically by the Tezos blockchain.