Trading Pairs

Explore and interact with DLMM trading pairs on the network. This section covers everything from discovering existing pairs to creating new ones, understanding pair configurations, and accessing real-time liquidity data across all bins.

Prerequisites

Before working with trading pairs, ensure you have:

  • Initialized the DLMM SDK with a valid connection

  • Understanding of token type formats on Sui network

  • Basic knowledge of bins and bin steps

  • Wallet with sufficient gas for transactions (when creating pairs)

What You'll Learn

This section covers the essential operations for working with DLMM trading pairs:

Deploy new liquidity book trading pairs with custom configurations. Learn about token ordering requirements, setting initial active bin IDs, and choosing appropriate bin steps for your use case.

Fetch comprehensive data for a specific trading pair including current reserves, fee parameters, active bin information, and liquidity distribution metrics.

Discover and list all available trading pairs on the network. Filter pairs by token types, liquidity thresholds, or trading volume to find opportunities.

Retrieve detailed bin data for a specific pair within a given range. Access reserve information, liquidity depth, and price levels for each bin.

Check the complete liquidity distribution across all active bins. Analyze reserve concentrations and identify optimal entry points for trades or liquidity provision.

Last updated