Skip to main content
GET
/
v1
/
epochs
Typescript (SDK)
import { RaijinLabsLucidAi } from "raijin-labs-lucid-ai";

const raijinLabsLucidAi = new RaijinLabsLucidAi();

async function run() {
  const result = await raijinLabsLucidAi.epochs.list();

  for await (const page of result) {
    console.log(page);
  }
}

run();
{
  "success": true,
  "epochs": [
    {
      "epoch_id": "<string>",
      "mmr_root": "<string>",
      "leaf_count": 123,
      "created_at": 123,
      "status": "open",
      "project_id": "<string>",
      "finalized_at": 123,
      "chain_tx": "<string>",
      "error": "<string>",
      "start_leaf_index": 123,
      "end_leaf_index": 123
    }
  ],
  "pagination": {
    "total": 123,
    "page": 123,
    "per_page": 123,
    "total_pages": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.lucid.foundation/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Lucid API key (lk_live_... or lk_test_...)

Query Parameters

project_id
string

Filter by project identifier

status
string

Filter by epoch status (open, anchoring, anchored, failed)

page
integer

Page number for pagination (starts at 1)

Required range: x >= 1
per_page
integer

Number of results per page (1-100)

Required range: 1 <= x <= 100

Response

OK

success
boolean
required
epochs
object[]
required
pagination
object
required