top holders and dex markets for token
Returns 10 balance updates and DEX trades by token, where currency smart contract is 0x5149…86ca, sorted by holdings, highest first: balance update address, sum of balance update amount, protocol family, protocol name, protocol version, owner address and count.
What it returns
- balance update address
- sum of balance update amount
- protocol family
- protocol name
- protocol version
- owner address
- count
Filters
- currency smart contract is 0x5149…86ca
The query
query MyQuery {
EVM {
topHolders: BalanceUpdates(
where: {Currency: {SmartContract: {is: "0x514910771af9ca656af840dff83e8264ecf986ca"}}}
limit: {count: 10}
orderBy: {descendingByField: "holdings"}
) {
BalanceUpdate {
Address
}
holdings: sum(of: BalanceUpdate_Amount)
}
Markets: DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0x514910771af9ca656af840dff83e8264ecf986ca"}}}}
) {
Trade {
Dex {
ProtocolFamily
ProtocolName
ProtocolVersion
OwnerAddress
}
}
count
}
}
}
Similar queries
- eth balance · Ethereum · BalanceUpdates
- Ethereum balance view · Ethereum · BalanceUpdates
- Balance update API explanation · Ethereum · BalanceUpdates
- MyQuery EVM · BNB Chain · BalanceUpdates
- usdt_holder_balance_update_ · Ethereum · BalanceUpdates