top holders and markets for token solana

Returns 10 balance updates and DEX trades by token on Solana, where currency mint address is 5pPkhL…pB38, sorted by holdings, highest first: sum of balance update amount in USD, account address, program address, protocol family, protocol name and count.

By Kshitij Mahajan · saved 26 February 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    topHolders: BalanceUpdates(
      where: {BalanceUpdate: {Currency: {MintAddress: {is: "5pPkhLEJDMFDHUuE1wW5os5YJeyNUDVmih1DKgMFpB38"}}}}
      orderBy: {descendingByField: "holdings"}
      limit: {count: 10}
    ) {
      holdings: sum(of: BalanceUpdate_AmountInUSD)
      BalanceUpdate {
        Account {
          Address
        }
      }
    }
    dexMarkets: DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "5pPkhLEJDMFDHUuE1wW5os5YJeyNUDVmih1DKgMFpB38"}}}}
    ) {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
      }
      count
    }
  }
}

Similar queries