> 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.md).

# Delegation

This section provides examples of how to delegate your stake to a Stake Pool or a DRep using the Anvil API.

{% content-ref url="/pages/VmyHauq28mkQfdmE1cgZ" %}
[DRep (Bash & cURL)](/quick-start-examples/delegation/delegate-drep-sh.md)
{% endcontent-ref %}

{% content-ref url="/pages/uT0hfQmEF4hoJcuHVotu" %}
[DRep (TS/JS + Fetch)](/quick-start-examples/delegation/delegate-drep-ts.md)
{% endcontent-ref %}

{% content-ref url="/pages/VRhHsIWhGCIiCiXTDEuA" %}
[Stake Pool (Bash & cURL)](/quick-start-examples/delegation/delegate-pool-sh.md)
{% endcontent-ref %}

{% content-ref url="/pages/TBttl7zrbcHW138DGhbd" %}
[Stake Pool (TS/JS + Fetch)](/quick-start-examples/delegation/delegate-pool-ts.md)
{% endcontent-ref %}
