Preparing search index...
The search index is not available
XYO Platform SDK - v3.6.9
XYO Platform SDK
@xyo-network/boundwitness-validator
BoundWitnessValidator
Class BoundWitnessValidator<T>
Type Parameters
T
extends
BoundWitness
<
{
schema
:
string
}
>
=
BoundWitness
Hierarchy (
View Summary
)
PayloadValidator
<
T
>
BoundWitnessValidator
Index
Constructors
constructor
Properties
obj
payload
schema
Name
Validator
Factory
Accessors
expected
Schema
schema
Validator
string
Key
Obj
Methods
addresses
addresses
Uniqueness
previous
Hashes
schema
schema
Name
schemas
signatures
validate
validate
Array
Lengths
validate
Payload
Hashes
Length
set
Schema
Name
Validator
Factory
validate
Signature
Constructors
constructor
new
BoundWitnessValidator
<
T
extends
BoundWitness
<
{
schema
:
string
}
>
=
BoundWitness
,
>
(
payload
:
T
,
)
:
BoundWitnessValidator
<
T
>
Type Parameters
T
extends
BoundWitness
<
{
schema
:
string
}
>
=
BoundWitness
Parameters
payload
:
T
Returns
BoundWitnessValidator
<
T
>
Properties
Readonly
obj
obj
:
Partial
<
T
>
Protected
payload
payload
:
DeepRestrictToStringKeys
<
{
schema
:
string
}
>
Protected
Static
schema
Name
Validator
Factory
schemaNameValidatorFactory
:
AllValidatorFactory
Accessors
Protected
expected
Schema
get
expectedSchema
()
:
string
Returns
string
schema
Validator
get
schemaValidator
()
:
AllValidator
Returns
AllValidator
Protected
string
Key
Obj
get
stringKeyObj
()
:
StringKeyObject
Returns
StringKeyObject
Methods
addresses
addresses
()
:
Error
[]
Returns
Error
[]
addresses
Uniqueness
addressesUniqueness
()
:
Error
[]
Returns
Error
[]
previous
Hashes
previousHashes
()
:
Error
[]
Returns
Error
[]
schema
schema
()
:
Error
[]
Returns
Error
[]
schema
Name
schemaName
()
:
Error
[]
Returns
Error
[]
schemas
schemas
()
:
Error
[]
Returns
Error
[]
signatures
signatures
()
:
Promise
<
Error
[]
>
Returns
Promise
<
Error
[]
>
validate
validate
()
:
Promise
<
Error
[]
>
Returns
Promise
<
Error
[]
>
validate
Array
Lengths
validateArrayLengths
()
:
Error
[]
Returns
Error
[]
validate
Payload
Hashes
Length
validatePayloadHashesLength
()
:
Error
[]
Returns
Error
[]
Static
set
Schema
Name
Validator
Factory
setSchemaNameValidatorFactory
(
factory
:
AllValidatorFactory
)
:
void
Parameters
factory
:
AllValidatorFactory
Returns
void
Static
validate
Signature
validateSignature
(
hash
:
ArrayBufferLike
,
address
:
ArrayBufferLike
,
signature
?:
ArrayBufferLike
,
)
:
Promise
<
Error
[]
>
Parameters
hash
:
ArrayBufferLike
address
:
ArrayBufferLike
Optional
signature
:
ArrayBufferLike
Returns
Promise
<
Error
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
obj
payload
schema
Name
Validator
Factory
Accessors
expected
Schema
schema
Validator
string
Key
Obj
Methods
addresses
addresses
Uniqueness
previous
Hashes
schema
schema
Name
schemas
signatures
validate
validate
Array
Lengths
validate
Payload
Hashes
Length
set
Schema
Name
Validator
Factory
validate
Signature
XYO Platform SDK - v3.6.9
Loading...