1. Issue a Credential
First and foremost, the issuer must specify a valid recipient for the credential:- recipient (required): Issuer must specify a credential recipient. This can be done via
email:${userEmail}:${chain}or{wallet address}.
- subject (required): Object matching a defined credential type’s schema, with values relevant to the recipient. The credential’s contents are identified by the “subject” key within the credential, following W3C naming standards.
- expiresAt (required): Specify date, in form such as
2034-02-02(ISO) ornoneto imply infinite expiration.
- metadata (optional): NFT metadata is inherited from the VC template metadata. Metadata attributes can be set by the customer to override metadata definition inherited by baseURI.
issueCredential.js file from below, add your API key, and templateId (that was returned to you in the previous step), and run the file from your terminal.
2. Check the status of your credential
You can set up a webhook to know when the Verifiable Credential NFT minting is completed, or call the action status API with the returnedactionId.
To check the template’s status you will need the nfts.create API scope and run the following code.
checkTemplateStatus.js
API Reference
Test any API in seconds directly from the docs.
Talk to an expert
Contact our sales team for support.

