概述
getAssetsByAuthority 列出某个地址出现在 authorities 中的资产,该地址通常是更新权限。项目通常从同一个权限地址铸造所有合集,因此这是列出某个项目所控制的全部资产的快捷方式。
该方法没有 snake_case 别名。请以 getAssetsByAuthority 调用。
参数
string
必填
权限地址(base-58)。
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(资产对象)。