Query by @agents, updated 2026-10-23. #cielo #trading-bots #solana
Daily USD volume and trades of Cielo bot trades on Solana, split by the DEX the swap executed on.
-- Cielo trading bot on Solana: a trade = a transaction with a top-level SOL transfer to the Cielo fee wallet 4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv
WITH
'So11111111111111111111111111111111111111112' AS WSOL,
['EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB'] AS STABLES,
legs AS (
SELECT 'pump.fun' AS venue, block_date_utc AS d, signature AS sig, fee_payer AS w, base_coin AS a_mint, toUInt64(base_coin_amount) AS a_amt, quote_coin AS b_mint, toUInt64(quote_coin_amount) AS b_amt, top_level_transfers_json AS j
FROM solana.pumpfun_v2_swaps WHERE block_date_utc >= today() - 90 AND failed = 0 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
UNION ALL
SELECT 'PumpSwap' AS venue, block_date_utc AS d, signature AS sig, fee_payer AS w, base_token AS a_mint, toUInt64(base_token_amount) AS a_amt, quote_token AS b_mint, toUInt64(quote_token_amount) AS b_amt, top_level_transfers_json AS j
FROM solana.pumpswap_all_swaps WHERE block_date_utc >= today() - 90 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
UNION ALL
SELECT 'Raydium AMM' AS venue, block_date_utc AS d, toStringCutToZero(signature) AS sig, toStringCutToZero(signing_wallet) AS w, toStringCutToZero(base_coin) AS a_mint, toUInt64(base_coin_amount) AS a_amt, toStringCutToZero(quote_coin) AS b_mint, toUInt64(quote_coin_amount) AS b_amt, top_level_transfers_json AS j
FROM solana.raydium_all_swaps WHERE block_date_utc >= today() - 90 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
UNION ALL
SELECT 'Raydium CPMM' AS venue, block_date_utc AS d, signature AS sig, fee_payer AS w, base_coin AS a_mint, toUInt64(base_coin_amount) AS a_amt, quote_coin AS b_mint, toUInt64(quote_coin_amount) AS b_amt, top_level_transfers_json AS j
FROM solana.raydium_cpmm_swaps WHERE block_date_utc >= today() - 90 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
UNION ALL
SELECT 'Raydium CLMM' AS venue, block_date_utc AS d, signature AS sig, fee_payer AS w, input_mint AS a_mint, toUInt64(input_amount) AS a_amt, output_mint AS b_mint, toUInt64(output_amount) AS b_amt, top_level_transfers_json AS j
FROM solana.raydium_clmm_swaps WHERE block_date_utc >= today() - 90 AND failed = 0 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
UNION ALL
SELECT 'Raydium LaunchLab' AS venue, block_date_utc AS d, signature AS sig, fee_payer AS w, base_token AS a_mint, toUInt64(base_token_amount) AS a_amt, quote_token AS b_mint, toUInt64(quote_token_amount) AS b_amt, top_level_transfers_json AS j
FROM solana.raydium_launchpad_swaps WHERE block_date_utc >= today() - 90 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
UNION ALL
SELECT 'Meteora DLMM' AS venue, block_date AS d, signature AS sig, signing_wallet AS w, base_coin AS a_mint, toUInt64(if(swap_for_y = 1, base_coin_amount, quote_coin_amount)) AS a_amt, quote_coin AS b_mint, toUInt64(if(swap_for_y = 1, quote_coin_amount, base_coin_amount)) AS b_amt, top_level_transfers_json AS j
FROM solana.meteora_swaps WHERE block_date >= today() - 90 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
UNION ALL
SELECT 'Meteora DAMM v2' AS venue, block_date_utc AS d, signature AS sig, fee_payer AS w, input_token AS a_mint, toUInt64(input_amount) AS a_amt, output_token AS b_mint, toUInt64(output_amount) AS b_amt, top_level_transfers_json AS j
FROM solana.meteora_damm_v2_swaps WHERE block_date_utc >= today() - 90 AND failed = 0 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
UNION ALL
SELECT 'Meteora DBC' AS venue, block_date_utc AS d, signature AS sig, fee_payer AS w, base_coin AS a_mint, toUInt64(base_coin_amount) AS a_amt, quote_coin AS b_mint, toUInt64(quote_coin_amount) AS b_amt, top_level_transfers_json AS j
FROM solana.meteora_dynamic_bonding_swaps WHERE block_date_utc >= today() - 90 AND position(top_level_transfers_json, '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv') > 0
),
sol_price AS (
SELECT block_date_utc AS d, sum(quote_coin_amount) / 1e6 / (sum(base_coin_amount) / 1e9) AS px
FROM solana.raydium_all_swaps
WHERE block_date_utc >= today() - 90
AND toStringCutToZero(base_coin) = 'So11111111111111111111111111111111111111112'
AND toStringCutToZero(quote_coin) = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
GROUP BY d
),
tx AS (
SELECT sig, any(d) AS d, any(venue) AS venue, any(w) AS wallet,
maxIf(a_amt, a_mint = WSOL) AS sol_a, maxIf(b_amt, b_mint = WSOL) AS sol_b,
maxIf(a_amt, has(STABLES, a_mint)) AS st_a, maxIf(b_amt, has(STABLES, b_mint)) AS st_b,
coalesce(nullIf(anyIf(a_mint, a_mint != WSOL AND NOT has(STABLES, a_mint)), ''), nullIf(anyIf(b_mint, b_mint != WSOL AND NOT has(STABLES, b_mint)), ''), WSOL) AS token,
arraySum(arrayMap(t -> if(JSONExtractString(t, 'to') = '4dwgd5y5R1C8rd6no68BfJmdrZYfPi9Zgd6NDANJeHbv', toUInt64OrZero(JSONExtractString(t, 'lamports')), 0), JSONExtractArrayRaw(any(j)))) AS fee_lamports
FROM legs GROUP BY sig
),
trades AS (
SELECT tx.d AS day, venue, wallet, token, sig,
if(greatest(st_a, st_b) > 0, greatest(st_a, st_b) / 1e6, greatest(sol_a, sol_b) / 1e9 * p.px) AS volume_usd,
fee_lamports / 1e9 * p.px AS fee_usd
FROM tx INNER JOIN sol_price p ON p.d = tx.d
)
SELECT day, venue, round(sum(volume_usd)) AS volume_usd, count() AS trades
FROM trades GROUP BY day, venue ORDER BY day, venueCharts: Daily Volume by DEX (USD).
| day | venue | volume_usd | trades |
|---|---|---|---|
| 2026-08-26 | Meteora DBC | 48.0 | 8 |
| 2026-08-26 | Meteora DLMM | 2470.0 | 95 |
| 2026-08-26 | PumpSwap | 27040.0 | 1237 |
| 2026-08-26 | Raydium AMM | 128.0 | 12 |
| 2026-08-26 | Raydium CPMM | 355.0 | 21 |
| 2026-08-26 | Raydium LaunchLab | 354.0 | 9 |
| 2026-08-26 | pump.fun | 32440.0 | 1565 |
| 2026-08-27 | Meteora DLMM | 1791.0 | 60 |
| 2026-08-27 | PumpSwap | 42314.0 | 1147 |
| 2026-08-27 | Raydium AMM | 303.0 | 7 |
| 2026-08-27 | Raydium CPMM | 218.0 | 8 |
| 2026-08-27 | Raydium LaunchLab | 202.0 | 5 |
| 2026-08-27 | pump.fun | 41554.0 | 1097 |
| 2026-08-28 | Meteora DBC | 284.0 | 17 |
| 2026-08-28 | Meteora DLMM | 2507.0 | 26 |
| 2026-08-28 | PumpSwap | 34327.0 | 1376 |
| 2026-08-28 | Raydium AMM | 311.0 | 12 |
| 2026-08-28 | Raydium CPMM | 107.0 | 8 |
| 2026-08-28 | Raydium LaunchLab | 81.0 | 2 |
| 2026-08-28 | pump.fun | 36177.0 | 1064 |
| 2026-08-29 | Meteora DBC | 228.0 | 20 |
| 2026-08-29 | Meteora DLMM | 5887.0 | 47 |
| 2026-08-29 | PumpSwap | 54927.0 | 1740 |
| 2026-08-29 | Raydium AMM | 41.0 | 7 |
| 2026-08-29 | Raydium CPMM | 1251.0 | 9 |
| 2026-08-29 | pump.fun | 30724.0 | 1004 |
| 2026-08-30 | Meteora DAMM v2 | 1101.0 | 25 |
| 2026-08-30 | Meteora DBC | 185.0 | 4 |
| 2026-08-30 | Meteora DLMM | 3262.0 | 25 |
| 2026-08-30 | PumpSwap | 66121.0 | 1135 |
First 30 of 782 rows. Computed 2026-11-23T12:00:34Z.