Example 1 query taker/maker
Returns the latest 10 DEX trades on Ethereum and BNB Chain, where tx hash is 0x3df2…18e5: timestamp time, block height, trade index, protocol, full name, address address, annotation and 8 more fields.
What it returns
- timestamp time
- block height
- trade index
- protocol
- full name
- address address
- annotation
- buy amount
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
- taker address
- maker address
Filters
- tx hash is 0x3df2…18e5
The query
query ($network: EthereumNetwork!,
$hash: String!,
$limit: Int!,
$offset: Int!
$from: ISO8601DateTime,
$till: ISO8601DateTime){
ethereum(network: $network){
dexTrades(options:{desc: ["block.height","tradeIndex"], limit: $limit, offset: $offset},
date: {since: $from till: $till }
txHash:{is: $hash}
) {
block {
timestamp {
time (format: "%Y-%m-%d %H:%M:%S")
}
height
}
tradeIndex
protocol
exchange {
fullName
}
smartContract {
address {
address
annotation
}
}
buyAmount
buyCurrency {
address
symbol
}
sellAmount
sellCurrency {
address
symbol
}
taker{
address
}
maker {
address
}
}
}
}
Variables
{"limit":10,"offset":0,"network":"bsc","hash":"0x3df2507f64cd6103b9bfada6a7b5fd8b059dbf5d5bc35da3d37e47dd5af818e5"}
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