unpackContractFields function
Unpack contract fields. Returns optional json-encoded Map<String, Token> or throw error
Implementation
Future<Map<String, dynamic>?> unpackContractFields({
required String contractAbi,
required String boc,
required bool allowPartial,
}) async {
final result = await createLib().unpackContractFields(
contractAbi: contractAbi,
boc: boc,
allowPartial: allowPartial,
);
if (result == null) return null;
return jsonDecode(result) as Map<String, dynamic>;
}