trades high end vs lowend

Returns DEX trades by token on Solana, where side currency mint address is So1111…1112 and side type is buy: count.

By gaurav · saved 29 April 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Side: {Type: {is: buy}, Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}, Transaction: {Result: {Success: true}}}
    ) {
      lowEndTraders: count(distinct: Transaction_Signer, if: {Trade: {Side:{AmountInUSD:{le:"100"}}}})
      highTraders: count(distinct: Transaction_Signer, if: {Trade: {Side:{AmountInUSD:{ge:"100"}}}})

    }
  }
}

Similar queries