Resolve DID-Linked Resource
Resolve a DID-Linked Resource (DLR) on cheqd using the Credo Agent.
The resolveResource
method in the Credo cheqd module enables you to retrieve DID-Linked Resources stored on the cheqd network. These resources can be resolved in two primary ways:
Resolution Methods
1. Resolve by Resource ID (UUID)
Use the full DID + /resources/<resourceId>
format to directly resolve a known resource.
This approach is ideal when you know the exact UUID of the resource.
2. Resolve by Resource Name and Type
You can also resolve a resource using a DID URL query format with resourceName
and resourceType
parameters:
This method is useful when:
You want to resolve the latest version of a known logical resource
You donβt have or track the UUID
3. Fetch the Resource Version Closest to a Specific Time
4. Alternative parameters
For a comprehensive list and detailed explanations of these parameters, refer to ADR-005.
Last updated
Was this helpful?