RAILGUN Reloaded
    Preparing search index...

    Type Alias SyncCompleteEvent

    Fired when a run completes successfully.

    type SyncCompleteEvent = {
        walletId?: string;
        chainId: number;
        phase: SyncPhaseTag;
        blocksScanned: bigint;
        notesAdded: number;
        notesSpent: number;
        durationMs: number;
        timestamp: Date;
    }
    Index
    walletId?: string

    Wallet of the run. Absent in the scan phase.

    chainId: number

    Chain ID of the network that the run synced.

    Method that ran.

    blocksScanned: bigint

    Number of blocks that the run covered. A sync run reports the count of its decrypt phase.

    notesAdded: number

    Number of notes that the run stored for the wallet. Always 0 in the scan phase.

    notesSpent: number

    Number of wallet notes that the run marked spent. Always 0 in the scan phase.

    durationMs: number

    Duration of the run in milliseconds.

    timestamp: Date

    Time the run completed.