create

fun create(to: String, from: String, rfqData: CreateRfqData, protocol: String = "1.0", externalId: String? = null): Rfq

Creates a new Rfq message, autopopulating the id, creation time, and message kind.

Return

Rfq instance.

Parameters

to

DID that the message is being sent to.

from

DID of the sender.

rfqData

Specific parameters relevant to a Rfq.

protocol

version of the tbdex protocol.

externalId

external reference for the Rfq. Optional.