# Function arguments in ERC20 transactions

**URL:** <https://community.bitquery.io/t/function-arguments-in-erc20-transactions/791>\
**Category:** GraphQL API\
**Tags:** closed\
**Created:** [January 6, 2022, 11:19am UTC](https://community.bitquery.io/t/function-arguments-in-erc20-transactions/791 "2022-01-06T11:19:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![merkleclimber](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merkleclimber](https://community.bitquery.io/u/merkleclimber)\
**Post date:** [January 6, 2022, 11:19am UTC](https://community.bitquery.io/t/function-arguments-in-erc20-transactions/791/1 "2022-01-06T11:19:52Z")

</div>

Is it possible to query the arguments used in ERC20 transactions? For example, in the Cryptopunks contract, is there a way to query the punkIndex value associated with a transfer event? [CryptoPunks: Ͼ Token | Address 0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb | Etherscan](https://etherscan.io/address/0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb#code)

---

<div class="post-metadata">

**Author:** ![merkleclimber](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merkleclimber](https://community.bitquery.io/u/merkleclimber)\
**Post date:** [January 7, 2022, 6:33am UTC](https://community.bitquery.io/t/function-arguments-in-erc20-transactions/791/2 "2022-01-07T06:33:08Z")

</div>

I think I worked out how to do this:

any(of: argument\_value, argument: {is: “punkIndex”})

---

<div class="post-metadata">

**Author:** ![alpdoga](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@alpdoga](https://community.bitquery.io/u/alpdoga)\
**Post date:** [March 12, 2022, 10:23am UTC](https://community.bitquery.io/t/function-arguments-in-erc20-transactions/791/3 "2022-03-12T10:23:01Z")

</div>

Could you share the whole code or some more lines? Got a similar issue here: [Counting specific transactin data in specific smart contract method call - GraphQL API - Bitquery](https://community.bitquery.io/t/counting-specific-transactin-data-in-specific-smart-contract-method-call/901)
