# Getting index of argument values for a specified event

**URL:** <https://community.bitquery.io/t/getting-index-of-argument-values-for-a-specified-event/184>\
**Category:** GraphQL API\
**Tags:** feature\
**Created:** [June 16, 2021, 5:25am UTC](https://community.bitquery.io/t/getting-index-of-argument-values-for-a-specified-event/184 "2021-06-16T05:25:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiron](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/chiron/32/51_2.png) [@chiron](https://community.bitquery.io/u/chiron)\
**Post date:** [June 16, 2021, 5:25am UTC](https://community.bitquery.io/t/getting-index-of-argument-values-for-a-specified-event/184/1 "2021-06-16T05:25:22Z")

</div>

hi guys, your suggestion for getting index of arguments from an specified event, doesn’t work when using cube “smartContractEvents”  
i.e.  
index  
any(of: argument\_value, argument: {is: “arg1”})  
any(of: argument\_value, argument: {is: “arg2”})

What is the equivalent for smartContractEvents cube?

---

<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:** [June 16, 2021, 11:12am UTC](https://community.bitquery.io/t/getting-index-of-argument-values-for-a-specified-event/184/2 "2021-06-16T11:12:31Z")

</div>

> [@chiron](#):
>
> any(of: argument\_value, argument: {is: “arg1”})  
> any(of: argument\_value, argument: {is: “arg2”})

You can’t use this in the SmartContractEvents for now.
