getPolicyEvaluations method

Future<TGetPolicyEvaluationsResponse> getPolicyEvaluations({
  1. required TGetPolicyEvaluationsBody input,
})

Get the policy evaluations for an activity.

Sign the provided TGetPolicyEvaluationsBody with the client's stamp function and submit the request (POST /public/v1/query/get_policy_evaluations).

See also: stampGetPolicyEvaluations.

Implementation

Future<TGetPolicyEvaluationsResponse> getPolicyEvaluations({
  required TGetPolicyEvaluationsBody input,
}) async {
  return await request<TGetPolicyEvaluationsBody,
          TGetPolicyEvaluationsResponse>(
      "/public/v1/query/get_policy_evaluations",
      input,
      (json) => TGetPolicyEvaluationsResponse.fromJson(json));
}