RAILGUN Reloaded
    Preparing search index...

    Inputs for RailgunClient.decrypt().

    type DecryptParams = {
        chainId: number;
        fromBlock?: bigint;
        toBlock?: bigint;
        batchSize?: bigint;
        onProgress?: (progress: SyncProgress) => void;
    }
    Index
    chainId: number

    Network matching the data already in chain storage.

    fromBlock?: bigint

    Override the resumable cursor; defaults to scanState.lastScannedBlock + 1, or the deployment block for a fresh wallet.

    toBlock?: bigint

    Stop point; defaults to chain storage's syncState.lastBlockHeight.

    batchSize?: bigint

    First block-range chunk size for chain storage queries; later chunks grow or shrink toward about 5,000 commitments. Defaults to 100_000.

    onProgress?: (progress: SyncProgress) => void

    Fired per batch with phase: 'decrypt'. Synchronous; throwing aborts the run.