add_filter_1
Returns the latest 5 DEX trades on Ethereum and BNB Chain, where buy currency is 0x9cec…d64e, sell currency is 0xe9e7…7d56 and smart contract address is 0xacb7…bc4b: timestamp time, block height, full name, buy amount, buy currency symbol, buy currency address, sell amount and 8 more fields.
What it returns
- timestamp time
- block height
- full name
- buy amount
- buy currency symbol
- buy currency address
- sell amount
- sell currency address
- sell currency symbol
- transaction hash
- maker address
- annotation
- taker address
- price
- side
Filters
- buy currency is 0x9cec…d64e
- sell currency is 0xe9e7…7d56
- smart contract address is 0xacb7…bc4b
- date since 2023-05-16
- date till 2024-05-10
The query
query ($network: EthereumNetwork!, $limit: Int!, $offset: Int!, $address: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
dexTrades(
options: {desc: "block.height", limit: $limit, offset: $offset}
date: {since: $from, till: $till}
buyCurrency: {is : "0x9cec03362d759ceca736e5918e8ba7636e2bd64e"}
sellCurrency: {is : "0xe9e7cea3dedca5984780bafc599bd69add087d56"}
smartContractAddress: {is: $address}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
exchange {
fullName
}
buyAmountInBNB: buyAmount
buyAmountInUSD: buyAmount(in: USD)
buyCurrency {
symbol
address
}
sellAmountInBNB: sellAmount
sellAmountInUSD: sellAmount(in: USD)
sellCurrency {
address
symbol
}
transaction {
hash
}
maker {
address
annotation
}
taker {
address
}
price
side
}
}
}
Variables
{
"limit": 5,
"offset": 0,
"network": "bsc",
"address": "0xacb7027ebd04e9c636d6f78635ad2327a98cbc4b",
"from": "2023-05-16T23:16:12",
"till": "2024-05-10T23:59:59",
"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