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

# Overview

> LI.FI Composer combines multi-step onchain operations into one signed transaction. Pick the integration path that fits your product.

Composer combines swaps, deposits, validations and protocol calls on a supported EVM chain into one transaction that executes atomically. Your user signs that transaction, plus an ERC-20 approval for each token the flow pulls that they have not approved yet.

When the outcome lives on another chain, the same transaction can bridge the funds and run more steps on the destination chain once they arrive. Each chain's part is atomic. If the destination part doesn't run, the funds are refunded on the destination chain.

## Who Composer is for

Composer is for B2B integrators: teams that build wallets, neobanks and asset-management products on LI.FI's liquidity.

> [accordion] Wallets and exchanges
>
> Sweep dust, consolidate scattered tokens and deliver any asset to any
> recipient in one transaction. Fewer signatures mean fewer users who drop
> off in the middle of a multi-step flow.

> [accordion] Neobanks and fintech rails
>
> Take one asset, such as USDC or ETH, and route it into a yield-bearing
> position with a swap, a zap and the right guards. This is the flow that
> powers LI.FI Earn.

> [accordion] Asset managers
>
> Build multi-strategy portfolios in one signed transaction. Split a deposit
> across vaults, or rebalance scattered collateral, without locking capital
> between the steps.

## What you can build

* **Yield deposits:** a single asset into a vault, or a split across several vaults.
* **Wallet operations:** dust sweeps, cross-asset consolidation and delivery to a recipient.
* **Validated execution:** multi-step flows protected by [guards](https://docs.li.fi/composer/composer-api/concepts/simulation-and-guards.md) and balance preconditions.
* **Cross-chain flows:** bridge and deposit on the destination chain, or pay exact amounts on another chain, all from one signature. See [Build a cross-chain flow](https://docs.li.fi/composer/composer-api/guides/build-a-cross-chain-flow.md).
* **Same-chain continuations:** let someone else fund a deposit with a plain transfer, or run one exact call later, on the flow's own chain. See [Same-chain continuations](https://docs.li.fi/composer/composer-api/concepts/cross-chain-flows.md#same-chain-continuations).

The [Recipes](https://docs.li.fi/composer/composer-api/recipes.md) library has a working example of each.

## Two integration surfaces

Both surfaces run on the same engine. They differ in how much of the flow you design yourself.

> [card] [Integrate via Composer API](https://docs.li.fi/composer/composer-api/overview.md)
>
> Author a flow with the SDK and choose every step yourself, on one chain or
> across chains.

> [card] [Integrate via LI.FI API](https://docs.li.fi/composer/lifi-api/overview.md)
>
> Already on the LI.FI API? Request a quote to a vault token, on the same
> chain or another one, and Composer runs the deposit.

### Going cross-chain? Pick a path

| You want to… | Use |
| - | - |
| Deposit into a supported vault on another chain | LI.FI API: [Cross-chain deposits](https://docs.li.fi/composer/lifi-api/guides/cross-chain-compose.md) |
| Send tokens to an address on another chain | Composer API: [`lifi.bridge`](https://docs.li.fi/composer/composer-api/ops/lifi-bridge) with a `destination` |
| Run your own steps when the funds arrive | Composer API: [Build a cross-chain flow](https://docs.li.fi/composer/composer-api/guides/build-a-cross-chain-flow.md) |

Details: [Which cross-chain path?](https://docs.li.fi/composer/composer-api/concepts/cross-chain-flows.md#which-cross-chain-path)


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