/** * DasApi - Digital Asset Standard API * * Complete coverage of Helius DAS API for NFTs and tokens */ import type { LunaHeliusClient } from '../LunaHeliusClient'; import type { RpcResponse, Asset, AssetProof, AssetList } from '../types'; export interface GetAssetParams { id: string; displayOptions?: { showFungible?: boolean; showInscription?: boolean; showCollectionMetadata?: boolean; showUnverifiedCollections?: boolean; }; } export interface GetAssetsByOwnerParams { ownerAddress: string; page?: number; limit?: number; cursor?: string; before?: string; after?: string; sortBy?: { sortBy: 'created' | 'updated' | 'recentAction' | 'none'; sortDirection: 'asc' | 'desc'; }; displayOptions?: { showFungible?: boolean; showInscription?: boolean; showCollectionMetadata?: boolean; showUnverifiedCollections?: boolean; showNativeBalance?: boolean; showGrandTotal?: boolean; }; } export interface SearchAssetsParams { page?: number; limit?: number; cursor?: string; before?: string; after?: string; creatorAddress?: string; creatorVerified?: boolean; ownerAddress?: string; delegate?: string; frozen?: boolean; supply?: number; supplyMint?: string; compressed?: boolean; compressible?: boolean; royaltyTargetType?: 'creators' | 'fanout' | 'single'; royaltyTarget?: string; royaltyAmount?: number; burnt?: boolean; sortBy?: { sortBy: 'created' | 'updated' | 'recentAction' | 'none'; sortDirection: 'asc' | 'desc'; }; interface?: string; jsonUri?: string; grouping?: [string, string]; tokenType?: 'fungible' | 'nonFungible' | 'regularNft' | 'compressedNft' | 'all'; displayOptions?: { showFungible?: boolean; showInscription?: boolean; showCollectionMetadata?: boolean; showUnverifiedCollections?: boolean; showNativeBalance?: boolean; showGrandTotal?: boolean; }; } export declare class DasApi { private readonly client; constructor(client: LunaHeliusClient); /** Get a single asset by ID */ getAsset(params: GetAssetParams): Promise>; /** Get multiple assets by IDs */ getAssets(ids: string[]): Promise>; /** Get asset proof for compressed NFT */ getAssetProof(id: string): Promise>; /** Get asset proofs for multiple compressed NFTs */ getAssetProofs(ids: string[]): Promise>; /** Get assets by authority */ getAssetsByAuthority(params: { authorityAddress: string; page?: number; limit?: number; cursor?: string; before?: string; after?: string; sortBy?: { sortBy: string; sortDirection: 'asc' | 'desc'; }; displayOptions?: any; }): Promise>; /** Get assets by creator */ getAssetsByCreator(params: { creatorAddress: string; onlyVerified?: boolean; page?: number; limit?: number; cursor?: string; before?: string; after?: string; sortBy?: { sortBy: string; sortDirection: 'asc' | 'desc'; }; displayOptions?: any; }): Promise>; /** Get assets by group (collection) */ getAssetsByGroup(params: { groupKey: string; groupValue: string; page?: number; limit?: number; cursor?: string; before?: string; after?: string; sortBy?: { sortBy: string; sortDirection: 'asc' | 'desc'; }; displayOptions?: any; }): Promise>; /** Get assets by owner */ getAssetsByOwner(params: GetAssetsByOwnerParams): Promise>; /** Get signatures for an asset */ getAssetSignatures(params: { id: string; page?: number; limit?: number; cursor?: string; before?: string; after?: string; sortDirection?: 'asc' | 'desc'; }): Promise>; /** Get token accounts */ getTokenAccounts(params: { owner?: string; mint?: string; page?: number; limit?: number; cursor?: string; before?: string; after?: string; displayOptions?: any; }): Promise>; /** Get NFT editions */ getNftEditions(params: { mint: string; page?: number; limit?: number; }): Promise>; /** Search assets with filters */ searchAssets(params: SearchAssetsParams): Promise>; } //# sourceMappingURL=DasApi.d.ts.map