Query editor
-- Decrypt Information Exchange — unified activity events-- product: Swaps | Private Balance | Perps | Predictions | Withdrawals (Money Account charge, not an IX product; shown for fees only)-- volume_usd (notional): swap notional for swaps, order notional for perps (query 9176115),-- contracts filled for predictions ($1 face value each, matching Myriad's notional volume definition; query 9216657).-- fee_usd: Decrypt's net fee, counted when earned. Perps: builder fee per order. Predictions: integrator fee (0 until Jupiter enables one).SELECTblock_date AS day,block_time,CASE event_type WHEN 'swap' THEN 'Swaps' WHEN 'private_balance_setup' THEN 'Private Balance' ELSE 'Withdrawals' END AS product,CASE event_type WHEN 'swap' THEN swap_channel WHEN 'private_balance_setup' THEN 'Account setup' ELSE 'Withdrawal charge' END AS action,wallet,tx_id,CASE WHEN event_type = 'swap' THEN notional_usd END AS volume_usd,fee_usd,is_internal,CAST(NULL AS varchar) AS marketFROM query_9176136UNION ALLSELECTblock_date,block_time,'Perps','Order (Phoenix)',trader,tx_id,notional_usd,builder_fee_usd,is_internal,marketFROM dune.ilanhz.result_decrypt_ix_perps_eventsUNION ALLSELECTblock_date,block_time,'Predictions',side || ' ' || outcome || ' (Jupiter)',wallet,tx_id,filled_contracts,decrypt_fee_usd,is_internal,market_idFROM dune.ilanhz.result_decrypt_ix_prediction_eventsORDER BY block_time DESC