Currency-details-and-price-on various-times

Returns DEX trades by token, where currency smart contract is 0x877b…951d: price in USD, currency symbol and currency name.

By Kshitij Mahajan · saved 27 September 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0x877b9772e219a0eda4a9c20dc34e9f58d053951d"}}}}
    ) {
      Trade {
        currentPriceInUSD: PriceInUSD
        priceInUSD24HoursAgo: PriceInUSD(
          if: {Block: {Time: {is: "2024-09-26T23:59:59Z"}}}
        )
        Currency {
          Symbol
          Name
        }
      }
    }
  }
}

Similar queries