> For the complete documentation index, see [llms.txt](https://darksun-2.gitbook.io/darksun-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://darksun-2.gitbook.io/darksun-docs/integrations/overview/validators.md). Agents can also search and read this documentation through its [MCP server](https://darksun-2.gitbook.io/darksun-docs/~gitbook/mcp).

# validators

This guide defines the recommended payload shape for validator metadata catalogs.

## Purpose

DarkSun uses `validators` to enrich native staking data with:

* validator names
* websites
* logos
* stable validator metadata

## Manifest expectation

Example capability declaration:

```json
{
  "key": "validators",
  "schema": "validators",
  "version": "1.0",
  "endpoint": "validator_registry",
  "output": {
    "collection": "validators"
  }
}
```

This means DarkSun expects a top-level `validators` array.

## Recommended payload

```json
{
  "validators": [
    {
      "operatorAddress": "terravaloper1...",
      "moniker": "Validator One",
      "website": "https://validatorone.example",
      "logoURI": "https://validatorone.example/logo.png"
    },
    {
      "operatorAddress": "terravaloper2...",
      "moniker": "Validator Two",
      "website": "https://validatortwo.example",
      "logoURI": "https://validatortwo.example/logo.png"
    }
  ]
}
```

## Required fields

For each validator:

* `operatorAddress`
* `moniker`

## Recommended fields

* `website`
* `logoURI`

## Good implementation patterns

* use the operator address as the stable validator identifier
* keep monikers human-readable
* provide a real validator website when available
* provide a stable logo URL when available

## Common mistakes

### Using only moniker and no operator address

Monikers can change or collide. DarkSun needs a stable validator key.

### Returning validator branding with no website or logo

This does not break integration, but it weakens the user experience significantly.

### Returning inconsistent address casing or formatting

Validator identifiers should be stable and normalized.
