Skip to Content
Packages@tuwaio/pulsar-evmFunctionscheckAndInitializeTrackerInStore()

checkAndInitializeTrackerInStore()

checkAndInitializeTrackerInStore<T>(params): Promise<void>

Defined in: utils/checkAndInitializeTrackerInStore.ts:43 

Starts the tracker named by tracker for a transaction of the Pulsar store: evmTrackerForStore, erc4337TrackerForStore, safeTrackerForStore or gelatoTrackerForStore. A Gelato transaction without gelatoApiKey, or an unknown tracker, falls back to the standard EVM tracker with a console warning. pulsarEvmAdapter uses it as checkAndInitializeTrackerInStore.

Type Parameters

T

T extends Transaction

The application transaction type.

Parameters

params

InitializeTrackerParams<T>

The tracker, the transaction, the wagmi config, the store members and the callbacks.

Returns

Promise<void>

The promise of the started tracker. For the standard EVM tracker it resolves only when tracking has finished; polling trackers resolve once polling has started.

Last updated on