Dechart case 1 (showing sell instead of buy)
Dechart case 1
Returns the latest 1000 DEX trades on Ethereum and BNB Chain, where tx hash is 0xa1a1…93e5, base currency is 0xef2e…80bf and quote currency is 0xbb4c…095c: timestamp time, block height, trade index, protocol, full name, side, address address and 8 more fields.
What it returns
- timestamp time
- block height
- trade index
- protocol
- full name
- side
- address address
- annotation
- base amount
- base currency address
- base currency symbol
- quote amount
- quote currency address
- quote currency symbol
- transaction hash
Filters
- tx hash is 0xa1a1…93e5
- base currency is 0xef2e…80bf
- quote currency is 0xbb4c…095c
The query
{
ethereum(network: bsc) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: 1000, offset: 0}
date: {since: null, till: null}
txHash: {is: "0xa1a1a7664dee9935b0d8e0a42a663b218738acc245cc2f604a118fccdc4f93e5"}
baseCurrency: {is: "0xef2ec90e0b8d4cdfdb090989ea1bc663f0d680bf"}
quoteCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
side
smartContract {
address {
address
annotation
}
}
baseAmount
baseCurrency {
address
symbol
}
quoteAmount
quoteCurrency {
address
symbol
}
transaction {
hash
}
}
}
}
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