correct_date_time
Returns the latest DEX trades on Ethereum, where smart contract address is 0x79dc…c796, time since 2024-04-01 and time till 2024-04-04: iso8601, block height, trade index, protocol, full name, address address, annotation and 9 more fields.
What it returns
- iso8601
- block height
- trade index
- protocol
- full name
- address address
- annotation
- buy amount
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
- expression
- transaction hash
- price
Filters
- smart contract address is 0x79dc…c796
- time since 2024-04-01
- time till 2024-04-04
The query
{
ethereum(network: ethereum,) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], offset: 0}
time: {since: "2024-04-01T14:44:19", till: "2024-04-04T14:44:19"}
smartContractAddress: {is: "0x79dcf937272c49fe83002cf3e341c6edc153c796"}
) {
block {
timestamp {
iso8601
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
buyAmount
buyCurrency {
address
symbol
}
buy_amount_usd: buyAmount(in: USD)
sellAmount
sellCurrency {
address
symbol
}
sell_amount_usd: sellAmount(in: USD)
buyPriceInUSD: expression(get: "buy_amount_usd / buyAmount")
sellPriceInUSD: expression(get: "sell_amount_usd / sellAmount")
transaction {
hash
}
price
}
}
}
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