📄️ Thirdweb Storage SDK
thirdweb Storage
📄️ GatewayUrls type
Signature:
📄️ IpfsUploadBatchOptions type
Signature:
📄️ IpfsUploader.(constructor)
Constructs a new instance of the IpfsUploader class
📄️ IpfsUploader class
Default uploader used - handles uploading arbitrary data to IPFS
📄️ IpfsUploader.uploadBatch() method
Signature:
📄️ IpfsUploader.uploadWithGatewayUrl property
Signature:
📄️ IpfsUploaderOptions type
Signature:
📄️ isFileOrBuffer() function
Signature:
📄️ IStorageDownloader.download() method
Download arbitrary data from any URL scheme
📄️ IStorageDownloader interface
Signature:
📄️ IStorageUploader interface
Signature:
📄️ IStorageUploader.uploadBatch() method
Upload an array of arbitrary file data or JSON strings
📄️ IStorageUploader.uploadWithGatewayUrl property
If specified, will upload objects with gateway URLs instead of schemes
📄️ storage package
Classes
📄️ StorageDownloader.download() method
Signature:
📄️ StorageDownloader class
Default downloader used - handles downloading from all schemes specified in the gateway URLs configuration.
📄️ ThirdwebStorage.(constructor)
Constructs a new instance of the ThirdwebStorage class
📄️ ThirdwebStorage.download() method
Downloads arbitrary data from any URL scheme.
📄️ ThirdwebStorage.downloadJSON() method
Downloads JSON data from any URL scheme. Resolves any URLs with schemes to retrievable gateway URLs.
📄️ ThirdwebStorage.gatewayUrls property
Signature:
📄️ ThirdwebStorage class
Upload and download files from decentralized storage systems.
📄️ ThirdwebStorage.resolveScheme() method
Resolve any scheme on a URL to get a retrievable URL for the data
📄️ ThirdwebStorage.upload() method
Upload arbitrary file or JSON data using the configured decentralized storage system. Automatically uploads any file data within JSON objects and replaces them with hashes.
📄️ ThirdwebStorage.uploadBatch() method
Batch upload arbitrary file or JSON data using the configured decentralized storage system. Automatically uploads any file data within JSON objects and replaces them with hashes.
📄️ ThirdwebStorageOptions type
Signature:
📄️ UploadOptions type
Signature:
📄️ UploadProgressEvent type
Signature: