跳转到主要内容
POST
getAssetProofs
以命名参数传入 ids。结果是以每个请求 id 为键的对象。
  • 可用的方法名:getAssetProofs、get_asset_proofs、getAssetProofBatch 和 get_asset_proof_batch。
  • 每次调用最多 1,000 个 id。超出会返回 -32602 和 Batch Size Error。
  • 每个值的字段与 getAssetProof 相同,包括 last_indexed_slot。没有可用证明的 id 映射为 null,而不会导致调用失败。
  • 费用:每次调用 1 积分,与 id 数量无关。计入套餐的 DAS RPS 限制。
另见 DAS API 概览。 请求配置和错误处理见 RPC 快速入门。计费见积分与限制。

授权

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.

可用选项:
getAssetProofs
示例:

"getAssetProofs"

params
object
必填

Named parameters.

响应

Proofs keyed by asset id.

jsonrpc
enum<string>

The JSON-RPC protocol version.

可用选项:
2.0
示例:

"2.0"

id
string

Identifier matching the request.

示例:

"1"

result
object

Object keyed by each requested id. The value is the proof, or null when no proof is available (not a compressed NFT, or unknown).