Copy of GetDex
Returns 10000 DEX trades on Ethereum and BNB Chain, where time since 2022-03-26 and time till 2022-03-26, sorted by block height trade index: block height, unixtime, transaction hash, gas value, gas price, gas, protocol and 16 more fields.
What it returns
- block height
- unixtime
- transaction hash
- gas value
- gas price
- gas
- protocol
- full name
- address address
- contract type
- currency name
- trade index
- date date
- buy amount
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
- price
- trade amount
- maker address
- taker address
Filters
- time since 2022-03-26
- time till 2022-03-26
The query
query ($network: EthereumNetwork!, $since: ISO8601DateTime, $till: ISO8601DateTime, $limit: Int, $offset: Int) {
ethereum(network: $network) {
dexTrades(
options: {limit: $limit, offset: $offset, asc: ["block.height", "tradeIndex"]}
time: {since: $since, till: $till}
) {
block {
height
timestamp {
unixtime
}
}
transaction {
hash
__typename
gasValue
gasPrice
gas
}
protocol
exchange {
fullName
}
smartContract {
address {
address
}
contractType
currency {
name
}
}
tradeIndex
date {
date
}
buyAmount
buyCurrency {
address
symbol
}
sellAmount
sellCurrency {
address
symbol
}
price
buyAmountInUsd: buyAmount(in: USD)
sellAmountInUsd: sellAmount(in: USD)
tradeAmount(in: USD)
maker {
address
}
taker {
address
}
}
}
}
Variables
{
"network": "bsc",
"since": "2022-03-26T01:00:00.000Z",
"till": "2022-03-26T02:00:00.000Z",
"limit": 10000,
"offset": 0
}
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