UNPKG

send-crypto

Version:

A minimal JavaScript library / wallet for sending crypto assets

9 lines (8 loc) 565 B
import { UTXO } from "../../lib/utxo"; export declare const broadcastTransaction: (testnet: boolean) => (txHex: string) => Promise<string>; export declare const BitcoinDotCom: { fetchUTXO: (testnet: boolean) => (txHash: string, vOut: number) => Promise<UTXO>; fetchUTXOs: (testnet: boolean) => (address: string, confirmations: number) => Promise<readonly UTXO[]>; fetchTXs: (testnet: boolean) => (address: string, confirmations: number) => Promise<readonly UTXO[]>; broadcastTransaction: (testnet: boolean) => (txHex: string) => Promise<string>; };