DOCS

IThirdwebStorage

type IThirdwebStorage = {
  download: (
    url: string,
    options?: SingleDownloadOptions,
  ) => Promise<Response>;
  downloadJSON: (url: string) => Promise<TJSON>;
  getGatewayUrls: () => GatewayUrls;
  resolveScheme: (url: string) => string;
  upload: (data: any, options?: {}) => Promise<string>;
  uploadBatch: (data: any[], options?: {}) => Promise<string[]>;
};