aegis/lib/dgb/psbt/sign.d.ts

10 lines
386 B
TypeScript
Raw Normal View History

import type { Psbt } from 'bitcoinjs-lib';
import type { ECPairInterface } from 'ecpair';
export declare function signAllInputs(psbt: Psbt, keyPair: ECPairInterface): Psbt;
export declare function finalizeAndExtract(psbt: Psbt): {
hex: string;
txid: string;
};
export declare function feeSats(psbt: Psbt): number;
export declare function feeRateSatsPerByte(psbt: Psbt): number;