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