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

# Old v2 Documentation (Deprecated)

## Squid issues Integrator IDs on a limited basis and upon review. Please [submit a partnership request](https://squidrouter.typeform.com/partnerships) to request an integrator ID before building with Squid.

## Squid Functionality

The functionality of the Squid boils down to **3 main functionalities**:

1. **Route Requests(Fetching a Route):** Calculating the most optimized path from one asset to another.
2. **Route Execution:** The submission and execution of that path on chain.
3. **Transaction Status:** The validation that the transaction has been completed.

There are **3 advanced functionalities** enhance Squid's API capabilities:

1. [**Transaction Hooks**](https://docs.squidrouter.com/) **(Pre/Post):** Allow transactions to be prepended(prehook) or appended(posthook) to asset transfers for a user. Think unstaking then transferring an asset or transferring an asset across chain then staking.
2. [**Boost:** ](https://docs.squidrouter.com/old-v2-documentation-deprecated/key-concepts/boost.md)Squids novel boost functionality allows cross-chain transactions to be settled in less than 20seconds by using an intent-model, a smart contract overlay which allows a provider to optimistically fulfill a transaction.
3. [**Collecting Fees**](https://docs.squidrouter.com/old-v2-documentation-deprecated/key-concepts/collect-fees-1.md)**:** Always integrators to collect fees associated with transactions. Note, this function is currently not available for v2 yet.

All of the functionalities above are covered in-depth in the [**Key Concepts section.**](https://docs.squidrouter.com/old-v2-documentation-deprecated/key-concepts.md)

## Quickstart: Ways To Build With Squid

{% content-ref url="/pages/k9eMY1byD0x9GcnmlbQ9" %}
[API](https://docs.squidrouter.com/old-v2-documentation-deprecated/api.md)
{% endcontent-ref %}

{% content-ref url="/pages/P0SxuUfM0kxPWXLgECMw" %}
[SDK](https://docs.squidrouter.com/old-v2-documentation-deprecated/sdk.md)
{% endcontent-ref %}

{% content-ref url="/pages/thn9ki2hdBw58BlRVxFw" %}
[Add A Widget](https://docs.squidrouter.com/old-v2-documentation-deprecated/add-a-widget.md)
{% endcontent-ref %}

<figure><img src="https://4247625265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtXbXyuWIO2PwzNc5Dets%2Fuploads%2FGtxnyxuU8wMVusoqOCZO%2Fimage.png?alt=media&amp;token=6144ad88-c2cb-4109-92cd-be7a874c1d74" alt=""><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.squidrouter.com/old-v2-documentation-deprecated.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
