cache_unpin method

Future<void> cache_unpin(
  1. ParamsOfBocCacheUnpin params
)

Unpin BOCs with specified pin defined in the cache_set. Decrease pin reference counter for BOCs with specified pin defined in the cache_set. BOCs which have only 1 pin and its reference counter become 0 will be removed from cache

Implementation

Future<void> cache_unpin(ParamsOfBocCacheUnpin params) async {
  await _tonCore.request('boc.cache_unpin', params.toString());
}