Dataset Viewer
Auto-converted to Parquet
Search is not available for this dataset
image
imagewidth (px)
7.2k
7.2k

All ethereum contracts

This dataset contains all deployed Ethereum contracts as of block 21850000 (February 15th, 2025), bytecodes of the contracts, and the block numbers the contracts were deployed.

Contract bytecodes are stored as a hash of the bytecode, and another dataset is provided mapping bytecode hashes to bytecodes. This is to reduce the size of the dataset, as many contracts have identical bytecodes.

This dataset was exported from a PostgreSQL database into CSV format.

Methodology

Check out this blog post for details: https://www.zellic.io/blog/all-ethereum-contracts

Statistics as of block 21850000 (February 15th, 2025)

Total number of contracts: 69,788,231

Total number of unique bytecodes: 1,539,859

See more statistics and graphs in More Statistics.

Preview

Excerpt of the dataset (after unzipping) for preview purposes:

contracts.csv

address,bytecode_hash,blocknum
0x9F52DE2862FDdE9dC6D452FcB9B9b61210D8c8B3,0x1a043f72e26782d3c692af3e198be9666c4f28cbb99844f2b3133c5bec4441c1,1249878
0x589ea787b46dA08eC8fC081678335C5d0081010e,0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470,48162
0x273cd8B059C15470f72EF3032b6a1f8476A39987,0x4092c8a5fb6487e931a5679ab058788c99bdb84fb49fdbf8cd5dc131e8a2f19f,2335448
...

bytecodes.csv

bytecode_hash,bytecode
0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470,
0xcbcc4dcc34eab84294bba89e2aed43f5fc3da084f792e8facfd5d0025cfa3a68,\x60606040526000357c0100000000000000000000000000000000000000000000000000000000900480630f59f83a1461003957610037565b005b6100446004506100b2565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156100a45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6020604051908101604052806000815260200150604060405190810160405280600381526020017f65746800000000000000000000000000000000000000000000000000000000008152602001509050610107565b9056
0x5972ffc0214427735e7745a766b85395f83f5073a7adeb2a7a2ac0f9f0ea520a,\x60606040526000357c010000000000000000000000000000000000000000000000000000000090048063b19eaf1e146037576035565b005b6046600480359060200150605c565b6040518082815260200191505060405180910390f35b60006000600290505b82818202111515608d57600081840614156080578091506094565b5b80806001019150506065565b8291506094565b5091905056
...

Note that in the above preview, the first entry in bytecodes.csv is the hash when the bytecode is empty.

More statistics

We also recorded the EOA and contract deployer (if applicable) for each contract, and if the contract self-destructed, which block number it self destructed in. Read more about it here. TODO link to deploymentscan blog

This data is omitted from the dataset provided as it has little use other than for statistics, and would significantly increase the size of the dataset to download.

Contracts deployed daily

drawing

Contracts deployed monthly

drawing

Total Contracts deployed over time

drawing

Unique bytecodes deployed daily

drawing

Unique bytecodes deployed monthly

drawing

Total Unique bytecodes deployed over time

drawing

Daily self-destructs vs deployments

drawing

Monthly self-destructs vs deployments

drawing

Total self-destructs vs deployments

drawing
Downloads last month
469