cache-typescript-sdk
Version:
Blockstart NIS1 SDK
19 lines (18 loc) • 433 B
TypeScript
import { Address } from "./Address";
/**
* Public account model
*/
export declare class PublicAccount {
readonly address: Address;
readonly publicKey: string;
/**
* @returns {boolean}
*/
hasPublicKey(): boolean;
/**
* Creates a new PublicAccount from a public key
* @param publicKey
* @returns {PublicAccount}
*/
static createWithPublicKey(publicKey: string): PublicAccount;
}