send

abstract suspend fun send(options: IResolveDid.Options): IResolveDid.Response

Resolve a DID.

Implementations may perform network I/O (e.g., for did:web) or pure decoding (e.g., for did:key). This call may throw IllegalArgumentException for invalid DID syntax or unsupported methods.

Return

a Response that exposes the DID Document, if resolved.

Parameters

options

must contain a string of the form did:<method>:<identifier>.

Throws

if the DID is malformed or the method is unsupported.

for unrecoverable resolver errors (e.g., invalid key material).