Borsa
  • Introduction
    • What is Borsa?
    • Why Borsa?
    • DeFi Abstraction Layer
    • Tokenomics (coming soon)
  • How to use Borsa
    • Developers
    • Users
    • Protocols
    • Validators
  • Ultimate Abstraction Guide
    • What is Abstraction?
    • Execution Abstraction (Intents)
    • Account Abstraction
    • Chain Abstraction
    • Gas Abstraction
    • DeFi Abstraction
  • Developer Guides
    • Intents.js SDK
      • Account & IntentBuilder Setup
      • Structuring States & Intents
      • Execute an Intent
      • Execute a Standard UserOperation
    • Protocol Registry
      • Theory
      • Registry as a Solution
      • Joining The Registry
  • external links
    • Wallet
    • SDK
    • Blog
    • Official Twitter
Powered by GitBook
On this page
  1. Developer Guides
  2. Intents.js SDK

Execute a Standard UserOperation

PreviousExecute an IntentNextProtocol Registry

Last updated 5 months ago

The Borsa network is fully compatible with ERC-4337 and can act as a bundler for standard (userOps). This allows developers to submit userOps directly, even if they aren’t using intents. There’s no need for additional solutions or infrastructure changes, making integration seamless and efficient.

This simplifies handling DeFi operations while maintaining compatibility with existing dApp infrastructure.

Example Executing a UserOp

Here’s a simple way to execute a userOp on Borsa:

await intentBuilder.executeStandardUserOps(account, ChainID, {
    calldata: '0x', // Optional calldata
    callGasLimit: CALL_GAS_LIMIT, // Gas limit for the call
    maxFeePerGas: MAX_FEE_PER_GAS, // Maximum fee per gas unit
    maxPriorityFeePerGas: MAX_PRIORITY_FEE_PER_GAS, // Maximum priority fee per gas unit
    verificationGasLimit: VERIFICATION_GAS_LIMIT, // Gas limit for the verification step
});
UserOperations