Skip to main content

Upload folder to IPFS

POSThttps://deep-index.moralis.io/api/v2/ipfs/uploadFolder

Upload multiple files to IPFS and place them in a folder directory.

BODY PARAM
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.ipfs.uploadFolder({});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
Empty