Skip to main content

Withdraw to Bitcoin

withdrawToBitcoin() prepares the platform smart wallet address/signature automatically if needed.
Check status:

Gasless to EVM

withdrawToEVM() prepares the platform smart wallet address/signature automatically if needed.
  • Uses the platform smart account (wallet index 0) and is gas-sponsored.
  • No native ETH needed on the destination chain.
  • Returns an asynchronous withdrawal transaction ID. Poll getWithdrawStatus() for completion and the EVM transaction hash.
If you need to withdraw from a different chain, pass that chain; the SDK prepares the chain-specific platform wallet signing state automatically.