> For the complete documentation index, see [llms.txt](https://docs.boba.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boba.xyz/agents/boba-agents/core-capabilities/spot-trading/cross-chain-orders.md).

# Cross-chain Orders

***

### Overview

Cross-chain orders let you trade tokens between different blockchains—like swapping SOL on Solana for ETH on Base—without manually bridging assets. The agent handles bridging, routing, and execution automatically, finding the best path across chains.

**When to use cross-chain orders:**

* You want to move value between chains while swapping tokens
* You're rebalancing a portfolio across multiple chains
* You found an opportunity on another chain and need quick access
* You want to consolidate assets from multiple chains
* You're arbitraging price differences across chains

**When to use same-chain orders instead:**

* Both tokens are on the same chain
* You need the absolute fastest execution
* You want to avoid bridge fees and slippage

***

### How Cross-Chain Orders Work

#### Execution Flow

```
1. You submit cross-chain order → Route calculation begins
2. Best path found → May include multiple swaps + bridge
3. Source swap executes → Token converted to bridgeable asset
4. Bridge initiated → Assets locked on source chain
5. Bridge completes → Assets released on destination chain
6. Destination swap executes → Converted to target token
7. Tokens delivered → Final assets in your wallet
```

#### Example Route: SOL → ETH (Solana to Base)

```
SOL (Solana)
    ↓ Swap on Jupiter
USDC (Solana)
    ↓ Bridge via Wormhole
USDC (Base)
    ↓ Swap on Uniswap
ETH (Base)
```

Total time: 2-5 minutes | Total fees: \~0.3-0.5%

***

### Example Prompts

Here are natural language prompts that trigger cross-chain orders:

| Prompt                                              | Interpretation                  |
| --------------------------------------------------- | ------------------------------- |
| "Convert $500 of SOL on Solana to ETH on Base"      | Cross-chain swap SOL→ETH        |
| "Bridge $1000 USDC from Solana to Base"             | Same-token bridge (USDC→USDC)   |
| "Move $2000 of my BONK on Solana to BRETT on Base"  | Memecoin cross-chain swap       |
| "Convert $5000 ETH on Ethereum to SOL on Solana"    | ETH mainnet to Solana           |
| "Send $300 worth of JUP on Solana to DEGEN on Base" | Cross-chain with smaller tokens |
| "Convert all my WIF on Solana to ETH on Arbitrum"   | Full balance cross-chain        |
| "Get me $10,000 USDC on Base from my SOL on Solana" | Route preference specified      |
| "Convert $800 of RAY on Solana to ARB on Arbitrum"  | Fastest route implied           |

***

#### Best Practices

1. **Start small** — Test cross-chain routes with small amounts first
2. **Verify addresses** — Double-check destination wallet is correct
3. **Monitor large transfers** — Watch orders >$10K until completion
4. **Avoid during volatility** — Prices can move significantly during bridge time
5. **Keep gas on both chains** — You may need destination gas for claiming

***


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.boba.xyz/agents/boba-agents/core-capabilities/spot-trading/cross-chain-orders.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
