stampGetLatestBootProof method
Produce a SignedRequest from TGetLatestBootProofBody by using the client's stamp function.
See also: GetLatestBootProof.
Implementation
Future<TSignedRequest> stampGetLatestBootProof({
required TGetLatestBootProofBody input,
}) async {
final fullUrl = '${config.baseUrl}/public/v1/query/get_latest_boot_proof';
final body = jsonEncode(input);
final stamp = await stamper.stamp(body);
return TSignedRequest(
body: body,
stamp: stamp,
url: fullUrl,
);
}