Beta
Optional
data?: unknownThe new data for the record, which can be of any type. This data will replace the existing data of the record. It's essential to ensure that this data is compatible with the record's schema or data format expectations.
Optional
dataThe Content Identifier (CID) of the data. Updating this value changes the reference to the data associated with the record.
Optional
dataThe data format/MIME type of the supplied data
Optional
dataThe size of the data in bytes.
Optional
dateThe timestamp indicating when the record was last modified.
Optional
dateThe timestamp indicating when the record was published.
Optional
protocolThe protocol role under which this record is written.
Optional
published?: DwnMessageDescriptor[DwnInterface.RecordsWrite]["published"]The published status of the record.
Optional
store?: booleanWhether or not to store the updated message.
Optional
tags?: DwnMessageDescriptor[DwnInterface.RecordsWrite]["tags"]The tags associated with the updated record
Parameters for updating a DWN record.
This type specifies the set of properties that can be updated on an existing record. It is used to convey the new state or changes to be applied to the record.