Query editor
WITHDailyUniqueAddresses AS (SELECTDATE(tc.block_date) AS date,tx."from" as tx_fromFROMbnb.traces tcJOIN bnb.transactions tx ON tc.tx_hash = tx.hashWHEREtc.to = 0x4D7E825f80bDf85e913E0DD2A2D54927e9dE1594AND tx.block_date <= (now() - interval '1' day)AND tx.successGROUP BYDATE(tc.block_date),tx."from"),CumulativeAddresses AS (SELECTa.date,COUNT(DISTINCT b.tx_from) AS cumulative_unique_addressesFROMDailyUniqueAddresses aJOIN DailyUniqueAddresses b ON a.date >= b.dateGROUP BYa.dateORDER BYa.date)SELECTa.date,COUNT(DISTINCT a.tx_from) AS daily_unique_addresses,b.cumulative_unique_addressesFROMDailyUniqueAddresses aJOIN CumulativeAddresses b ON a.date = b.dateGROUP BYa.date,b.cumulative_unique_addressesORDER BYa.date