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.
Warning
The Validation Registry contract is recorded at the zero address on every chain checked — testnets included — so this component renders its empty state everywhere. Verified 2026-09-04 across Ethereum, Base, Polygon, BNB Smart Chain, BNB Chapel and Base Sepolia. See Concepts › Validation Registry.
Preview
Usage
import { VerificationBadge } from "@p4n/erc8004-ui"<VerificationBadge agentRegistry="eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432" agentId={888} />Examples
Alongside Agent Name
Place next to an agent name for inline trust indication.
<AgentProvider agentRegistry="eip155:8453:0x8004...a432" agentId={888}>
<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={888} />In Context
VerificationBadge in a trust panel with validation score and recent validations.
Loading…
Loading…
<AgentProvider agentRegistry="eip155:8453:0x8004...a432" agentId={888}>
<div className="flex items-center gap-2">
<AgentName />
<VerificationBadge />
</div>
<ValidationScore />
<ValidationList pageSize={3} />
</AgentProvider>API Reference
agentRegistryoptionaltype: string
Agent registry in the format "eip155:{chainId}:{contractAddress}". Required unless inside an <AgentProvider>.
agentIdoptionaltype: number
ERC-721 token ID of the agent. Required unless inside an <AgentProvider>.
classNameoptionaltype: string
Optional CSS classes merged onto the component root for layout, spacing, or custom styling (e.g. Tailwind).
| 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.