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