Function createStakeDeregistrationCert

  • Creates a stake key de-registration certificate from a given reward account.

    Deprecated

    Calling without deposit creates a StakeDeregistration (kind 1) certificate, which is removed from the certificate union in the Dijkstra era (protocol version 12). Always pass the deposit so an Unregistration (kind 8) certificate is created.

    Parameters

    • rewardAccount: Cardano.RewardAccount

      The reward account to be de-registered.

    • Optional deposit: bigint

      The deposit to be refunded. When provided, an Unregistration (kind 8) certificate is created.

    Returns Cardano.Certificate

Generated using TypeDoc