# 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

***
