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
Display options for the asset:
showUnverifiedCollections, showCollectionMetadata, showInscription. Also accepted as displayOptions.Response
Code Examples
Request
Response
TypeScript
Collect the fields a Bubblegum transfer needs:Rust
With the OrbitFlare Rust SDK:get_asset_with_proof_with_options also takes display options.