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

**URL:** <https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88>\
**Category:** GraphQL API\
**Tags:** closed\
**Created:** [May 27, 2021, 4:01pm UTC](https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88 "2021-05-27T16:01:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugenereznikdesign](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@eugenereznikdesign](https://community.bitquery.io/u/eugenereznikdesign)\
**Post date:** [May 27, 2021, 4:01pm UTC](https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88/1 "2021-05-27T16:01:52Z")

</div>

Hello

So there is great tool - [initialize function](https://bloxy.info/functions/8129fc1c)

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

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [May 27, 2021, 6:04pm UTC](https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88/2 "2021-05-27T18:04:48Z")

</div>

Try this.

> **[Functions used by smart contracts](https://graphql.bitquery.io/ide/9ngSDjynIM)**
>
> Functions used by smart contracts

---

<div class="post-metadata">

**Author:** ![eugenereznikdesign](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@eugenereznikdesign](https://community.bitquery.io/u/eugenereznikdesign)\
**Post date:** [May 27, 2021, 6:22pm UTC](https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88/3 "2021-05-27T18:22:58Z")

</div>

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](https://bloxy.info/functions/8129fc1c)

thank you

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [May 28, 2021, 7:01am UTC](https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88/4 "2021-05-28T07:01:41Z")

</div>

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.

```auto

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

```

---

<div class="post-metadata">

**Author:** ![eugenereznikdesign](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@eugenereznikdesign](https://community.bitquery.io/u/eugenereznikdesign)\
**Post date:** [May 28, 2021, 10:28am UTC](https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88/5 "2021-05-28T10:28:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![eugenereznikdesign](https://avatars.discourse-cdn.com/v4/letter/e/e19b73/32.png) [@eugenereznikdesign](https://community.bitquery.io/u/eugenereznikdesign)\
**Post date:** [May 28, 2021, 11:24am UTC](https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88/7 "2021-05-28T11:24:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gaurav](https://avatars.discourse-cdn.com/v4/letter/g/b487fb/32.png) [@gaurav](https://community.bitquery.io/u/gaurav)\
**Post date:** [May 29, 2021, 1:41pm UTC](https://community.bitquery.io/t/i-want-to-search-for-function-name-such-as-is-bloxy-info-but-for-bitquery-graphql/88/8 "2021-05-29T13:41:57Z")

</div>

Yes, use the whole signature in the above query.

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

```
