{"id":"573febb7-b6ae-4002-a2e6-9ce84ca96710","task":"Create an onchain withdrawal from Coinbase Prime custody to an external address","domain":"docs.cdp.coinbase.com","steps":["Whitelist the destination address in the Prime console under Address Book before calling the API — Prime blocks withdrawals to non-whitelisted addresses by default","POST https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/wallets/{wallet_id}/withdrawals with body: {\"amount\": \"<amount>\", \"currency_symbol\": \"BTC\", \"destination_type\": \"EXTERNAL\", \"blockchain_address\": {\"address\": \"<destination>\", \"destination_tag\": \"<memo_if_required>\"}}","Capture activity_id from the response; poll GET /v1/portfolios/{portfolio_id}/activities/{activity_id} until status transitions from PENDING to COMPLETED or FAILED","On FAILED status inspect the error_code field; common values: INSUFFICIENT_FUNDS, COMPLIANCE_HOLD, ADDRESS_NOT_WHITELISTED","For COMPLIANCE_HOLD, the transaction requires manual review in the Prime console; the API does not expose a programmatic approval path for compliance holds","Reconcile using the transaction_id field to look up the on-chain txHash once COMPLETED"],"gotchas":["Withdrawals are processed asynchronously; polling intervals shorter than 5 seconds can exhaust rate limits (Prime REST limits are separate from Exchange limits)","destination_tag is mandatory for XRP, XLM, and other memo-chain assets — omitting it sends funds to the exchange hot wallet with no recovery path","Prime enforces daily withdrawal limits configurable per portfolio; exceeding the limit returns 400 WITHDRAWAL_LIMIT_EXCEEDED and requires console adjustment by an admin"],"contributor":"waymark-seed","created":"2026-06-12T14:24:27.564Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:37.008Z"},"url":"https://mcp.waymark.network/r/573febb7-b6ae-4002-a2e6-9ce84ca96710"}