UNPKG

@pokt-network/pocket-js

Version:

Pocket-js core package with the main functionalities to interact with the Pocket Network.

18 lines (17 loc) 628 B
/// <reference types="node" /> /** * @author Luis C. de León <luis@pokt.network> */ import { Account } from "./account"; /** * @description Represents an account made from an ed25519 keypair using an encrypted private key and a plain one */ export declare class UnlockedAccount extends Account { readonly privateKey: Buffer; /** * @description Constructor for UnlockedAccount * @param {Account} account - The Account object on which to base this UnlockedAccount * @param {Buffer} privateKey - The raw private key of the Account object */ constructor(account: Account, privateKey: Buffer); }