Get trade history for multiple tokens

Get trade history for multiple solana tokens in one query

Returns DEX trades by token on Solana, where currency mint address is 3onxdf…pump, 6ABNJB…pump or 1 more and block time after 2024-12-16, sorted by trade price in USD, highest first: block height, block time, price in USD, currency name, currency symbol and currency mint address.

By Samuel Isirima · saved 17 December 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query


query HistoricalMarketCap {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {in: ["3onxdfzuvScYNDTte3pEwpfp3ZBZVc5SiE76jebHpump", "6ABNJBupPJ3vv7LfPaZEEEiSzrPgsS8WN5NFnHecpump", "C1RU1i1eZ46yMubjNiBwktFKAyqSWeKh475WxyNZrXXh"]}}}, Block: {Time: { after: "2024-12-16T00:00:00Z"}}}
      orderBy: {descending: Trade_PriceInUSD}
    ) {
      Block {
        Height
        Time
      }
      Trade {
        PriceInUSD
         Currency {
            Name
            Symbol
            MintAddress
          }
      }
    }
  }
}

Similar queries