ln_agent_attest
Store an attestation of an agent's identity and compliance status for Know Your Agent (KYA) verification, including owner, jurisdiction, and compliance level.
Instructions
Store an attestation about an agent's identity and compliance status.
Used for Know Your Agent (KYA) — agents self-attesting, operators attesting their agents, or third-party KYA providers.
Args: agent_pubkey: The agent's Nostr public key (64 hex chars). owner_id: Owner identifier (email, company name, etc.). jurisdiction: Legal jurisdiction (e.g., "US", "EU", "SG"). compliance_level: One of: unknown, self_declared, kyc_verified, regulated_entity. source: Verification source (e.g., "manual", "sumsub", "trulioo").
Returns: The stored attestation record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_pubkey | Yes | ||
| owner_id | No | ||
| jurisdiction | No | ||
| compliance_level | No | self_declared | |
| source | No |