Overview
ThegetUserUploadHistory method retrieves all uploads associated with a Solana wallet address, including file metadata, expiration dates, and deletion status.
Basic Usage
Parameters
string
required
Solana wallet address (as a string)
ServerOptions
Optional server configuration
Response Structure
UploadedFile Type
Each file in the history includes:Complete Example
With SWR (Auto-Refresh)
Use SWR for automatic refreshing:Filtering & Searching
Filter uploads by status or search by filename:Deletion Status
Files go through three deletion statuses:1
active
File is within storage duration and accessible
2
warned
File will expire in 7 days or less (warning email sent)
3
deleted
File has expired and been removed from storage
Days Remaining
ThedaysRemaining field shows time until expiration:
Statistics
The response includes helpful statistics:Viewing Files
Each file has aurl property for accessing content:
Transaction History
View blockchain transaction:Related
Create Deposit
Upload new files
Renew Storage
Extend file expiration
Storage Payments
Understanding costs
Renewal Concept
When to renew