GetTokenOwnersData top-level constant

String const GetTokenOwnersData

Implementation

const GetTokenOwnersData = r'''
    query getTokenOwnersData($token_id: String, $property_version: numeric) {
  current_token_ownerships(
    where: {token_data_id_hash: {_eq: $token_id}, property_version: {_eq: $property_version}}
  ) {
    owner_address
  }
}
    ''';