Skip to main content

Introduction

This dataset contains the latest indexed state of a Swig vault’s liquidity positions, including disabled sub-accounts. Use it to display open liquidity and closed positions. Current account-state coverage is Raydium CLMM. TypeScript and Python expose swig.dex.positions; Rust has no DEX client. Each admitted call/page consumes one DEX query, separate from API usage. See Pricing & quotas.

SDK examples

List latest positions

List current liquidity-position snapshots. Check the status before accessing an open position’s pool and state.

SDK returned structure

Illustrative output; Python shows the dataclass as JSON.

Page through positions

Position cursors identify the previous protocol and position address; they are different from transaction cursors.

Input parameters

Returned result

Errors