0x99dfb1685a84679bcee2d4d26ea8700a19871f817fa6796b4e4222c903eecd37

Returns DEX pool events, where pool pool ID is 0x99df…cd37, currency a smart contract is 0x8f66…6060 and DEX protocol name is uniswap_v4: ato b price, bto a price, ato b price in USD, bto a price in USD, amount currency a, amount currency b, amount currency a in USD and 8 more fields.

By gaurav · saved 8 May 2026 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM {
    DEXPoolEvents(
      orderBy: {
        
        descending: [Block_Time, Transaction_Index, Call_Index, Log_Index]}
      limitBy: {count: 1, by: PoolEvent_Pool_PoolId}
      where: {PoolEvent: {Dex: {ProtocolName: {is: "uniswap_v4"}},
        Pool: {
          PoolId:{is:"0x99dfb1685a84679bcee2d4d26ea8700a19871f817fa6796b4e4222c903eecd37"}
          CurrencyA: {SmartContract: {is: "0x8f66337a0c2a02202fd91dd596c411cf977c6060"}}}}}
    ) {
      PoolEvent {
        AtoBPrice
        BtoAPrice
        AtoBPriceInUSD
        BtoAPriceInUSD
        Liquidity {
          AmountCurrencyA
          AmountCurrencyB
          AmountCurrencyAInUSD
          AmountCurrencyBInUSD
        }
        Pool {
          CurrencyA {
            Decimals
            Name
            Symbol
            SmartContract
          }
          CurrencyB {
            Decimals
            Name
            SmartContract
            Symbol
          }
          PoolId
        }
      }
    }
  }
}

Similar queries