new Q1

Updated Q1 - Pre migration trades

Returns DEX trades by token on Solana, where currency mint address is GsND8V…pump, DEX protocol name is pump and trade price is above 0, sorted by block time: block time, block hash, account owner, trade price, trade amount, side type and transaction signature.

By John · saved 20 January 2025 · run 12 times · Bitquery API v2

What it returns

Filters

The query

query pumpfunTokenAllTrades {
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      orderBy: {ascending: Block_Time}
      where: {Trade: {Currency: {MintAddress: {is: "GsND8VZZ1TiPj9iPJKVGEDNGZgHz6y688849T21xpump"}}, Price: {gt: 0}, Dex: {ProtocolName: {is: "pump"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        allTime: Time
        Hash
      }
      Trade {
        Account {
          Owner
        }
        Price
        Amount
        Side {
          Type
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries