
Protocol & Liquidity Analytics
This page defines protocol-agnostic liquidity and usage analytics for Solana DeFi.
It normalizes protocol-specific semantics into stable pool datasets.
Coverage (what you get)
Acceso produces three core dataset types:
Pool metadata
Protocol, program, pool address, token mints, fee model identifiers.
Pool state snapshots
Reserves, TVL, and configuration parameters over time.
Protocol and pool aggregates
Activity and liquidity time-series computed on explicit windows.
Common windows: 5m, 15m, 1h, 4h, 24h.
Adapter model (Solana-native normalization)
Each protocol is integrated via an isolated adapter. Adapters decode program instructions, logs, and pool accounts.
Normalization guarantees
Stable identifiers:
protocol,program_id,pool_address.Consistent asset identity: token mints + decimals.
Comparable metrics across protocols using consistent formulas.
Pool reserve units are always normalized by mint decimals. Avoid mixing raw lamports with UI amounts.
Pool metadata (discovery and identity)
Pool discovery produces a minimal, durable identity record. This record is designed to be cached aggressively.
pool_address,program_id,protocoltoken_a_mint,token_b_mintlp_mint(when applicable)fee_bps(or a protocol-specific fee model reference)created_slot/created_at(best-effort when observable)
Liquidity and TVL analytics
Liquidity analytics are built from pool account state and vault balances.
Reserves
reserve_a_ui,reserve_b_ui
TVL (best-effort)
USD TVL is computed only when price inputs exist.
Liquidity distribution
Pool share vs protocol totals for the same assets.
Change metrics
Net liquidity delta per window.
Liquidity volatility (variance of reserves over a window).
Example payloads (conceptual)
Activity aggregates (protocol and pool)
These aggregates describe usage without relying on a single venue.
Common aggregates:
Volume and trade count per window
Active pools per window
Venue concentration (pool share of pair volume)
Window-over-window deltas for trend detection
Consumer guidance
Recommended defaults:
Prefer windowed aggregates over raw event scans.
Use
pool_address+ window boundaries as your dedupe key.Treat pricing-derived fields as best-effort with explicit confidence.
Last updated