> For the complete documentation index, see [llms.txt](https://docs.yelay.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yelay.io/yelay-sdk.md).

# Yelay SDK

- [Intro](https://docs.yelay.io/yelay-sdk/intro.md)
- [Main entities](https://docs.yelay.io/yelay-sdk/main-entities.md)
- [Setting up your account](https://docs.yelay.io/yelay-sdk/setting-up-your-account.md)
- [Initialization](https://docs.yelay.io/yelay-sdk/initialization.md)
- [Deposit](https://docs.yelay.io/yelay-sdk/deposit.md)
- [Withdrawals](https://docs.yelay.io/yelay-sdk/withdrawals.md)
- [Tracking balance and TVL](https://docs.yelay.io/yelay-sdk/tracking-balance-and-tvl.md)
- [Yield and APY tracking](https://docs.yelay.io/yelay-sdk/yield-and-apy-tracking.md): In Yelay, all earned yield is collected in the YieldExtractor contract. The yield is then becoming available to be claimed for clients and end users on a daily basis.
- [Yield claiming](https://docs.yelay.io/yelay-sdk/yield-claiming.md)
- [Fetching strategies metadata](https://docs.yelay.io/yelay-sdk/fetching-strategies-metadata.md): Use following methods in order to communicate to your users what protocols are currently used for the yield farming at Yelay.
- [Supportive methods](https://docs.yelay.io/yelay-sdk/supportive-methods.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.yelay.io/yelay-sdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
