stampGetTvcAppDeployments method

Future<TSignedRequest> stampGetTvcAppDeployments({
  1. required TGetTvcAppDeploymentsBody input,
})

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

See also: GetTvcAppDeployments.

Implementation

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

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