Introduction
The Compass Transaction Bundler lets you build and execute complete DeFi workflows as a single safe, atomic transaction, without writing or deploying smart contracts. You compose the steps (approve, deposit, borrow, swap, repay, unwind) via API; we return a sign‑ready payload for you or your users; you keep the keys. Typical multi‑step flows see 50–70% lower gas, fewer failures, and zero new contracts to audit, so teams ship in weeks, not months.See here how Compass Transaction Bundler saves 50-70% in gas fees
Key Benefits
- Batch multiple DeFi actions into a single API call
- Reduce gas costs by collapsing separate transactions
- Ensure atomic safety so everything succeeds together or reverts
- Stay non-custodial, you or your users always sign and control their assets
- Go live in days, not months
How it works
- Construct
Define your steps (actions + parameters) in order. The API validates the path and returns a bundled transaction payload. - Sign
You receive a sign‑ready payload and sign. Compass never holds keys. - Execute
Broadcast the signed transaction. The chain enforces atomicity: everything executes or nothing does. Responses include receipts and per‑action statuses for monitoring.

When to use it
Use the Bundler whenever your flow needs more than one on‑chain step:- Set allowance and take action: set allowance → deposit into Vault A
- One‑click leverage: approve → deposit → borrow → swap → re‑deposit. See tutorial here.
- Yield rotation: withdraw from Vault A → swap → deposit into Vault B.
- Delever / unwind: swap → repay → withdraw.
- Cross‑protocol strategies: move positions between venues atomically.
Quickstart
See the Transaction Bundler: Quick Start Guide to get up and running.- Get authorization for bundling transactions:
POST /v1/transaction_bundler/authorization
- Construct a bundle:
POST /v1/transaction_bundler/construct
Provide an ordered list of actions with parameters. - Execute a bundle: Receive a sign‑ready transaction payload; sign and broadcast with your wallet/custodian.
Next steps
- Read the Transaction Bundler API Reference
- Try the Quickstart examples
- Check the Aave Leverage Example
- See the Smart Account guide if you use account abstraction