top-10-traders-of-the-token

Returns 10 DEX trades by token on Solana, where currency mint address is 6D7NaB…i5Ui, sorted by tokens, highest first: account owner, sum of trade amount and count.

By Kshitij Mahajan · saved 5 November 2024 · run 81 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana(dataset: combined) {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descendingByField: "tokens"}
      where: {Trade: {Currency: {MintAddress: {is: "6D7NaB2xsLd7cauWu1wKk6KBsJohJmP2qZH9GEfVi5Ui"}}}}
    ) {
      Trade {
        Account {
          Owner
        }
      }
      tokens: sum(of: Trade_Amount)
      trades: count
    }
  }
}

Similar queries