About queries and results
Dune Analytics lets you explore, create, and share Ethereum analytics. You can find an endless amount of great queries and dashboards on Dune.
We have decoded Ethereum smart contract data so you can do powerful analysis with simple SQL queries and visualise the query results into beautiful graphs.
Dune Analytics is free for everyone forever. If you want extra features like private queries, export your results and more check out our Pro plan.
1WITH wallets AS ( 2 SELECT 3 block_time as creation_time, 4 block_number as creation_block_number, 5 address 6 from ethereum.traces 7 where "from" in ('\x95BEBe7bfc6aCc186C13D055D0Aacc2DE5f81502','\xb24d47364163f909e64cf2cf7788d22c51cea851', '\x85bb8a852c29d8f100cb97ecdf4589086d1be2dd', '\xE0731c1a30E6eD0c6E9162EB87Fc85e831caF382')-- Monolith deployers 8 and type = 'create' 9), 10peraddress as ( 11 SELECT address, sum(amount) / 1e18 as amount 12 FROM ( 13 SELECT "from" AS address, -value AS amount 14 FROM ethereum.traces 15 WHERE "from" IN (SELECT address FROM wallets) 16 AND tx_success = TRUE 17 AND (call_type NOT IN ('delegatecall', 'callcode', 'staticcall') OR call_type IS null) 18 and error is null -- to make the db use an index 19 UNION ALL 20 SELECT "to" AS address, value AS amount 21 FROM ethereum.traces 22 WHERE "to" IN (SELECT address FROM wallets ) 23 AND tx_success = TRUE 24 AND (call_type NOT IN ('delegatecall', 'callcode', 'staticcall') OR call_type IS null) 25 and error is null -- to make the db use an index...