get_crypto_box_info method

Future<ResultOfGetCryptoBoxInfo> get_crypto_box_info(
  1. RegisteredCryptoBox params
)

Get Crypto Box Info. Used to get encrypted_secret that should be used for all the cryptobox initializations except the first one.

Implementation

Future<ResultOfGetCryptoBoxInfo> get_crypto_box_info(
    RegisteredCryptoBox params) async {
  final res =
      await _tonCore.request('crypto.get_crypto_box_info', params.toString());
  return ResultOfGetCryptoBoxInfo.fromMap(res);
}