Type Alias: DidResolutionResult ​
DidResolutionResult =
object
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:348
Represents the result of a Decentralized Identifier (DID) resolution operation.
This type encapsulates the complete outcome of resolving a DID, including the resolution metadata, the DID document (if resolution is successful), and metadata about the DID document.
See ​
DID Core Specification, § DID Resolution
Properties ​
@context? ​
optional@context:"https://w3id.org/did-resolution/v1"|string| (string|Record<string,any>)[]
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:354
A JSON-LD context link, which provides the JSON-LD processor with the information necessary to interpret the resolution result JSON. The default context URL is 'https://w3id.org/did-resolution/v1'.
didDocument ​
didDocument:
DidDocument|null
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:374
The DID document resulting from the resolution process, if successful.
If the resolve function was called and successful, this MUST contain a DID document corresponding to the DID. If the resolution is unsuccessful, this value MUST be empty.
See ​
DID Core Specification, § DID Document
didDocumentMetadata ​
didDocumentMetadata:
DidDocumentMetadata
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:383
Metadata about the DID Document.
This structure contains information about the DID Document like creation and update timestamps, deactivation status, versioning information, and other details relevant to the DID Document.
See ​
DID Core Specification, § DID Document Metadata
didResolutionMetadata ​
didResolutionMetadata:
DidResolutionMetadata
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:365
A metadata structure consisting of values relating to the results of the DID resolution process.
This structure is REQUIRED, and in the case of an error in the resolution process, this MUST NOT be empty. If the resolution is not successful, this structure MUST contain an error property describing the error.