Parser.parseSlots() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
ParseSlots converts payload to claim slots using provided schema
Signature:
parseSlots(credential: W3CCredential, schemaBytes: Uint8Array): ParsedSlots;
Parameters
Parameter | Type | Description |
---|---|---|
credential | W3CCredential | Verifiable Credential |
schemaBytes | Uint8Array | JSON schema bytes |
Returns:
ParsedSlots