Beta
Private
agentHolds the instance of a Web5Agent that represents the current execution context for
the DidApi
. This agent is used to process DID requests.
Private
connectedThe DID of the tenant under which DID operations are being performed.
Initiates the creation of a Decentralized Identifier (DID) using the specified method, options, and storage preference.
This method sends a request to the Web5 Agent to create a new DID based on the provided method, with method-specific options. It also specifies whether the newly created DID should be stored.
The request parameters for creating a DID, including the method, options, and storage flag.
A promise that resolves to a DidCreateResponse
, which includes the operation's
status and, if successful, the newly created DID.
Resolves a DID to a DID Resolution Result.
The DID or DID URL to resolve.
Optional
options: DidResolutionOptionsA promise that resolves to the DID Resolution Result.
The DID API is used to resolve DIDs.