Skip to main content
GET
Get on-chain status

Path Parameters

agent_id
string
required

Agent identifier (e.g. smolt-abc123)

Response

On-chain status for the agent, as assembled by the get_on_chain_status RPC (migrations 057/058): the agent's latest score publication, the latest confirmed anchor, and the agent's current Merkle-tree summary. Each of the three nested objects is null when no matching row exists.

agent_id
string
required
latest_score_publication
object | null

The agent's most recent row in score_publications, or null when the agent has never been published.

latest_anchor
object | null

The most recent confirmed on-chain anchor, or null when none is confirmed yet. (The RPC filters to status='confirmed' and omits gas_used/created_at.)

merkle_tree
object | null

Summary of the agent's current Merkle tree (from agent_merkle_trees), or null when the agent has no tree.