test esyt
Returns the latest balance update on Solana, where currency mint address is Axrieh…pump, side currency mint address is So1111…1112 and trade price is above 0: account owner, post balance and price in USD.
What it returns
- account owner
- post balance
- price in USD
Filters
- currency mint address is Axrieh…pump
- side currency mint address is So1111…1112
- trade price is above 0
The query
query TopHoldersWithPriceAndSupply($token: String!) {
topHolders: Solana {
BalanceUpdates(
where: {
BalanceUpdate: {
Currency: { MintAddress: { is: $token } }
}
}
orderBy: { descendingByField: "BalanceUpdate_balance_maximum" }
limit: { count: 5000 }
) {
BalanceUpdate {
Account {
Owner
}
balance: PostBalance(maximum: Block_Slot)
}
}
}
tokenPrice: Solana {
DEXTradeByTokens(
orderBy: { descending: Block_Time }
limit: { count: 1 }
where: {
Trade: {
Currency: { MintAddress: { is: $token } },
Side: {
Currency: { MintAddress: { is: "So11111111111111111111111111111111111111112" } }
},
Price: { gt: 0 }
},
Transaction: { Result: { Success: true } }
}
) {
Trade {
PriceInUSD
}
}
}
tokenSupply: Solana {
TokenSupplyUpdates(
limit: { count: 1 }
orderBy: { descending: Block_Time }
where: { TokenSupplyUpdate: { Currency: { MintAddress: { is: $token } } } }
) {
TokenSupplyUpdate {
PostBalance
}
}
}
}
Variables
{
"token":"AxriehR6Xw3adzHopnvMn7GcpRFcD41ddpiTWMg6pump"
}
Similar queries
- holders with time · Solana · BalanceUpdates
- holders · Solana · BalanceUpdates
- traders · Solana · BalanceUpdates
- Solana BalanceUpdates1 · Solana · BalanceUpdates
- Solana BalanceUpdates · Solana · BalanceUpdates