btc usdt usdc dai token trades count
Returns one DEX trade on Ethereum, where buy currency smart contract is 0x2260…C599, sell currency smart contract is 0xdac1…1ec7 and block date after 2016-01-01, sorted by block time: buy price in USD and block time.
What it returns
- buy price in USD
- block time
Filters
- buy currency smart contract is 0x2260…C599
- sell currency smart contract is 0xdac1…1ec7
- block date after 2016-01-01
- block date before 2017-01-01
The query
{
EVM(network: eth, dataset: archive) {
DEXTrades(
where: {Block: {Date: {after: "2016-01-01", before: "2017-01-01"}}, Trade: {Buy: {Currency: {SmartContract: {is: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"}}}, Sell: {Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}}}}
orderBy: {ascending: Block_Time}
limit: {count: 1}
) {
Trade {
Buy {
PriceInUSD
}
}
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