Skip to main content
Get an exact-in quote for depositing an underlying asset into an Overpass yield token or withdrawing a yield token back to its underlying asset.
The core request and response fields follow the Jupiter exact-in quote shape. Overpass adds wrapper, source-pool, protocol, fee, and warning metadata.

Query parameters

Request

This example quotes 0.01 SOL into the infSOL yield token.

Response

outAmount is the quoted output before slippage. otherAmountThreshold is the minimum output accepted by the generated transaction. The API determines direction from the mint pair:
  • underlying mint to wrapper mint returns deposit
  • wrapper mint to underlying mint returns withdraw
Always evaluate warnings before offering a quote for execution. Warnings can indicate source-pool conditions that make the route unsafe or likely to fail.

JavaScript

Use the complete response as quoteResponse when you build the swap transaction.

Errors

Errors use a consistent JSON shape: