Query editor
WITH transfers AS (SELECTSUBSTRING(CAST(date_trunc('month', evt_block_time) as varchar(50)), 1, 7) as month,(value/1e+18) AS value,"from" AS wallet,evt_tx_hashFROMerc20_polygon.evt_TransferWHEREto = 0x9a818e78991df787bd706f228c9e99cf81e10cffAND evt_tx_hash != 0xee0221f1a9f0fcf2b0683841a1264455c79912e5ecfc03088163fe69c9029000)SELECTmonth,COUNT(DISTINCT wallet) as num_users,sum(value) AS token_spend,COUNT(evt_tx_hash) AS num_transactionsFROM transfersGROUP BY monthORDER BY month;