bitquery_stream_tokens_10_50

Streams the latest DEX trades on Solana as they happen, where buy currency mint address is not 111111…1111, DEX protocol name is pump and buy price in USD is above 0.00001: buy currency name, buy currency symbol, buy currency mint address, buy decimals, buy fungible, buy URI, buy price and 9 more fields.

By Douwe Tjerkstra · saved 25 January 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      limitBy: {count: 1, by: Trade_Buy_Currency_MintAddress}
      orderBy: {descending: Block_Time}
      where: {Trade: {Buy: {PriceInUSD: {gt: 0.00001, lt: 0.00005}, Currency: {MintAddress: {notIn: ["11111111111111111111111111111111"]}}}, Sell: {AmountInUSD: {gt: "10"}}, Dex: {ProtocolName: {is: "pump"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Trade {
        Buy {
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
          Price
          PriceInUSD
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
    }
  }
}

Similar queries