state_token_decimal__

Returns the latest DEX trade by token on Ethereum, where currency smart contract is 0x00C2…8eB1: trade amount, smart contract, currency symbol, currency name, decimals and block time.

By Omkar_BQ · saved 5 November 2024 · run 16 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: realtime, network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0x00C2999c8B2AdF4ABC835cc63209533973718eB1"}}}}
      limit: {count: 1}
      orderBy: {descending: Block_Number}
    ) {
      Trade {
        Amount
        Currency {
          SmartContract
          Symbol
          Name
          Decimals
        }
      }
      Block {
        Time
      }
    }
  }
}

Similar queries