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

checkAndInitializeTrackerInStore()

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

Defined in: utils/checkAndInitializeTrackerInStore.ts:65 

Starts the tracker named by tracker for a transaction of the Pulsar store: evmTrackerForStore, erc4337TrackerForStore, eip5792TrackerForStore or safeTrackerForStore. An unknown tracker falls back to the standard EVM tracker with a console warning. A Gelato relay task an older version saved, which nothing can follow any more, ends as Failed and says so: its task ID is no hash, and it would have stayed pending for good. 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>

A promise that resolves once the tracker has started, not when the transaction has finished, as a transaction may stay pending for a long time and nothing should wait for that. Read the result from the store.

Last updated on