Type alias FetchGrantsRequest

FetchGrantsRequest: Omit<FetchPermissionsParams, "author" | "target" | "remote"> & {
    checkRevoked?: boolean;
    from?: string;
}

Represents the request payload for fetching permission grants from a Decentralized Web Node (DWN).

Optionally, specify a remote DWN target in the from property to fetch requests from. Optionally, specify whether to check if the grant is revoked in the checkRevoked property.

Type declaration

  • Optional checkRevoked?: boolean

    Optionally check if the grant has been revoked.

  • Optional from?: string

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