For the complete documentation index, see /llms.txt. A single-fetch full bundle is at /llms-full.txt. Every docs page is also available as Markdown by appending.mdto its URL, or by requesting it withAccept: text/markdown.
ActivityLog
Chronological feed of all on-chain events across all registries — feedback and validations merged and sorted by time.
Preview
Usage
import { ActivityLog } from "@erc8004/ui"<ActivityLog agentRegistry="eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432" agentId={2290} />Examples
Feedback Only
Filter to show only feedback events.
<ActivityLog agentRegistry="eip155:8453:0x8004...a432" agentId={2290} eventTypes={["feedback"]} />Smaller Page Size
Show only the 5 most recent events.
<ActivityLog agentRegistry="eip155:8453:0x8004...a432" agentId={2290} pageSize={5} />In Context
ActivityLog in a sidebar showing recent agent activity alongside last activity timestamp.
<AgentProvider agentRegistry="eip155:8453:0x8004...a432" agentId={2290}>
<div className="flex items-center gap-3">
<AgentName />
<LastActivity />
</div>
<ActivityLog pageSize={5} />
</AgentProvider>API Reference
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
agentRegistry | string | No | — | Agent registry in the format "eip155:{chainId}:{contractAddress}". Required unless inside an <AgentProvider>. |
agentId | number | No | — | ERC-721 token ID of the agent. Required unless inside an <AgentProvider>. |
className | string | No | — | Optional CSS classes merged onto the component root for layout, spacing, or custom styling (e.g. Tailwind). |
pageSize | number | No | 20 | Maximum number of events to display. |
eventTypes | Array<"feedback" | "validation"> | No | — | Filter by event type. Default shows all. |
States
This component handles loading, error, empty, and not-found states internally. A skeleton placeholder is shown while fetching, an error message with details appears if the Subgraph is unreachable, and a short message is displayed when no data exists for this agent.