Skip to main content
POST
/
v1
/
receipts
/
commit-root
Typescript (SDK)
import { RaijinLabsLucidAi } from "raijin-labs-lucid-ai";

const raijinLabsLucidAi = new RaijinLabsLucidAi();

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

  console.log(result);
}

run();
{
  "success": true,
  "epoch_id": "<string>",
  "root": "<string>",
  "tx": "<string>",
  "leaf_count": 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_...)

Body

application/json
project_id
string
epoch_id
string
force
boolean

Response

Accepted

success
boolean
required
epoch_id
string
required
root
string
required
tx
string
required
leaf_count
integer