getOrganization method

Future<TGetOrganizationResponse> getOrganization({
  1. required TGetOrganizationBody input,
})

Get details about an organization.

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

See also: stampGetOrganization.

Implementation

Future<TGetOrganizationResponse> getOrganization({
  required TGetOrganizationBody input,
}) async {
  return await request<TGetOrganizationBody, TGetOrganizationResponse>(
      "/public/v1/query/get_organization",
      input,
      (json) => TGetOrganizationResponse.fromJson(json));
}