> 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-2/staking.md). Agents can also search and read this documentation through its [MCP server](https://darksun-2.gitbook.io/darksun-docs/~gitbook/mcp).

# Staking

Use this pattern when a chain, validator platform, or staking provider wants to expose validator metadata and validator-level operational metrics.

```json
{
  "manifestVersion": "1.0",
  "id": "example_staking",
  "name": "Example Staking Integration",
  "type": "staking",
  "owner": "example-chain",
  "chain": "terra_classic",
  "schemaVersion": "1.0",
  "endpoints": [
    {
      "key": "validator_registry",
      "kind": "registry",
      "url": "https://api.example.com/validators.json"
    },
    {
      "key": "validator_info_api",
      "kind": "http",
      "url": "https://api.example.com/validators/{operatorAddress}?timeframe={timeframe}"
    }
  ],
  "capabilities": [
    {
      "key": "validators",
      "schema": "validators",
      "version": "1.0",
      "endpoint": "validator_registry",
      "output": { "collection": "validators" }
    },
    {
      "key": "validator_metrics",
      "schema": "validator_metrics",
      "version": "1.0",
      "endpoint": "validator_info_api",
      "output": { "entityKey": "operatorAddress" }
    }
  ],
  "auth": { "type": "none" },
  "verification": { "method": "api_plus_onchain" }
}
```

## Recommended endpoint behavior

* `validator_registry` should expose stable validator metadata such as moniker, website, identity, and logo.
* `validator_info_api` should provide metrics keyed by operator address or an equivalent stable validator identifier.

## Important detail

DarkSun still uses chain-native LCD queries for staking positions and delegations. In the current architecture, this manifest primarily improves metadata and metrics resolution rather than replacing all on-chain staking reads.
