mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
Bitcoinjs (#20556)
* added inputs to transaction builder * verify should return boolean, fixed inputs * added property private key (d) in ECPair class
This commit is contained in:
2
types/bitcoinjs-lib/index.d.ts
vendored
2
types/bitcoinjs-lib/index.d.ts
vendored
@@ -66,6 +66,8 @@ export class ECPair {
|
||||
|
||||
constructor(d: null | undefined, Q: any, options?: { compressed?: boolean, network?: Network }); // Q should be ECPoint, but not sure how to define such type
|
||||
|
||||
d: BigInteger;
|
||||
|
||||
getAddress(): string;
|
||||
|
||||
getNetwork(): Network;
|
||||
|
||||
Reference in New Issue
Block a user