first 10 trades of drip token
Returns 10 DEX trades on Ethereum and BNB Chain, where base currency is 0x20f6…0333, date since 2019-01-01 and date till 2023-02-27, sorted by block height trade index: timestamp time, block height, trade index, protocol, full name, address address, annotation and 7 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 currency address
- quote currency symbol
- transaction hash
Filters
- base currency is 0x20f6…0333
- date since 2019-01-01
- date till 2023-02-27
The query
query ($network: EthereumNetwork!, $token: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {asc: ["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
}
base_amount_usd: baseAmount(in: USD)
quoteAmount
quoteCurrency {
address
symbol
}
quote_amount_usd: quoteAmount(in: USD)
transaction {
hash
}
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "bsc",
"token": "0x20f663cea80face82acdfa3aae6862d246ce0333",
"from": "2019-01-01",
"till": "2023-02-27T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Latest DODO DEX swaps on BSC · BNB Chain · DEXTrades
- Top DODO liquidity pools by 24h volume on BSC · BNB Chain · DEXTrades
- trades · Ethereum · DEXTrades
- metric_v1_bsc · BNB Chain · DEXTrades
- bsc_tessera · BNB Chain · DEXTrades