Exit position to either pool token
Requires key scope dlmm/zap-out.
Returns an unsigned v0 transaction for the manager to sign. Do not send payer: the API sets it to the key’s manager and rejects a body that contains it. Unknown fields are ignored. The key’s manager must be the vault’s current on-chain authority, and the vault must be in the key’s allowlist when the key has one.
Removes all liquidity, claims fees, swaps the other pool token into outputMint, and closes the position’s strategy. outputMint defaults to the deposit mint. Set it to the pool’s other token, such as SOL in a SOL-USDC pool of a USDC vault, to keep the proceeds in that token. The vault then holds it in that token’s Jupiter strategy. In a pool without the deposit mint, outputMint can be either pool token or the deposit mint. For the deposit mint, the zap ends in token Y and the last step carries next to dlmm/zap-out/swap, which swaps only the token Y the zap returned into the deposit mint. A wide position, a cursorBinId, or a long route returns a batch. When the zap ends in the deposit mint, the last step can carry next to jupiter/sweep, which sells the remaining non-deposit token and closes its strategy.
Authorizations
Body
Response
Build result. One step or a batch.
