EC trades
Returns the latest 100 DEX trades on Ethereum and BNB Chain, where base currency is 0x400d…f7ec, sell currency is 0xbb4c…095c and exchange name is Pancake or Pancake v2: timestamp time, block height, trade index, protocol, full name, address address, annotation and 7 more fields.
What it returns
- timestamp time
- block height
- trade index
- protocol
- full name
- address address
- annotation
- base amount
- base currency address
- base currency symbol
- quote amount
- quote currency address
- quote currency symbol
- transaction hash
Filters
- base currency is 0x400d…f7ec
- sell currency is 0xbb4c…095c
- exchange name is Pancake or Pancake v2
- date is 2021-11-16
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!) {
ethereum(network: $network) {
dexTrades(
options: {desc: ["block.height", "tradeIndex"], limit: $limit, offset: $offset}
date: {is: "2021-11-16"}
exchangeName: {in: ["Pancake", "Pancake v2"]}
baseCurrency: {is: "0x400df62c3052fdbaad8c74c0226147f9bfaaf7ec"}
sellCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
baseAmount
baseCurrency {
address
symbol
}
quoteAmount
quoteCurrency {
address
symbol
}
transaction {
hash
}
}
}
}
Variables
{
"limit": 100,
"offset": 0,
"network": "bsc",
"dateFormat": "%Y-%m-%d"
}
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