Do you have any suggestions on how I could query the blockchain via web3 or something so that I can get a list of deployed contracts?


1 Answer 1


For a list of deployed contracts, one way is to get all transaction receipts and print the contractAddress.

For a list of all contracts, since contracts can create contracts, you would need to execute the EVM bytecode of every transaction to see what contracts are created by a transaction, similar to How to get contract internal transactions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.