This query used to get TokenGating status
Sample Query
subscription {
getTokenGating(
orgID: "d086ea16-d40d-454c-84a4-64b5e940670a"
eventType: [
GATING_PASS,
GATING_FAIL
]
) {
groupID
ruleID
Status
}
}
Sample Response
{
"data": {
"getTokenGating": {
"groupID": "d086ea16-d40d-454c-84a4-64b5e940670a",
"ruleID": "d086ea16-d40d-454c-84a4-64b5e940670a",
"Status": "Completed",
}
}
Authorization Required
Name | Type | Description | Required |
---|---|---|---|
orgId | UUID1 | The organiztion Id. | Yes |
groupID | UUID1 | The Group ID | No |
ruleID | UUID1 | The Rule ID | No |
eventType | TokenGatingEvent | Subscription Events types | Yes |