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

# Bundlers

> Group multiple Bend onchain operations into one atomic transaction; Bundler3 integration and use cases.

Bundlers let you run multiple onchain operations in **one atomic transaction**—approvals, wrapping, supply, borrow, and more—so users complete flows in a single step and you save gas.

For user-facing apps on Morpho, using a bundler is the recommended approach.

<Note>For details, see the Bundler3 contract.</Note>

## Why use bundlers

* **Simpler UX**: Users can open leveraged positions or deposit into vaults in one transaction instead of many.
* **Lower gas**: One transaction costs less than several separate ones.
* **Atomicity**: If any step fails, the whole transaction reverts so users never end up in a half-complete state (e.g. tokens approved but not supplied).

## Supported operations

Bundlers support:

* **Tokens**: ERC20 approvals (including permit/permit2), wrap/unwrap native assets, transfers
* **Bend markets**: Supply, supplyCollateral, borrow, repay, withdraw
* **Bend vaults**: Deposit and withdraw (ERC-4626 vaults)
* **Public Allocator**: `reallocateTo` to move liquidity between markets
* **Rewards**: Claim from the Universal Rewards Distributor (URD)
* **Swaps**: DEX aggregator swaps

<Warning>
  If you grant Bundler3 token approval, it can execute any transaction on your behalf. Avoid
  granting Bundler3 approval (standard approval or permit).
</Warning>
