UNPKG

crypto-ducatus-wallet-core

Version:

A multi-currency support library for address derivation, private key creation, and transaction creation

54 lines 1.27 kB
import { Key } from '../../derivation'; export declare class BTCTxProvider { lib: any; selectCoins(recipients: Array<{ amount: number; }>, utxos: Array<{ value: number; mintHeight: number; txid?: string; mintTxid?: string; mintIndex?: number; }>, fee: number): { value: number; mintHeight: number; txid?: string; mintTxid?: string; mintIndex?: number; }[]; create({ recipients, utxos, change, wallet, fee }: { recipients: any; utxos?: any[]; change: any; wallet: any; fee?: number; }): any; getSignature(params: { tx: string; keys: Array<Key>; }): void; applySignature(params: { tx: string; keys: Array<Key>; }): void; getHash(params: { tx: string; }): any; sign(params: { tx: string; keys: Array<Key>; utxos: any[]; }): any; getRelatedUtxos({ outputs, utxos }: { outputs: any; utxos: any; }): any; getOutputsFromTx({ tx }: { tx: any; }): any; getSigningAddresses({ tx, utxos }: { tx: any; utxos: any; }): string[]; } //# sourceMappingURL=index.d.ts.map