Balancer v2 Trades

Returns DEX trades on Ethereum, where protocol is Balancer v2, date since 2021-06-13 and date till 2022-06-20: full name, address address, sell currency name, buy currency name, buy amount, sell amount and price.

By Divyasshree N · saved 15 February 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $from: ISO8601DateTime, $till: ISO8601DateTime, $protocol: String!) {
  ethereum(network: $network) {
    dexTrades(date: {since: $from, till: $till}, protocol: {is: $protocol}) {
      exchange {
        fullName
        address {
          address
        }
      }
      sellCurrency {
        name
      }
      buyCurrency {
        name
      }
      buyAmount
      sellAmount
      price
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "protocol": "Balancer v2",
  "from": "2021-06-13",
  "till": "2022-06-20T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries