June 23, 2025
Introducing Compass Transaction Bundler: Build Full DeFi Workflows in One Atomic Transaction
The simplest way to build and automate DeFi workflows with one API call. No Solidity, no custom smart contracts — live on Ethereum, Arbitrum, and Base.
Introducing Compass Transaction Bundler: Build Full DeFi Workflows in One Atomic Transaction
TL;DR The Compass Transaction
Bundler
lets you build and automate complete, production-grade DeFi workflows — like
leveraged lending, yield rebalancing, and one-tap earn — in a single atomic
transaction, using just one API call. No Solidity. No blockchain engineering.
So you can launch faster and focus on user experience, not blockchain
plumbing. Live now on Ethereum, Arbitrum, and Base.
Why we built this
If you’re building a wallet, DeFi app, exchange, or fintech product, sooner or later, you’ll need to support on-chain financial workflows. And that’s where most teams hit a wall.
Because today, building anything beyond a simple swap means:
- Writing custom smart contracts
- Chaining fragile protocol interactions
- Debugging RPCs and signing logic
- Or forcing users through 3 dapps and 10 clicks
It slows down your team and product, burns resources, and pulls your best engineers away from your core product. We built Compass Bundler so you don’t have to choose between shipping fast and doing it right.
Enter Compass Transaction Bundler
Compass Transaction Bundler is the simplest way to build and automate DeFi workflows, using nothing but API calls.
You define what you want to do: Supply → Borrow → Swap → Supply → Borrow → Stake → Claim
… any combination, across protocols like Aave, Morpho, Uniswap, Pendle, and more.
We return a ready-to-sign transaction. You sign and send.
One API call → One atomic transaction → Full execution. No Solidity. No blockchain engineering.
Built for real-world teams
Whether you’re a:
- Wallet or super apps adding native DeFi
- Fund or asset management firm automating strategies
- Agent-based platforms executing smart flows programatically
- Fintechs or stablecoin issuers embedding yield flows and Earn features
Compass Bundler gives you the power to build faster , execute atomically , and save gas. No smart contracts, custom integrations, or months of engineering work.
It’s fully non-custodial, and it works with our Python and TypeScript SDKs out of the box.
What you can build (in days, not months)
Some examples:
- Leveraged lending on Aave and Morpho
- Yield rebalancing to move funds between vaults or protocols
- One-tap earn for retail and institutional users
- Agent-executed transactions across multiple protocols
- Custom strategies combining supply, borrow, swap, stake, claim, and more
And since all of this is handled by the API, not Solidity, you ship in days, not months.
How it works
Compass Bundler is a new endpoint in the Compass API, and integrates seamlessly with our SDKs.
At the core is the bundler_execute
method, where you can pass in any DeFi
action supported in Compass API
(e.g. swap, supply, borrow, LP, etc):
res = compass_api.transaction_bundler.bundler_execute(
chain=chain,
sender=sender,
signed_authorization=signed_authorization,
actions=[
# Set Allowance
models.UserOperation(
body=models.SetAllowanceParams(
ACTION_TYPE="SET_ALLOWANCE",
token=models.TokenEnum.USDC,
contract=models.SetAllowanceParamsContract.UNISWAP_V3_ROUTER,
amount="1",
)
),
# Swap WETH for USDC on Uniswap
models.UserOperation(
body=models.UniswapBuyExactlyParams(
ACTION_TYPE="UNISWAP_BUY_EXACTLY",
token_in=models.TokenEnum.WETH,
token_out=models.TokenEnum.USDC,
fee=models.FeeEnum.ZERO_DOT_01,
max_slippage_percent=0.5,
amount=1,
wrap_eth=True,
)
),
],
)
This returns a single transaction payload that your app can sign and broadcast.
Why teams love Compass Bundler
✅ Gas-efficient — bundle multiple actions into one tx
✅ Atomic — everything succeeds or reverts together
✅ Fast to integrate — no Solidity or audits
✅ Non-custodial — users sign and control assets
✅ Composable — supports any combination of integrated protocols
✅ Cross-chain — live on Ethereum, Arbitrum, and Base
Try it in <5 minutes
Live on Ethereum , Arbitrum , and Base. No contracts to deploy. It’s how modern crypto products will be built.