Optional
from?: stringOptional DID specifying the remote target DWN tenant to query from and return results.
The parameters for the query operation, detailing the criteria for selecting records.
Optional
protocol?: stringRecords must be scoped to a specific protocol
Encapsulates a request to query records from a Decentralized Web Node (DWN).
This request type is used to specify the criteria for querying records, including query parameters, and optionally the target DWN to query from. If the
from
property is not provided, the query will target the local DWN.