getOrThrowDid
Extract just the DID from a successful DidCreationResult, or throw with detailed error.
Example:
val did = trustWeave.createDid { method("key") }.getOrThrowDid()Content copied to clipboard
Extract just the DID from a successful DidCreationResult, or throw with detailed error.
Example:
val did = trustWeave.createDid { method("key") }.getOrThrowDid()