Documentation Index
Fetch the complete documentation index at: https://v2-docs.exponent.finance/llms.txt
Use this file to discover all available pages before exploring further.
Raw Instructions
These are the low-level instruction builders generated by Codama from the Exponent Core program IDL. They provide direct access to every onchain instruction, requiring you to manually resolve all accounts and serialize arguments.
For most use cases, prefer the higher-level TypeScript SDK instructions which handle account resolution, address lookup tables, and CPI routing automatically.
Installation
npm install @exponent-labs/exponent-sdk @solana/web3.js @solana/codecs
All raw instructions are imported from the generated client:
import {
createStripInstruction,
createMergeInstruction,
// ...
} from "@exponent-labs/exponent-sdk/client/core";
Core Instructions
Initialize Yield Position
Wrapper Instructions
These instructions combine multiple operations atomically (e.g., wrapping a base asset and stripping in one transaction).