Skip to main content
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.
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.
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.
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 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.
  • 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.
The Recipes 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.

Integrate via Composer API

Author a flow with the SDK and choose every step yourself, on one chain or across chains.

Integrate via LI.FI API

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

Details: Which cross-chain path?