tokens with minimum liquidity on a DEX

Get top gainers in DEX filtered by tokens have minimum liquidity

Returns 10 DEX trades on Ethereum, where DEX owner address is 0x5C69…aA6f and block date since 2023-07-10, sorted by sellamount, highest first: protocol name, smart contract, pair name, owner address, buy currency name, sell currency name, sum of trade buy amount and sum of trade sell amount.

By Divyasshree N · saved 31 July 2023 · run 23 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: eth) {
    DEXTrades(
      where: {Trade: {Dex: {OwnerAddress: {is: "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f"}}}, Block: {Date: {since: "2023-07-10"}}}
      limit: {count: 10}
      orderBy: {descendingByField: "sellamount"}
    ) {
      Trade {
        Dex {
          ProtocolName
          SmartContract
          Pair {
            Name
          }
          OwnerAddress
        }
        Buy {
          Currency {
            Name
          }
        }
        Sell {
          Currency {
            Name
          }
        }
      }
      buy_amount: sum(of: Trade_Buy_Amount, selectWhere: {gt: "10000"})
      sellamount: sum(of: Trade_Sell_Amount)
    }
  }
}

Similar queries