Add signature verify method
This commit is contained in:
parent
02ba6c78d1
commit
d0d94c7f06
4 changed files with 170 additions and 13 deletions
types
1
types/psbt.d.ts
vendored
1
types/psbt.d.ts
vendored
|
@ -29,6 +29,7 @@ export declare class Psbt extends PsbtBase {
|
|||
inputResults: boolean[];
|
||||
};
|
||||
finalizeInput(inputIndex: number): boolean;
|
||||
validateSignatures(inputIndex: number, pubkey?: Buffer): boolean;
|
||||
signInput(inputIndex: number, keyPair: Signer): this;
|
||||
signInputAsync(inputIndex: number, keyPair: SignerAsync): Promise<void>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue