Top Traders on BonkSwap

Returns 70 DEX trades by token on Solana, where DEX protocol name is bonkswap and block time after 2025-06-10, sorted by volume USD, highest first: account owner, protocol family, protocol name, currency mint address, currency symbol, currency name, side currency mint address and 3 more fields.

By Divyasshree · saved 11 June 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query TopTraders($market: String!, $time_ago: DateTime) {
  Solana {
    DEXTradeByTokens(
      orderBy: {descendingByField: "volumeUsd"}
      limit: {count: 70}
      where: {Transaction: {Result: {Success: true}}, Trade: {Dex: {ProtocolName: {is: $market}}}, Block: {Time: {after: $time_ago}}, any: [{Trade: {Side: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}}, {Trade: {Currency: {MintAddress: {not: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}, {Trade: {Currency: {MintAddress: {notIn: ["So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}}, Side: {Currency: {MintAddress: {notIn: ["So11111111111111111111111111111111111111112", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}}}}}]}
    ) {
      Trade {
        Account {
          Owner
        }
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Currency {
          MintAddress
          Symbol
          Name
        }
        Side {
          Currency {
            MintAddress
            Symbol
            Name
          }
        }
      }
      volumeUsd: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Variables

{
  "market": "bonkswap",
  "network": "solana",
  "time_ago": "2025-06-10T09:07:39Z"
}

Similar queries