encode_boc method

Encodes bag of cells (BOC) with builder operations. This method provides the same functionality as Solidity TvmBuilder. Resulting BOC of this method can be passed into Solidity and C++ contracts as TvmCell type.

Implementation

Future<ResultOfEncodeBoc> encode_boc(ParamsOfEncodeBoc params) async {
  final res =
      await _tonCore.request('boc.encode_boc', params.toString());
  return ResultOfEncodeBoc.fromMap(res);
}