Skip to main content
Creates a new subscription for desired events. Sends data as soon as it occurs. Using websockets you can listen to below event types. The url will be wss://rpc.etherspot.io/{version_here}/{chain_id}

Event Types

  • pendingUserOps - user ops validated and put in the mempool
  • submittedUserOps - user ops that are submitted on chain, reverted or deleted from mempool
  • onChainUserOps - user ops successfully submitted on chain

Examples:

Pending UserOps

Response

Event


Submitted, Reverted, Cancelled User Ops

Event

Onchain UserOps

Request

Event

Unsubscribe

Request

Response