Skip to content

Gets a proof for a given light block header inside a state proof commitment

GET
/v2/blocks/{round}/lightheader/proof
round
required
integer

A round number.

Proof of a light block header.

Proof of membership and position of a light block header.

object
index
required

The index of the light block header in the vector commitment tree

integer
proof
required

The encoded proof.

string format: byte
/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/
treedepth
required

Represents the depth of the tree that is being proven, i.e. the number of edges from a leaf to the root.

integer

Invalid API Token

An error response with optional data field.

object
data
object
message
required
string

Could not create proof since some data is missing

An error response with optional data field.

object
data
object
message
required
string

Timed out on request

An error response with optional data field.

object
data
object
message
required
string

Internal Error

An error response with optional data field.

object
data
object
message
required
string

Service Temporarily Unavailable

An error response with optional data field.

object
data
object
message
required
string

Unknown Error