Skip to main content

Overview

getAssetProofBatch returns Merkle proofs for many compressed assets at once, which helps when you transfer or burn several compressed NFTs in a row. This method is also available as getAssetProofs.

Parameters

string[]
required
Compressed asset IDs (base-58). At most 1,000.

Response

object
An object keyed by asset ID. Each value is a proof with the same fields as getAssetProof, or null if no proof was found for that ID.

Code Examples

Request

Response

The proof array is shortened. A full proof has one node per tree level.

TypeScript

Rust

With the OrbitFlare Rust SDK. Proofs come back keyed by asset ID, and more than 1,000 IDs are split into several requests:

Common Errors