Withdraw from a vault with an EVM account
Withdraws the vault’s underlying asset (e.g. USDC) from an EVM account’s position in a vault. The account signs an EIP-2612 permit over its vault shares authorizing the withdrawal, and the share approval and withdrawal are executed in a single transaction. The transaction hash is returned in the response.
For withdrawals from EVM Smart Accounts, use withdrawFromVaultWithEvmSmartAccount instead.
Provide either amount or withdrawAll: true. The amount field accepts human-readable amounts as decimal strings (e.g., “1.5”, “25.50”) in the standard unit denomination of the vault’s underlying asset. Set withdrawAll to true to withdraw the entire position: every vault share held by the account is redeemed, so no residual shares remain from interest that accrues before execution.
Authorizations
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
Headers
A JWT signed using your Wallet Secret, encoded in base64. Refer to the Generate Wallet Token section of our Authentication docs for more details on how to generate your Wallet Token.
An optional string request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
1 - 128Path Parameters
Body
A request to withdraw the vault's underlying asset (e.g. USDC) from a vault position held by an EVM account. The account signs an EIP-2612 permit over its vault shares authorizing the withdrawal, and the share approval and withdrawal are executed in a single transaction.
Response
Successfully broadcast the withdrawal.