Function createUnsignedCredentialForExistingAccount
create Unsigned Credential For Existing Account( identity: IdentityInput , cryptographicParameters: CryptographicParameters , threshold: number , publicKeys: VerifyKey [] , credentialIndex: number , revealedAttributes: ( "firstName" | "lastName" | "sex" | "dob" | "countryOfResidence" | "nationality" | "idDocType" | "idDocNo" | "idDocIssuer" | "idDocIssuedAt" | "idDocExpiresAt" | "nationalIdNo" | "taxIdNo" | "lei" | "legalName" | "legalCountry" | "businessNumber" | "registrationAuth" ) [] , address: AccountAddress ) : UnsignedCdiWithRandomness
Parameters
threshold: number
credentialIndex: number
revealedAttributes: ( "firstName" | "lastName" | "sex" | "dob" | "countryOfResidence" | "nationality" | "idDocType" | "idDocNo" | "idDocIssuer" | "idDocIssuedAt" | "idDocExpiresAt" | "nationalIdNo" | "taxIdNo" | "lei" | "legalName" | "legalCountry" | "businessNumber" | "registrationAuth" ) []
address: AccountAddress
Create an unsigned credential for an existing account. This credential has to be signed by the creator before it can be deployed on the existing account.