Determine if pool has pool price

Returns one pair, where pool address is 0x46cf…a7c4 and time duration is 3600: source and updated at.

By Aleksey · saved 26 October 2026 · Bitquery API v2

What it returns

Filters

The query

query HasPoolPrice($pool: String!) {
  Trading {
    Pairs(
      limit: {count: 1}
      where: {
        Pool: {Address: {is: $pool}}
        Interval: {Time: {Duration: {eq: 3600}}}
        PoolPrice: {Source: {not: ""}}
      }
    ) {
      PoolPrice { Source UpdatedAt }
    }
  }
}

Variables

{
  "poolId": "",
  "quoteTokenID": "bid:bsc:0x55d398326f99059ff775485246999027b3197955",
  "tokenID": "bid:bsc:0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c",
  "pool": "0x46cf1cf8c69595804ba91dfdd8d6b960c9b0a7c4",
  "resolution": 60
}

Similar queries