Skip to main content

getValidationError

scrypt-ts-opcat v1.0.1


scrypt-ts-opcat / PublicKey / getValidationError

Function: getValidationError()

getValidationError(data): Error

Defined in: node_modules/@opcat-labs/opcat/types/publickey.d.cts:192

Check if there would be any errors when initializing a PublicKey

Parameters

data

string

The encoded data in various formats

Returns

Error

An error if exists