get_meme_data

Returns DEX trades by token on Solana, where currency mint address is DitHyR…pump, side currency mint address is So1111…1112 and block time since 2024-05-24, sorted by block timefield: block time, sum of trade amount, count and trade price.

By adinugroho · saved 24 May 2025 · run 10 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: archive) {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {MintAddress: {is: "DitHyRMQiSDhn5cnKMJV2CDDt6sVct96YrECiM49pump"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Block: {Time: {since: "2024-05-24T07:10:07Z", till: "2025-05-24T07:10:07Z"}}}
    ) {
      Block {
        Timefield: Time(interval: {in: hours, count: 1})
      }
      volumeSell: sum(
        of: Trade_Amount
        if: {Trade: {Side: {Type: {is: sell}, AmountInUSD: {}}}}
      )
      volumeBuy: sum(of: Trade_Amount, if: {Trade: {Side: {Type: {is: buy}}}})
      volume: sum(of: Trade_Amount)
      countBuy: count(if: {Trade: {Side: {Type: {is: buy}}}})
      countSell: count(if: {Trade: {Side: {Type: {is: sell}}}})
      count
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
      }
    }
  }
}

Similar queries