# Protocol Methods

Where more than one transaction is required they must appear in an atomic group. The exact indices within the group are not important unless specified. However, the relative positions of transactions for each method are important. The transaction order may not change and no other transactions may appear between the transactions of each method.

Where user\_address is specified the same address must be used for all instances within a method. any\_address can be any value.

{% content-ref url="/pages/ndyYpsCSMpJIfDtxB53l" %}
[Bootstrap](/v2-integration/protocol-methods/bootstrap.md)
{% endcontent-ref %}

{% content-ref url="/pages/zWVGS6XaWy5jIg9Nq98W" %}
[Add Initial Liquidity](/v2-integration/protocol-methods/add-initial-liquidity.md)
{% endcontent-ref %}

{% content-ref url="/pages/eVfHvJDYukcSWUMBJlci" %}
[Add Subsequent Liquidity](/v2-integration/protocol-methods/add-subsequent-liquidity.md)
{% endcontent-ref %}

{% content-ref url="/pages/QgMlcr5nD13sERf5aZtG" %}
[Remove Liquidity](/v2-integration/protocol-methods/remove-liquidity.md)
{% endcontent-ref %}

{% content-ref url="/pages/chdMmFTDopXD6Al1IKHd" %}
[Swap](/v2-integration/protocol-methods/swap.md)
{% endcontent-ref %}

{% content-ref url="/pages/PE8p4ctw5ZMCurkRWXOr" %}
[Flash Loan](/v2-integration/protocol-methods/flash-loan.md)
{% endcontent-ref %}

{% content-ref url="/pages/Hh0Zw8IqAF1aYryptkTy" %}
[Flash Swap](/v2-integration/protocol-methods/flash-swap.md)
{% endcontent-ref %}

{% content-ref url="/pages/QEnxPyDyBrPYQyg7zbob" %}
[State Data](/v2-integration/state-data.md)
{% endcontent-ref %}

{% content-ref url="/pages/E7Qx06KdjUmOZfIWyBUx" %}
[Oracle Data](/v2-integration/oracle-data.md)
{% endcontent-ref %}


---

# 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.tinyman.org/v2-integration/protocol-methods.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.
