Copy of Query for scans
Returns the latest 35 DEX trades by token: block time, transaction hash, buyer, seller, trade amount, amount in USD, currency symbol and 6 more fields.
What it returns
- block time
- transaction hash
- buyer
- seller
- trade amount
- amount in USD
- currency symbol
- smart contract
- trade price
- price in USD
- price asymmetry
- side smart contract
- side currency symbol
The query
query(
$network: evm_network
$currency_filter: EVM_DEXTradeByToken_Input_Trade_Currency_InputType
) {
EVM(network: $network) {
DEXTradeByTokens(
orderBy: {descending: Block_Number}
limit: {count: 35}
where: {
Trade: {
Currency: $currency_filter
}
}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Buyer
Seller
Amount
AmountInUSD
Currency {
Symbol
SmartContract
}
Price
PriceInUSD
PriceAsymmetry
Side {
Currency {
SmartContract
Symbol
}
}
}
}
}
}
Variables
{
"network": "matic",
"currency_filter": { "SmartContract": { "is": "0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39"}},
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens