solana latest price - averaged

Streams DEX trades by token on Solana as they happen, where currency mint address is So1111…1112, side currency mint address is EPjFWd…Dt1v and trade price asymmetry is at most 0.2: average of trade price.

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

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {Transaction: {Result: {Success: true}}, Trade: {PriceAsymmetry: {le: 0.2}, Amount: {gt: "0.3"}, Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Side: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}}
    ) {
      average: average(of: Trade_Price)
    }
  }
}

Similar queries