---
title: "Preview an external-wallet exit"
method: POST
path: "/v1/earn/external-wallet/withdrawal-previews"
tags: ["Earn"]
---

# Preview an external-wallet exit

`POST /v1/earn/external-wallet/withdrawal-previews`

Quotes what redeeming the shares would pay right now, from the vault's live accounting — the read a truthful `minAmountOut` floor is derived from (`assetsOut` minus your chosen tolerance, quantized to `assetDecimals`). Read-only, no idempotency key, and it takes the exit's own gates: a delisted strategy or a provider disabled for new deposits stays quotable. POST because the parameters are a body; 501 when the provider cannot quote exits.

## Headers

- `x-project-id` string — Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

## Request body

- object — Quote one exit against the vault's live accounting. Read-only: nothing is built and nothing is persisted.
  - `positionId` string, required
  - `shares` string, required — Shares the exit would redeem, decimal string in share units.

## Response `200`

Live exit quote

- object — Standard success response envelope.
  - `data` object, required
    - `positionId` string, required
    - `assetsOut` string, required — What redeeming the shares would pay at the live rate, decimal string in the deposit token's units — the figure a truthful `minAmountOut` floor is derived from.
    - `assetDecimals` integer, required — The deposit token's decimals — the scale a floor must be quantized to.
    - `blockingIssues` object[], required — Conditions the provider reports would block this exit; empty when none.
      - `code` string, required
      - `message` string, required
  - `meta` object, required — Response metadata.
    - `requestId` string, required — Request identifier for tracing.
    - `timestamp` string, date-time, required — ISO 8601 timestamp.

## Other responses

- `400` — Error
- `401` — Error
- `403` — Error
- `404` — Error
- `429` — Error
- `500` — Error
- `501` — Error
- `503` — Error

## Changes

- **2026-09-04** `787deeb0b4aa` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/solana/apis/solana-developer-platform-api/changes/v1/earn/external-wallet/withdrawal-previews/post.md)

---

[API](https://skmtc.dev/solana/apis/solana-developer-platform-api.md) · [All operations](https://skmtc.dev/solana/apis/solana-developer-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/solana/solana-developer-platform-api/revisions/787deeb0b4aa/schema)
