https://bitquery.zendesk.com/agent/tickets/192
Returns the latest DEX trade on Ethereum and BNB Chain, where tx hash is 0xc7dc…1167: exchange name, transaction hash, block height, address address, base currency symbol, base currency address, quote currency symbol and 6 more fields.
What it returns
- exchange name
- transaction hash
- block height
- address address
- base currency symbol
- base currency address
- quote currency symbol
- decimals
- quote currency address
- base amount
- quote amount
- quote price
- trade amount
Filters
- tx hash is 0xc7dc…1167
The query
{
ethereum(network: bsc) {
dexTrades(
options: {limit: 1, desc: "block.height"}
txHash: {is: "0xc7dc9a21130ed9eeceed556f914323a98caf404395903797441986692d461167"}
) {
exchange {
name
}
transaction {
hash
}
block {
height
}
smartContract {
address {
address
}
}
baseCurrency {
symbol
address
}
quoteCurrency {
symbol
decimals
address
}
baseAmount
quoteAmount
quotePrice
tradeAmount(in: USD)
}
}
}
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