Get LPs of a Token

Returns 10 DEX trades on Ethereum, where base currency is 0xc02a…6cc2, sorted by trades, highest first: address address, full name, quote currency symbol and count.

By lukas · saved 8 October 2022 · run 47 times · Bitquery API v1

What it returns

Filters

The query

query myQuery($address: String) {
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {is: $address}
      options: {desc: "trades", limit: 10}
    ) {
      poolToken: smartContract {
        address {
          address
        }
      }
      exchange {
        fullName
      }
      pair: quoteCurrency {
        symbol
      }
      trades: count
    }
  }
}

Variables

{"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}

Similar queries