Skip to content

Operator: every checkpoint, the recorded settlement comparisons, and anchoring's incidents (F-017).

GET
/v1/ops/anchors
curl --request GET \
--url https://example.com/v1/ops/anchors \
--header 'Authorization: Bearer <token>'

The answer, from one consistent view (REQ-QR-2).

Media typeapplication/json

Anchoring as the operator reads it.

object
checkpoints
required

Every checkpoint.

Array<object>

A checkpoint on the wire.

object
commitment
required

The commitment, hex.

string
coordinate
Any of:

A settlement-layer record cited by its coordinate.

object
digest
required

The entry’s digest, hex.

string
instance
required

The instance.

integer format: uint32
seq
required

The position in its inbox.

integer format: uint64
created_at
required

When it was created.

integer format: uint64
entry_sequence
required

The sequence of the last entry it covers.

integer format: uint64
kernel_root
required

The kernel root, hex.

string
number
required

Its number: the settlement layer’s anchor number.

integer format: uint64
status
required

pending, submitted or final.

string
comparisons
required

Every recorded comparison.

Array<object>

A settlement comparison at an inbox cut (F-017, REQ-PR-5).

object
anchors
required

The final checkpoints it is the recorded comparison of.

Array<integer>
at
required

When the core compared.

integer format: uint64
cut
required

The cut: the inbox length at the finalized block compared.

integer format: uint64
differs
required

Whether any asset differs.

boolean
height
required

The block’s height.

integer format: uint64
rows
required

Every asset either side holds.

Array<object>

One asset of a settlement comparison (F-017).

object
asset
required

The asset.

string
book
required

What the book records as held on the settlement layer: minor units, a signed decimal-integer string.

string
difference
required

The layer’s less the book’s.

string
layer
required

What the layer holds, minor units.

string
incidents
required

Every incident.

Array<object>

An anchoring incident on the wire.

object
detail
required

What it concerns.

string
kind
required

commitment_mismatch, unknown_anchor or position_difference.

string
latest_comparison
Any of:

A settlement comparison at an inbox cut (F-017, REQ-PR-5).

object
anchors
required

The final checkpoints it is the recorded comparison of.

Array<integer>
at
required

When the core compared.

integer format: uint64
cut
required

The cut: the inbox length at the finalized block compared.

integer format: uint64
differs
required

Whether any asset differs.

boolean
height
required

The block’s height.

integer format: uint64
rows
required

Every asset either side holds.

Array<object>

One asset of a settlement comparison (F-017).

object
asset
required

The asset.

string
book
required

What the book records as held on the settlement layer: minor units, a signed decimal-integer string.

string
difference
required

The layer’s less the book’s.

string
layer
required

What the layer holds, minor units.

string
Examplegenerated
{
"checkpoints": [
{
"commitment": "example",
"coordinate": {
"digest": "example",
"instance": 1,
"seq": 1
},
"created_at": 1,
"entry_sequence": 1,
"kernel_root": "example",
"number": 1,
"status": "example"
}
],
"comparisons": [
{
"anchors": [
1
],
"at": 1,
"cut": 1,
"differs": true,
"height": 1,
"rows": [
{
"asset": "example",
"book": "example",
"difference": "example",
"layer": "example"
}
]
}
],
"incidents": [
{
"detail": "example",
"kind": "example"
}
],
"latest_comparison": {
"anchors": [
1
],
"at": 1,
"cut": 1,
"differs": true,
"height": 1,
"rows": [
{
"asset": "example",
"book": "example",
"difference": "example",
"layer": "example"
}
]
}
}

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}

Refused, with the named condition. The status is the alternative’s x-http-status.

Media typeapplication/json
One of:
ERR-NotAuthorised
object
description
required
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
"error": "ERR-NotAuthorised"
}
Retry-After
integer

On ERR-DecisionUnavailable (503): seconds to wait before retrying with the same client key (DEC-27 (g)).