ATH of a token

Returns DEX trades by token on Solana, where currency mint address is 2qEHjD…pump, side currency mint address is So1111…1112 and block time after 2024-06-26: trade price and price in USD.

By Balkan · saved 28 December 2024 · run 10 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(network: solana, dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "2qEHjDLDLbuBgRYvsxhc5D6uDWAivNFZGan56P1tpump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}},
        Block: {Time: {after: "2024-06-26T11:00:00Z", 
          before: "2024-11-26T12:00:00Z"}}}
    ) {
      Trade {
        ATH: Price(maximum: Trade_Price)
        ATH_USD:PriceInUSD(maximum: Trade_PriceInUSD)
      }
    }
  }
}

Similar queries