MediationRequest

constructor(from: DID, to: DID)(source)


constructor(id: String, type: String = ProtocolType.DidcommMediationRequest.value, from: DID, to: DID)(source)

Creates a MediationRequest.

Parameters

id

The unique identifier of the mediation request.

type

The type of the mediation request. Default value is ProtocolType.DidcommMediationRequest.

from

The source DID (Decentralized Identifier) of the mediation request.

to

The target DID (Decentralized Identifier) of the mediation request.