The collection ID
The product ID
The proof ID
The file to upload
Optional extraData: Record<string, any>Arbitrary extra data to include (will be stringified as JSON)
Optional onProgress: ((percent) => void)Optional callback for upload progress (0-100)
Promise resolving to an AssetResponse object
Uploads an asset file to a proof, with optional extraData as JSON. Supports progress reporting via onProgress callback (browser only).