Get all nft holders on Solana

Streams the latest 10 balance updates on Solana as they happen: currency name, currency mint address, token creator address, share, account address and sum of balance update amount.

By Akshat · saved 11 April 2024 · run 2 times · Bitquery API v2

What it returns

The subscription

subscription {
  Solana {
    BalanceUpdates(
      orderBy: {descending: Block_Time}
      limit: {count: 10}
      limitBy: {by: BalanceUpdate_Account_Address, count: 1}
      where: {BalanceUpdate: {Currency: {Fungible: false}}}
    ) {
      BalanceUpdate {
        Currency {
          Name
          MintAddress
          TokenCreator {
            Address
            Share
          }
        }
        Account {
          Address
        }
      }
      sum(of: BalanceUpdate_Amount, selectWhere: {gt: "0"})
    }
  }
}

Similar queries