Test query - transactions
Returns the latest 10 DEX trades on Ethereum, where date since 2022-07-01: timestamp time, block height, trade index, protocol, full name, address address, annotation and 10 more fields.
What it returns
- timestamp time
- block height
- trade index
- protocol
- full name
- address address
- annotation
- buy amount
- maker address
- taker address
- transaction hash
- tx from address
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
Filters
- date since 2022-07-01
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: $limit, offset: $offset}
date: {since: $from, till: $till}
any: [{txSender: {is: "0x0BbacDa63eEB8F1F46162CEb4245aFaE0159A55b"}}, {makerOrTaker: {is: "0x0BbacDa63eEB8F1F46162CEb4245aFaE0159A55b"}}]
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
buyAmount
maker {
address
}
taker {
address
}
transaction {
hash
txFrom {
address
}
}
buy_amount_usd: buyAmount(in: USD)
buyCurrency {
address
symbol
}
sellAmount
sell_amount_usd: sellAmount(in: USD)
sellCurrency {
address
symbol
}
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "ethereum",
"from": "2022-07-01"
}
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