hoodkit
    Preparing search index...

    Interface StreamSwapsOptions

    Options for streamSwaps.

    interface StreamSwapsOptions {
        chunkSize?: bigint;
        confirmations?: bigint;
        fromBlock?: bigint;
        highWaterMark?: number;
        overflow?: OverflowPolicy;
        pollingIntervalMs?: number;
    }

    Hierarchy (View Summary)

    Index
    chunkSize?: bigint

    Max blocks per eth_getLogs.

    5000n

    confirmations?: bigint

    Confirmations before a block is considered final.

    1n

    fromBlock?: bigint

    Backfill from this block before streaming live. Omit for live-only.

    highWaterMark?: number

    Max buffered values for the async-iterator form before OverflowPolicy applies. Ignored by event listeners (they never buffer).

    1024

    overflow?: OverflowPolicy

    Overflow behavior for the async-iterator buffer.

    'drop-oldest'

    pollingIntervalMs?: number

    Poll interval in ms.

    1500