> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openfinance.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Move Funds Between Chains Before a Trade

> Your money is on one chain and your next trade needs it on another. Here is how to bridge it with your agent without sending anything you have not checked.

By the end of this guide you will have moved funds from the chain they sit on to the chain your next trade needs, read the quote before sending, and confirmed that the transfer finished.

A bridge moves value from one blockchain to another. OpenFinance routes bridges and cross-chain swaps through Relay. The agent picks the route for you: a swap between two Solana tokens goes through Jupiter, and a send on one chain with no token change is a plain transfer. See [Bridge and swap](https://docs.openfinance.tech/markets/bridge-and-swap.md) for how it works.

## What you need

* Funds on the chain you are leaving, plus a little of that chain's native coin for gas.
* A clear destination: which chain and which token your next trade needs. The table in [Fund each venue](https://docs.openfinance.tech/guides/fund-each-venue.md) lists them.

## Steps

**1. Find what you hold and where**

```text theme={"system"}
What do I hold on every chain, in dollars? Include Solana and Robinhood Chain, and say which chains you checked.
```

**2. Ask for a quote, not a transfer**

Name the source chain, the token, the amount and the destination:

```text theme={"system"}
Quote bridging 100 USDC from Base to Arbitrum. Do not send anything yet.
```

A good quote shows what leaves, what is expected to arrive and the route. A quote is free and sends nothing.

![OpenFinance chat showing a bridge quote for 5 USDC from Solana to Arbitrum with the amount that arrives, the minimum received, the recipient and the rate](https://mintcdn.com/openfinance/-pu5SodoQuhEwuR-/images/screens/bridge-chat-relay-quote.png?fit=max\&auto=format\&n=-pu5SodoQuhEwuR-\&q=85\&s=a6b60528711067ddb6b232f99c0cc95c)

A bridge quote in chat: what leaves, what arrives and the route

**3. Check the quote**

Before you say yes, check three things:

* **The destination is your own wallet.** Bridges from an agent can only go to your own addresses; the server refuses anything else.
* **The amount that arrives** is what your trade needs.
* **The token on arrival** is the one the venue accepts, for example USDC on Arbitrum for Hyperliquid.

**4. Confirm the bridge (moves money)**

Reply yes, or ask for a fresh quote if you waited a while or changed the amount. Quotes expire.

The agent signs each step with your wallet and waits for a final result for up to about five minutes.

**5. Track it to the end**

```text theme={"system"}
What is the status of my last bridge?
```

A transfer ends as **success**, **refunded** or **failure**. While it is in progress you may see waiting, pending or submitted.

**6. Continue to the trade (moves money)**

Bridging and depositing can be chained, with a confirmation at each step:

```text theme={"system"}
Now deposit the USDC that arrived on Arbitrum to my Hyperliquid account.
```

Every bridge and swap needs your confirmation, and nothing here is financial advice.

## Useful combinations

Most trips follow one of a few patterns, and you can paste the Ask column as it is:

| You have | You need | Ask |
| - | - | - |
| USDC on Base or Polygon | Hyperliquid | "Bridge my USDC to Arbitrum, then deposit it to Hyperliquid." |
| USDC on Solana | An EVM chain | "Move 50 USDC from Solana to Base. Quote first." |
| ETH on Arbitrum | SOL for Solana swaps | "Swap 0.05 ETH on Arbitrum for SOL on Solana. Quote first." |
| ETH on Base | USDC on Base | "Swap 0.05 ETH for USDC on Base." |

## Check it worked

When the status reads success, look at where the funds landed:

```text theme={"system"}
Show my balance on the destination chain.
```

The amount should match the quote, give or take a small difference.

## Common mistakes

* **No gas on the starting chain.** The first transaction is paid on the chain you leave.
* **No native coin at the destination on Solana routes.** On routes that touch Solana, the automatic gas top-up is switched off.
* **Trying to bridge to a friend.** Agent bridges go to your own wallets only. To pay someone else, use the [Wallet](https://docs.openfinance.tech/product/wallet.md) page.
* **Panicking at "refunded".** Refunded means the route could not complete and funds were returned. Ask for the status details and a new quote.
* **A 412 on a route from Solana.** Your Solana wallet is not yet enabled for agent trading. Follow the instructions in the error.

## Next guides

> [card] [Hyperliquid perp with take-profit and stop-loss](https://docs.openfinance.tech/guides/hyperliquid-perp-with-tp-sl.md)
>
> Use the funds you just moved.

> [card] [Relay tools](https://docs.openfinance.tech/mcp/tools-relay.md)
>
> Quote and execute parameters for your own code.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.