bn.getStorageInfoSync
▸ getStorageInfoSync(): StorageInfo
description
Gets information about the current storage synchronously.
example
try {
const res = bn.getStorageInfoSync()
console.log(res.keys)
console.log(res.currentSize)
console.log(res.limitSize)
} catch (error) {
// From the something when catch error
}