Orders For Specific Token Pair

Streams DEX orders on Solana as they happen, where base currency mint address is So1111…1112 and quote currency mint address is EPjFWd…Dt1v: block height, block time, protocol name, base currency mint address, base currency name, base currency symbol, market address and 7 more fields.

By Ashish Bhintade · saved 13 June 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXOrders(
      where: {OrderEvent: {Market: {BaseCurrency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, QuoteCurrency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}}
    ) {
      Block {
        Height
        Time
      }
      OrderEvent {
        Dex {
          ProtocolName
        }
        Market {
          BaseCurrency {
            MintAddress
            Name
            Symbol
          }
          MarketAddress
          QuoteCurrency {
            MintAddress
            Name
            Symbol
          }
        }
        Order {
          LimitPrice
          LimitPriceInUSD
          OrderId
        }
        Type
      }
    }
  }
}

Similar queries