Interface: DidResolutionOptions ​
Defined in: packages/method/src/interfaces/crud.ts:12
Options for resolving a DID Document
Param ​
The versionId for resolving the DID Document
Param ​
The versionTime for resolving the DID Document
Param ​
The sidecar data for resolving the DID Document
Extends ​
DidResolutionOptions
Indexable ​
[key: string]: any
Properties ​
accept? ​
optionalaccept:string
Defined in: node_modules/.pnpm/@web5+dids@1.2.0/node_modules/@web5/dids/dist/types/types/did-core.d.ts:337
The Media Type that the caller prefers for the returned representation of the DID Document.
This property is REQUIRED if the resolveRepresentation function was called. This property MUST NOT be present if the resolve function was called.
The value of this property MUST be an ASCII string that is the Media Type of the conformant representations. The caller of the resolveRepresentation function MUST use this value when determining how to parse and process the didDocumentStream returned by this function into the data model.
See ​
DID Core Specification, § DID Resolution Options
Inherited from ​
IDidResolutionOptions.accept
network? ​
optionalnetwork:string
Defined in: packages/method/src/interfaces/crud.ts:16
sidecarData? ​
optionalsidecarData:SidecarData
Defined in: packages/method/src/interfaces/crud.ts:15
versionId? ​
optionalversionId:number
Defined in: packages/method/src/interfaces/crud.ts:13
versionTime? ​
optionalversionTime:number
Defined in: packages/method/src/interfaces/crud.ts:14