Function createCredentialDeploymentTransaction
- createCredentialDeploymentTransaction(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")[], expiry: TransactionExpiry): CredentialDeploymentTransaction
-
Parameters
-
-
-
threshold: number
-
-
credentialIndex: number
-
revealedAttributes: ("firstName" | "lastName" | "sex" | "dob" | "countryOfResidence" | "nationality" | "idDocType" | "idDocNo" | "idDocIssuer" | "idDocIssuedAt" | "idDocExpiresAt" | "nationalIdNo" | "taxIdNo" | "lei" | "legalName" | "legalCountry" | "businessNumber" | "registrationAuth")[]
-
expiry: TransactionExpiry
Create a credential deployment transaction, which is the transaction used when deploying a new account.
Deprecated
This function doesn't use allow supplying the randomness. createCredentialTransaction or createCredentialTransactionNoSeed should be used instead.
Returns
the details used in a credential deployment transaction