pub fn reclaim_deposit<T: Config>(
    did_subject: DidIdentifierOf<T>,
    endpoints_to_remove: u32
)
Expand description

Reclaim a deposit for a DID. This will delete the DID and all information associated with it, after verifying that the caller is the owner of the deposit.

The referenced DID identifier must be present on chain before the delete operation is evaluated.

After it is deleted, a DID with the same identifier cannot be re-created ever again.

As the result of the deletion, all traces of the DID are removed from the storage, which results in the invalidation of all attestations issued by the DID subject.

Emits DidDeleted.

Weight: O(1)

  • Reads: [Origin Account], Did
  • Kills: Did entry associated to the DID identifier

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::reclaim_deposit.