Function deserializeGPCRevealedClaims

  • Deserializes GPCRevealedClaims from the full-fidelity format produced by serializeGPCRevealedClaims, and checks the validity of the claims.

    Parameters

    • serialized: string

      a string representation of GPCRevealedClaims

    Returns GPCRevealedClaims

    GPCRevealedClaims deserialized from the string

    Throws

    SyntaxError if the serialized form cannot be parsed

    Throws

    TypeError if the serialized form doesn't match the expected type

Generated using TypeDoc