UNPKG

@pokt-network/pocket-js

Version:

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

17 lines (16 loc) 597 B
/// <reference types="node" /> /** * @description Represents an account made from an ed25519 keypair using an encrypted private key */ export declare class Account { readonly publicKey: Buffer; readonly encryptedPrivateKeyHex: string; readonly address: Buffer; readonly addressHex: string; /** * @description Constructor for this class * @param {buffer} publicKey - Public key of the keypair * @param {string} encryptedPrivateKeyHex - The encrypted private key in hex string format */ constructor(publicKey: Buffer, encryptedPrivateKeyHex: string); }