capabilities.work

Balance-Checked Withdrawal

A 3-step recipe with Backpack. We can help you get access.

Recipe · 3 steps

Balance-Checked Withdrawal

Check balances, request a withdrawal, and reconcile it against withdrawal history.

  1. Read account balances to confirm there is available asset before requesting the withdrawal.
  2. Submit a withdrawal request for the supplied asset, quantity, blockchain, and destination address.
  3. Read withdrawal history filtered to the new withdrawal id to confirm it was recorded by the exchange.
What you'll need to have ready
  • symbol: Symbol of the asset to withdraw (e.g. USDC).
  • blockchain: Blockchain to withdraw on (e.g. Solana, Ethereum).
  • address: Destination address to withdraw to.
  • quantity: Quantity to withdraw, as a decimal string.
  • twoFactorToken: Issued two factor token, required if the address is not 2FA-exempt.
  • apiKey: Base64 encoded ED25519 verifying key for the X-API-KEY header.
  • signature: Base64 encoded ED25519 signature for the X-SIGNATURE header.
  • timestamp: Unix time in milliseconds for the X-TIMESTAMP header.
  • window: Request validity window in milliseconds for the X-WINDOW header (default 5000).
For your developer

Arazzo workflow backpack:balance-checked-withdrawal, 3 operations: get_balances → request_withdrawal → get_withdrawals. Specs on APIs.io.