Type alias MessageModelBeta

MessageModel: {
    data: MessageData;
    metadata: MessageMetadata;
    privateData?: RfqPrivateData;
    signature?: string;
}

Represents the full message object: metadata + message kind data + signature

Type declaration

  • data: MessageData

    The actual message content

  • metadata: MessageMetadata

    The metadata object contains fields about the message and is present in every tbdex message.

  • Optional privateData?: RfqPrivateData

    Private data which can be detached from the payload without disrupting integrity. Only used in RFQs

  • Optional signature?: string

    signature that verifies that authenticity and integrity of a message