Query editor
with fids_to_exclude AS (SELECT DISTINCTJSON_VALUE(claim, 'lax $.address') AS verified_addressesFROM dune.neynar.dataset_farcaster_verificationsWHERE fid in (select fid from dune."0xdivd".dataset_noice_exclude_fids)AND JSON_VALUE(claim, 'lax $.address') IS NOT NULL), tips as(SELECT'base' as chain,contract_address,evt_tx_hash,evt_block_time,"from","to",value,evt_indexFROM erc20_base.evt_transfer whereevt_tx_from = 0x77130AbfCC6E99AEb8c72fA4A1bF1c71c8821FB5AND lower(cast("from" as varchar)) not in (select lower(cast(verified_addresses as varchar)) from fids_to_exclude)AND lower(cast("to" as varchar)) not in (select lower(cast(verified_addresses as varchar)) from fids_to_exclude)union allSELECT'arbitrum' as chain,contract_address,evt_tx_hash,evt_block_time,"from","to",value,evt_indexFROM erc20_arbitrum.evt_transfer whereevt_tx_from = 0x77130AbfCC6E99AEb8c72fA4A1bF1c71c8821FB5AND lower(cast("from" as varchar)) not in (select lower(cast(verified_addresses as varchar)) from fids_to_exclude)AND lower(cast("to" as varchar)) not in (select lower(cast(verified_addresses as varchar)) from fids_to_exclude)), data as(SELECTtips.chain,tips.contract_address,tips.evt_tx_hash,tips.evt_block_time,tips."from",tips."to",tips.value,tips.evt_index,hour.symbol,hour.price,hour.decimals,tips.value/POWER(10, hour.decimals) as normalized_value,tips.value/POWER(10, hour.decimals) * hour.price as usd_valuefrom tipsleft join prices.houron blockchain = tips.chainand hour.contract_address = tips.contract_addressand date_trunc('hour', hour.timestamp) = date_trunc('hour', tips.evt_block_time))selectdate_trunc('day', evt_block_time) as day,case when "from" = 0x8b3fb033e21d3b644d0c315956d41e0227bab86a then 'noiceapp' else 'other' end as tipper_label,