import { UTXO } from '../utils/utxo'; export interface SoChainUTXO { txid: string; value: number; script_asm: string; script_hex: string; output_no: number; confirmations: number; time: number; } export interface SoChainTX { network: string; txid: string; blockhash: string | null; confirmations: number; time: number; inputs: Array<{ input_no: number; value: string; address: string; type: 'pubkeyhash'; script: string; witness: null; from_output: { txid: string; output_no: number; }; }>; outputs: Array<{ output_no: 0; value: string; address: string; type: 'pubkeyhash'; script: string; }>; tx_hex: string; size: number; version: 1; locktime: 0; } export declare const Sochain: { fetchUTXOs: (network: string) => (address: string, confirmations: number) => Promise; broadcastTransaction: (network: string) => (txHex: string) => Promise; fetchUTXO: (network: string) => (txHash: string, vOut: number) => Promise; fetchTXs: (network: string) => (address: string, confirmations?: number) => Promise; };