All_trades_of_a_token
Returns one DEX trade on Ethereum and BNB Chain, where buy currency is 0xbb4C…095c, sell currency is 0xbb4C…095c and date since 2023-05-02: buy currency symbol, buy currency address, sell currency symbol, sell currency address, transaction hash and date date.
What it returns
- buy currency symbol
- buy currency address
- sell currency symbol
- sell currency address
- transaction hash
- date date
Filters
- buy currency is 0xbb4C…095c
- sell currency is 0xbb4C…095c
- date since 2023-05-02
- date till 2023-05-02
- trade amount USD is above 0
The query
query ($network: EthereumNetwork, $from: ISO8601DateTime, $to: ISO8601DateTime, $dateFormat: String) {
ethereum(network: $network) {
buycurrency: dexTrades(
options: {limit: 1}
tradeAmountUsd: {gt: 0}
buyCurrency : {is : "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
date: {since: $from, till: $to}
) {
buyCurrency {
symbol
address
}
sellCurrency{
symbol
address
}
transaction {
hash
}
date {
date(format: $dateFormat)
}
}
sellcurrency : dexTrades(
options: {limit: 1}
tradeAmountUsd: {gt: 0}
sellCurrency : {is : "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
date: {since: $from, till: $to}
) {
buyCurrency {
symbol
address
}
sellCurrency{
symbol
address
}
transaction {
hash
}
date {
date(format: $dateFormat)
}
}
}
}
Variables
{
"network": "bsc",
"from": "2023-05-02T00:00:00Z",
"to": "2023-05-02T23:59:59Z",
"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