new age dex trades

Returns 10 DEX trades on Ethereum and BNB Chain, where base currency is 0xdbe5…1147 and date is 2022-05-09, sorted by trade amount, highest first: timestamp time, block height, trade index, trade amount, full name, address address, annotation and 11 more fields.

By gaurav · saved 12 May 2022 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $token: String!, $limit: Int!, $offset: Int!) {
  ethereum(network: $network) {
    dexTrades(
      options: {desc: "tradeAmount", limit: $limit, offset: $offset}
      date: {is: "2022-05-09"}
      baseCurrency: {is: $token}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      tradeAmount(in: USD)
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      baseAmount
      baseCurrency {
        address
        symbol
      }
      quoteAmount
      quoteCurrency {
        address
        symbol
      }
      transaction {
        hash
        to {
          address
        }
        txFrom {
          address
        }
      }
      maker {
        address
      }
      taker {
        address
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "token": "0xdbe53bad1b9854c7bc29965f0c870dfb88f61147",
  "from": "2022-05-05",
  "till": "2022-05-12T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries