let readObject: nkruntime.StorageReadRequest = [
{ collection: ‘CDKEY’, key: ‘use’, adminId }, { collection: ‘CDKEY’, key: ‘unuse’, adminId }];
let objects = nk.storageRead(readObject);
let usedKeys = objects[0].value;
let unusedKeys = objects[1].value;
I have stored some data under the administrator account,I’m using this code to read storagebejct stored under the administrator account. Most of the time, it works fine, but sometimes it returns null, and I can’t figure out why. Does anyone know the reason?