# Graphql Query Liquidity Pairs

**URL:** <https://community.bitquery.io/t/graphql-query-liquidity-pairs/669>\
**Category:** GraphQL API\
**Tags:** graphql-ide\
**Created:** [November 24, 2021, 8:56pm UTC](https://community.bitquery.io/t/graphql-query-liquidity-pairs/669 "2021-11-24T20:56:59Z")\
**Posts on this page:** 3\
**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 24, 2021, 8:56pm UTC](https://community.bitquery.io/t/graphql-query-liquidity-pairs/669/1 "2021-11-24T20:56:59Z")

</div>

Hi. Is there something wrong with this query?. I am trying to distinguish between mint events between two different pairs. But it is only showing mint events for the first pair listed in the query. Thanks

Query:

query MyQuery {  
ethereum {  
smartContractEvents(  
smartContractAddress: {in: [“0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc”, “0x6C3e4cb2E96B01F4b866965A91ed4437839A121a”]}  
smartContractEvent: {is: “Mint”}  
options: {limit: 1000, desc: “block.height”}  
) {  
block {  
height  
}  
arguments {  
value  
argument  
}  
smartContract {  
currency {  
symbol  
}  
address {  
address  
}  
}  
}  
}  
}

Result:

{  
“ethereum”: {  
“smartContractEvents”: [  
{  
“block”: {  
“height”: 13677978  
},  
“arguments”: [  
{  
“value”: “0x7a250d5630b4cf539739df2c5dacb4c659f2488d”,  
“argument”: “sender”  
},  
{  
“value”: “63131278135”,  
“argument”: “amount0”  
},  
{  
“value”: “14999999999986070848”,  
“argument”: “amount1”  
}  
],  
“smartContract”: {  
“currency”: {  
“symbol”: “UNI-V2”  
},  
“address”: {  
“address”: “0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc”  
}  
}  
},

---

<div class="post-metadata">

**Author:** ![aman](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aman](https://community.bitquery.io/u/aman)\
**Post date:** [November 25, 2021, 6:54am UTC](https://community.bitquery.io/t/graphql-query-liquidity-pairs/669/2 "2021-11-25T06:54:19Z")

</div>

How are you comparing it?

---

<div class="post-metadata">

**Author:** ![benmcd55](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@benmcd55](https://community.bitquery.io/u/benmcd55)\
**Post date:** [November 25, 2021, 10:28am UTC](https://community.bitquery.io/t/graphql-query-liquidity-pairs/669/3 "2021-11-25T10:28:44Z")

</div>

The address below the Uniswap V2 only shows the first pair address in the list for all search results. But I am not sure if this is because I cant have pair address stated for the individual mint events. So might just be printing it. When I run the other address it only shows that address pair in the subsequent mint events
