Usage
Parameters
Returns
The result of the withdrawal attempt.
SUCCESS: The withdrawal was successful.FAILED: The withdrawal failed.CANCELLED: The withdrawal was cancelled by the user.PENDING: The withdrawal is pending confirmation.
Contains the transaction hash of the withdrawal transaction. Only present when the result is
SUCCESS or PENDING.txHash: The transaction hash.
Contains the error information when the withdrawal fails. Only present when the result is
FAILED.message: The error message.code: The error code.
Demo
Related Functions
Deposit
Deposit funds to your Mini App Wallet.
Call Smart Contract
Interact with smart contracts on the blockchain.