Skip to main content

bsv.crypto.Point

scrypt-ts / bsv / crypto / Point

Class: Point

bsv.crypto.Point

Table of contents

Constructors

Methods

Constructors

constructor

new Point()

Methods

getX

getX(): BN

Returns

BN

Defined in

node_modules/bsv/index.d.ts:759


getY

getY(): BN

Returns

BN

Defined in

node_modules/bsv/index.d.ts:760


mul

mul(n): Point

Parameters

NameType
nBN

Returns

Point

Defined in

node_modules/bsv/index.d.ts:762


validate

validate(): Point

Returns

Point

Defined in

node_modules/bsv/index.d.ts:761


fromX

Static fromX(odd, x): Point

Parameters

NameType
oddboolean
xstring | BN

Returns

Point

Defined in

node_modules/bsv/index.d.ts:756


getG

Static getG(): any

Returns

any

Defined in

node_modules/bsv/index.d.ts:757


getN

Static getN(): BN

Returns

BN

Defined in

node_modules/bsv/index.d.ts:758