Web3Validator
Index
Constructors
Methods
Constructors
constructor
Returns Web3Validator
Methods
validate
Parameters
schema: ValidationSchemaInput
data: readonly unknown[]
optionaloptions: Web3ValidationOptions
Returns undefined | Web3ValidationErrorObject<string, Record<string, any>, unknown>[]
validateJSONSchema
Parameters
schema: object
data: object
optionaloptions: Web3ValidationOptions
Returns undefined | Web3ValidationErrorObject<string, Record<string, any>, unknown>[]