top holders solana

Returns 100 DEX trades by token on Solana, where currency mint address is 83mCRQ…pump and block time after 2025-05-07, sorted by volume USD, highest first: account owner, program address, protocol family, protocol name, sum of trade amount and sum of trade side amount in USD.

By gaurav · saved 10 May 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query TopTraders($token: String, $time_ago: DateTime) {
  Solana {
    DEXTradeByTokens(
      orderBy: {descendingByField: "volumeUsd"}
      limit: {count: 100}
      where: {Trade: {Currency: {MintAddress: {is: $token}}}, Transaction: {Result: {Success: true}}, Block: {Time: {after: $time_ago}}}
    ) {
      Trade {
        Account {
          Owner
        }
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
      }
      bought: sum(of: Trade_Amount, if: {Trade: {Side: {Type: {is: buy}}}})
      sold: sum(of: Trade_Amount, if: {Trade: {Side: {Type: {is: sell}}}})
      volume: sum(of: Trade_Amount)
      volumeUsd: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Variables

{
  "network": "solana",
  "token": "83mCRQJzvKMeQd9wJbZDUCTPgRbZMDoPdMSx5Sf1pump",
  "time_ago": "2025-05-07T07:03:23Z"
}

Similar queries