packIntoCell function
Future<(String, String)>
packIntoCell({
- required List<
AbiParam> params, - required TokensObject tokens,
- required String? abiVersion,
Return (base64 tvc, hash) or throws error
Implementation
Future<(String, String)> packIntoCell({
required List<AbiParam> params,
required TokensObject tokens,
required String? abiVersion,
}) async {
final data = await createLib().packIntoCell(
params: jsonEncode(params),
tokens: jsonEncode(tokens),
version: abiVersion,
);
return (data[0], data[1]);
}