Get trade history for multiple tokens

Get trade history for multiple solana tokens in one query

Returns 50 DEX trades by token on Solana, where currency mint address is 3MiGvm…pump or 2kfSx3…pump and block time after 2024-12-15, sorted by block time: block height, block time, price in USD, currency name, currency symbol and currency mint address.

By Samuel Isirima · saved 16 December 2024 · run 9 times · Bitquery API v2

What it returns

Filters

The query


query HistoricalMarketCap {
  Solana {
    DEXTradeByTokens(
      limit: {count: 50}
      where: {Trade: {Currency: {MintAddress: {in: ["3MiGvmUmfUxFT8qRAPfL5ovzETnYbyDsXzworZ4zpump", "2kfSx3HBmSLEsab5nYR1wcW3i9UpoXYPygFJpURGpump"]}}}, Block: {Time: {after: "2024-12-15T00:00:00Z" }}}
      orderBy: {ascending: Block_Time}
      limitBy: {by: Block_Height, count: 1}
    ) {
      Block {
        Height
        Time
      }
      Trade {
        PriceInUSD
         Currency {
            Name
            Symbol
            MintAddress
          }
      }
    }
  }
}

Similar queries