Trades in multiple exchanges

Returns 10 DEX trades on Ethereum, where exchange address is 0x5c69…aa6f or 0x1f98…f984: buy currency name, full name, address address and sell currency name.

By Vishal · saved 18 June 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    dexTrades(
      exchangeAddress: {in: ["0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f", "0x1f98431c8ad98523631ae4a59f267346ea31f984"]}
      options: {limit: 10}
    ) {
      buyCurrency {
        name
      }
      exchange {
        fullName
        address {
          address
        }
      }
      sellCurrency {
        name
      }

      smartContract {
        address {
          address
        }
      }
    }
  }
}

Similar queries