Latest Openbook DEX Orders

Returns the latest DEX orders on Solana, where DEX program address is srmqPv…JtPX: protocol name, program address, order event type, account, buy side, limit price, limit amount and 11 more fields.

By Divyasshree · saved 2 December 2024 · run 16 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: realtime) {
    DEXOrders(
      where: {OrderEvent: {Dex: {ProgramAddress: {is: "srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX"}}}}
      orderBy: {descending: Block_Time}
    ) {
      OrderEvent {
        Dex {
          ProtocolName
          ProgramAddress
        }
        Type
        Order {
          Account
          BuySide
          LimitPrice
          LimitAmount
          OrderId
        }
        Market {
          MarketAddress
          QuoteCurrency {
            Name
            Symbol
            MintAddress
          }
          BaseCurrency {
            Name
            MintAddress
          }
        }
        Index
      }
      Transaction {
        Signature
      }
      Block {
        Time
        Hash
      }
    }
  }
}

Similar queries