stampGetTvcApps method

Future<TSignedRequest> stampGetTvcApps({
  1. required TGetTvcAppsBody input,
})

Produce a SignedRequest from TGetTvcAppsBody by using the client's stamp function.

See also: GetTvcApps.

Implementation

Future<TSignedRequest> stampGetTvcApps({
  required TGetTvcAppsBody input,
}) async {
  final fullUrl = '${config.baseUrl}/public/v1/query/list_tvc_apps';
  final body = jsonEncode(input);
  final stamp = await stamper.stamp(body);

  return TSignedRequest(
    body: body,
    stamp: stamp,
    url: fullUrl,
  );
}