Introduction to DAS API
The Metaplex Digital Asset Standard (DAS) 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
Metaplex DAS API for Solana is available for all Quicknode accounts. Enable Metaplex DAS (Digital Asset Standard) API add-on for your Quicknode endpoint to get started.
Pagination Options
- By Page: Return results of a specified page. Use the
页面parameter to specify which page of data to return. - By Cursor: Use the
cursorparam ro return the next set of paginated results based on thecursorprovided in a previous response. - By Range: Use the
before以及之后params to specify a start and end range to return a specific range of items.
Sorting Options
id: Sort results byid创建: 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.collectiongetAssetsByOwner: List assets owned by a specific wallet addressgetAssetSignatures: List transactions signatures for a specified compressed assetgetTokenAccounts: List token accounts and balances for a specifiedmintAddress或所有者地址getNftEditions: 获取指定主 NFT 的版本 NFT 的详细信息searchAssets: 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.
我们 ❤️ 您的反馈!
如果您对本文档有任何反馈或疑问,请告诉我们。我们非常期待您的反馈!