Token attributes

Returns one DEX trade on Ethereum, where buy currency smart contract is 0x95ad…c4ce: chain ID, buy currency name, buy decimals, buy currency symbol and buy protocol name.

By Nadia · saved 4 August 2023 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $address: String!) {
  EVM(network: $network, dataset: combined) {
    DEXTrades(
      limit: {count: 1}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: $address}}}}}
    ) {
      ChainId
      Trade {
        Buy {
          Currency {
            Name
            Decimals
            Symbol
            ProtocolName
          }
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "address": "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce"
}

Similar queries