The DID document
GET
/.well-known/did.json
const url = 'https://example.com/.well-known/did.json';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/.well-known/did.jsonThe did:web document of the participant, with its keys and services (DSP, DCP, data plane). Once the DID log exists, it also names the did:webvh.
Authorizations
Section titled “Authorizations”- None
Responses
Section titled “Responses”A DID document.
Media typeapplication/json
object
Example generated
{}