register_encryption_box method

Future<RegisteredEncryptionBox> register_encryption_box(
  1. Function params
)

Register an application implemented encryption box.

Implementation

Future<RegisteredEncryptionBox> register_encryption_box(
    Function params) async {
  final res = await _tonCore.request(
      'crypto.register_encryption_box', params.toString());
  return RegisteredEncryptionBox.fromMap(res);
}