# Yield Routing

## Overview

This module implements off-chain logic for the aggregation of cross-chain farming and position opening functionalities.

## Key functions of this module include

* **Preparation and assembly of callData and payload** to simplify interactions for users or B2B partners with Chainspot contracts (for example, a transaction for cross-chain deposits into a yield protocol).
* **Storage and processing of metadata** about yield vaults.
* **Payment of blockchain fees** for opening DeFi positions when a cross-chain deposit occurs.
* **Analytics for open DeFi positions**: PNL, APY, APR, and other metrics.

{% hint style="success" %}
**This module is non-custodial and does not have access to the user's funds without their request and transaction signature using the user's private key.**
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.chainspot.io/architecture/yield-routing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
