跳转到主要内容
POST
在同一个列表中返回基于账户的 NFT、Core 资产和压缩 NFT。也可使用 get_assets_by_group 调用。
  • groupKey 为 collection 或 group;其他键不返回任何条目。
  • 只列出已验证的成员。设置 options.showUnverifiedCollections 可包含未验证成员。
  • limit 默认为 1000,且不能超过 1000。total 是当前页的条目数。
  • 未传入 page、before 或 after 时,响应会带有 cursor。将其作为 cursor 传回以获取下一页;items 为空时停止。
  • page 从 1 开始。page、before/after 和 cursor 不能组合使用。
  • 默认按 id 降序排序。created、updated 和 recent_action 按 slot 排序,需要使用 page 分页,且最多支持 50,000 个匹配资产。
  • 一次请求最多检查 200,000 个候选资产。在大型集合中翻到很深的页时,请使用 cursor 分页,而不是很大的 page 页码。
  • 消耗 1 积分,并计入套餐的 DAS RPS 限制。
请求配置和错误处理见 RPC 快速入门。计费见积分与限制。 全部 DAS 方法见 DAS API 概览。

授权

api_key
string
query
必填

请求体

application/json
jsonrpc
enum<string>
必填

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string
必填

A unique identifier for the request.

示例:

"1"

method
enum<string>
必填

The name of the RPC method to invoke.

可用选项:
getAssetsByGroup
示例:

"getAssetsByGroup"

params
object
必填

Group to list and pagination settings.

响应

Successfully retrieved assets in the group.

jsonrpc
enum<string>

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string

Identifier matching the request.

示例:

"1"

result
object

A page of assets.