Type alias ProtocolsQueryRequest

ProtocolsQueryRequest: {
    from?: string;
    message: Omit<DwnMessageParams[DwnInterface.ProtocolsQuery], "signer">;
}

Defines the request structure for querying protocols from a Decentralized Web Node (DWN).

This request type is used to specify the target DWN from which protocols should be queried and any additional query filters or options. If the from property is not provided, the query will target the local DWN. If the from property is provided, the query will target the specified remote DWN.

Type declaration

  • Optional from?: string

    Optional DID specifying the remote target DWN tenant to be queried.

  • message: Omit<DwnMessageParams[DwnInterface.ProtocolsQuery], "signer">

    Query filters and options that influence the results returned.

Generated using TypeDoc