erc4337TrackerForStore()
erc4337TrackerForStore<
T>(params):Promise<void>
Defined in: packages/pulsar-evm/src/trackers/erc4337Tracker.ts:187
High-level two-stage tracker for ERC-4337 UserOperations integrated with the Pulsar store.
- Stage 1 (Bundler Mempool): Polls
eth_getUserOperationReceiptagainst the Bundler RPC. As soon as the UserOp is bundled on-chain, writestx.hashto the store and stops Bundler polling without evicting the transaction from the pool. - Stage 2 (EVM On-Chain Finality): Hands off tracking to
evmTrackerfor on-chain block confirmations, block timestamp resolution, and final terminal status update.
Supports seamless session restoration across page reloads: if tx.hash is already populated,
Stage 1 is bypassed and tracking resumes directly at Stage 2.
Type Parameters
T
T extends Transaction
Parameters
params
Erc4337TrackerForStoreParams<T>
The store actions, Wagmi config, and transaction object to track.
Returns
Promise<void>
Last updated on