FTM/USDT_

Returns the latest DEX trade on Ethereum, where quote currency is 0xdAC1…1ec7 and base currency is 0x4e15…7870: quote price, block height, trade index, address address, base amount, base currency address, base currency symbol and 4 more fields.

By Omkar_BQ · saved 17 April 2024 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: ["block.height", "tradeIndex"], limit: 1}
      quoteCurrency: {is: "0xdAC17F958D2ee523a2206206994597C13D831ec7"}
      baseCurrency: {is: "0x4e15361fd6b4bb609fa63c81a2be19d873717870"}
    ) {
      price:quotePrice
      block {
        height
      }
      tradeIndex
      smartContract {
        address {
          address
        }
      }
      baseAmountUSD: baseAmount(in: USD)
      baseAmount
      baseCurrency {
        address
        symbol
      }
      quoteAmountUSD: quoteAmount(in: USD)
      quoteAmount
      quoteCurrency {
        address
        symbol
      }
      transaction {
        hash
      }
    }
  }
}

Similar queries