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