import { IndexerService, UtxoQueryOptions } from '../IndexerService.js'; import { VersionMetadata } from '../../../core/versioning/index.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; /** * Fetch the output of an origin * @param origin - The origin outpoint (txid_vout) * @returns The output of the origin in base64 */ private fetchOutput; /** * Fetch the latest inscription in an origin chain using :-1 resolution * Generic method that works for any origin chain (versioning, HTML, etc.) * * @param origin - The origin outpoint (txid_vout) * @param options - Fetch options * @param options.includeUtxo - Whether to fetch UTXO details (for spending in next deployment) * @param options.includeMap - Whether to fetch metadata from x-map header * @returns The latest inscription details */ fetchLatestFromOrigin(origin: string, options: { includeUtxo: boolean; includeMap: boolean; }): Promise<{ metadata: VersionMetadata | null; 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) */ listUnspentPaymentUtxos(address: string, options?: UtxoQueryOptions): Promise; } //# sourceMappingURL=indexer.d.ts.map