BIT-1234 Unoptimized
Consumes around 35.06 points
Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0xbb4c…095c, quote currency is 0x55d3…7955 and smart contract address is 0x9099…08ea: timestamp time, quote amount, quote price, trade index, base amount, base currency symbol, base currency address and 2 more fields.
What it returns
- timestamp time
- quote amount
- quote price
- trade index
- base amount
- base currency symbol
- base currency address
- quote currency symbol
- quote currency address
Filters
- base currency is 0xbb4c…095c
- quote currency is 0x55d3…7955
- smart contract address is 0x9099…08ea
- base currency is not 0xbb4c…095c
The query
{
ethereum(network: bsc) {
usdt: dexTrades(
options: {desc: ["block.timestamp.time"], limit: 1}
baseCurrency: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
quoteCurrency: {is: "0x55d398326f99059ff775485246999027b3197955"}
) {
block {
timestamp {
time
}
}
quoteAmount
quotePrice
tradeIndex
}
pair: dexTrades(
options: {desc: ["block.timestamp.time"], limit: 1}
smartContractAddress: {is: "0x9099502f8f2db7fbd442d0d1bbd63310eff908ea"}
baseCurrency: {not: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}
) {
block {
timestamp {
time
}
}
baseAmount
baseCurrency {
symbol
address
}
quoteAmount
quotePrice
quoteCurrency {
symbol
address
}
tradeIndex
}
}
}
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