Datasets:
|
Download README.md from DataStore/raydium-clmm-historical-data: direct link, hf CLI and curl.
- Browser
- Download file 15 kB
-
https://huggingface.co/datasets/DataStore/raydium-clmm-historical-data/resolve/main/README.md
- Command line
-
hf download hf://datasets/DataStore/raydium-clmm-historical-data/README.md
-
curl -L -o README.md https://huggingface.co/datasets/DataStore/raydium-clmm-historical-data/resolve/main/README.md
15 kB
| license: cc-by-4.0 | |
| pretty_name: Raydium CLMM Historical Data (Sample) | |
| language: | |
| - en | |
| tags: | |
| - solana | |
| - raydium | |
| - clmm | |
| - dex | |
| - amm | |
| - concentrated-liquidity | |
| - defi | |
| - blockchain | |
| - crypto | |
| - onchain-data | |
| size_categories: | |
| - 10K<n<100K | |
| configs: | |
| - config_name: raydium_clmm_close_limit_order | |
| data_files: raydium_clmm_close_limit_order.csv | |
| - config_name: raydium_clmm_close_position | |
| data_files: raydium_clmm_close_position.csv | |
| - config_name: raydium_clmm_collect_fund_fee | |
| data_files: raydium_clmm_collect_fund_fee.csv | |
| - config_name: raydium_clmm_collect_protocol_fee | |
| data_files: raydium_clmm_collect_protocol_fee.csv | |
| - config_name: raydium_clmm_collect_protocol_fee_event | |
| data_files: raydium_clmm_collect_protocol_fee_event.csv | |
| - config_name: raydium_clmm_collect_remaining_rewards | |
| data_files: raydium_clmm_collect_remaining_rewards.csv | |
| - config_name: raydium_clmm_config_change_event | |
| data_files: raydium_clmm_config_change_event.csv | |
| - config_name: raydium_clmm_create_amm_config | |
| data_files: raydium_clmm_create_amm_config.csv | |
| - config_name: raydium_clmm_create_customizable_pool | |
| data_files: raydium_clmm_create_customizable_pool.csv | |
| - config_name: raydium_clmm_create_dynamic_fee_config | |
| data_files: raydium_clmm_create_dynamic_fee_config.csv | |
| - config_name: raydium_clmm_create_personal_position_event | |
| data_files: raydium_clmm_create_personal_position_event.csv | |
| - config_name: raydium_clmm_create_pool | |
| data_files: raydium_clmm_create_pool.csv | |
| - config_name: raydium_clmm_create_support_mint_associated | |
| data_files: raydium_clmm_create_support_mint_associated.csv | |
| - config_name: raydium_clmm_decrease_limit_order | |
| data_files: raydium_clmm_decrease_limit_order.csv | |
| - config_name: raydium_clmm_decrease_liquidity | |
| data_files: raydium_clmm_decrease_liquidity.csv | |
| - config_name: raydium_clmm_decrease_liquidity_event | |
| data_files: raydium_clmm_decrease_liquidity_event.csv | |
| - config_name: raydium_clmm_decrease_liquidity_v2 | |
| data_files: raydium_clmm_decrease_liquidity_v2.csv | |
| - config_name: raydium_clmm_increase_limit_order | |
| data_files: raydium_clmm_increase_limit_order.csv | |
| - config_name: raydium_clmm_increase_liquidity | |
| data_files: raydium_clmm_increase_liquidity.csv | |
| - config_name: raydium_clmm_increase_liquidity_event | |
| data_files: raydium_clmm_increase_liquidity_event.csv | |
| - config_name: raydium_clmm_increase_liquidity_v2 | |
| data_files: raydium_clmm_increase_liquidity_v2.csv | |
| - config_name: raydium_clmm_initialize_reward | |
| data_files: raydium_clmm_initialize_reward.csv | |
| - config_name: raydium_clmm_liquidity_calculate_event | |
| data_files: raydium_clmm_liquidity_calculate_event.csv | |
| - config_name: raydium_clmm_liquidity_change_event | |
| data_files: raydium_clmm_liquidity_change_event.csv | |
| - config_name: raydium_clmm_open_limit_order | |
| data_files: raydium_clmm_open_limit_order.csv | |
| - config_name: raydium_clmm_open_position | |
| data_files: raydium_clmm_open_position.csv | |
| - config_name: raydium_clmm_open_position_v2 | |
| data_files: raydium_clmm_open_position_v2.csv | |
| - config_name: raydium_clmm_open_position_with_token22_nft | |
| data_files: raydium_clmm_open_position_with_token22_nft.csv | |
| - config_name: raydium_clmm_pool_created_event | |
| data_files: raydium_clmm_pool_created_event.csv | |
| - config_name: raydium_clmm_set_reward_params | |
| data_files: raydium_clmm_set_reward_params.csv | |
| - config_name: raydium_clmm_settle_limit_order | |
| data_files: raydium_clmm_settle_limit_order.csv | |
| - config_name: raydium_clmm_swap | |
| data_files: raydium_clmm_swap.csv | |
| - config_name: raydium_clmm_swap_event | |
| data_files: raydium_clmm_swap_event.csv | |
| - config_name: raydium_clmm_swap_router_base_in | |
| data_files: raydium_clmm_swap_router_base_in.csv | |
| - config_name: raydium_clmm_swap_v2 | |
| data_files: raydium_clmm_swap_v2.csv | |
| - config_name: raydium_clmm_transfer_reward_owner | |
| data_files: raydium_clmm_transfer_reward_owner.csv | |
| - config_name: raydium_clmm_update_amm_config | |
| data_files: raydium_clmm_update_amm_config.csv | |
| - config_name: raydium_clmm_update_reward_infos | |
| data_files: raydium_clmm_update_reward_infos.csv | |
| - config_name: raydium_clmm_update_reward_infos_event | |
| data_files: raydium_clmm_update_reward_infos_event.csv | |
| # Raydium CLMM Historical Data Sample | |
| This dataset has 27,226 rows of decoded Raydium CLMM data from Solana mainnet, split across 39 tables (29 instruction tables and 10 event tables). It covers slots 416,190,398 to 451,891,514, from 28 April 2026 to 30 September 2026 (UTC). Each table is cut to at most 1,000 rows, so busy tables cover minutes of that window while rare instructions stretch across months. | |
| It's a free sample from [datastore.sh](https://datastore.sh). The full [Raydium CLMM dataset](https://datastore.sh/datasets/raydium-clmm) is delivered as partitioned Parquet with typed schemas, manifests and checksums, covering recent history or the full chain history. | |
| ## What is Raydium CLMM? | |
| Raydium CLMM is Raydium's concentrated liquidity market maker on Solana. LPs provide liquidity within price ranges, and traders swap through tick-based pools. Program ID: `CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK`. | |
| ## Files | |
| There are two kinds of data here: instructions (what a wallet or keeper asked the program to do) and events (what the program logged when it ran). | |
| **raydium_clmm_swap_event.csv** (1,000 rows, 18 columns) | |
| Swap events. 243 distinct `pool_state`. 2026-09-30 06:57:13 to 2026-09-30 07:02:46 UTC. | |
| **raydium_clmm_collect_protocol_fee_event.csv** (1,000 rows, 11 columns) | |
| Collect Protocol Fee events. 299 distinct `pool_state`. 2026-09-29 10:58:50 to 2026-09-30 06:56:13 UTC. | |
| **raydium_clmm_create_personal_position_event.csv** (1,000 rows, 16 columns) | |
| Create Personal Position events. 529 distinct `tick_lower_index`, 508 distinct `tick_upper_index`, 397 distinct `nft_owner`. 2026-09-29 15:03:41 to 2026-09-30 07:00:41 UTC. | |
| **raydium_clmm_decrease_liquidity_event.csv** (1,000 rows, 15 columns) | |
| Decrease Liquidity events. 742 distinct `position_nft_mint`. 2026-09-29 20:42:24 to 2026-09-30 07:02:55 UTC. | |
| **raydium_clmm_increase_liquidity_event.csv** (1,000 rows, 12 columns) | |
| Increase Liquidity events. 621 distinct `position_nft_mint`. 2026-09-29 13:03:04 to 2026-09-30 07:00:38 UTC. | |
| **raydium_clmm_liquidity_calculate_event.csv** (1,000 rows, 15 columns) | |
| Liquidity Calculate events. 814 distinct `pool_sqrt_price_x64`, 687 distinct `pool_tick`, 668 distinct `pool_liquidity`. 2026-09-30 01:12:35 to 2026-09-30 07:02:36 UTC. | |
| ### All 39 files | |
| | File | What it contains | Rows | Columns | | |
| |---|---|---:|---:| | |
| | `raydium_clmm_close_limit_order.csv` | Close Limit Order instructions | 1,000 | 12 | | |
| | `raydium_clmm_close_position.csv` | Close Position instructions | 1,000 | 13 | | |
| | `raydium_clmm_collect_fund_fee.csv` | Collect Fund Fee instructions | 1,000 | 20 | | |
| | `raydium_clmm_collect_protocol_fee.csv` | Collect Protocol Fee instructions | 1,000 | 20 | | |
| | `raydium_clmm_collect_protocol_fee_event.csv` | Collect Protocol Fee events | 1,000 | 11 | | |
| | `raydium_clmm_collect_remaining_rewards.csv` | Collect Remaining Rewards instructions | 46 | 16 | | |
| | `raydium_clmm_config_change_event.csv` | Events logging AMM config changes: fee rates, tick spacing and fund owner | 3 | 13 | | |
| | `raydium_clmm_create_amm_config.csv` | Creation of an AMM config (fee tier) with trade, protocol and fund fee rates | 1 | 15 | | |
| | `raydium_clmm_create_customizable_pool.csv` | Create Customizable Pool instructions | 1,000 | 23 | | |
| | `raydium_clmm_create_dynamic_fee_config.csv` | Creation of a dynamic fee config with volatility filter and decay parameters | 4 | 18 | | |
| | `raydium_clmm_create_personal_position_event.csv` | Create Personal Position events | 1,000 | 16 | | |
| | `raydium_clmm_create_pool.csv` | Create Pool instructions | 1,000 | 22 | | |
| | `raydium_clmm_create_support_mint_associated.csv` | Create Support Mint Associated instructions | 1,000 | 11 | | |
| | `raydium_clmm_decrease_limit_order.csv` | Decrease Limit Order instructions | 1,000 | 23 | | |
| | `raydium_clmm_decrease_liquidity.csv` | Decrease Liquidity instructions | 138 | 22 | | |
| | `raydium_clmm_decrease_liquidity_event.csv` | Decrease Liquidity events | 1,000 | 15 | | |
| | `raydium_clmm_decrease_liquidity_v2.csv` | Decrease Liquidity V2 instructions | 1,000 | 26 | | |
| | `raydium_clmm_increase_limit_order.csv` | Increase Limit Order instructions | 11 | 18 | | |
| | `raydium_clmm_increase_liquidity.csv` | Increase Liquidity instructions | 47 | 22 | | |
| | `raydium_clmm_increase_liquidity_event.csv` | Increase Liquidity events | 1,000 | 12 | | |
| | `raydium_clmm_increase_liquidity_v2.csv` | Increase Liquidity V2 instructions | 1,000 | 26 | | |
| | `raydium_clmm_initialize_reward.csv` | Initialize Reward instructions | 69 | 21 | | |
| | `raydium_clmm_liquidity_calculate_event.csv` | Liquidity Calculate events | 1,000 | 15 | | |
| | `raydium_clmm_liquidity_change_event.csv` | Liquidity Change events | 1,000 | 12 | | |
| | `raydium_clmm_open_limit_order.csv` | Open Limit Order instructions | 1,000 | 23 | | |
| | `raydium_clmm_open_position.csv` | Open Position instructions | 12 | 33 | | |
| | `raydium_clmm_open_position_v2.csv` | Open Position V2 instructions | 1,000 | 38 | | |
| | `raydium_clmm_open_position_with_token22_nft.csv` | Open Position With Token22 Nft instructions | 1,000 | 36 | | |
| | `raydium_clmm_pool_created_event.csv` | Pool Created events | 1,000 | 14 | | |
| | `raydium_clmm_set_reward_params.csv` | Set Reward Params instructions | 44 | 17 | | |
| | `raydium_clmm_settle_limit_order.csv` | Settle Limit Order instructions | 1,000 | 17 | | |
| | `raydium_clmm_swap.csv` | Swap instructions | 1,000 | 21 | | |
| | `raydium_clmm_swap_event.csv` | Swap events | 1,000 | 18 | | |
| | `raydium_clmm_swap_router_base_in.csv` | Swap Router Base In instructions | 838 | 15 | | |
| | `raydium_clmm_swap_v2.csv` | Swap V2 instructions | 1,000 | 24 | | |
| | `raydium_clmm_transfer_reward_owner.csv` | Transfers of a pool's reward owner to a new account | 11 | 10 | | |
| | `raydium_clmm_update_amm_config.csv` | Updates of a single AMM config parameter (`param`, `value`) | 2 | 11 | | |
| | `raydium_clmm_update_reward_infos.csv` | Update Reward Infos instructions | 1,000 | 8 | | |
| | `raydium_clmm_update_reward_infos_event.csv` | Update Reward Infos events | 1,000 | 7 | | |
| ## Common columns | |
| Every table starts with the same transaction-position columns, then the instruction's accounts and arguments. | |
| | Column | Description | | |
| |---|---| | |
| | `ts` | Block time, UTC | | |
| | `slot` | Solana slot number | | |
| | `tx_index` | Position of the transaction within the block | | |
| | `ix_path` | Where the instruction sits in the transaction. `[3,1]` means inner instruction 1 of top-level instruction 3 | | |
| | `sig` | Transaction signature (base58). Join key across tables | | |
| | `r` | Row disambiguator when one instruction decodes to several rows (usually 0) | | |
| | `program_id` | Program that executed the instruction | | |
| | `decoder_revision` | Commit of the datastore.sh decoder that produced the row | | |
| | `remaining` | Extra accounts passed after the declared ones, as a JSON array | | |
| ## How the files connect | |
| - `raydium_clmm_collect_protocol_fee_event.csv` → `raydium_clmm_collect_protocol_fee.csv`: join on `sig` + `ix_path`. 282 of 1,000 event rows match in this sample. | |
| - `raydium_clmm_config_change_event.csv` → `raydium_clmm_update_amm_config.csv`: join on `sig` + `ix_path`. 2 of 3 event rows match in this sample. | |
| - `raydium_clmm_create_personal_position_event.csv` → `raydium_clmm_open_position_with_token22_nft.csv`: join on `sig` + `ix_path`. 385 of 1,000 event rows match in this sample. | |
| - `raydium_clmm_decrease_liquidity_event.csv` → `raydium_clmm_decrease_liquidity_v2.csv`: join on `sig` + `ix_path`. 642 of 1,000 event rows match in this sample. | |
| - `raydium_clmm_increase_liquidity_event.csv` → `raydium_clmm_increase_liquidity_v2.csv`: join on `sig` + `ix_path`. 448 of 1,000 event rows match in this sample. | |
| - `raydium_clmm_liquidity_calculate_event.csv` → `raydium_clmm_decrease_liquidity_v2.csv`: join on `sig` + `ix_path`. 504 of 1,000 event rows match in this sample. | |
| - `raydium_clmm_liquidity_change_event.csv` → `raydium_clmm_decrease_liquidity_v2.csv`: join on `sig` + `ix_path`. 519 of 1,000 event rows match in this sample. | |
| - `raydium_clmm_pool_created_event.csv` → `raydium_clmm_create_pool.csv`: join on `sig` + `ix_path`. 180 of 1,000 event rows match in this sample. | |
| - `raydium_clmm_swap_event.csv` → `raydium_clmm_swap_v2.csv`: join on `sig` + `ix_path`. 488 of 1,000 event rows match in this sample. | |
| - `raydium_clmm_update_reward_infos_event.csv` → `raydium_clmm_update_reward_infos.csv`: join on `sig` + `ix_path`. 986 of 1,000 event rows match in this sample. | |
| - **Same transaction:** join any tables on `sig`, then sort by `slot`, `tx_index` and `ix_path` for execution order. 4,389 of 19,366 transactions in this sample appear in more than one table. | |
| - Each file is its own cut of up to 1,000 rows, so their windows end at different slots and rows near the edges may have no partner in another file. | |
| ## Load it | |
| ```python | |
| import pandas as pd | |
| df = pd.read_csv("hf://datasets/DataStore/raydium-clmm-historical-data/raydium_clmm_swap_event.csv", na_values=["\\N"], low_memory=False) | |
| print(df.shape) | |
| # or with the datasets library (one config per table) | |
| from datasets import load_dataset | |
| ds = load_dataset("DataStore/raydium-clmm-historical-data", "raydium_clmm_swap_event", split="train") | |
| ``` | |
| ## Before you run numbers | |
| - Amounts are raw base units. Sqrt prices are Q64.64 fixed point. | |
| - `swap_event` rows carry executed amounts; `swap` and `swap_v2` rows carry the user's limits. See *How the files connect* for the join keys. | |
| - `_v2` instructions support Token-2022 mints and run alongside v1. | |
| - This is a short sample. Use it to learn the schema, write a parser or test a pipeline. For volume trends, backtests or anything time-series, you need the full history. | |
| ## Questions you can answer | |
| - Which pools see the most swaps and the largest liquidity changes? | |
| - How much do LPs earn in fees and rewards per position? | |
| - How are the on-chain limit orders (open, settle, close) used, and how often do they fill? | |
| - How do fee configs and dynamic fee parameters change over time? | |
| ## Where can I get the full history? | |
| The [Raydium CLMM dataset on datastore.sh](https://datastore.sh/datasets/raydium-clmm) ships as partitioned Parquet with typed schemas, manifests and SHA-256 checksums. You choose a recent window or full history and keep the files, with no API quota. The same catalog has [Jupiter Swap](https://datastore.sh/datasets/jupiter-swap), [Raydium CPMM](https://datastore.sh/datasets/raydium-cpmm), [Orca Whirlpool](https://datastore.sh/datasets/orca-whirlpool), [Pump.fun](https://datastore.sh/datasets/pumpfun), [Meteora DLMM](https://datastore.sh/datasets/meteora-dlmm). [Browse the Solana catalog](https://datastore.sh/solana). | |
| This sample is also on [Kaggle](https://www.kaggle.com/datasets/datastore90/raydium-clmm-historical-data). | |
| ## License & citation | |
| Licensed under CC BY 4.0. If you use this data, please credit and link to datastore.sh: | |
| > datastore.sh (2026). *Raydium CLMM Historical Data (Sample)*. https://huggingface.co/datasets/DataStore/raydium-clmm-historical-data | |