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.
VerificationBadge
Compact inline badge showing the agent's verification tier derived from completed validations and average validation score.
Note
This component reads from the AgentStats entity, which isn't present on every chain's subgraph. On chains where it's missing, the component renders its empty state rather than an error. See Concepts › Supported Chains.
Warning
The Validation Registry contracts aren't deployed on mainnet yet. On mainnet chains this component always renders its empty state. See Concepts › Validation Registry.
Preview
Usage
import { VerificationBadge } from "@erc8004/ui"<VerificationBadge agentRegistry="eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432" agentId={2290} />Examples
Alongside Agent Name
Place next to an agent name for inline trust indication.
<AgentProvider agentRegistry="eip155:8453:0x8004...a432" agentId={2290}>
<div className="flex items-center gap-2">
<AgentName />
<VerificationBadge />
</div>
</AgentProvider>Standalone
Used alone as a compact trust indicator anywhere in the UI.
<VerificationBadge agentRegistry="eip155:8453:0x8004...a432" agentId={2290} />In Context
VerificationBadge in a trust panel with validation score and recent validations.
<AgentProvider agentRegistry="eip155:8453:0x8004...a432" agentId={2290}>
<div className="flex items-center gap-2">
<AgentName />
<VerificationBadge />
</div>
<ValidationScore />
<ValidationList pageSize={3} />
</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). |
States
This component handles loading and error states internally with inline placeholders. No configuration needed.