optimism liq pools
Returns DEX trades on Optimism, where buy currency smart contract is 0x9560…88db, sorted by count, highest first: count, owner address, smart contract, buy currency name, buy currency symbol, buy protocol name, buy smart contract and 4 more fields.
What it returns
- count
- owner address
- smart contract
- buy currency name
- buy currency symbol
- buy protocol name
- buy smart contract
- sell currency name
- sell protocol name
- sell currency symbol
- sell smart contract
Filters
- buy currency smart contract is 0x9560…88db
The query
query ($token: String!) {
EVM(network: optimism) {
DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: $token}}}}}
limitBy: {count: 10, by: Trade_Buy_Currency_Symbol}
orderBy: {descendingByField: "count"}
) {
count
Trade {
Dex {
OwnerAddress
SmartContract
Pair {
SmartContract
}
}
Buy {
Currency {
Name
Symbol
ProtocolName
SmartContract
}
}
Sell {
Currency {
Name
ProtocolName
Symbol
SmartContract
}
}
}
}
}
}
Variables
{
"token": "0x9560e827af36c94d2ac33a39bce1fe78631088db"
}
Similar queries
- Velodrome v2 Pool Swaps on Optimism · Optimism · DEXTrades
- trades · Ethereum · DEXTrades
- List of DEX supported · Optimism · DEXTrades
- top sellers of a token on uniswap v4 pool optimism · Optimism · DEXTrades
- top buyers of a currency on uniswap v4 optimism · Optimism · DEXTrades