trade amount of a pump fun token

Returns DEX trades by token on Solana, where currency mint address is HeGMgx…pump, DEX protocol name is pump and block time since 2024-06-27: currency name, currency symbol, currency mint address, protocol name, protocol family and sum of trade amount.

By Akshat · saved 27 June 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "HeGMgxcuASNEgGH8pTUBEfb3K4KjgaXwaMK3bs68pump"}}, Dex: {ProtocolName: {is: "pump"}}}, Block: {Time: {since: "2024-06-27T05:46:00Z"}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
        }
      }
      TradeVolume: sum(of: Trade_Amount)
    }
  }
}

Similar queries