Query editor
WITH tacusd_supply AS (selectdate_trunc ('day',block_time) as dt,SUM(CASE WHEN "from" = 0x0000000000000000000000000000000000000000 THEN amount ELSE 0 END) AS total_minted,SUM(CASE WHEN "to" = 0x0000000000000000000000000000000000000000 THEN amount ELSE 0 END) AS total_burned,SUM(CASE WHEN "from" = 0x0000000000000000000000000000000000000000 THEN amount ELSE 0 END) -SUM(CASE WHEN "to" = 0x0000000000000000000000000000000000000000 THEN amount ELSE 0 END) AS current_supplyFROM tokens.transfersWHERElower(symbol) = 'tacusd'AND lower(blockchain) = 'ethereum'AND contract_address = 0x699e04F98dE2Fc395a7dcBf36B48EC837A976490and date_trunc ('day',block_time) >= date '2025-03-30'group by 1)SELECT *FROM tacusd_supplyorder by dt desc