Query editor
-- 0G side: totals from the internal indexer ledger (0G is not natively on Dune), auto-synced daily.-- BNB side: live from bnb tables. Combined into a long format (metric, chain, value) for charting.WITH bnb AS (SELECT(SELECT count(DISTINCT t."from") FROM bnb.transactions tWHERE t.success AND t.block_time >= timestamp '2026-06-01'AND t."to" IN (0xa0987bdef2f2c6cc32c462ef3e1c67a8d094253b,0xe1345e13b3e3a11d2351dbf0e257f145f25e32ae,0x8004a169fb4a3325136eb29fa0ceb6d2e539a432,0xd4898a453a86708d7b3ba864d1b23bfbc9cb83cd,0xb73fc10bb70cd843ac319215faf0b9b9b107dd4a,0x61bb71442749d13a4bb7257dfbfff0452ae937f9)) AS wallets,(SELECT count_if(topic0=0xca52e62c367d81bb2e328eb795f7c7ba24afb478408a26c0e201d155c449bc4a AND contract_address=0x8004a169fb4a3325136eb29fa0ceb6d2e539a432)FROM bnb.logs WHERE block_time >= timestamp '2026-06-01') AS agents,(SELECT count(*) FROM bnb.transactions t WHERE t.success AND t.block_time >= timestamp '2026-06-01'AND t."to" IN (0xa0987bdef2f2c6cc32c462ef3e1c67a8d094253b,0xe1345e13b3e3a11d2351dbf0e257f145f25e32ae,0x8004a169fb4a3325136eb29fa0ceb6d2e539a432,0xd4898a453a86708d7b3ba864d1b23bfbc9cb83cd,0xb73fc10bb70cd843ac319215faf0b9b9b107dd4a,0x61bb71442749d13a4bb7257dfbfff0452ae937f9)) AS interactions),-- 0G all-time totals (internal indexer ledger, auto-synced 2026-08-02; wallets = distinct event actor)og AS (SELECT 3724057 AS wallets, 972175 AS agents, 14013628 AS interactions)SELECT 'Unique wallets' AS metric, bnb.wallets AS bnb, og.wallets AS og, bnb.wallets + og.wallets AS total FROM bnb, ogUNION ALL SELECT 'Agents', bnb.agents, og.agents, bnb.agents + og.agents FROM bnb, ogUNION ALL SELECT 'Interactions', bnb.interactions, og.interactions, bnb.interactions + og.interactions FROM bnb, og