dex orders of a token

Returns DEX orders on Solana, where DEX program address is srmqPv…JtPX and base currency mint address is R6Res6…boop: instruction index, program address, account names, program name, method, protocol name, protocol family and 8 more fields.

By Divyasshree · saved 5 May 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(network: solana) {
    DEXOrders(
      where: {OrderEvent: {Dex: {ProgramAddress: {is: "srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX"}}, Market: {BaseCurrency: {MintAddress: {is: "R6Res6qfWxgDGom5CpUEvxt7DNJu62bWvbgj7Vkboop"}}}}}
    ) {
      Instruction {
        Index
        Program {
          Address
          AccountNames
          Name
          Method
        }
      }
      OrderEvent {
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Index
        Market {
          MarketAddress
        }
        Order {
          BuySide
          Account
          Payer
          OrderId
          Owner
        }
        Type
      }
    }
  }
}

Similar queries