List checkpoints

Retrieve a paginated list of transaction checkpoints processed by the sequencer. This endpoint provides access to checkpoint information including status, signatures, and associated actions. Checkpoints can be filtered by various criteria including action ID, checkpoint ID, hash, status, signer, and creation timestamps.

GET
/checkpoints

Query Parameters

id?string

Filter resources by their unique identifier

org_id?string

Filter resources by the organization they belong to

autocomplete?string

Search term for autocomplete functionality

limit?integer

How many items to return at one time (max 100)

Formatint64
next?string

Pagination token for retrieving the next page of results

order?string

Sort order for the results (ascending or descending)

Value in"asc" | "desc"
sortBy?string

Field name to sort the results by

hash?string

Filter checkpoints by transaction hash

status?string

Filter checkpoints by processing status

signer?string

Filter checkpoints by signer address

when_created[$gt]?string

Filter checkpoints created after this date and time

Formatdate-time
when_created[$lt]?string

Filter checkpoints created before this date and time

Formatdate-time
when_created[$gte]?string

Filter checkpoints created on or after this date and time

Formatdate-time
when_created[$lte]?string

Filter checkpoints created on or before this date and time

Formatdate-time
when_modified[$gt]?string

Filter checkpoints modified after this date and time

Formatdate-time
when_modified[$lt]?string

Filter checkpoints modified before this date and time

Formatdate-time
when_modified[$gte]?string

Filter checkpoints modified on or after this date and time

Formatdate-time
when_modified[$lte]?string

Filter checkpoints modified on or before this date and time

Formatdate-time

Response Body

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/checkpoints"
{
  "checkpoints": [
    {
      "id": "string",
      "hash": "string",
      "sequence": 0,
      "start_hash": "string",
      "start_sequence": 0,
      "end_sequence": 0,
      "end_hash": "string",
      "sender": "string",
      "l2_tx_hash": "string",
      "ipfs_url": "string",
      "status": "building",
      "proof": {
        "type": "string",
        "value": "string",
        "public_values": "string",
        "vkey": "string",
        "message": "string"
      },
      "proof_id": "string",
      "error": "string",
      "affected_batches": [
        {
          "id": "string",
          "sequence": 0,
          "hash": "string"
        }
      ],
      "when_completed": "2019-08-24T14:15:22Z",
      "when_modified": "2019-08-24T14:15:22Z",
      "when_created": "2019-08-24T14:15:22Z"
    }
  ],
  "next": "string"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}