import { IndexerService, UtxoQueryOptions } from '../IndexerService.js'; import { VersionMetadata } from '../../versioningInscriptionHandler.js'; import { Utxo } from 'js-1sat-ord'; /** * IndexerService implementation for GorillaPool/1Sat Ordinals API */ export declare class GorillaPoolIndexer extends IndexerService { constructor(baseUrl?: string, contentUrl?: string); private parseOutput; /** * Get version metadata from the latest inscription in the origin chain * * @param versionInscriptionOrigin - The origin outpoint of the versioning inscription * @param contentUrl - Optional content service URL (defaults to GORILLA_POOL_CONTENT_URL) * @returns Parsed metadata object with version:outpoint mappings */ fetchLatestVersionMetadata(versionInscriptionOrigin: string, includeUtxo: boolean): Promise<{ metadata: VersionMetadata; utxo: Utxo | null; }>; /** * Broadcast a raw transaction * Endpoint: POST /tx */ broadcastTransaction(rawTxHex: string): Promise; /** * List unspent UTXOs for an address * Endpoint: GET /api/txos/address/{address}/unspent * * If UtxoQueryOptions are provided, returns enough UTXOs to satisfy funding requirements. * Otherwise returns all available UTXOs. * * Uses pagination to fetch all available UTXOs across multiple API calls if needed. * * @param address - Bitcoin address * @param options - Query options (optional) * @param type - Filter by UTXO type: 'pay' (>1 sat), 'ordinal' (1 sat), or undefined (all) */ listUnspent(address: string, options?: UtxoQueryOptions): Promise; } //# sourceMappingURL=indexer.d.ts.map