Query editor
SELECT t.blockchain chain, t.contract_address tok, t.block_date d,sum(CASE WHEN t."from" = 0x0000000000000000000000000000000000000000 OR t."from" IS NULL THEN t.amount ELSE 0 END) - sum(CASE WHEN t."to" = 0x0000000000000000000000000000000000000000 OR t."to" IS NULL THEN t.amount ELSE 0 END) net_issue,count(*) nFROM tokens.transfers tWHERE t.blockchain = 'gnosis' AND t.contract_address IN (0x6c76971f98945ae98dd7d4dfca8711ebea946ea6) AND t.block_date >= DATE '2023-01-01' AND t.block_date < DATE '2026-11-25'AND (t."from" = 0x0000000000000000000000000000000000000000 OR t."to" = 0x0000000000000000000000000000000000000000 OR t."from" IS NULL OR t."to" IS NULL)GROUP BY 1, 2, 3