I want to search for Function Name, such as is bloxy.info, but for bitquery graphql

Hello

So there is great tool - initialize function

I want to find all smart contracts, that use this function -
Found in 497 Smart contract(s) code

Is it possible to do it?

Thank you

Try this.

thank you very much for help

but where i can write functions that i need, please can you help me with my example
https://bloxy.info/functions/8129fc1c

thank you

I have used your example, it’s our GraphQL APIs.

Using it, I am getting initaialize function, however I added limit 10, you can extend that based on your need.


{
  ethereum(network: ethereum){
      smartContractCalls(smartContractMethod: {is:"initialize"},
      options: {limitBy: {each: "smartContract.address.address", limit: 1}, limit: 10, offset:0}){
        smartContract{
          address{
            address
          }
        }
      }
  }
}

thank you very much for your help

i have one more question

can i change query to next examples - i need to seach with Function Arguments - is it possible with bitquery?

so i have
initialize(address _founder,address _bounty )
initialize(address eos )
initialize( ) - this is without arguments

please, you helped me, but can you change query to query with parameters or it is impossible?

thank you

sorry, i suddenly deleted me message, i restored it, but i can’t understand can you see it, so i write again - you helped me lot, now i undertand it, but i have more questions

thank you very much for your help

i have one more question

can i change query to next examples - i need to seach with Function Arguments - is it possible with bitquery?

so i have
initialize(address _founder,address _bounty )
initialize(address eos )
initialize( ) - this is without arguments

please, you helped me, but can you change query to query with parameters or it is impossible?

thank you

Yes, use the whole signature in the above query.

{
  ethereum(network: ethereum) {
    smartContractCalls(
      smartContractMethod: {is: "initialize(address)"}
      options: {limitBy: {each: "smartContract.address.address", limit: 1}, limit: 10, offset: 0}
    ) {
      smartContract {
        address {
          address
        }
      }
    }
  }
}