For a given token, fetch all of it's liquidity pool

Hello,

I am new to Bitquery, nice to meet all people here.

Is it possible to fetch all the liquidity pool of a given token? On BSC.

Thanks a lot

I just checked this post, answered already :slight_smile:

For this liquidity contract :

How could I get the “reserve0” and “reserve1” value ?

Thanks a lot

This query should work, but because of some bug it’s not working, i have raised it with devs…

{
  ethereum(network: bsc) {
    address(address: {is: "0x7546e47074a7d4e82ca3240bcae9968ab633c7a8"}) {
      annotation
      address
      smartContract {
        attributes {
          name
          value
        }
        contractType
        currency {
          symbol
          name
          decimals
          tokenType
        }
      }
    }
  }
}

This issue is selected for development …

1 Like

This is fixed…

1 Like