Properties
root
root: Field = Field
sideNodes
sideNodes: Field[] = ...
Static
_isStruct
_isStruct: true
Static
check
check: ((x: {
root: Field;
sideNodes: Field[];
}) => void)
Type declaration
-
- (x: {
root: Field;
sideNodes: Field[];
}): void
-
Parameters
-
x: {
root: Field;
sideNodes: Field[];
}
-
root: Field
-
sideNodes: Field[]
Returns void
Static
fromFields
fromFields: ((x: Field[]) => {
root: Field;
sideNodes: Field[];
})
Type declaration
-
- (x: Field[]): {
root: Field;
sideNodes: Field[];
}
-
Returns {
root: Field;
sideNodes: Field[];
}
-
root: Field
-
sideNodes: Field[]
Static
fromJSON
fromJSON: ((x: {
root: string;
sideNodes: string[];
}) => {
root: Field;
sideNodes: Field[];
})
Type declaration
-
- (x: {
root: string;
sideNodes: string[];
}): {
root: Field;
sideNodes: Field[];
}
-
Parameters
-
x: {
root: string;
sideNodes: string[];
}
-
root: string
-
sideNodes: string[]
Returns {
root: Field;
sideNodes: Field[];
}
-
root: Field
-
sideNodes: Field[]
Static
toAuxiliary
toAuxiliary: ((x?: {
root: Field;
sideNodes: Field[];
}) => [])
Type declaration
-
- (x?: {
root: Field;
sideNodes: Field[];
}): []
-
Parameters
-
Optional
x: {
root: Field;
sideNodes: Field[];
}
-
root: Field
-
sideNodes: Field[]
Returns []
Static
toFields
toFields: ((x: {
root: Field;
sideNodes: Field[];
}) => Field[])
Type declaration
-
- (x: {
root: Field;
sideNodes: Field[];
}): Field[]
-
Parameters
-
x: {
root: Field;
sideNodes: Field[];
}
-
root: Field
-
sideNodes: Field[]
Returns Field[]
Static
toInput
toInput: ((x: {
root: Field;
sideNodes: Field[];
}) => {
fields?: Field[];
packed?: [Field, number][];
})
Type declaration
-
- (x: {
root: Field;
sideNodes: Field[];
}): {
fields?: Field[];
packed?: [Field, number][];
}
-
Parameters
-
x: {
root: Field;
sideNodes: Field[];
}
-
root: Field
-
sideNodes: Field[]
Returns {
fields?: Field[];
packed?: [Field, number][];
}
-
Optional
fields?: Field[]
-
Optional
packed?: [Field, number][]
Static
toJSON
toJSON: ((x: {
root: Field;
sideNodes: Field[];
}) => {
root: string;
sideNodes: string[];
})
Type declaration
-
- (x: {
root: Field;
sideNodes: Field[];
}): {
root: string;
sideNodes: string[];
}
-
Parameters
-
x: {
root: Field;
sideNodes: Field[];
}
-
root: Field
-
sideNodes: Field[]
Returns {
root: string;
sideNodes: string[];
}
-
root: string
-
sideNodes: string[]
Merkle proof CircuitValue for an element in a SparseMerkleTree.