đŧ Upload Data
This section covers the steps to upload data to Lighthouse. Four types of uploads are supported: file, text/JSON, buffer, and CAR files.
New in v0.4.4
All upload methods now support a flexible options object pattern with storage type headers. The storageType option accepts "annual" or "lifetime" values and is passed as an X-Storage-Type header to the backend. See individual method docs for details.
tip
Check the Filecoin First section to upload via Filecoin Virtual Machine.