> For the complete documentation index, see [llms.txt](https://dev.ada-anvil.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ada-anvil.io/quick-start-examples/delegation/delegate-pool-ts.md).

# Stake Pool (TS/JS + Fetch)

{% @github-files/github-code-block title="utils/constant.ts" url="<https://github.com/Cardano-Forge/anvil-api-examples/blob/main/utils/constant.ts>" %}

{% @github-files/github-code-block url="<https://github.com/Cardano-Forge/anvil-api-examples/blob/main/documentation-references/delegate-pool.ts>" %}

{% hint style="success" %}
**Learn More**

For a step-by-step explanation, see the [Delegate to a Stake Pool Guide](/guides/delegations/delegate-to-a-pool.md).
{% endhint %}
