Web3Validator
Index
Constructors
Methods
Constructors
publicconstructor
Returns Web3Validator
Methods
publicvalidate
Parameters
schema: ValidationSchemaInput
data: readonly unknown[]
options: Web3ValidationOptions = ...
Returns undefined | Web3ValidationErrorObject<string, Record<string, any>, unknown>[]
publicvalidateJSONSchema
Parameters
schema: object
data: object
optionaloptions: Web3ValidationOptions
Returns undefined | Web3ValidationErrorObject<string, Record<string, any>, unknown>[]