Withdrawal Flow
Learn the withdrawal flow end to end, with both CLI and direct HTTP examples.
Flow At A Glance
1. Get Withdrawal Quote
curl -sS -X POST "$HAKO_API/quotes/withdraw" \
-H "Content-Type: application/json" \
-H "X-API-Key: $PARTNER_KEY" \
-d '{
"strategyId": "stable_vault",
"fromAccount": "0x1111111111111111111111111111111111111111",
"mode": "amount",
"amount": "1",
"withdrawTo": {
"account": "0x2222222222222222222222222222222222222222",
"network": "base",
"assetId": "USDC"
}
}'2. Create Withdrawal Action
3. Sign The Typed Data
4. Authorize Action
5. Track Status
Status
Meaning
Last updated