# Check Pair has Lock or not?

**URL:** <https://community.bitquery.io/t/check-pair-has-lock-or-not/560>\
**Category:** GraphQL API\
**Created:** [October 21, 2021, 5:56am UTC](https://community.bitquery.io/t/check-pair-has-lock-or-not/560 "2021-10-21T05:56:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandhya](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@sandhya](https://community.bitquery.io/u/sandhya)\
**Post date:** [October 21, 2021, 5:56am UTC](https://community.bitquery.io/t/check-pair-has-lock-or-not/560/1 "2021-10-21T05:56:59Z")

</div>

How can we check given pair(token Pair addresses) has lock or not ?  
For example : (BSC network)  
token 1: 0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82  
token 2: 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c  
are provided Pair of tokens,  
Need to check this pair has lock or not? (need to check with all the pools which are having given pair)  
help me with the query please…

---

<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:** [October 25, 2021, 2:03pm UTC](https://community.bitquery.io/t/check-pair-has-lock-or-not/560/2 "2021-10-25T14:03:24Z")

</div>

How to check it has a lock or not? You need to tell me then only I can provide how to get it programmatically
