Query editor
with tokens_evm as (selectdistinct contract_address,case when contract_address = 0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9 then 6when contract_address = 0x1622bf67e6e5747b81866fe0b85178a93c7f86e3 then 9 else 18 end as decimals,'Arbitrum' as chainfrom erc20_arbitrum.evt_Transferwhere "to" = 0xb24391C7CBbfA1d25a401C7c11DE00E48fe474a1------------------------------------------------------------------------- to exclude arbitrum tokens, just paste the contract address here with a comma (",") before itand contract_address not in (0x6d038130b9b379a373b1d33a29d5904ed1bb9026, 0x80d591b768fc9f714f6e339b5954764d605b0468, 0x7ad0676d2ad89d4fc3bb89d2f23c02bda14d1792 /*, <contract_address>*/)--and contract_address not in (contract_address, contract_address)-----------------------------------------------------------------------union allselectdistinct contract_address,case when contract_address = 0xdac17f958d2ee523a2206206994597c13d831ec7 then 6when contract_address in (0xdf801468a808a32656d2ed2d2d80b72a129739f4, 0x738865301A9b7Dd80Dc3666dD48cF034ec42bdDa) then 8when contract_address in (0x76fca1adb104770b38581b64d55e67fa5a0f3966,0x89B69F2d1adffA9A253d40840B6Baa7fC903D697,0x824e35f7a75324f99300afac75ecf7354e17ea26,0xb551b43AF192965F74e3dfAA476C890B403caD95,0x6dD5F0038474dC29A0ADc6aD34d37B0Ba53E5435,0x8CCD897ca6160ED76755383B201C1948394328c7,0xb970e14df2161c0a2f32eba35901f2446581b482,0x08A1C30BBB26425c1031ee9E43FA0B9960742539) then 9 else 18 end as decimals,'Ethereum' as chainfrom erc20_ethereum.evt_Transferwhere "to" = 0x77bE6843Df1dE5B3505Fb1c19c1a6F96C8c2878F------------------------------------------------------------------------- to exclude ethereum tokens, just paste the contract address here with a comma (",") before itand contract_address not in (0x6e81b866a72075dccd935e01ef9325e63357b81d, 0x4b520c812e8430659fc9f12f6d0c39026c83588d /*, <contract_address>*/)-----------------------------------------------------------------------union allselectdistinct contract_address,18 as decimals,'Base' as chainfrom erc20_base.evt_Transferwhere "to" = 0x3F135Ba020d0ED288D8dd85cd3D600451B121013------------------------------------------------------------------------- to exclude base tokens, just paste the contract address here with a comma (",") before it--and contract_address not in (0x6e81b866a72075dccd935e01ef9325e63357b81d, 0x4b520c812e8430659fc9f12f6d0c39026c83588d /*, <contract_address>*/)-----------------------------------------------------------------------union allselect0x82af49447d8a07e3bd95bd0d56f35241523fbab1 as contract_address,18 as decimals,'Arbitrum' as chainunion allselect0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 as contract_address,18 as decimals,'Ethereum' as chainunion allselect