Trades from x to y timestamps

Returns the latest DEX trades by token on Solana, where currency mint address is AUGKjy…pump, DEX protocol family is Raydium and block time before 2024-10-06: slot, block time, transaction signature, protocol family, price in USD, currency name, side type and amount in USD.

By raff · saved 23 January 2025 · run 6 times · Bitquery API v2

What it returns

Filters

The query

query LatestTrades {
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {MintAddress: {is: "AUGKjyErqFb8jLQaqw9DSSzqkAPmWdjMHUZ8umctpump"}}, Side: {}, Dex: {ProtocolFamily: {is: "Raydium"}}}, Block: {Time: {before: "2024-10-06T08:17:30Z", after: "2024-10-06T08:18:31Z"}}}
    ) {
      Block {
        Slot
        Time
      }
      Transaction {
        Signature
      }
      Trade {
        Dex {
          ProtocolFamily
        }
        PriceInUSD
        Currency {
          Name
        }
        Side {
          Type
        }
        AmountInUSD
      }
    }
  }
}

Similar queries