Functions
allocateStorage
-
Parameters
-
-
-
clientId: string
-
-
Optional timeStamp: undefined | number
computeStoragePartDataId
- computeStoragePartDataId(allocationId: any, path: any, fileName: any, partNum: any): string
-
Parameters
-
allocationId: any
-
path: any
-
fileName: any
-
partNum: any
Returns string
createAllocateStorageTransaction
-
Parameters
-
clientId: string
-
-
Optional timeStamp: undefined | number
createStoreDataTransaction
- createStoreDataTransaction(clientId: string, payload: any, timeStamp?: undefined | number): Transaction
-
Parameters
-
clientId: string
-
payload: any
-
Optional timeStamp: undefined | number
getAllocationFilesFromPath
- getAllocationFilesFromPath(allocationId: any, blobberList: any, path: any): Promise<any>
-
Parameters
-
allocationId: any
-
blobberList: any
-
path: any
Returns Promise<any>
getAllocations
- getAllocations(network: Network, clientId: string): Promise<any>
-
Parameters
Returns Promise<any>
getFileMetaDataFromBlobber
- getFileMetaDataFromBlobber(allocation_id: any, blobber_url: any, path: any, fileName: any): Promise<any>
-
Parameters
-
allocation_id: any
-
blobber_url: any
-
path: any
-
fileName: any
Returns Promise<any>
getStorageSmartContractStateForKey
- getStorageSmartContractStateForKey(network: Network, keyName: string, keyValue: string): Promise<any>
-
Parameters
-
-
keyName: string
-
keyValue: string
Returns Promise<any>
storeData
-
Parameters
-
-
-
clientId: string
-
payload: any
-
Optional timeStamp: undefined | number