Query editor
with ARB as (SELECT evt_block_time, evt_tx_hash, to, cast(value AS DOUBLE) AS quantityFROM erc20_arbitrum.evt_TransferWHERE evt_tx_hash in (SELECT hash FROM (SELECT hashFROM arbitrum.transactionsWHERE "from" = 0x59277a3C6A483B49B101271263C226d1167f62Bcand contract_address = 0x912CE59144191C1204E64559FE8253a0e49E6548and evt_block_time > CAST('2023-11-16 00:00' AS timestamp))))select CONCAT('<a target="_blank" href="https://arbiscan.io/address/', cast(to as varchar),'">', cast(to as varchar),'</a>') as to, token, round(sum(quantity / POW(10, decimals)), 3) as rewards, count(*) as claimsfrom (select *, 'ARB' as token, 18 as decimals from ARB)group by to, tokenorder by rewards desc