I want to find similar method hashes, either from contract bytecode or transaction hashes (which in theory are the same because the contract bytecode comes from a contract creation transaction)

I have an archive node with all states. Is there a library with GUI and API and Command line access that lets me do these kinds of queries?

I would prefer to do everything offline, but an online service that uses their own database can be considered too

  • might be easier for me to make my own parsing script.... just hoping something more refined existed already
    – CQM
    Commented Aug 15, 2021 at 17:21
  • if you just need method signatures and transaction hashes then you don't need archival node, simple full node will be enough. Just scan all transactions and the first 4 bytes of the tx.Data() is the method signature, the transaction hash is also there
    – Nulik
    Commented Aug 15, 2021 at 18:32
  • @Nulik do you know of a service that will parse and maintain a database for me? or efficiently query the one I already have?
    – CQM
    Commented Aug 16, 2021 at 16:11
  • Dune Analytics ////
    – Nulik
    Commented Aug 16, 2021 at 19:22
  • 1
    I dont use Dune Analytics but I know they are collecting data from traces, so they have all the inputs of all contracts, even between calls (i.e. internal transactions) , so maybe you couldn't find it or maybe this is only for paid members, but they do have it
    – Nulik
    Commented Aug 17, 2021 at 20:59


Your Answer

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