DexOnChain Swaps
DEX on-chain swap events available as CSV and Parquet files.
Pay As You Go
Product availability:Flat Files (Snowflake, S3 Pull, S3 Push, GCS Push), REST API, Market Data API, WebSocket API (v1, v2), FIX API (where applicable)
Contact SalesOverview
Overview
DEX on-chain swap events available as CSV and Parquet files.
CoinAPI packages this dataset for teams that need analysis-ready market data with clear schema documentation, representative samples, and commercial access across CoinAPI datasets.
Product and Channel Availability
Where applicable for this dataset, access is available through: Flat Files (Snowflake, S3 Pull, S3 Push, GCS Push), REST API, Market Data API, WebSocket API (v1, v2), FIX API.
File Format
- Formats: CSV.gz, Parquet
- Refresh frequency: hourly
- Size profile: Medium to high
Coverage
UNISWAP-V3, UNISWAP-V2, SUSHISWAP-V2, CURVE-FINANCE, DODO-V2, BALANCER-V2
Data Structure
dexonchain_swaps: DEX on-chain swap events.
The schema and sample rows below document the available fields, data types, nullability, and example values for this dataset.
Tables
Sample Data
dexonchain_swaps
| exchange_id | pool_id | timestamp | block_number | tx_hash | log_index | sender | recipient | token0_id | token0_symbol | token1_id | token1_symbol | amount0 | amount1 | amount_usd | sqrt_price_x96 | tick | gas_used | gas_price |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| UNISWAP-V3 | 0xpool123 | 1711286104 | 19400211 | 0xtxhash123 | 12 | 0xsender | 0xrecipient | 0xwbtc | WBTC | 0xusdc | USDC | -0.125 | 8432.5 | 8432.5 | 123456789012345678901234 | 205120 | 210000 | 25000000000 |