These routes are useful when you need to move assets from one blockchain to another, often to interact with a new DeFi ecosystem or to pursue a yield opportunity on a different chain.
Note on Route Mechanics: The steps listed below are illustrative of a possible path. Enso’s API dynamically calculates the most efficient route at the moment of execution, so the exact swaps and bridges may vary based on real-time market conditions.
Table of Contents

ETH to BERA Cross-Chain Swap

Bridge ETH from Ethereum to its native gas token equivalent, BERA, on Berachain. Try this route →
import { Address, EnsoClient, RouteParams } from "@ensofinance/sdk";

const ETHEREUM_MAINNET = 1; // Ethereum Mainnet
const BERACHAIN_MAINNET = 80094;
const userAddress = "your-wallet-address" as Address;

const ETH_Ethereum = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" as Address; // ETH on Ethereum
const BERA_Berachain = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" as Address; // BERA on Berachain

const routeParams: RouteParams = {
  fromAddress: userAddress,
  receiver: userAddress,
  chainId: ETHEREUM_MAINNET, // Start from Ethereum
  destinationChainId: BERACHAIN_MAINNET,
  amountIn: ["100000000000000000"], // 0.1 ETH
  tokenIn: [ETH_Ethereum],
  tokenOut: [BERA_Berachain],
  routingStrategy: "delegate",
  slippage: "300", // 3% slippage for bridge
  referralCode: "eth-bridge",
};

const route = await client.getRouteData(routeParams);
await sendSmartWallet(route.tx, route.gas);
Route Mechanics:
  • Swap ETH to USDC on Ethereum Mainnet.
  • Bridge USDC to USDCe on Berachain via Stargate.
  • Swap USDCe to BERA on Berachain.

ETH to styHONEY Cross-Chain Yield Zap

Convert ETH on Ethereum into a staked yield position (styHONEY) on Berachain. Try this route →
import { Address, EnsoClient, RouteParams } from "@ensofinance/sdk";

const ETHEREUM_MAINNET = 1; // Ethereum Mainnet
const BERACHAIN_MAINNET = 80094;
const userAddress = "your-wallet-address" as Address;

const ETH_Ethereum = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" as Address; // ETH on Ethereum
const styHONEY = "0x99d6A0FB9420F3995fD07dCc36AC827a8E146cf9" as Address;

const routeParams: RouteParams = {
 fromAddress: userAddress,
 receiver: userAddress,
 chainId: ETHEREUM_MAINNET, // Start from Ethereum
 destinationChainId: BERACHAIN_MAINNET,
 amountIn: ["200000000000000000"], // 0.2 ETH
 tokenIn: [ETH_Ethereum],
 tokenOut: [styHONEY],
 routingStrategy: "delegate",
 slippage: "400", // 4% slippage for complex cross-chain
 referralCode: "eth-styhoney",
};

const route = await client.getRouteData(routeParams);
await sendSmartWallet(route.tx, route.gas);
Route Mechanics:
  • Swap ETH to USDC on Ethereum Mainnet.
  • Bridge USDC to USDCe on Berachain via Stargate.
  • Swap USDCe to HONEY on Berachain.
  • Deposit HONEY into Bearn yHONEY vault.
  • Stake yHONEY to receive styHONEY.