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