# Clearing Layer

<figure><img src="/files/B3xQGfeNXrT3mzPyT1Ys" alt=""><figcaption></figcaption></figure>

As we all know, due to the varying synchronization speeds across different chains, accurately aggregating and tracking staking and yield information from multiple chains is highly challenging. To address this, we leverage the capabilities of Cycle’s aggregate sequencer to make Cycle our Clearing Layer. On Cycle, we monitor asset changes on other chains and use them to sequence events across all blockchain networks, ensuring the accuracy of asset calculations.

Meanwhile, in the Clearing Layer, we periodically calculate the protocol’s earnings and perform unified clearing and settlement to distribute the appropriate yields to each vault.


---

# 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.goose.farm/golden-goose-protocol/clearing-layer.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.
