The stage's networks: testnets on dev, mainnets on prod.
StaticinstanceThe process default: the background namespace's client, testnets off prod as the vendor clients pick them.
The pairs after after, by address id then network, as
watchedPairs lists them for this stage. next is
the last pair read, to pass as after; null once no address is left.
With withRuns, each pair carries its latest run from one Temporal
visibility list per page; runsRead is false when that read failed, and
every run is then null though a run may exist.
Optionalafter?: PairOptionalcovered?: booleanOptionalledgerAccountIds?: string[]The addresses of these ledger accounts' wallets (external ids).
OptionalmaxBatches?: numberStops after reading this many batches of ADDRESS_BATCH addresses.
OptionalonProgress?: () => voidCalled after each batch read.
OptionalwalletAddressIds?: number[]OptionalwithRuns?: booleanReads each pair's latest run from Temporal.
Starts the backfill of one pair on endpoints, by default every one, or
joins the one running under its id. WALLET_HISTORY_PAIR_NOT_WATCHED
when no such pair is watched here.
Optionalendpoints?: readonly WalletHistoryEndpoint[]A pair's missing, so a launch re-run pages only a new endpoint.
The (address, network) pairs a history backfill covers, and starting one. Starting publishes no balance event and busts no cache: a customer listing shows backfilled rows once its cache entry expires.