• Retrieves from the blockchain the IPublicCredentials that have been issued to the provided AssetDID.

    This is the only secure way for users to retrieve and verify all the credentials issued to a given AssetDidUri.

    Returns

    An array of IPublicCredential as the result of combining the on-chain information and the information present in the tx history.

    Parameters

    • subject: `did:asset:${string}:${string}.${string}:${string}` | `did:asset:${string}:${string}.${string}:${string}:${string}`

      The AssetDID of the subject.

    Returns Promise<IPublicCredential[]>