multichain-controller
Version:
A Multichain crypto wallet library that supports Ethereum, Bitcoin, Solana, Waves and other EVM compatible blockchains E.g. Binance Smart Chain, Polygon, Avalanche etc.
8 lines (7 loc) • 469 B
TypeScript
import { UTXO } from '../utils/utxo';
export declare const Blockstream: {
fetchUTXO: (testnet: boolean) => (txHash: string, vOut: number) => Promise<UTXO>;
fetchUTXOs: (testnet: boolean) => (address: string, confirmations: number) => Promise<readonly UTXO[]>;
broadcastTransaction: (testnet: boolean) => (txHex: string) => Promise<string>;
fetchTXs: (testnet: boolean) => (address: string, confirmations?: number) => Promise<readonly UTXO[]>;
};