文件列表
View your uploaded files
getUploads(walletAddress, payloadCid, fileName, orderBy, isAscend, status, isMinted, pageNumber, pageSize)
The following code example lists a user's uploaded files. The list can be searched by file name, and also be filtered or sorted.
Parameters
walletAddress: lists the files uploaded by this account (required)
fileName: filter by this file name
orderBy: sort the list by file name, file size, or upload time (default)
isAscend: y for ascending list, otherwise descend (default)
status: Pending, Processing, Refundable, Refunded, Success or other
isMinted: y, n, all (default)
pageNumber: page number (default 1)
pageSize: number of results in a page (default 10)
Only the walletAddress parameter is required, the rest are optional.
Return
Returns an array containing some details of the file(s).
Last updated