latest trade of gas token
Returns the latest DEX trade on Ethereum, where base currency is 0x6bba…8469, date since 2021-12-19 and date till 2022-01-17: timestamp time, block height, trade index, protocol, full name, address address, annotation and 8 more fields.
What it returns
- timestamp time
- block height
- trade index
- protocol
- full name
- address address
- annotation
- base amount
- base currency address
- base currency symbol
- quote amount
- quote price
- quote currency address
- quote currency symbol
- transaction hash
Filters
- base currency is 0x6bba…8469
- date since 2021-12-19
- date till 2022-01-17
The query
query ($network: EthereumNetwork!, $token: String!, $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}
baseCurrency: {is: $token}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
baseAmount
baseCurrency {
address
symbol
}
quoteAmount
quotePrice
quoteCurrency {
address
symbol
}
transaction {
hash
}
}
}
}
Variables
{
"limit": 1,
"offset": 0,
"network": "ethereum",
"token": "0x6bba316c48b49bd1eac44573c5c871ff02958469",
"from": "2021-12-19",
"till": "2022-01-17T23: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