trade_by_token
Returns DEX trades, where buy currency smart contract is 0x1121…AAc5 and sell currency smart contract is 0x1121…AAc5: buy amount in USD, buy buyer, buy seller, buy smart contract, smart contract, sell seller, sell buyer and 2 more fields.
What it returns
- buy amount in USD
- buy buyer
- buy seller
- buy smart contract
- smart contract
- sell seller
- sell buyer
- sell amount in USD
- sell smart contract
Filters
- buy currency smart contract is 0x1121…AAc5
- sell currency smart contract is 0x1121…AAc5
The query
query MyQuery {
EVM(mempool: true) {
DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x1121AcC14c63f3C872BFcA497d10926A6098AAc5"}}}, Sell: {Currency: {SmartContract: {is: "0x1121AcC14c63f3C872BFcA497d10926A6098AAc5"}}}}}
) {
Trade {
Buy {
AmountInUSD
Buyer
Seller
Currency {
SmartContract
}
}
Dex {
Pair {
SmartContract
}
}
Sell {
Seller
Buyer
AmountInUSD
Currency {
SmartContract
}
}
}
}
}
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades