Knowledge Anchor (admin)

Commit Epoch

Build a ready-to-broadcast transaction calling KnowledgeAnchor.commitRoot.

For safety, this endpoint does NOT send the transaction itself. It returns the encoded calldata + the call's expected arguments so the operator can review + broadcast via the Safe UI or a hot wallet of their choice. This keeps the cron / API surface unable to drain gas or commit a wrong root.

post/api/admin/knowledge-anchor/commit

Request

  • Base URL: https://api.kojiru.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.kojiru.com/api/admin/knowledge-anchor/commit
  • Auth: none declared

Headers

x-admin-tokenstring nullable

Request body

epochinteger required
epoch_start_isostring nullable
epoch_end_isostring nullable
ipfs_root_cid_hexstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.