latest trades advt

Returns the latest 10 DEX trades on Ethereum, where base currency is 0x69e3…9b72: quote currency symbol, quote currency name, quote currency address and timestamp time.

By Divyasshree N · saved 26 June 2023 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $baseCurrency: String, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    dexTrades(
      baseCurrency: {is: $baseCurrency}
      options: {limit: $limit, offset: $offset, desc: "block.timestamp.time"}
    ) {
      quoteCurrency {
        symbol
        name
        address
      }
      block {
        timestamp {
          time
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "baseCurrency": "0x69e37422cb87d963367f73a119c8ce9a4d529b72",
  "dateFormat": "%Y-%m-%d"
}

Similar queries