Skip to main content

MarketThree Instructions

These are the instruction builders provided by the MarketThree class. They handle account resolution, address lookup tables, base token conversion, and CPI routing automatically.
For low-level control, see the raw Codama-generated instructions which require manual account resolution.

Setup

All instructions are methods on the MarketThree class. See the SDK Quickstart for installation and full setup.
import { MarketThree } from "@exponent-labs/exponent-sdk";

const market = await MarketThree.load(env, connection, marketAddress);
const { ixs, setupIxs } = await market.ixWrapperBuyPt({...});

Instructions