query_trade_hash__
Returns the latest 10 DEX trades on Ethereum and BNB Chain, where tx hash is 0xea9a…843a: 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
- buy amount
- buy currency address
- buy currency symbol
- sell amount
- sell currency address
- sell currency symbol
- expression
Filters
- tx hash is 0xea9a…843a
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
buy_amount_usd: buyAmount(in: USD)
buyCurrency {
address
symbol
}
sellAmount
sell_amount_usd: sellAmount(in: USD)
sellCurrency {
address
symbol
}
USD: expression(get: "sell_amount_usd/buyAmount")
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "bsc",
"hash": "0xea9a614451a8373f63b31f2f1ef9af69272eea1e1e50d4465b0b572a85e7843a"
}
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