trades giving more than 400 as price

Returns the latest 10 DEX trades on Solana, where buy currency mint address is EPjFWd…Dt1v, sell currency mint address is So1111…1112 and block time since 2025-04-17: block time, buy price, buy price in USD, buy amount in USD, buy amount, buy currency mint address, buy currency name and 7 more fields.

By gaurav · saved 21 April 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTrades(
      where: {Transaction: {Result: {Success: true}}, Block: {Time: {since: "2025-04-17T19:21:00Z", till: "2025-04-17T19:22:00Z"}}, Trade: {Buy: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}, Sell: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Price: {gt: 400}}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Trade {
        Buy {
          Price
          PriceInUSD
          AmountInUSD
          Amount
          Currency {
            MintAddress
            Name
          }
        }
        Sell {
          Amount
          AmountInUSD
          Price
          PriceInUSD
          Currency {
            Name
            MintAddress
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries