Last pancake trade
Returns the latest DEX trade on Ethereum and BNB Chain, where date is 2021-03-28: timestamp time, block height, base currency symbol, base currency address, base amount, quote currency symbol, quote currency address and 5 more fields.
What it returns
- timestamp time
- block height
- base currency symbol
- base currency address
- base amount
- quote currency symbol
- quote currency address
- quote amount
- count
- quote price
- minimum of block
- maximum of block
Filters
- date is 2021-03-28
The query
{
ethereum(network: bsc) {
dexTrades(
date: {is: "2021-03-28"}
options: {limit: 1, desc: "block.height"}
) {
block {
timestamp {
time
}
height
}
baseCurrency {
symbol
address
}
baseAmount
quoteCurrency {
symbol
address
}
quoteAmount
trades: count
quotePrice
median_price: quotePrice(calculate: median)
maximum_price: quotePrice(calculate: maximum)
minimum_price: quotePrice(calculate: minimum)
open_price: minimum(of: block, get: quote_price)
close_price: maximum(of: block, get: quote_price)
}
}
}
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