buy volume archive example

Returns DEX trades by token on Solana, where currency mint address is not So1111…1112, DEX protocol name is pump and trade price is above 0.00001, sorted by buyv, highest first: count, sum of trade amount, sum of trade amount in USD, currency mint address and currency name.

By Divyasshree · saved 6 November 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(dataset: combined) {
    DEXTradeByTokens(
      where: {Trade: {Dex: {ProtocolName: {is: "pump"}}, Price: {gt: 0.00001}, Currency: {MintAddress: {not: "So11111111111111111111111111111111111111112"}}}}
      orderBy: {descendingByField: "buyv"}
    ) {
      count
      buyv: sum(of: Trade_Amount)
      buyv_usd:sum(of: Trade_AmountInUSD)
      Trade {
        Currency {
          MintAddress
          Name
        }
      }
    }
  }
}

Similar queries