test aggregate iammizzy

Returns DEX trades by token on Solana, where currency mint address is HoyGFc…pump and block time till 2024-12-18: count and sum of trade amount.

By Divyasshree · saved 17 January 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(network: solana, dataset: archive) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "HoyGFcpL4UETLVFoHMtr2hmbmv2qHCXu984qu56epump"}}}, Block: {Time: {till: "2024-12-18T11:21:53Z"}}}
    ) {
      count
      buy_volume_7min: sum(
        of: Trade_Amount
        if: {Trade: {Side: {Type: {is: buy}}}, Block: {Time: {till: "2024-12-18T11:21:53Z"}}}
      )
    }
  }
}

Similar queries