Skip to main content
Build an unsigned Solana versioned transaction from an Overpass exact-in quote.
The transaction deposits an underlying asset and mints the yield token, or burns the yield token and withdraws the underlying asset. The direction comes from the quote’s mint pair.

Request body

Pass the quote response unchanged. This preserves the quote’s otherAmountThreshold as the minimum acceptable output.

Response

Sign and send

Deserialize the transaction, ask the wallet to sign it, and submit the signed bytes through your Solana connection.
Request a new quote and transaction when the block height expires or when execution fails because source-pool state changed.

Direct request

You can build a transaction without sending a prior quote response by providing the route fields directly:
The API computes a fresh quote before building the transaction. Use the quote-first flow when you need to display the expected output, fees, or warnings before execution.

Errors

Swap errors use the same { "error", "message" } shape as the quote endpoint.