Latest Transaction on Etheruem
Returns the latest DEX trade on Ethereum, where date since 2023-06-07 and date till 2023-06-14: timestamp time, block height, block hash, trade index, protocol, full name, full name with ID and 23 more fields.
What it returns
- timestamp time
- block height
- block hash
- trade index
- protocol
- full name
- full name with ID
- address address
- annotation
- exchange name
- contract type
- protocol type
- maker address
- taker address
- side
- buy amount
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
- price
- expression
- transaction hash
- gas price
- gas
- gas value
- nonce
- to address
- tx from address
Filters
- date since 2023-06-07
- date till 2023-06-14
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}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
hash
}
tradeIndex
protocol
exchange {
fullName
fullNameWithId
address {
address
annotation
}
name
}
smartContract {
address {
address
annotation
}
contractType
protocolType
}
maker {
address
annotation
}
taker {
address
annotation
}
side
buyAmount
buyCurrency {
address
symbol
}
buy_amount_usd: buyAmount(in: USD)
sellAmount
sellCurrency {
address
symbol
}
sell_amount_usd: sellAmount(in: USD)
price
priceInUSD: expression(get: "buy_amount_usd / buyAmount")
transaction {
hash
gasPrice
gas
gasValue
nonce
to {
address
annotation
}
txFrom {
address
annotation
}
}
}
}
}
Variables
{
"limit": 1,
"offset": 0,
"network": "ethereum",
"from": "2023-06-07",
"till": "2023-06-14T23:59:59",
"dateFormat": "%Y-%m-%d"
}
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