Introduction to DAS API
Solana DAS API (Digital Asset Standard API) is a comprehensive service designed to make querying Solana digital assets efficient and developer-friendly. Supporting a wide range of assets, including standard and compressed NFTs, fungible tokens, and MPL Core Assets, as well as token extensions like Token 2022, the DAS API provides a robust foundation for building scalable blockchain applications leveraging digital assets.
DAS API ensures fast and reliable access to asset metadata and state. Whether you need to fetch a single asset, query collections, or analyze token accounts by mint account or owner's wallet, the DAS API offers versatile methods tailored to your needs.
How to Use DAS API
Accessing DAS API
Pagination Options
- By Page: Return results of a specified page. Use the
page
parameter to specify which page of data to return. - By Cursor: Use the
cursor
param ro return the next set of paginated results based on thecursor
provided in a previous response. - By Range: Use the
before
andafter
params to specify a start and end range to return a specific range of items.
Sorting Options
id
: Sort results byid
created
: Sort results by the creation daterecent_action
: Sort by recent updatenone
: Do not sort
Sort Direction
asc
: Results are sorted in ascending orderdesc
: Results are sorted in descending order
Supported DAS API Methods
getAsset
: Return the metadata information of a compressed/standard assetgetAssets
: Fetch metadata for multiple assets in a single requestgetAssetProof
: Obtain the Merkle proof for a specific assetgetAssetProofs
: Retrieve Merkle proofs for multiple assetsgetAssetsByAuthority
: Fetch all assets controlled by a specific authoritygetAssetsByCreator
: Retrieve assets created by a specified creatorgetAssetsByGroup
: Fetch assets using custom group identifiers, i.e.collection
getAssetsByOwner
: List assets owned by a specific wallet addressgetAssetSignatures
: List transactions signatures for a specified compressed assetgetTokenAccounts
: List token accounts and balances for a specifiedmintAddress
orownerAddress
getNftEditions
: Retrieve details of edition NFTs of a specified master NFTsearchAssets
: Search for assets matching specific parameters
Supported Tokens
- Standard NFTs: An NFT on Solana is a unique, indivisible digital asset with metadata stored on-chain or off-chain, representing ownership of items like art, collectibles, or gaming assets. Each NFT has a unique identifier, ensuring its distinctness and rarity.
- Compressed NFTs: A compressed NFT on Solana is a lightweight, cost-efficient version of a regular NFT. It leverages Merkle trees to reduce storage costs by keeping the bulk of the data off-chain while maintaining the asset's integrity and verifiability on-chain.
- Fungible Tokens: Fungible Tokens on Solana are interchangeable digital assets with a consistent value, such as SPL tokens. They are commonly used for payments, rewards, and liquidity within decentralized finance (DeFi) ecosystems.
- MPL Core Assets: MPL Core Assets are Solana NFTs built on the next-generation Metaplex Core standard. They feature a single-account design optimized for NFTs, enabling advanced functionality such as enforced royalties, collection-level operations, and plugin-based customization.
- Token 2022 Assets: Token 2022 Assets on Solana are an upgraded standard for fungible and non-fungible tokens, offering enhanced functionality and efficiency compared to the SPL token standard. They include advanced features like native support for royalties, multisig authority, and extended metadata capabilities, making them ideal for next-generation decentralized applications and financial use cases.
We ❤️ Feedback!
If you have any feedback or questions about this documentation, let us know. We'd love to hear from you!