Orders On A Specific DEX

Streams DEX orders on Solana as they happen, where DEX program address is M2mx93…aF7K: block height, block time, program address, protocol name, base currency name, base currency symbol, market address and 6 more fields.

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

What it returns

Filters

The subscription

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

Similar queries