Trade in a transaction
Returns the latest DEX trades on Ethereum, where tx hash is 0x72ed…066d, date since 2023-04-25 and date till 2023-04-27: iso8601, gas value, maker address, taker address, full name, base currency address, base currency name and 6 more fields.
What it returns
- iso8601
- gas value
- maker address
- taker address
- full name
- base currency address
- base currency name
- quote currency address
- quote currency name
- transaction hash
- to address
- base amount
- quote amount
Filters
- tx hash is 0x72ed…066d
- date since 2023-04-25
- date till 2023-04-27
The query
query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {desc: "block.timestamp.time"}
date: {since: $from, till: $till}
txHash: {is: "0x72ed085f6dca6a8f3e3624f0c0e45c14e0208f458ff626e8c3a3030f02a8066d"}
) {
block {
timestamp {
time: iso8601
}
}
gasValue
gasValueInUSD: gasValue(in: USD)
maker {
address
}
taker {
address
}
exchange {
fullName
}
baseCurrency {
address
name
}
quoteCurrency {
address
name
}
transaction {
hash
to {
address
}
}
baseAmount
buyAmountInUSD: baseAmount(in: USD)
quoteAmount
sellAmountInUSD: quoteAmount(in: USD)
}
}
}
Variables
{
"address": "0xaf951f7a4aa4e2a033b034af0897273ed553e8c3",
"from": "2023-04-25T12:45:14.115Z",
"network": "ethereum",
"till": "2023-04-27T08:45:14.115Z"
}
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