Skip to Content
API referencePulsar EvmSrcComponentsevmTrackerForStore()

@tuwaio/pulsar-core-monorepo


evmTrackerForStore()

evmTrackerForStore<T>(__namedParameters): Promise<void>

Defined in: packages/pulsar-evm/src/trackers/evmTracker.ts:143 

A higher-level wrapper for evmTracker that integrates directly with the Zustand store. It provides the necessary callbacks to update the transaction’s state in the store.

Type Parameters

T

T extends Transaction<TransactionTracker>

The application-specific transaction union type.

Parameters

__namedParameters

Pick<EVMTrackerParams, "chains"> & Pick<ITxTrackingStore<TransactionTracker, T, ActionTxKey>, "transactionsPool" | "updateTxParams" | "onSucceedCallbacks"> & object

Returns

Promise<void>

Last updated on