runLocal function
Run contract local. Return json-encoded ExecutionOutput or throws error.
input - is json-encoded AbiToken
Implementation
Future<ExecutionOutput> runLocal({
required String accountStuffBoc,
required String contractAbi,
required String method,
required Map<String, dynamic> input,
required bool responsible,
}) async {
final res = await createLib().runLocal(
accountStuffBoc: accountStuffBoc,
contractAbi: contractAbi,
method: method,
input: jsonEncode(input),
responsible: responsible,
);
return ExecutionOutput.fromJson(jsonDecode(res));
}