Registries
Create registry
Parameters
Create a Revocation registry on the blockchain. More info about Registry Creation
Revocation registry
Only one policy supported as of now called OneOf
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59StatusList2021EntryPossible values: Registry will be created.
Object containing unique id of the background task and associated data. This id can be used to query the job status
Invalid params like policy not supported.
Transaction limit reached or upgrade required to proceed
Resource was not found.
List registries
Parameters
Get all registries created by user. More info about List Registries
How many items to offset by for pagination
0How many items to return at one time (max 64)
64DID exists in policy filter
Registry type filter
All registries by user
32 byte hex string. Ignoring higher base (base64) for simplicity.
Application error
Get registry
Parameters
Get the details of an existing registry, such as policy, add-only status, when it was last updated, and controller(s). More info about Get Registry
32 byte hex string. Ignoring higher base (base64) for simplicity.
Returns the information about provided registry ID.
Revocation registry
Only one policy supported as of now called OneOf
did:cheqd:testnet:ac2b9027-ec1a-4ee2-aad1-1e316e7d6f59StatusList2021EntryPossible values: Application error
Registry was not found.
Revoke or unrevoke a credential
Parameters
Enumerated values
Credential revocation is managed with on-chain revocation registries. To revoke a credential, its id (or hash of its id) must be added to the credential. More info about Revoke/Unrevoke Credentials
32 byte hex string. Ignoring higher base (base64) for simplicity.
revokePossible values: Will try to revoke/unrevoke the credential.
Object containing unique id of the background task and associated data. This id can be used to query the job status
Invalid params
Unauthorized
Transaction limit reached or upgrade required to proceed
Registry was not found.
Delete registry
Parameters
A registry can be deleted, leading to all the corresponding revocation ids being deleted as well. More info about Registry Deletion
32 byte hex string. Ignoring higher base (base64) for simplicity.
Revocation Registry will be deleted
Object containing unique id of the background task and associated data. This id can be used to query the job status
Something went wrong.
Registry was not found.
Last updated
Was this helpful?