yajsapi - JavaScript high-level API
Yagna Contributor Guide

Class: PublicKey

yajsapi / Exports / crypto / PublicKey

Class: PublicKey

crypto.PublicKey

Table of contents

Constructors

Properties

Methods

Constructors

constructor

Private new 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

Static from(buffer): PublicKey

Parameters

Name

Type

buffer

Buffer

Returns

PublicKey

Defined in

yajsapi/crypto.ts:53

fromHex

Static fromHex(hex): PublicKey

Parameters

Name

Type

hex

string

Returns

PublicKey

Defined in

yajsapi/crypto.ts:59