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.
TypeScript Orderbook Instructions
These are the instruction builders provided by theOrderbook class. They handle account resolution, address lookup tables, base token conversion, and CPI routing automatically.
Installation
Orderbook class:
Instructions
Post Order
Place a limit order on the orderbook, with wrapper helpers that handle token account setup and account resolution automatically.
Market Order
Execute immediately against existing liquidity on the book, with support for slippage bounds and wrapper account setup.
Remove Order
Cancel an existing open order and return the locked trading balances to your escrow state.
Collect Interest
Claim accrued yield on YT held through open or previously filled orderbook positions.
Withdraw Funds
Withdraw PT, YT, and SY balances from your orderbook escrow back to your wallet.