getPrivateKeys method

Future<TGetPrivateKeysResponse> getPrivateKeys({
  1. required TGetPrivateKeysBody input,
})

List all private keys within an organization.

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

See also: stampGetPrivateKeys.

Implementation

Future<TGetPrivateKeysResponse> getPrivateKeys({
  required TGetPrivateKeysBody input,
}) async {
  return await request<TGetPrivateKeysBody, TGetPrivateKeysResponse>(
      "/public/v1/query/list_private_keys",
      input,
      (json) => TGetPrivateKeysResponse.fromJson(json));
}