Query credential holder by user

Arguments:

NameDescription
idCred id.
addressThe address bound by the user.

Request:

query verifyCredEligible($id: ID!, $address: String!) {
  credential(id: $id) {
    eligible(address:$address)
  }
}

Variables

{"id": "473720589215887360", "address": "0x1d030d76f5a6505a64c032cf6b350c379d52ae60"}

Headers

{"access-token": "your-access-token"}

Response

{
  "data": {
    "credential": {
      "eligible": 1
    }
  }
}