Skip to content

$LightBlockHeaderProof

const $LightBlockHeaderProof: object

Type declaration

description

readonly description: "Proof of membership and position of a light block header." = 'Proof of membership and position of a light block header.'

properties

readonly properties: object

properties.index

readonly properties.index: object

properties.index.description

readonly properties.index.description: "The index of the light block header in the vector commitment tree" = 'The index of the light block header in the vector commitment tree'

properties.index.type

readonly properties.index.type: "integer" = 'integer'

properties.proof

readonly properties.proof: object

properties.proof.description

readonly properties.proof.description: "The encoded proof." = 'The encoded proof.'

properties.proof.format

readonly properties.proof.format: "byte" = 'byte'

properties.proof.pattern

readonly properties.proof.pattern: ”^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$” = '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'

properties.proof.type

readonly properties.proof.type: "string" = 'string'

properties.treedepth

readonly properties.treedepth: object

properties.treedepth.description

readonly properties.treedepth.description: "Represents the depth of the tree that is being proven, i.e. the number of edges from a leaf to the root." = 'Represents the depth of the tree that is being proven, i.e. the number of edges from a leaf to the root.'

properties.treedepth.type

readonly properties.treedepth.type: "integer" = 'integer'

required

readonly required: readonly ["index", "proof", "treedepth"]

type

readonly type: "object" = 'object'

Defined in

schemas.gen.ts:975