Connect 4337
Cometh ConnectCometh MarketplaceCometh Checkout
  • 🚀Quick start
    • What is Connect 4337
    • Getting started
    • Supported Networks
  • 🛠️CORE FEATURES
    • Create a Wallet
    • Send transactions
    • Go Gasless
    • Sign/Verify a message
    • Retrieve a wallet address
    • Handle owners
    • Import a safe into connect
  • 🥷ADVANCED
    • Session Keys
      • Tutorial
      • Policies
        • Sudo policy
        • Action policy
    • Social recovery
    • Add a passkey signer on a different OS
    • Capabilities
      • sendCalls
      • getCallsStatus
      • getCapabilities
      • grantPermissions
    • Other signers (Auth Providers)
      • EOA wallets (Metamask, Phantom...)
      • Magic signer
      • Web3Auth signer
      • Turnkey signer
      • Privy signer
  • 🔌Integrations
    • React hooks
      • ConnectProvider
      • useAccount
      • useConnect
      • useDisconnect
      • useGetGasPrice
      • useSendTransaction
      • useSignMessage
      • useVerifyMessage
      • useWriteContract
      • Handle owners
        • useRemoveOwner
        • useValidateAddDevice
        • useCreateNewSigner
        • useAddOwner
        • useGetOwners/EnrichedOwners
      • Session Keys
        • useGrantPermission
        • useSendPermission
        • useSessionKeyClient
        • useSessionKeySigner
      • Recovery
        • useIsRecoveryActive
        • useSetUpRecovery
        • useGetRecoveryRequest
        • useCancelRecoveryRequest
    • Mobile SDKs
      • IOS
      • Android
      • React Native
    • Wagmi
  • SDK Core
    • Signers (Auth Providers)
      • EOA wallets (Metamask, Phantom...)
      • Magic signer
      • Web3Auth signer
      • Turnkey signer
      • Privy signer
    • Handle owners
    • Capabilities
      • sendCalls
      • getCallsStatus
      • getCapabilities
  • SDK Session Keys
    • Setup Smart Account Client
    • Manage session keys
    • Policies
      • Sudo policy
      • Action policy
  • 📦Bundler
    • Bundler API
      • eth_sendUserOperation
      • eth_estimateUserOperationGas
      • eth_getUserOperationByHash
      • eth_getUserOperationReceipt
      • eth_supportedEntryPoints
  • 💳Paymaster
    • Paymaster API
  • 📖RESOURCES
    • Migrate from the connect legacy SDK
    • Connect Legacy SDKs (Unity, JS)
    • FAQ
Powered by GitBook
On this page
  • What is a bundler
  • Endpoints
  • Bundler RPC Method
  1. Bundler

Bundler API

PreviousAction policyNexteth_sendUserOperation

Last updated 8 months ago

What is a bundler

A Bundler, as introduced by , is a pivotal infrastructure component enabling account abstraction on Ethereum Virtual Machine (EVM) networks.

Its core function is to manage a mempool of User Operations (UserOps), aggregating them and submitting them to an Entry Point Contract for on-chain execution.

This process involves a decentralized, permissionless peer-to-peer network of bundlers, ensuring that UserOps are validated and compliant with rigorous security protocols designed to prevent various attack vectors, including Denial of Service (DoS) attacks.

Endpoints

We support multiple chains for the bundler service, you just need to modify the chainId and apiKey to your network. Here the

URL

https://bundler.cometh.io/CHAIN_ID?apikey=API_KEY

Example for Arbitrum Sepolia : https://bundler.cometh.io/421614?apikey=API_KEY

Bundler RPC Method

Here are all the available methods for a Bundler in the context of ERC-4337. Each method facilitates the submission, gas estimation, retrieval of information, and management of User Operations (UserOps) efficiently and securely on the Ethereum network.

  1. : This method submits a User Operation (UserOp) to the mempool. If the operation is accepted, it returns a userOpHash. If unsuccessful, it returns an error. This ensures that UserOps are included in the blockchain network for execution.

  2. : Estimates the gas values required for a given User Operation, including PreVerificationGas, VerificationGas, and CallGasLimit. It can also simulate different states using optional state overrides, making it useful for scenarios where precise gas estimation is needed without actual execution.

  3. : Retrieves a User Operation and its transaction context based on a given userOpHash. Provides detailed information about the UserOp, including its status and related transaction details.

  4. : Fetches the receipt of a User Operation based on a given userOpHash. The receipt includes metadata and the final status of the UserOp, such as whether it was successfully executed and any logs generated during its execution.

  5. : Returns an array of supported EntryPoint addresses as specified in the configuration. The first element in the array is the preferred EntryPoint of the bundler. This helps in identifying which EntryPoints can be used for submitting UserOps.

📦
ERC-4337
list of our current supported networks.
eth_sendUserOperation
eth_estimateUserOperationGas
eth_getUserOperationByHash
eth_getUserOperationReceipt
eth_supportedEntryPoints