Methods
getContentFromGaiaHub
- getContentFromGaiaHub(address: string, filename: string): Promise<any>
-
Parameters
-
address: string
-
filename: string
Returns Promise<any>
uploadContentToGaiaHub
- uploadContentToGaiaHub(filename: string, content: any, keyManager: IKeyManager, type?: string): Promise<string>
-
Parameters
-
filename: string
-
content: any
-
-
Default value type: string = "application/json"
Returns Promise<string>
Static getContentFromGaiaHub
- getContentFromGaiaHub(readUrlPrefix: string, address: string, filename: string, cacheStorage: StorageService): Promise<any>
-
Parameters
-
readUrlPrefix: string
-
address: string
-
filename: string
-
Returns Promise<any>
Static getGaiaReadUrl
- getGaiaReadUrl(gaiaHub: string, cacheStorage: StorageService): Promise<string>
-
Parameters
Returns Promise<string>