DID

Resolve a DID

Resolve a DID from the DHT first, with a fallback to local storage

get/dids/{id}

Path parameters

idstring required

The DID to resolve

Query parameters

seqinteger

The sequence number of the DID to resolve

Response

The resolved DID Document

didobject required

The DID Document

dhtstring required

An unpadded base64URL-encoded representation of a full DNS-encoded BEP44 payload, represented as 64 bytes sig, 8 bytes u64 big-endian seq, 0-1000 bytes of v concatenated; enabling independent verification

typesinteger[]

The types associated with the DID

sequence_numbersinteger[]

The sequence numbers available for querying for this node

expirynumber

The Unix Timestamp in seconds indicating when the DID will be evicted from the Gateway's Retained DID Set

Changes

Changed in 5 of the 7 revisions of this API.28

    • added the optional property to the response with the status

      response-optional-property-added

  • 0ae5e0169cf011See the full diff
    • removed the required property from the response with the status

      response-required-property-removed

    • added the required property to the response with the status

      response-required-property-added

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the required property to the response with the status

      response-required-property-added

    • added the required property to the response with the status

      response-required-property-added

    • endpoint added

      endpoint-added

    • api path removed without deprecation

      api-path-removed-without-deprecation