GetAccountTokensCount top-level constant

String const GetAccountTokensCount

Implementation

const GetAccountTokensCount = r'''
    query getAccountTokensCount($owner_address: String) {
  current_token_ownerships_aggregate(
    where: {owner_address: {_eq: $owner_address}, amount: {_gt: "0"}}
  ) {
    aggregate {
      count
    }
  }
}
    ''';