ATH ATL dogecoin on ethereum
Returns one DEX trade on Ethereum, where buy currency smart contract is 0x4206…668f, sell currency smart contract is 0xc02a…6cc2 and block time after 2021-10-01, sorted by trade buy price, highest first: buy currency name, buy price, sell currency name, transaction hash and block time.
What it returns
- buy currency name
- buy price
- sell currency name
- transaction hash
- block time
Filters
- buy currency smart contract is 0x4206…668f
- sell currency smart contract is 0xc02a…6cc2
- block time after 2021-10-01
- block time before 2022-10-01
The query
query MyQuery {
EVM(dataset: archive, network: eth) {
ATL: DEXTrades(
limit: {count: 1}
orderBy: {ascending: Trade_Buy_Price}
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x4206931337dc273a630d328dA6441786BfaD668f"}}}, Sell: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}}, Block: {Time: {after: "2021-10-01T00:00:00Z", before: "2022-10-01T00:00:00Z"}}}
) {
Trade {
Buy {
Currency {
Name
}
Price
}
Sell {
Currency {
Name
}
}
}
Transaction {
Hash
}
Block {
Time
}
}
ATH: DEXTrades(
limit: {count: 1}
orderBy: {descending: Trade_Buy_Price}
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x4206931337dc273a630d328dA6441786BfaD668f"}}}, Sell: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}}, Block: {Time: {after: "2021-10-01T00:00:00Z", before: "2022-10-01T00:00:00Z"}}}
) {
Trade {
Buy {
Currency {
Name
}
Price
}
Sell {
Currency {
Name
}
}
}
Transaction {
Hash
}
Block {
Time
}
}
}
}
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