Skip to main content

Overview

Building a Bubblegum transfer, burn or delegate instruction needs data from two places: the asset (owner, delegate, data hash, creator hash, leaf index) and its Merkle proof. getAssetWithProof returns both in one round trip. This method is an OrbitFlare addition. You can still call getAsset and getAssetProof separately.

Parameters

string
required
The compressed asset ID (base-58).
object
Display options for the asset: showUnverifiedCollections, showCollectionMetadata, showInscription. Also accepted as displayOptions.

Response

object

Code Examples

Request

Response

The asset and proof are shortened. See getAsset and getAssetProof for full examples.

TypeScript

Collect the fields a Bubblegum transfer needs:

Common Errors