yajsapi - Java Script high-level API
Yagna Contributor Guide

Class: PublicKey

yajsapi / Exports / crypto / PublicKey

Class: PublicKey

crypto.PublicKey

Hierarchy

  • PublicKey

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Returns: PublicKey

Defined in: yajsapi/crypto.ts:49

Properties

inner

inner: Buffer

Defined in: yajsapi/crypto.ts:49

Methods

toString

toString(): string

Returns: string

Defined in: yajsapi/crypto.ts:64

from

Staticfrom(buffer: Buffer): PublicKey

Parameters:

Name

Type

buffer

Buffer

Returns: PublicKey

Defined in: yajsapi/crypto.ts:53

fromHex

StaticfromHex(hex: string): PublicKey

Parameters:

Name

Type

hex

string

Returns: PublicKey

Defined in: yajsapi/crypto.ts:59