DEX Trades By Protocols

List of DEX protocols ordered by count of trades, top 100

Returns 10000 DEX trades and blocks on Ethereum: count, price, protocol, token ID, token type, address0 x b 88 d 212 f ac 4 c67 a2 b8 f 14 cf3 b084 bed 4 d 1995 b c 7 address, annotation and 4 more fields.

By tarikcandan · saved 5 July 2022 · Bitquery API v1

What it returns

The query

{
  ethereum(network: $network522) {
    dexTrades(options: {limit: 10000, desc: $desc412}) {
      count(baseCurrency: {})
      price(calculate: $calculate, baseCurrency: {}, blockHash: {in: $in})
      protocol
      sellCurrency {
        tokenId
        tokenType
      }
      smartContract(
        smartContractAddress0x06ca461b52c9213710fcfd50aaf8853b0106fee9: $smartContractAddress0xB88D212fAC4c67a2b8F14cf3b084BED4D1995bC7
        smartContractAddress: $smartContractAddress0x06ca461b52c9213710fcfd50aaf8853b0106fee9
      ) {
        address0xB88D212fAC4c67a2b8F14cf3b084BED4D1995bC7 {
          address
          annotation
        }
        contractT0x06ca461b52c9213710fcfd50aaf8853b0106fee9
        address {
          address
        }
        currency
      }
      side
    }
  }
  binance {
    blocks(
      any: $any111
      blockId: $blockId14
      date: $date05072022
      height: $height
      options: $options
      time: $time
      validatorFeeAddr: $validatorFeeAddr
      validatorMoniker: $validatorMoniker
      validatorOperahraddress: $validatorOperahraddress0xB88D212fAC4c67a2b8F14cf3b084BED4D1995bC7
      validatorOperatorAddress: $validatorOperatorAddressEthereumDexTrades
    )
  }
  flow
}

Similar queries