Type alias RecordModelBeta

RecordModel: ImmutableRecordProperties & OptionalRecordProperties & {
    author: string;
    messageTimestamp?: string;
    protocolRole?: RecordOptions["protocolRole"];
    recordId?: string;
}

Represents the structured data model of a record, encapsulating the essential fields that define the record's metadata and payload within a Decentralized Web Node (DWN).

Type declaration

  • author: string

    The logical author of the record.

  • Optional messageTimestamp?: string

    The timestamp indicating when the record was last modified.

  • Optional protocolRole?: RecordOptions["protocolRole"]

    The protocol role under which this record is written.

  • Optional recordId?: string

    The unique identifier of the record.