Beta
The DID that signed the record.
The DID of the DWN tenant under which record operations are being performed.
Optional
data?: Readable | ReadableStreamA stream of data, conforming to the Readable
or ReadableStream
interface, providing a
mechanism to read the record's data sequentially. This is particularly useful for handling
large datasets that should not be loaded entirely in memory, allowing for efficient, chunked
processing of the record's data.
Optional
encodedThe data of the record, either as a Base64 URL encoded string or a Blob.
Optional
initialThe initial RecordsWriteMessage
that represents the initial state/version of the record.
Optional
protocolThe protocol role under which this record is written.
Optional
remoteThe remote tenant DID if the record was queried or read from a remote DWN.
Generated using TypeDoc
Options for configuring a Record instance, extending the base
RecordsWriteMessage
with additional properties.This type combines the standard fields required for writing DWN records with additional metadata and configuration options used specifically in the Record class.