Get transaction with Txs Hash and user address
Returns DEX trades on Ethereum and BNB Chain, where exchange address is 0xcA14…0c73, base currency is 0x2170…33f8 and quote currency is 0xbb4c…095c, sorted by time interval minute: minute, quote amount, quote price, minimum of block, maximum of block, base amount, base currency address and 6 more fields.
What it returns
- minute
- quote amount
- quote price
- minimum of block
- maximum of block
- base amount
- base currency address
- base currency name
- base currency symbol
- quote currency address
- quote currency symbol
- transaction hash
- tx from address
Filters
- exchange address is 0xcA14…0c73
- base currency is 0x2170…33f8
- quote currency is 0xbb4c…095c
- date since 2021-06-20
- date till 2021-06-23
- trade amount USD is above 10
The query
{
ethereum(network: bsc) {
dexTrades(
options: {asc: "timeInterval.minute"}
date: {since: "2021-06-20T07:23:21.000Z", till: "2021-06-23T15:23:21.000Z"}
exchangeAddress: {is: "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73"}
baseCurrency: {is: "0x2170ed0880ac9a755fd29b2688956bd959f933f8"}
quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
tradeAmountUsd: {gt: 10}
) {
timeInterval {
minute(count: 15, format: "%Y-%m-%dT%H:%M:%SZ")
}
volume: quoteAmount(in: USD)
high: quotePrice(calculate: maximum)
low: quotePrice(calculate: minimum)
open: minimum(of: block, get: quote_price)
close: maximum(of: block, get: quote_price)
baseAmount(in: USD)
baseCurrency {
address
name
symbol
}
quoteCurrency {
address
symbol
}
transaction {
hash
txFrom {
address
}
}
}
}
}
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