# How to query a specific currency address that created a pair

**URL:** <https://community.bitquery.io/t/how-to-query-a-specific-currency-address-that-created-a-pair/635>\
**Category:** GraphQL API\
**Created:** [November 16, 2021, 11:43am UTC](https://community.bitquery.io/t/how-to-query-a-specific-currency-address-that-created-a-pair/635 "2021-11-16T11:43:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![benmcd555](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@benmcd555](https://community.bitquery.io/u/benmcd555)\
**Post date:** [November 16, 2021, 11:43am UTC](https://community.bitquery.io/t/how-to-query-a-specific-currency-address-that-created-a-pair/635/1 "2021-11-16T11:43:12Z")

</div>

How would I specify USDC(“0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48”) as token0 or token 1 for this query? Thanks.  
{  
ethereum {  
arguments(  
smartContractAddress: {is: “0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f”}  
smartContractEvent: {is: “PairCreated”}  
options: {desc: “block.height”, limit: 3}  
) {  
block {  
height  
}  
argument {  
name  
}  
reference {  
address  
}  
}  
}  
}

Result:  
{  
“ethereum”: {  
“arguments”: [  
{  
“block”: {  
“height”: 13626329  
},  
“argument”: {  
“name”: “token1”  
},  
“reference”: {  
“address”: “0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2”  
}  
},  
{  
“block”: {  
“height”: 13626329  
},  
“argument”: {  
“name”: “token0”  
},  
“reference”: {  
“address”: “0x0d0f25ea5f1abce4f059e9cfd9d63b60ede4c442”  
}  
},  
{  
“block”: {  
“height”: 13626329  
},  
“argument”: {  
“name”: “pair”  
},  
“reference”: {  
“address”: “0x7de5927fd27149cbb700ac5f882bd6c452b638cd”  
}  
}  
]  
}  
}

---

<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:** [November 17, 2021, 4:59pm UTC](https://community.bitquery.io/t/how-to-query-a-specific-currency-address-that-created-a-pair/635/2 "2021-11-17T16:59:38Z")

</div>

Use query like this

> **[Latest Pair Created on Pancake Swap](https://graphql.bitquery.io/ide/oeYAFo44DB)**
>
> Latest Pair Created on Pancake Swap
