UNPKG

@ecash/lib

Version:

Library for eCash transaction building

33 lines 973 B
import { Ecc } from './ecc.js'; export declare class HdNode { private _ecc; private _seckey; private _pubkey; private _chainCode; private _depth; private _index; private _parentFingerprint; constructor(params: { ecc: Ecc; seckey: Uint8Array | undefined; pubkey: Uint8Array; chainCode: Uint8Array; depth: number; index: number; parentFingerprint: number; }); seckey(): Uint8Array | undefined; pubkey(): Uint8Array; pkh(): Uint8Array; fingerprint(): Uint8Array; index(): number; depth(): number; parentFingerprint(): number; chainCode(): Uint8Array; derive(index: number): HdNode; deriveHardened(index: number): HdNode; derivePath(path: string): HdNode; static fromPrivateKey(ecc: Ecc, seckey: Uint8Array, chainCode: Uint8Array): HdNode; static fromSeed(ecc: Ecc, seed: Uint8Array): HdNode; } //# sourceMappingURL=hdwallet.d.ts.map