testdex
Returns the latest 25000 DEX trades on Ethereum, where exchange name is Uniswap or SushiSwap, date before 2024-12-31 and date after 2023-06-01: transaction hash, transaction index, address address, contract type, currency name, trade index, timestamp time and 11 more fields.
What it returns
- transaction hash
- transaction index
- address address
- contract type
- currency name
- trade index
- timestamp time
- block height
- buy amount
- buy currency symbol
- buy currency address
- sell amount
- sell currency symbol
- sell currency address
- trade amount
- gas value
- gas price
- gas
Filters
- exchange name is Uniswap or SushiSwap
- date before 2024-12-31
- date after 2023-06-01
The query
query ($limit: Int!, $network: EthereumNetwork!, $wallet: String!) {
ethereum(network: $network) {
dexTrades(
options: {limit: $limit, desc: "block.height"}
exchangeName: {in: ["Uniswap", "SushiSwap"]}
date: {before: "2024-12-31", after: "2023-06-01"}
any: [{txSender: {is: $wallet}}, {taker: {is: $wallet}}]
) {
transaction {
hash
index
}
smartContract {
address {
address
}
contractType
currency {
name
}
}
tradeIndex
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
buyAmount
buyAmountInUsd: buyAmount(in: USD)
buyCurrency {
symbol
address
}
sellAmount
sellAmountInUsd: sellAmount(in: USD)
sellCurrency {
symbol
address
}
sellAmountInUsd: sellAmount(in: USD)
tradeAmount(in: USD)
transaction {
gasValue
gasPrice
gas
}
}
}
}
Variables
{ "network": "ethereum",
"limit": 25000,
"wallet": "0x8eF57238Cd4178EEd96Cd30a13CBc7448925328e"}
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