test count using joins
Returns balance updates on Solana, where currency mint address is 5UUH9R…hgH2: unique of balance update account address, currency name, currency mint address, currency symbol, account address and post balance.
What it returns
- unique of balance update account address
- currency name
- currency mint address
- currency symbol
- account address
- post balance
Filters
- currency mint address is 5UUH9R…hgH2
The query
{
Solana(network: solana, aggregates: yes) {
BalanceUpdates(
where: {BalanceUpdate: {Currency: {MintAddress: {is: "5UUH9RTDiSpq6HKS6bp4NdU9PNJpXRXuiw6ShBTBhgH2"}}}}
) {
holder_c: uniq(of: BalanceUpdate_Account_Address)
joinBalanceUpdates(
join: inner
BalanceUpdate_Currency_MintAddress: BalanceUpdate_Currency_MintAddress
where: {BalanceUpdate: {Currency: {MintAddress: {is: "5UUH9RTDiSpq6HKS6bp4NdU9PNJpXRXuiw6ShBTBhgH2"}}}}
) {
BalanceUpdate {
Currency {
Name
MintAddress
Symbol
}
Account {
Address
}
Holding: PostBalance(maximum: Block_Slot, selectWhere: {gt: "0"})
}
}
}
}
}
Similar queries
- holders with time · Solana · BalanceUpdates
- holders · Solana · BalanceUpdates
- traders · Solana · BalanceUpdates
- Solana BalanceUpdates1 · Solana · BalanceUpdates
- Solana BalanceUpdates · Solana · BalanceUpdates