DEV Community

Buhilo
Buhilo

Posted on

Making Cross-Chain Simple: Biconomy’s Supertransaction API

If you’ve ever tried to do anything across different blockchains, you know how messy it can get. Switching networks, signing multiple times, worrying about gas fees on every chain-it’s not exactly user-friendly. That’s where Biconomy’s new Supertransaction API comes in.

Instead of forcing users (and developers) to juggle separate steps, it bundles everything into one smooth transaction. Think of it like clicking “one-click checkout” in e-commerce, but for Web3.

What Exactly Is a Supertransaction?

At its core, a Supertransaction is a single object that can include multiple instructions across different chains. You sign once, and behind the scenes all the actions happen in order-bridges, swaps, protocol interactions, whatever you need.

const supertransaction = {
  chainId: 137, // Polygon
  user: "0xUserAddress",
  actions: [
    {
      type: "bridge",
      fromChainId: 1, // Ethereum
      toChainId: 137,
      token: "0xTokenAddress",
      amount: "1000000000000000000" // 1 token
    },
    {
      type: "swap",
      dex: "uniswap",
      tokenIn: "0xTokenAddress",
      tokenOut: "0xAnotherTokenAddress",
      amountIn: "1000000000000000000"
    }
  ]
};
Enter fullscreen mode Exit fullscreen mode

For users, that means fewer clicks, no confusion, and less waiting around. For developers, it’s a way to deliver Web2-like simplicity in a Web3 app.

Why It Matters

  • Multi-Chain Workflows Without the Pain - Developers can chain together actions like bridging + swapping + staking without forcing users to confirm three different transactions.
  • Gasless Options - Users don’t need to worry about holding ETH, MATIC, or whatever native token is required just to pay fees. Gas can be sponsored.
const txConfig = {
  sponsorGas: true, // dApp covers gas costs
  feeToken: "0xERC20TokenAddress" // or let users pay with ERC-20
};
Enter fullscreen mode Exit fullscreen mode
  • Cleaner UX - It feels like one seamless flow instead of jumping between wallets, pop-ups, and chains.

Under the Hood

Supertransactions run through Biconomy’s Modular Execution Environment (MEE). This is basically a network of nodes that take care of executing those chained actions across multiple chains. Because it’s decentralized, execution isn’t dependent on one centralized server, which makes it both scalable and trustless.

const response = await biconomy.supertransaction.send(supertransaction, txConfig);
console.log("Supertransaction submitted:", response.txHash);
Enter fullscreen mode Exit fullscreen mode

Where This Could Be Huge

  • Cross-Chain DeFi: Automating complex strategies (like moving funds between protocols on different chains) in a single click.
  • Onboarding New Users: No more “sorry, you need to go buy ETH for gas before you can use this app.” That barrier just disappears.
  • Wallet Experience: Imagine a wallet that feels like one account across all chains. That’s what this tech enables.

Final Thoughts

Supertransactions don’t just make life easier for users-they open the door for developers to build way more ambitious products without worrying about scaring people off with complexity.

If the future of Web3 is about making blockchain feel invisible, this is a step in the right direction.

[https://docs.biconomy.io/supertransaction-api]

Top comments (1)

Collapse
 
0xllex profile image
Laurent Lex

Not sure I understand, pls help, so essentially if I implement the API in my dapp, I can access Biconomy as it enables me to execute the workflows across established rails, and smart contracts, tl;dr no need to write new ones? Who writes the workflows, me or Biconomy tho?