latest price for more than 1 token on solana

Streams DEX trades on Solana as they happen, where buy currency mint address is 6ogzHh…hitx or HLnTNC…QFZb and sell currency mint address is So1111…1112: average of trade buy price, buy currency name, buy currency symbol and buy currency mint address.

By gaurav · saved 10 July 2024 · run 6 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {Transaction: {Result: {Success: true}}, Trade: {Buy: {Currency: {MintAddress: {in: ["6ogzHhzdrQr9Pgv6hZ2MNze7UrzBMAFyBBWUYp1Fhitx", "HLnTNCG5RD7jYVduFc1pMCHiuApoWGn9LveqEFanQFZb"]}}}, Sell: {Currency: {MintAddress: {in: ["So11111111111111111111111111111111111111112"]}}}}}
    ) {
      average(of: Trade_Buy_Price)
      Trade {
        Buy {
          Currency {
            Name
            Symbol
            MintAddress
          }
        }
      }
    }
  }
}

Similar queries