token_price

Returns the latest DEX trade by token on BNB Chain, where currency smart contract is 0x997A…18e1: price in USD.

By Denizcan · saved 25 April 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery($currency: String) {
  EVM(network: bsc) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: $currency}}}}
      orderBy: {descending: Block_Time}
      limit: {count:1}
    ){
      Trade{
        PriceInUSD
      }
    }
  }
}

Variables

{
  "currency": "0x997A58129890bBdA032231A52eD1ddC845fc18e1"
}

Similar queries