get sql for this query to get to txn which is giving 500 Price- bangz

Returns the latest 10 DEX trades by token on Solana, where currency mint address is So1111…1112, side currency mint address is EPjFWd…Dt1v and block time till 2025-04-17: block time, transaction signature, currency mint address, trade price and side currency mint address.

By Akshat · saved 18 April 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(dataset: archive) {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Block: {Time: {till: "2025-04-17T19:22:00Z", since: "2025-04-17T19:21:30Z"}}, Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Side: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}, AmountInUSD: {gt: "10"}}, PriceAsymmetry: {le: 0.1}}}
    ) {
      Block {
        Time
      }
      Transaction{
        Signature
      }
      Trade {
        Currency{
          MintAddress
        }
        Price
        Side {
          Currency {
            MintAddress
          }
        }
      }
    }
  }
}

Similar queries