unpackFromCell function

Future<TokensObject> unpackFromCell({
  1. required List<AbiParam> params,
  2. required String boc,
  3. required bool allowPartial,
  4. required String? abiVersion,
})

Parse list of params and return json-encoded Tokens or throws error

Implementation

Future<TokensObject> unpackFromCell({
  required List<AbiParam> params,
  required String boc,
  required bool allowPartial,
  required String? abiVersion,
}) async {
  return jsonDecode(await createLib().unpackFromCell(
    params: jsonEncode(params),
    boc: boc,
    allowPartial: allowPartial,
    version: abiVersion,
  ));
}