first 200 trades for a given smart contract address
Returns 200 DEX trades on Ethereum, where smart contract address is 0x0138…520e, date since 2020-01-01 and date till 2100-01-01, sorted by block height trade index: protocol, taker address, maker address, trade index, block height, timestamp time, sell currency address and 5 more fields.
What it returns
- protocol
- taker address
- maker address
- trade index
- block height
- timestamp time
- sell currency address
- sell currency symbol
- sell amount
- buy currency address
- buy currency symbol
- buy amount
Filters
- smart contract address is 0x0138…520e
- date since 2020-01-01
- date till 2100-01-01
The query
{
ethereum(network: ethereum) {
dexTrades(
options: {limit: 200 asc: ["block.height", "tradeIndex"]}
smartContractAddress: {is: "0x01388f9242964e2aaadef6379eb92276acb5520e"}
date: {since: "2020-01-01", till: "2100-01-01"}
) {
protocol
taker {
address
}
maker {
address
}
tradeIndex
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
sellCurrency {
address
symbol
}
sellAmount
buyCurrency {
address
symbol
}
buyAmount
}
}
}
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