Preparing search index...
The search index is not available
o1js-merkle
o1js-merkle
BaseSiblingPath
Class BaseSiblingPath
Hierarchy
CircuitValue
BaseSiblingPath
Index
Constructors
constructor
Properties
path
height
Methods
assert
Equals
calculate
Root
equals
get
Subtree
Sibling
Path
height
is
Constant
to
Constant
to
Fields
toJSON
to
String
check
empty
from
Fields
fromJSON
from
Object
from
Value
size
In
Fields
to
Auxiliary
to
Constant
to
Fields
to
Input
toJSON
to
Value
zero
Constructors
constructor
new
Base
Sibling
Path
(
path
)
:
BaseSiblingPath
Parameters
path
:
Field
[]
Returns
BaseSiblingPath
Properties
path
path
:
Field
[]
Static
height
height
:
number
Methods
assert
Equals
assert
Equals
(
x
)
:
void
Parameters
x
:
this
Returns
void
calculate
Root
calculate
Root
(
leaf
,
leafIndex
,
hasher
?
)
:
Field
Parameters
leaf
:
Field
leafIndex
:
Field
hasher
:
Hasher
= ...
Returns
Field
equals
equals
(
x
)
:
Bool
Parameters
x
:
this
Returns
Bool
get
Subtree
Sibling
Path
get
Subtree
Sibling
Path
(
subtreeHeight
)
:
BaseSiblingPath
Parameters
subtreeHeight
:
number
Returns
BaseSiblingPath
height
height
(
)
:
number
Returns
number
is
Constant
is
Constant
(
)
:
boolean
Returns
boolean
to
Constant
to
Constant
(
)
:
this
Returns
this
to
Fields
to
Fields
(
)
:
Field
[]
Returns
Field
[]
toJSON
toJSON
(
)
:
any
Returns
any
to
String
to
String
(
)
:
string
Returns
string
Static
check
check
<
T
>
(
this
,
v
)
:
void
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
v
:
InstanceType
<
T
>
Returns
void
Static
empty
empty
<
T
>
(
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Returns
InstanceType
<
T
>
Static
from
Fields
from
Fields
<
T
>
(
this
,
xs
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
xs
:
Field
[]
Returns
InstanceType
<
T
>
Static
fromJSON
fromJSON
<
T
>
(
this
,
value
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
value
:
any
Returns
InstanceType
<
T
>
Static
from
Object
from
Object
<
T
>
(
this
,
value
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
value
:
NonMethods
<
InstanceType
<
T
>
>
Returns
InstanceType
<
T
>
Static
from
Value
from
Value
<
T
>
(
this
,
value
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
value
:
any
Returns
InstanceType
<
T
>
Static
size
In
Fields
size
In
Fields
(
)
:
number
Returns
number
Static
to
Auxiliary
to
Auxiliary
(
)
:
[
]
Returns
[
]
Static
to
Constant
to
Constant
<
T
>
(
this
,
t
)
:
InstanceType
<
T
>
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
t
:
InstanceType
<
T
>
Returns
InstanceType
<
T
>
Static
to
Fields
to
Fields
<
T
>
(
this
,
v
)
:
Field
[]
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
v
:
InstanceType
<
T
>
Returns
Field
[]
Static
to
Input
to
Input
<
T
>
(
this
,
v
)
:
HashInput
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
v
:
InstanceType
<
T
>
Returns
HashInput
Static
toJSON
toJSON
<
T
>
(
this
,
v
)
:
any
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
v
:
InstanceType
<
T
>
Returns
any
Static
to
Value
to
Value
<
T
>
(
this
,
v
)
:
any
Type Parameters
T
extends
AnyConstructor
Parameters
this
:
T
v
:
InstanceType
<
T
>
Returns
any
Static
zero
zero
(
zeroElement
,
hasher
?
)
:
BaseSiblingPath
Parameters
zeroElement
:
Field
hasher
:
Hasher
= ...
Returns
BaseSiblingPath
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
path
height
assert
Equals
calculate
Root
equals
get
Subtree
Sibling
Path
height
is
Constant
to
Constant
to
Fields
toJSON
to
String
check
empty
from
Fields
fromJSON
from
Object
from
Value
size
In
Fields
to
Auxiliary
to
Constant
to
Fields
to
Input
toJSON
to
Value
zero
o1js-merkle
Loading...