Trades from x to y timestamps, correct order

Retrieve trades ranging between two predefined timestamps

Returns DEX trades by token on Solana, where currency mint address is 8y5L6C…pump, block time after 2025-01-26 and block time before 2025-01-26: slot, block time, transaction signature, signer, transaction fee, side type, side amount in USD and 2 more fields.

By raff · saved 26 January 2025 · run 69 times · Bitquery API v2

What it returns

Filters

The query

query LatestTrades {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "8y5L6C8WzeiZsE6uLQemjmQL9Npt7CwGyQrr4yebpump"}}}, Block: {Time: {after: "2025-01-26T10:05:56Z", before: "2025-01-26T10:10:58Z"}}, Transaction: {Result: {Success: true}}}
    	orderBy:[{ascending:Block_Time}, {ascending:Transaction_Index}]
    ) {
      Block {
        Slot
        Time
      }
      Transaction {
        Signature
        Signer
        Fee
      }
      Trade {
        Side {
          Type
          AmountInUSD
        }
        PriceInUSD
        Amount
      }
    }
  }
}

Similar queries