/** * Bitcoin Provider Module * * Provides Bitcoin blockchain data access through RPC provider. * Supports UTXO queries, scriptPubKey retrieval, and transaction queries. */ /** * UTXO data from Bitcoin network */ export interface UTXO { txid: string; vout: number; value: number; confirmations: number; scriptPubKey: string; } /** * Bitcoin RPC provider client */ export declare class BitcoinProvider { constructor(_providerUrl: string); /** * Get UTXOs for Bitcoin address * * @param address - Bitcoin address * @param minConfirmations - Minimum confirmations required * @returns Array of UTXOs */ getUtxos(_address: string, _minConfirmations?: number): Promise; /** * Get scriptPubKey for transaction output * * @param txid - Transaction ID * @param vout - Output index * @returns ScriptPubKey hex string */ getScriptPubKey(_txid: string, _vout: number): Promise; /** * Check if UTXO exists and is unspent * * @param txid - Transaction ID * @param vout - Output index * @returns true if UTXO exists and is unspent */ checkUtxoExists(_txid: string, _vout: number): Promise; /** * Broadcast Bitcoin transaction * * @param txHex - Signed transaction hex * @returns Transaction ID */ broadcastTransaction(_txHex: string): Promise; } //# sourceMappingURL=provider.d.ts.map