Fetch the Merkle proof for a compressed digital asset.
HTTP transport instance
Base-58 encoded asset public key
Commitment level and call options
The Merkle proof containing root, proof nodes, leaf, and tree ID
const proof = await getAssetProof(transport, assetId);console.log(proof.root, proof.proof.length); Copy
const proof = await getAssetProof(transport, assetId);console.log(proof.root, proof.proof.length);
1.0.0
Fetch the Merkle proof for a compressed digital asset.