> ## Documentation Index
> Fetch the complete documentation index at: https://docs.primevault.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Withdraw from the LP vault

> Move funds out of a liquidity provider vault to a contact, one of your vaults, or a bank account.

Withdraw from an LP vault to a contact, one of your vaults, or a bank account. A withdrawal uses the same quote flow as a trade: the LP vault is the `source`, and `input` and `output` are the same asset, quoted 1:1 with no fee. The withdrawal completes when the LP sends the funds.

## To a contact

Example: withdraw 2,000 USDT to a contact.

```json theme={null}
{
  "intent": {
    "input": { "asset": "USDT" },
    "output": { "asset": "USDT", "amount": "2000.00" },
    "source": { "type": "VAULT", "id": "vault_gsr_lp" },
    "destination": { "type": "CONTACT", "id": "contact_usdt_desk", "chain": "ETHEREUM" }
  }
}
```

## To one of your vaults

Only `destination` changes:

```json theme={null}
"destination": { "type": "VAULT", "id": "vault_usdc_treasury", "chain": "ETHEREUM" }
```

## USD by wire to a bank account

USD moves only by wire, to an approved bank account.

```json theme={null}
{
  "intent": {
    "input": { "asset": "USD" },
    "output": { "asset": "USD", "amount": "10000.00" },
    "source": { "type": "VAULT", "id": "vault_gsr_lp" },
    "destination": { "type": "BANK_ACCOUNT", "id": "bank_account_usd_treasury", "paymentRail": "WIRE" }
  }
}
```

Get a quote with the intent, execute it before the quote expires, and track the transaction to completion. See [Trade](/transactions/trade) for the API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.