概述
getAssetsByCreator 列出 creators 数组中包含某个地址的资产。设置 onlyVerified 后,只返回该创作者已签名验证的资产,从而过滤掉未经知名创作者同意就将其列为创作者的资产。
参数
string
必填
创作者地址(base-58)。
boolean
仅返回该创作者已验证的资产。默认为
false。number
每页结果数。最大值和默认值均为 1,000。
string
来自上一次响应的游标。
string
返回 ID 在此 ID 之前的资产。
string
返回 ID 在此 ID 之后的资产。
object
{ "sortBy": "id" | "created" | "updated" | "recent_action" | "none", "sortDirection": "asc" | "desc" }object
显示选项:
showFungible、showUnverifiedCollections、showCollectionMetadata、showInscription。也可以作为 displayOptions 传入。响应
一个列表,包含last_indexed_slot、total、limit、page 或 cursor,以及 items(资产对象)。