Raydium Daily: methodology
Every number on the deck comes from two sources: Dune (on-chain data, our own SQL in sql/) and Raydium's v3 API (api-v3.raydium.io). No DefiLlama, Blockworks or other aggregator. Cards carry no notes; this file is where each figure is defined.
Days and windows
- A day is a completed UTC day. The deck's as-of day is yesterday (UTC).
- "Past seven days" is the latest seven UTC days, set against the seven before. Never "week".
- Dune restates
dex_solana.tradesfor a day or two after it lands, so every run re-reads the trailingSWEEP_DAYS(4) and replaces them in the local store. - API figures are rolling windows at fetch time (the morning after as-of): "past 7 days" on those cards means the 7x24 hours before the fetch, not UTC days.
Volume (Dune, sql/01_trades_daily.sql)
- AMM products:
dex_solana.trades,project = 'raydium',version_nameclmm, cpmm, amm (CLMM, CPMM, AMM v4). Dollar value is Dune'samount_usd. - CLMM gap-fill, per pool-day since 25 Nov 2026. The shared trades table also drops days and part-days for pools it normally covers (NVDAx-USDC: no rows on 13 and 14 Nov 2026 against 89K and 39K swap calls; 25K of 178K on 12 Nov). sql/06 now checks every listed CLMM pool ($10K+ liquidity, $100K+ weekly volume, ~270 pools) day by day, and where the table holds under 90% of Raydium's swap calls it rebuilds that day and adds the difference.
- CLMM gap-fill (
sql/06_clmm_gap.sql, found 24 Nov 2026):dex_solana.tradeshas no rows at all for some CLMM pools, among them the Backpack Securities and PreStocks stock tokens and WSOL-hSOL, about a third of CLMM volume in late November. Where it has a pool it matches Raydium's API within a few percent (WSOL-USDC $158.0M vs $157.5M in a week). For every CLMM pool Raydium's API lists with at least $10K of liquidity that the table lacks, eachswap/swap_v2call is valued at the stablecoin or SOL leg of the token transfers through the pool's vaults in the same instruction (tested per pool: TTWO-USDC $51.7M vs the API's $50.2M). Unlisted pools are left out: rebuilt the same way they came to $847M in a week across tiny pools of about 400 trades each, which is mispriced junk. The gap-fill covers volume and fees; the wallet concentration and wallet-count cards still read the trades table only. - Raydium's decoded swap event tables on Dune are empty for CLMM and CPMM since at least October 2026; the swap call tables are complete, which is why the gap-fill reads calls.
- Monthly history uses only series read in full from Raydium's own program data (RAY buybacks, LaunchLab). Pool revenue by month is not charted until the gap-fill is backfilled for past months.
- LaunchLab:
project = 'raydium_launchlab'for dollars,raydium_launchpad_evt_tradeeventfor fees. - Bot and wash trades are not removed: the board shows Raydium's flow as it is, and the "who trades" section shows how much comes from one-wallet bots and the ten largest wallets.
Fees and revenue
- Each CLMM and CPMM pool is mapped to its fee config from its creation call on Dune (
amm_v3_call_createpool,raydium_cp_swap_call_initialize, LaunchLabmigrate_to_cpswap). - The config's rates come from Raydium's API (
/main/clmm-config,/main/cpmm-config, or one of the config's pools via/pools/info/idsfor configs not on the public list). Cached indata/cfg_rates.json. - Trading fee = volume x the config's trade fee rate. Split per Raydium's docs (ray/protocol-fees): CLMM and CPMM 84% liquidity providers, 12% RAY buybacks, 4% treasury (per config); AMM v4 is 0.25% with 12% to buybacks and 88% to LPs.
- CPMM creator fees (an opt-in per-pool extra since 2025) are not included in AMM pool fees; dynamic-fee CLMM pools are priced at their base rate. The cross-check against the API's own fee figure measures the effect.
- LaunchLab fees are read from the program's own trade events:
protocol_fee(Raydium's share),platform_fee(the launch platform) andcreator_fee. Event amounts are in the curve's quote token; each pool-day's fee-to-quote ratio is applied to that pool-day's Dune dollar volume. - Revenue = RAY buyback share + treasury share of pool fees + Raydium's LaunchLab fee. It is fee accrual, priced at trade time, not the cash Raydium later collects.
RAY buybacks (Dune, sql/05_buyback_daily.sql)
- RAY arriving at the buyback holding address
DdHDoz94o2WJmD9myRobHCwtx1bESpHTd4SSPe6VEZaz(Raydium docs, ray/ray-buybacks), fromtokens_solana.transfers, valued at Dune's price on arrival. - Senders are the three collection wallets in Raydium's docs: CLMM
projjos...k416, CPMMProCX...5u, AMM v4PNLCQ...tvF. Transfers arrive about hourly. - The buyback check card divides each collector's RAY by its product's pool fees over 30 days. AMM v4 lands on the documented 12% (0.97 of the share on 24 Nov 2026), which calibrates the method. CLMM lands near 16%, the buyback and treasury shares combined; CPMM near 28%, unexplained (creator fees or LaunchLab flows through the CPMM collector are candidates). Both are questions for Raydium.
LaunchLab (Dune, sql/03_launchlab_daily.sql)
- Launches:
initialize,initialize_v2,initialize_with_token_2022calls. - Graduations:
migrate_to_cpswapandmigrate_to_ammcalls. - Platform names: the
namefield the platform wrote into its own on-chain config (create_platform_config). Configs with no name show as "Unnamed platforms". Several configs can share a name (letsbonk.fun runs two); they are summed.
Who trades
- Entry program =
dex_solana.trades.trade_source. Labels: Raydium's program-address page (AMM RoutingrouteUGW...P3xS= Raydium router), and the Jupiter desk's verified list (Jupiter v4/v6, DFlow, Titan, OKX's two programs).direct= the Raydium program called at the top level. - One-wallet bots: an unlabelled entry program used by at most two wallets that day.
- Other apps: every other unlabelled program. The largest are listed in CROSSCHECK.md.
- Wallet concentration: each wallet's (
trader_id) daily AMM volume, ranked; the ten largest and the largest as a share of the day.
Liquidity and listings (Raydium API)
- Snapshot of the 20,000 largest pools by liquidity (
/pools/info/list, sorted by liquidity). Beyond those the list runs to well over 130,000 pools that each show about $2,500 and no trades (stale prices on dead pools), which is why Raydium's headline TVL is higher than the active total. - "Active pools" = pools with any volume in the API's past 7 days.
- Fee yield = the past 7 days' pool fees x 365 / 7 / liquidity, by product.
- Tokenized stocks: pools with a token whose API entry is tagged as a tokenized equity (xStocks by Backed, Backpack Securities, PreStocks). A pool is counted once even when both sides are stocks.
New pools (Dune, sql/04_pools_daily.sql)
- CPMM
initialize, CLMMcreatepool, AMM v4initialize2, excluding calls made by LaunchLab, which are counted once as LaunchLab graduations.
Added 24 Nov 2026 (Blockworks gap, step 1)
- Pool-launch revenue: SOL arriving at the CPMM (DNXgeM9E...) and AMM v4 (7YttLkHD...) pool-creation fee receivers in Raydium's docs (0.15 SOL a pool), at Dune's SOL price; added to that product's revenue.
- All-time RAY buybacks (
sql/07_buyback_history.sql, monthly, read once through Oct 2026; later days come from the daily buyback store). Dollars start April 2022: 2021 transfers (~0.46M RAY, mostly sent back out) have no Dune price. Quarterly totals match Blockworks within 0.2% from Q4 2024 on. - Buyback cost vs value: dollars at arrival, summed, against RAY held (in minus out) at the Raydium API's RAY price when the run fetched it (the card's date says which day).
- LaunchLab launches and trades by platform: the same platform-name map as the volume share card.
- Tokenized-stock liquidity: active stock pools in the API snapshot, summed by stock.
Added 24 Nov 2026 (Blockworks gap, step 2): pair types
- Token categories come from Raydium's API only (token_categories.py): stablecoins and liquid-staking tokens from its own Stables and LSTs filters (plus 11 Solana LSTs checked by name), tokenized assets from its token tags ("tokenized asset/equity", xStock names), bridged tokens from name tags (Wormhole, Sollet, Universal, ren, Coinbase Wrapped BTC; a bare ticker like WETH only on Raydium's curated list, because copycat mints exist), launchpad tokens by Pump.fun/letsbonk vanity mints or LaunchLab base mints.
- Pair type, first match wins: stablecoin swaps, SOL-stablecoin, SOL and LST swaps, tokenized assets, bridged tokens, launchpad tokens, other tokens. Correlated pairs = stablecoin swaps + SOL and LST swaps.
- Swap revenue by pair type = RAY buyback + treasury shares of pool fees (no LaunchLab, no pool-launch fees).
- CLMM gap-fill pools are typed from the API snapshot's pool mints; pool-days over $50K carry ~98% of the fill, the rest of a day's fill goes to other tokens. Gap pools use the pool's fee rate and 12% + 4% shares.
- Liquidity by pair type: active pools in the API snapshot; "traded Nx" = past 7 days' volume / liquidity.
- No "project tokens" category: Raydium's curated token list mixes project tokens, memes, stocks and wrapped coins, so it would not mean what the label says.
Added 25 Nov 2026 (Blockworks gap, steps 3 to 5)
Treasury and RAY token (sql/08, weekly; ~46 credits a read).
- Treasury: wallets Raydium publishes (ray/treasury, reference/program-addresses: protocol multisig, buyback address, CLMM and CPMM treasuries, fee collection and fund-owner wallets, pool-fee receivers), majors only (RAY, USDC, USDT, USD1, SOL incl. WSOL, mSOL, JitoSOL) from Dune's latest balances, priced with Raydium's API. The fee wallets also hold piles of unpriced memecoins, which are not counted. Blockworks shows more ($167M vs our $143M on 24 Nov): its wallet set is wider.
- RAY by holder: the 3,000 largest RAY owners in Dune's latest balances. Named: Raydium's buyback address and multisig, the staking vault (4qD7...dcUR, whose balance matches Raydium's staked total), the AMM v4 and CPMM pool authorities, exchanges by Dune's owner labels. The largest wallet (8pFh...Qc6G, 264M RAY) has no label in our sources; it matches what Blockworks counts as unissued mining reserve plus partnership RAY, but the card names it only by address. The six allocation wallets in Raydium's docs hold no RAY now.
- Staked RAY by day: today's staked total from Raydium's API, walked back with each day's RAY in and out of the staking vault (sql/05 'stake' grain). APR and reward rate from the API's stake pool.
Quarterly statements (sql/02, sql/09, gap stores).
- Swap fees: the protocol shares (RAY buyback + treasury) of pool fees, as on the daily cards. Pool-launch fees: CPMM initialize and AMM v4 initialize2 calls x 0.15 SOL x the month's average SOL price (sql/09). LaunchLab: the program's protocol_fee. Buybacks: RAY arriving at the buyback address (financing outflow).
- Matches Blockworks' income statement within 3% for every quarter Q1 2025 to Q2 2026 except Q4 2025 (+8%).
- Q3 and Q4 2026 are not shown yet. From June 2026 the shared trades table misses CLMM pools; ~200 a month in September, most now quiet or unlisted. Rebuilding listed pools gives 0.63 of Blockworks' Q3 2026; rebuilding every pool from swap calls alone (sql/11) puts several $B a month in unlisted pools, the junk pattern above. Which pools count is a question for Raydium. Stores gap_hist and gap_calls keep these reads.
Step 5 (sql/10, daily).
- Launchpad tokens across Solana: trades where either side is a LaunchLab base mint (any platform, letsbonk included) or a ...pump mint, by venue (dex_solana.trades project). Raydium's share = LaunchLab curve + Raydium pools.
- xStocks share: trades where either side is an xStocks (Backed) mint, by venue. Backpack Securities tokens are left out of this share: the shared table misses their Raydium trades, so a share would be wrong.
- Not built: LaunchLab token market caps (needs each token's supply from its creation call) and Backpack shares.