stampNOOPCodegenAnchor method
Produce a SignedRequest from TNOOPCodegenAnchorBody by using the client's stamp function.
See also: NOOPCodegenAnchor.
Implementation
Future<TSignedRequest> stampNOOPCodegenAnchor({
required TNOOPCodegenAnchorBody input,
}) async {
final fullUrl = '${config.baseUrl}/tkhq/api/v1/noop-codegen-anchor';
final body = jsonEncode(input);
final stamp = await stamper.stamp(body);
return TSignedRequest(
body: body,
stamp: stamp,
url: fullUrl,
);
}