getPolicy method
Get details about a policy.
Sign the provided TGetPolicyBody with the client's stamp function and submit the request (POST /public/v1/query/get_policy).
See also: stampGetPolicy.
Implementation
Future<TGetPolicyResponse> getPolicy({
required TGetPolicyBody input,
}) async {
return await request<TGetPolicyBody, TGetPolicyResponse>(
"/public/v1/query/get_policy",
input,
(json) => TGetPolicyResponse.fromJson(json));
}