getActivity method

Future<TGetActivityResponse> getActivity({
  1. required TGetActivityBody input,
})

Get details about an activity.

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

See also: stampGetActivity.

Implementation

Future<TGetActivityResponse> getActivity({
  required TGetActivityBody input,
}) async {
  return await request<TGetActivityBody, TGetActivityResponse>(
      "/public/v1/query/get_activity",
      input,
      (json) => TGetActivityResponse.fromJson(json));
}