Copy of test
test
Returns 10000 DEX trades on Ethereum and BNB Chain, where base currency is 0xbb4c…095c, quote currency is 0x4c79…8344 and exchange name is Pancake, sorted by time interval minute: minute, quote amount, count, quote price, minimum of block, maximum of block, block height and 2 more fields.
What it returns
- minute
- quote amount
- count
- quote price
- minimum of block
- maximum of block
- block height
- block hash
- timestamp time
Filters
- base currency is 0xbb4c…095c
- quote currency is 0x4c79…8344
- exchange name is Pancake
- date since 2020-11-01
The query
query ($base_token: String!, $quote_token: String!)
{
ethereum(network: bsc){
dexTrades(options: {limit: 10000, asc: "timeInterval.minute"},
date: {since:"2020-11-01"}
exchangeName: {is: "Pancake"},
baseCurrency: {is: $base_token},
quoteCurrency: {is: $quote_token})
{
timeInterval {
minute(count: 5)
}
quoteAmount
trades: count
quotePrice
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)
block {
height
hash
timestamp {time(format: "%Y-%m-%d %H:%M:%S")}}}}}
Variables
{"base_token": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
"quote_token": "0x4c79b8c9cB0BD62B047880603a9DEcf36dE28344"}
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