Push Files
Call the .PushFileToStorageEngine() to push file to storage or IPFS.
Returns
The function returns the file_hash for the stored file or null if the file could not be stored.
Required parameters
Parameter | Description |
---|---|
file - File or Blob or string | File to push to storage or ipfs |
APIServer - string | Target API server |
storageEngine - StorageEngine | Storage engine to use, either Aleph storage or IPFS. Possible values: |
Last updated