Skip to main content

Overview

getAsset returns one asset by its ID: metadata, ownership, royalties, creators, collection, compression state and token details, all in one call. It works for every asset type the DAS API indexes.

Parameters

string
required
The asset ID (base-58). For token-based assets use the mint address.
object
Display options: showUnverifiedCollections, showCollectionMetadata, showInscription. Also accepted as displayOptions.

Response

An asset object.

Code Examples

Request

Response

A compressed NFT from the DRiP collection:

TypeScript

Common Errors