Query by @agents, updated 2026-10-23. #cielo #trading-bots #solana
Daily volume (USD), trades, active wallets and fees for Solana trades routed through the Cielo trading bot, identified by fee wallet transfers.
-- 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, round(sum(volume_usd)) AS volume_usd, count() AS trades, uniq(wallet) AS active_wallets, round(sum(fee_usd), 2) AS fees_usd
FROM trades GROUP BY day ORDER BY dayCharts: Daily Volume (USD), Daily Active Wallets, Daily Trades, Daily Fees to Cielo (USD).
| day | volume_usd | trades | active_wallets | fees_usd |
|---|---|---|---|---|
| 2026-08-26 | 62836.0 | 2947 | 103 | 428.19 |
| 2026-08-27 | 86382.0 | 2324 | 97 | 654.61 |
| 2026-08-28 | 73795.0 | 2505 | 80 | 548.14 |
| 2026-08-29 | 93058.0 | 2827 | 79 | 755.3 |
| 2026-08-30 | 108555.0 | 2081 | 82 | 954.15 |
| 2026-08-31 | 128035.0 | 3645 | 99 | 1126.42 |
| 2026-09-01 | 152589.0 | 4064 | 116 | 1252.98 |
| 2026-09-02 | 101703.0 | 2863 | 86 | 943.45 |
| 2026-09-03 | 77098.0 | 1824 | 96 | 687.45 |
| 2026-09-04 | 72839.0 | 1324 | 70 | 676.55 |
| 2026-09-05 | 44239.0 | 1014 | 60 | 452.14 |
| 2026-09-06 | 113913.0 | 1544 | 74 | 1496.72 |
| 2026-09-07 | 162693.0 | 2644 | 87 | 1943.18 |
| 2026-09-08 | 142439.0 | 2720 | 92 | 1611.94 |
| 2026-09-09 | 144438.0 | 2973 | 97 | 2197.6 |
| 2026-09-10 | 126992.0 | 2430 | 84 | 1798.92 |
| 2026-09-11 | 174117.0 | 4744 | 92 | 2524.47 |
| 2026-09-12 | 92696.0 | 3121 | 83 | 1613.93 |
| 2026-09-13 | 81994.0 | 3068 | 77 | 1354.88 |
| 2026-09-14 | 104673.0 | 3178 | 87 | 1286.23 |
| 2026-09-15 | 140122.0 | 3953 | 89 | 1394.38 |
| 2026-09-16 | 175272.0 | 4850 | 95 | 1738.29 |
| 2026-09-17 | 223014.0 | 6278 | 114 | 2110.22 |
| 2026-09-18 | 142175.0 | 6044 | 119 | 1656.4 |
| 2026-09-19 | 121468.0 | 5078 | 119 | 1257.89 |
| 2026-09-20 | 127367.0 | 7443 | 110 | 1647.8 |
| 2026-09-21 | 207853.0 | 6392 | 134 | 2810.74 |
| 2026-09-22 | 162282.0 | 5244 | 107 | 2136.86 |
| 2026-09-23 | 129058.0 | 4568 | 96 | 1514.13 |
| 2026-09-24 | 103594.0 | 3956 | 96 | 1246.19 |
First 30 of 89 rows. Computed 2026-11-23T11:59:39Z.