Skip to content

Reference

issuerAuthorization.withdraw — WithdrawAuthorization consumer

ocp.OpenCapTable.issuerAuthorization.withdraw exercises WithdrawAuthorization against an IssuerAuthorization contract as Canton system_operator.

WithdrawAuthorization finalizes revocation windows for IssuerAuthorization. Signers (system_operator per deployment)** must authorize submitAndWait; withdrawAuthorization binds ExerciseCommand to IssuerAuthorization + empty choice payload.


Import and receiver

const { updateId } = await ocp.OpenCapTable.issuerAuthorization.withdraw({
  issuerAuthorizationContractId,
  systemOperatorParty: SYSTEM_OPERATOR_PARTY,
});

console.log(updateId); // Canonical audit anchor

Parameters

  • issuerAuthorizationContractId (string) — Live IssuerAuthorization contract id you previously captured from authorize or ledger queries.
  • systemOperatorParty (string) — Canton party id with system_operator privilege for that package line.

Returns

Promise<{ updateId: string; response: SubmitAndWaitForTransactionTreeResponse }>


Errors

Canton surfaces authorization failures if actAs omitted / wrong — ensure systemOperatorParty matches DAML context.



Source