swaps normalizer streams decoded Solana DEX trades into your warehouse as one unified table. See the Solana normalizers page for the full per-column schema and supported protocols.
Why warehouse delivery
Streaming and REST are great for live execution and lookups, but every retention cohort, churn model, token analytics dashboard, and tax export lives in your data warehouse - not in HTTP responses. The Pipeline API streams Solana data continuously into customer-managed destinations with no ETL on your side.Pipeline configuration
Create a pipeline
In the GoldRush Platform, navigate to Manage Pipelines and click Create Pipeline. Name it
solana-swaps.Configure your destination
Connect ClickHouse, BigQuery, Postgres, Kafka, S3/GCS/R2, SQS, or a Webhook. ClickHouse is recommended for high-volume analytical queries over swaps.
Optional: SQL transform
Filter or reshape rows before they land. Example: keep only swaps over $100 of volume.
Schema
Theswaps table is documented in full on the Solana Normalizers page. Key columns include block_slot, block_time, tx_id, signer, pool_address, base_mint, quote_mint, base_amount, quote_amount, price_usd, volume_usd, protocol_name, and CPI attribution fields (outer_program, inner_program, instruction_type).
Sample analytical queries
Top tokens by 24h volume
Per-protocol market share by token
Whale activity
Jupiter routing through Raydium and Orca
Production tips
- ClickHouse for high-volume analytics. Solana swap volume is significant; analytical queries over millions of rows are much faster on ClickHouse than Postgres.
- Partition by
block_date. Most analytical queries are time-bounded. - Materialized views for per-token metrics. Build hourly / daily roll-ups in ClickHouse materialized views to keep dashboards snappy.
Related
- Solana Normalizers (full schema) - column-level reference for
swapsand other Solana entities. - SPL Transfers warehouse recipe - companion table for transfer-side analytics.
- DEX firehose (streaming) - real-time push for new pair events.