StablePools EVM

Returns 50 DEX pool events on Ethereum, where currency a symbol is USDT, USDC or 5 more, currency b symbol is USDT, USDC or 5 more and block time after 2026-01-13, sorted by liquidity score, highest first: smart contract, currency a symbol, currency a name, currency b name, currency b symbol, pool ID, protocol family and 9 more fields.

By Nadia · saved 15 January 2026 · Bitquery API v2

What it returns

Filters

The query

query StablePools($network: evm_network!, $time_ago: DateTime!) {
  EVM(network: $network) {
    DEXPoolEvents(
      where: {
        Block: {Time: {after: $time_ago}}
        PoolEvent: {
          Liquidity: {
            AmountCurrencyA: {gt: 500000}  
            AmountCurrencyB: {gt: 500000}
          }
   
          Pool: {
            CurrencyA: {
              Symbol: {
                in: ["USDT", "USDC", "DAI", "WETH", "ETH", "WBTC", "BTC"]
              }
            }
            CurrencyB: {
              Symbol: {
                in: ["USDT", "USDC", "DAI", "WETH", "ETH", "WBTC", "BTC"]
              }
            }
          }
        }
      }
      limitBy: {by: PoolEvent_Pool_SmartContract, count: 1}
      limit: {count: 50}
      orderBy: {descendingByField: "liquidityScore"} 
    ) {
      PoolEvent {
        Pool {
          CurrencyA {
            SmartContract
            Symbol
            Name
          }
          CurrencyB {
            Name
            SmartContract
            Symbol
          }
          SmartContract
          PoolId
        }
        Dex {
          ProtocolFamily
          ProtocolName
        }
        AtoBPrice
        BtoAPrice
      }
      count
      totalVolumeA: sum(of: PoolEvent_Liquidity_AmountCurrencyA)
      totalVolumeB: sum(of: PoolEvent_Liquidity_AmountCurrencyB)
      avgPriceAtoB: average(of: PoolEvent_AtoBPrice)
      avgPriceBtoA: average(of: PoolEvent_BtoAPrice)
      
     
      liquidityScore: calculate(expression: "$totalVolumeA * $totalVolumeB / 1000000")
      priceStability: calculate(expression: "100 - abs($avgPriceAtoB - $avgPriceBtoA) / $avgPriceAtoB * 100")
    }
  }
}

Variables

{
  "network": "eth",
  "time_ago": "2026-01-13T13:53:31Z"
}

Similar queries