gelatoFetcher()
gelatoFetcher(
client): (params) =>Promise<void>
Defined in: trackers/gelatoTracker.ts:113
Creates a fetcher for initializePollingTracker from @tuwaio/pulsar-core that checks a Gelato task (tx.txKey)
once through relayer_getStatus.
On every tick it calls onIntervalTick with the status. GelatoStatusCode.Success calls onSuccess;
GelatoStatusCode.Rejected and GelatoStatusCode.Reverted call onFailure; both stop polling and keep
the transaction. A task still pending one hour after createdAt calls onFailure with its status and stops polling,
keeping the transaction. Request errors are thrown, so the polling tracker counts them as failed attempts.
Parameters
client
A transport created by createGelatoClient.
Returns
The fetcher.
(params) => Promise<void>
Deprecated
Gelato relay is deprecated. Use TransactionTracker.ERC4337 and erc4337Fetcher instead.