ETX all pools on DEX

Returns 1000 DEX trades on Ethereum, where buy currency smart contract is 0xA35b…A15b: protocol name, owner address, protocol version, smart contract, pair name, pair symbol, buy currency name and 3 more fields.

By Nitin Jakhar · saved 24 November 2023 · run 9 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b"}}}}}
      limit: {count: 1000}
      limitBy: {by: Trade_Sell_Currency_SmartContract, count: 1}
    ) {
      Trade {
        Dex {
          ProtocolName
          OwnerAddress
          ProtocolVersion
          PairTokenAddress: SmartContract
          Pair {
            SmartContract
            Name
            Symbol
          }
        }
        Buy {
          Currency {
            Name
            SmartContract
          }
        }
        Sell {
          Currency {
            Name
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries