@cfxlabsinc/b2b-services
    Preparing search index...

    Starts the Solana transaction sync and parsed-events backfill workflows.

    Index
    • Parameters

      • __namedParameters: {
            internalEventPublisher: InternalEventPublisher;
            temporalClient: TemporalWorkflowClient<
                {
                    backfillSolanaParsedEventsWorkflow: (
                        __namedParameters: { refresh: boolean },
                    ) => Promise<
                        {
                            decoded: number;
                            events: number;
                            undecodableCount: number;
                            undecodableSample: { reason: string; signature: string }[];
                        },
                    >;
                    syncMultipleAccountTransactionsWorkflow: (
                        __namedParameters: {
                            accounts: { address: string; tokenAccountAddress?: string }[];
                            backfill: boolean;
                            refresh: boolean;
                            syncAccountsInParallel: boolean;
                        },
                    ) => Promise<void>;
                },
            >;
            temporalTaskQueue: string;
        }

      Returns SolanaSyncBackfillAdminService

    instance: (...args: []) => SolanaSyncBackfillAdminService = ...

    The process default: both workflows run on the background worker's queue, in background-<env>.

    • Starts the sync for already-resolved accounts, one lane per target.

      Parameters

      • __namedParameters: {
            accounts: SyncAccount[];
            backfill: boolean;
            refresh: boolean;
            syncAccountsInParallel: boolean;
            target: SyncTargetKind;
        }

      Returns Promise<
          | { ok: true; value: { workflowId: string } }
          | { error: ServiceError; ok: false },
      >