Query editor
WITHcasino_bets_view as (SELECT'PvH' as category,CASEWHEN chain = 'avalanche_c' THEN 'Avalanche'WHEN chain = 'polygon' THEN 'Polygon'WHEN chain = 'arbitrum' THEN 'Arbitrum'WHEN chain = 'base' THEN 'Base'WHEN chain = 'bnb' THEN 'BNB Chain'END as blockchain,evt_block_time,game,receiver as user,token,totalBetAmount as amount,payout,evt_tx_hashFROM(SELECT'Coin Toss' as game,chain,evt_block_time,receiver,token,totalBetAmount,payout,evt_tx_hashFROMbetswirl_multichain.cointoss_v6_evt_rollUNION ALLSELECT'Dice' as game,chain,evt_block_time,receiver,token,totalBetAmount,payout,evt_tx_hashFROMbetswirl_multichain.dice_v6_evt_rollUNION ALLSELECT'Roulette' as game,chain,evt_block_time,receiver,token,totalBetAmount,payout,evt_tx_hashFROMbetswirl_multichain.roulette_v4_evt_rollUNION ALLSELECT'Keno' as game,chain,evt_block_time,