Introduction
This dataset records a Swig wallet’s swaps, liquidity changes, fee claims, and reward claims. Use it for transaction history and execution detail. TypeScript and Python exposeswig.dex; Rust has no DEX client.
Transaction coverage includes PumpSwap, Meteora DLMM, Raydium AMM v4, Raydium CPMM,
Raydium CLMM, and Orca Whirlpool. Latest positions have a separate guide. Indexed data can lag the chain. The organization must own the active Swig;
each admitted call/page consumes one DEX query, separate from API requests.
See Pricing & quotas.
SDK examples
List transactions
Filter wallet activity by venue, action, vault, or slot range.SDK returned structure
Example of a final page containing one swap. TypeScript returns an object; Python returns typed dataclasses, shown here as JSON after conversion withdataclasses.asdict. A page with more results also has nextCursor /
next_cursor.
Page through transactions
Pass the returned cursor with the same wallet, network, and filters. Stop when the next cursor is absent.Get one transaction
Fetch the indexed DEX interpretation for a known transaction signature.SDK returned structure
The result is one transaction from thetransactions array above, without the
page wrapper. Its actions remain in execution order.
Input parameters
Use the server client asswig.
Filters combine with AND. Protocol, action type, and vault must match the same
action; each returned transaction still includes all its indexed DEX actions.
Pass the cursor unchanged with the same wallet, network, and filters.
For a detail lookup, supply
transactionSignature / transaction_signature.
Returned result
TypeScript field names are shown below. Python exposes the same structure with snake_case attributes. The SDK normalizes protocol and action names.
An action’s negative amount left its protocol actor; a positive amount entered
it. When an aggregator holds the assets, that actor can be the router rather
than the Swig vault. Keep raw amounts as strings or arbitrary-precision integers.
Other action types carry deposits, withdrawals, or claims; see
the action table below.
For current liquidity and account state, see DEX position.

