What is a Cube?
A Cube is an analytical data model that maps to one or more OLAP database tables. Each Cube defines:- Dimensions — queryable fields organized in a nested hierarchy (e.g.,
Block.Time,Trade.Buy.Currency.MintAddress) - Selectors — shortcut filter arguments at the top level (e.g.,
tokenAddress) that simplify common filter patterns - Metrics — aggregation functions (
count,sum, etc.) available on the Record type - Defaults — default filters and pagination limits applied automatically
{chain}_{table_name} (e.g., sol_dex_trades, eth_transfers).
Cube Overview
25 Cubes are organized into three Chain Groups. Each Cube belongs to a data warehouse layer:- DWD (Detail) — raw per-event data, highest granularity
- DWM (Aggregated) — pre-computed rollups (e.g., per-minute)
- DWS (Summary) — highly aggregated snapshots
- DIM (Dimension) — reference/lookup tables
| Cube | Chain Group | Layer | Purpose |
|---|---|---|---|
| DEXTrades | EVM, Solana | DWD | Per-trade DEX swap events |
| DEXTradeByTokens | EVM, Solana | DWD | DEX trades indexed by token (buy/sell side) |
| Transfers | EVM, Solana | DWD | Token transfer events |
| BalanceUpdates | EVM, Solana | DWD | Wallet balance change events |
| DEXPoolEvents | EVM, Solana | DWD | Liquidity add/remove events |
| TokenSupplyUpdates | EVM, Solana | DWD | Token mint/burn events |
| Blocks | EVM, Solana | DWD | Block-level data |
| Transactions | EVM, Solana | DWD | Transaction-level data |
| TransactionBalances | EVM, Solana | DWD | Per-transaction balance changes |
| Instructions | Solana | DWD | Solana instruction data |
| InstructionBalanceUpdates | Solana | DWD | Instruction-level balance changes |
| Rewards | Solana | DWD | Validator/staking rewards |
| DEXOrders | Solana | DWD | DEX order events (limit orders) |
| Events | EVM | DWD | Smart contract event logs |
| Calls | EVM | DWD | Internal call traces |
| MinerRewards | EVM | DWD | Miner/validator rewards |
| DEXPoolSlippages | EVM | DWD | Pool slippage data |
| Uncles | EVM | DWD | Uncle block data |
| Pairs | Trading | DWM | OHLC candlestick data (cross-chain) |
| Tokens | Trading | DWM | Per-token trade statistics (cross-chain) |
| DEXPools | EVM, Solana | DWS | Pool snapshots with current reserves |
| TokenHolders | EVM, Solana | DWS | Token holder balances |
| WalletTokenPnL | EVM, Solana | DWS | Per wallet-token PnL |
| PredictionTrades | EVM (Polygon) | DWD | Prediction market trades |
| PredictionManagements | EVM (Polygon) | DWD | Prediction market management events |
| PredictionSettlements | EVM (Polygon) | DWD | Prediction market settlements |
EVM + Solana Shared Cubes
These Cubes are available in both the EVM and Solana Chain Groups.DEXTrades
DEXTrades
Table: Use cases: Trade history, wallet trade analysis, DEX volume breakdown, large trade detection.
{chain}_dex_trades
Default limit: 25 (max 10,000)
Default filter: IsSuspect = false (bot/MEV trades excluded by default)
Selectors: tokenAddress, walletAddress, poolAddress, dexProgram, date
Metrics: count, sum, avg, min, max, uniqKey Fields:DEXTradeByTokens
DEXTradeByTokens
Table: Use cases: Per-token trade queries (both buy and sell sides), token volume analytics, efficient single-token filtering.
{chain}_dex_trades_enriched (UNION subquery — one row per trade side)
Selectors: tokenAddress, sideType, poolAddress, dexProgram, date
Metrics: count, sum, avg, min, max, uniqKey Fields:Transfers
Transfers
Table: Use cases: Wallet transfer history, whale monitoring, exchange deposit/withdrawal tracking.
{chain}_transfers
Selectors: tokenAddress, senderAddress, receiverAddress, date
Metrics: count, sum, avg, uniqKey Fields:BalanceUpdates
BalanceUpdates
Table: Use cases: Balance change tracking, position monitoring, accumulation/distribution detection.
{chain}_balance_updates
Selectors: ownerAddress, tokenAddress, date
Metrics: count, sum, avg, min, max, uniqKey Fields:DEXPoolEvents
DEXPoolEvents
Table: Use cases: Liquidity add/remove monitoring, pool TVL tracking, new pool detection.
{chain}_dex_pool_events_enriched
Selectors: poolAddress, tokenAddress, date
Metrics: count, sum, avg, maxKey Fields:TokenSupplyUpdates
TokenSupplyUpdates
Table: Use cases: Mint/burn event tracking, supply change alerts, market cap history.
{chain}_token_supplies
Selectors: tokenAddressKey Fields:Blocks
Blocks
Table: Use cases: Block production monitoring, gas analysis (EVM), slot tracking (Solana).
{chain}_blocks
Selectors: date
Metrics: count, sum, avg, min, maxKey Fields:Transactions
Transactions
Table: Use cases: Transaction lookup, gas/fee analysis, activity monitoring.
{chain}_transactions
Selectors: date, txHash/txSignature, fromAddress, toAddress, feePayer, signer
Metrics: count, sum, avg, min, maxKey Fields:TransactionBalances
TransactionBalances
Table: Use cases: Per-transaction balance impact analysis, token flow tracing.
{chain}_transaction_balances
Selectors: date, address, currency
Metrics: count, sum, avg, min, maxKey Fields:This Cube does not support
dataset switching (no _realtime / _archive table variants).Solana-Only Cubes
These Cubes are only available in the Solana Chain Group.Instructions
Instructions
Table: Use cases: Program interaction analysis, instruction-level debugging, protocol usage tracking.
sol_instructions_enriched
Selectors: date, programId, txSignature
Metrics: count, uniqKey Fields:InstructionBalanceUpdates
InstructionBalanceUpdates
Table: Use cases: Instruction-level balance impact analysis, program fee tracking.
sol_balance_updates_enriched
Selectors: date, tokenAddress, ownerAddress, programId
Metrics: count, sum, avg, min, max, uniqKey Fields:This Cube does not support
dataset switching.Rewards
Rewards
Table: Use cases: Staking reward tracking, validator performance, reward history.
sol_rewards
Selectors: date, address
Metrics: count, sum, avgKey Fields:DEXOrders
DEXOrders
Table: Use cases: Order book analysis, limit order tracking, market microstructure research.
sol_dex_orders
Selectors: date, marketAddress, orderType, ownerAddress
Metrics: count, sum, avg, uniqKey Fields:EVM-Only Cubes
These Cubes are only available in the EVM Chain Group (eth, bsc, polygon).
Events
Events
Table: Use cases: Smart contract event monitoring, protocol activity tracking, custom event filtering.
{chain}_logs_enriched
Selectors: date, contractAddress, txHash, topic0
Metrics: count, uniqKey Fields:Calls
Calls
Table: Use cases: Internal transaction tracing, contract interaction analysis, MEV detection.
{chain}_traces_enriched
Selectors: date, txHash, toAddress
Metrics: count, sum, uniqKey Fields:MinerRewards
MinerRewards
Table: Use cases: Validator/miner reward analysis, block reward trends, MEV revenue tracking.
{chain}_miner_rewards
Selectors: date, miner
Metrics: count, sum, avg, min, maxKey Fields:DEXPoolSlippages
DEXPoolSlippages
Table: Use cases: Slippage monitoring, pool depth analysis, execution quality assessment.
{chain}_dex_pool_slippages
Selectors: date, poolAddress
Metrics: count, avg, min, maxKey Fields:Uncles
Uncles
Table: Use cases: Uncle block analysis, network health monitoring (primarily Ethereum PoW historical data).
{chain}_uncles
Selectors: date, miner
Metrics: countKey Fields:Trading Cubes (Cross-chain)
These Cubes are in the Trading Chain Group. They aggregate data across all supported chains (sol, eth, bsc) and include a chain dimension for filtering.
Pairs (OHLC)
Pairs (OHLC)
Table: Materialized views across chains (Use cases: Candlestick charts, price history, volume analysis, cross-chain price comparison.
{chain}_ohlc_mv)
Selectors: tokenAddress, chain, date
Metrics: count, sum, avg, min, maxKey Fields:Tokens (Trade Statistics)
Tokens (Trade Statistics)
Table: Materialized views across chains (Use cases: Buy/sell pressure analysis, unique trader counts, volume trends, cross-chain token comparison.
{chain}_token_trade_stats_mv)
Selectors: tokenAddress, chain, date
Metrics: count, sum, avg, min, maxKey Fields:Summary Cubes (DWS)
Summary Cubes provide highly aggregated, snapshot-style data for quick lookups.DEXPools (Snapshot)
DEXPools (Snapshot)
Table: Use cases: Pool discovery, current liquidity rankings, pool metadata lookup.
{chain}_dex_pools (DWS layer)
Selectors: poolAddress, tokenA, tokenB
Metrics: countKey Fields:This Cube does not support
dataset switching or time-based filtering. It represents the latest snapshot of pool state.TokenHolders
TokenHolders
Table: Use cases: Top holders list, holder distribution, whale tracking.
{chain}_token_holders
Selectors: tokenAddressKey Fields:This Cube does not support
dataset switching.WalletTokenPnL
WalletTokenPnL
Table: Use cases: Wallet PnL per token, trading performance leaderboards, portfolio analysis.
{chain}_wallet_token_pnl
Selectors: walletAddressKey Fields:This Cube does not support
dataset switching.Prediction Market Cubes
These Cubes are available in the EVM Chain Group, primarily used on Polygon for prediction market protocols.PredictionTrades
PredictionTrades
Table: Use cases: Prediction market trade history, outcome pricing, marketplace volume.
{chain}_prediction_trades
Selectors: date, conditionId, questionId, marketplace
Metrics: count, sum, avg, min, max, uniqKey Fields:Prediction Market Cubes do not support
dataset switching.PredictionManagements
PredictionManagements
Table: Use cases: Market creation/resolution tracking, condition management events.
{chain}_prediction_managements
Selectors: date, eventType, conditionId, questionId
Metrics: count, sum, avg, min, max, uniqKey Fields:PredictionSettlements
PredictionSettlements
Table: Use cases: Settlement tracking, payout analysis, position redemption monitoring.
{chain}_prediction_settlements
Selectors: date, eventType, conditionId, holder
Metrics: count, sum, avg, min, max, uniqKey Fields:Choosing the Right Cube
| Need | Recommended Cube | Layer |
|---|---|---|
| Individual trade events | DEXTrades | DWD |
| Per-token trade queries | DEXTradeByTokens | DWD |
| Token transfer history | Transfers | DWD |
| Candlestick / price charts | Pairs | DWM |
| Trade volume over time | Tokens | DWM |
| Current top holders | TokenHolders | DWS |
| Wallet PnL breakdown | WalletTokenPnL | DWS |
| Pool current state | DEXPools | DWS |
| Liquidity events | DEXPoolEvents | DWD |
| Smart contract events (EVM) | Events | DWD |
| Internal traces (EVM) | Calls | DWD |
| Solana instructions | Instructions | DWD |
| Prediction market trades | PredictionTrades | DWD |
Dataset Compatibility
Not all Cubes support thedataset parameter (realtime/archive/combined). The following Cubes always query the full table regardless of the dataset value:
TokenHolders,WalletTokenPnL,DEXPools(DWS layer — always latest snapshot)TransactionBalancesPredictionTrades,PredictionManagements,PredictionSettlements
Next Steps
Chain Groups
Understand the EVM, Solana, and Trading Chain Groups.
Filtering
Learn to filter with
where and selector shortcuts.Metrics & Aggregation
Aggregate data with count, sum, avg, min, max, uniq.

