top buyers of a currency on uniswap v4 matic
Returns 100 DEX trades on Polygon, where buy currency smart contract is 0x8f3c…a063, trade pool ID is 0x23bf…a916 and DEX protocol name is uniswap_v4, sorted by bought in USD, highest first: sell currency name, sell currency symbol, sell smart contract, sell decimals, sell buyer, sum of trade buy amount and sum of trade buy amount in USD.
What it returns
- sell currency name
- sell currency symbol
- sell smart contract
- sell decimals
- sell buyer
- sum of trade buy amount
- sum of trade buy amount in USD
Filters
- buy currency smart contract is 0x8f3c…a063
- trade pool ID is 0x23bf…a916
- DEX protocol name is uniswap_v4
The query
{
EVM(network: matic) {
DEXTrades(
orderBy: {descendingByField: "bought_in_usd"}
limit: {count: 100}
where: {Trade: {Dex: {ProtocolName: {is: "uniswap_v4"}}, Buy: {Currency: {SmartContract: {is: "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063"}}}, PoolId: {is: "0x23bf8c631d30c092865d2f583f601a7080b7e3f4cb3dcbf29e622a693087a916"}}}
) {
Trade {
Sell {
Currency {
Name
Symbol
SmartContract
Decimals
}
Buyer
}
}
bought: sum(of: Trade_Buy_Amount)
bought_in_usd: sum(of: Trade_Buy_AmountInUSD)
}
}
}
Similar queries
- trades · Ethereum · DEXTrades
- matic_DEXTrades · Polygon · DEXTrades
- prediction_dextrades · Polygon · DEXTrades
- matic MAPU trades · Polygon · DEXTrades
- List of DEX supported · Polygon · DEXTrades