Skip to main content
The SDK is built around stateful classes — DlmmProgram, Pool, Position, BinArray — that cache on-chain state to avoid redundant RPC round trips. Every method returns unsigned Instructions and never signs or sends; you build, sign, and send the transaction yourself with @solana/kit.

Low-level access

For raw instruction builders, account decoders, or PDA derivation below the entity-class layer, the Codama-generated client is exposed as generated and used internally by the SDK itself:

Where to go next

Pools and swaps

Quoting, fee rates, transfer fees, and the bin-array trimming the SDK does under the hood.

Positions

Open, deposit, read, withdraw, claim, close — the full position lifecycle.

Events

Subscribe to and decode on-chain program events.

Price math

Compute a bin’s price off-chain, no RPC round trip.