Skip to main content
The Overpass TypeScript SDK provides helpers for discovery, quoting, wrapper creation, deposits, withdrawals, fee claiming, and source-pool listing. The Overpass Rust SDK was built for Jupiter’s Overpass routing integration and can also be used directly by other Rust integrators. It implements Jupiter’s Amm trait for Overpass wrapper vaults. See Jupiter routing.

Install

Core imports

Program ID

Mainnet:

List source pools

Use source-pool listing when building market discovery screens.
Each pool includes:
  • protocol
  • kind, either lend or vault
  • address
  • underlying mint
  • mint decimals
  • deposit cap state
  • protocol-specific state

List yield tokens

Use wrapper listing when building token discovery screens.
You can also filter by creator or protocol:
Protocol kinds:

Refresh wrapper state

Some wrappers need fresh source accounts before quoting.
Then create a quote context:

Quote

Quotes can produce warnings. Treat warnings as route-quality signals and block execution when they indicate likely failure.

Build a deposit or withdrawal

The returned bundle includes instructions, lookup tables, and suggested compute units. Compose it into your transaction builder or wallet flow. Convenience helpers are also available:

Create a wrapper

The result includes a versioned transaction and the new wrapper mint.

Source constraints

Use source constraints to display minimum deposits and withdrawals.
Valid source kinds are:

Global config

The global config includes program-wide settings such as admin, fee recipient, protocol deposit fee, and maximum creator deposit fee.