10 lines
386 B
TypeScript
10 lines
386 B
TypeScript
|
|
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;
|