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

# Executing DeFi Actions

#### Available Protocols

Gemach AI operates across multiple blockchains. It supports EVM networks such as Ethereum, Arbitrum, Base, BNB Smart Chain and Optimism, and it also works with non‑EVM chains like Sui, Sonic and Berachain via native wallets. New protocols and networks are added regularly.Gemach AI currently supports the following protocols:

**Stryke**

* Specialized in advanced options trading
* Built on Dopex's foundation with Concentrated Liquidity Supported Supported networks: Arbitrum and BaseBaseDecentralized exchange pooling liquidity from multiple blockchains
* Enables seamless token trading and cross-chain transfers
* Supported networks: Ethereum, BSC, Polygon, Optimism, Arbitrum, Base, Avalanche, Sonnen

**Transfer**

* Basic protocol for transferring assets between addresses
* Supported networks: Ethereum, BSC, Polygon, Optimism, Arbitrum, Base, Avalanche, Sonnen

#### Supported Actions

Depending on the protocol, Gemach AI supports various DeFi actions:

**Trading & Exchange**

* `SWAP`: Exchange one token for another
* `BRIDGE`: Transfer assets between different blockchain networks

**Options Trading (Stryke)**

* `OPEN`: Open option positions
* `CLOSE`: Close option positions

**Asset Management**

* `TRANSFER`: Send tokens to another address
* `DEPOSIT/WITHDRAW`: Add or remove liquidity from protocols
* `STAKE/UNSTAKE`: Participate in staking programs
* `LOCK/UNLOCK`: Lock or unlock assets in protocols

**Lending & Borrowing**

* `LEND`: Supply assets to lending protocols
* `BORROW`: Borrow assets from lending protocols
* `REPAY`: Pay back borrowed amounts
* `FULL_REPAY`: Completely clear a loan
* `ADD_COLLATERAL`: Increase collateral for a loan
* `REMOVE_COLLATERAL`: Decrease collateral for a loan

**Advanced Trading**

* `LEVERAGE`: Increase exposure to an asset using borrowed funds
* `DELEVERAGE`: Reduce leverage on a position
* `LONG/SHORT`: Open long or short positions

#### Transaction Flow

When executing a DeFi action through Gemach AI:

1. **Request**: Describe the action you want to perform in natural language
2. **Confirmation**: The AI will verify your intent and provide transaction details
3. **Approval**: You'll need to approve the transaction in your wallet
4. **Execution**: The transaction is submitted to the blockchain
5. **Monitoring**: Gemach AI tracks the transaction status in real-time
6. **Completion**: You'll be notified when the transaction is confirmed

> **Important**: Always review transaction details carefully before approving them in your wallet.


---

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

```
GET https://docs.gemach.io/gemach-dao/products/gemach-ai/executing-defi-actions.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.
