Query token balances of a yearn vault

Returns address details on Ethereum, where address is 0x986b…353F: currency address, currency symbol, token type and balances value.

By amaz_ng · saved 28 February 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $date: ISO8601DateTime!) {
  ethereum(network: $network) {
    address(address: {is: $address}) {
      balances(date: {before: $date}) {
        currency {
          address
          symbol
          tokenType
        }
        value
      }
    }
  }
}

Variables

{
  "network": "ethereum",
  "address": "0x986b4AFF588a109c09B50A03f42E4110E29D353F",
  "date": "2021-02-20T00:00:00Z"
}

Similar queries