params of type The parameters for the upload operation. This includes the data to upload, the configuration for the IPFS, and the type of the data.
A promise that resolves with the response of type from the IPFS if the upload is successful, or null if the upload fails.
const response = await uploadToIPFS({ data: myData, config: myConfig, type: 'meta' })
Generated using TypeDoc
Uploads data to the InterPlanetary File System (IPFS). One can setup their own IPFS node or use a service like kubo.