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