API library

Space

userOwnedSpace storageHandler.userOwnedSpace(AccountId32)
BuySpace   storageHandler.buySpace(gibCount)
ExpansionSpace   storageHandler.expansionSpace(gibCount)
RenewalSpace  storageHandler.renewalSpace(days)

Authorize

AuthorizeSpace   oss.authorize
UnAuthorizeSpace  oss.cancelAuthorize()
QuaryAuthorizedAccount  oss.authorityList

Bucket

QueryBucketList   fileBank.userBucketList
QueryBucketInfo   fileBank.bucket
CreateBucket  fileBank.createBucket
DeleteBucket  fileBank.deleteBucket

File

FileList   userHoldFileList(AccountId32)
QueryFileMetadata  fileBank.file
StoreFile
DeleteFile  fileBank.deleteFile
DownloadFile

Last updated