Skip to main content

Withdrawals

This guide covers withdrawing tokens from your private balance back to a wallet address using the Privacy Boost CLI.

CLI Command

Output:

Command Parameters

Programmatic Usage (Rust)

UnshieldResult

Withdraw to Self

Withdraw to the connected wallet:
Programmatically:

Error Handling

Best Practices

1. Check Shielded Balance First

2. Use --human for Readability

Avoid mistakes with large wei numbers by using human-readable amounts.

Next Steps