---
title: "Withdraw from a vault"
method: POST
path: "/v2/embedded-wallet-api/end-users/{userId}/evm/{address}/lend/withdraw"
tags: ["End User Accounts"]
---

# Withdraw from a vault

`POST /v2/embedded-wallet-api/end-users/{userId}/evm/{address}/lend/withdraw`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/embedded-wallet-api/end-users/{userId}/evm/{address}/lend/withdraw`
- Auth: HTTP bearer

Withdraws the vault's underlying asset (e.g. USDC) from an end user's EVM account's position in a vault. The end user signs an EIP-2612 permit over their 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 `withdrawFromVaultWithEndUserEvmSmartAccount` 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.

## Path parameters

- `userId` string, required
- `address` string, required: A blockchain address. Format varies by network (e.g., 0x-prefixed for EVM, base58 for Solana).

## Query parameters

- `projectID` string

## Headers

- `X-Wallet-Auth` string, required

## Request body

- EoaVaultWithdrawRequest: A request to withdraw the vault's underlying asset (e.g. USDC) from a vault position held by an end user's EVM account. The end user signs an EIP-2612 permit over their vault shares authorizing the withdrawal, and the share approval and withdrawal are executed in a single transaction.
  - [`VaultWithdrawRequest`](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57/schema?at=%2Fcomponents%2Fschemas%2FVaultWithdrawRequest)

## Response `200`

Successfully broadcast the withdrawal.

- EoaVaultWithdrawResponse: The result of a vault withdrawal from an EOA after broadcast.
  - `transactionHash` string, required: The hash of the broadcast withdrawal transaction, as a 0x-prefixed hex string.

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `402`: A payment method is required to complete this operation.
- `403`: User forbidden from performing the action.
- `404`: Not found.
- `409`: Conflict. A withdrawal or another lend operation for this account and vault is already in progress.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/embedded-wallet-api/end-users/:userId/evm/:address/lend/withdraw/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
