@hiero-hackers/hiero-notifications - v0.1.0
    Preparing search index...

    Interface AccountWatcherOptions

    interface AccountWatcherOptions {
        accounts: readonly string[];
        backfill?: number;
        limit?: number;
        maxCatchUpPerPoll?: number;
        mirror?: AccountMirror;
        network?: string;
        statePath?: string;
        transactionType?: TransactionType;
    }
    Index
    accounts: readonly string[]
    backfill?: number

    On an account's first poll, emit this many recent matches (default 1) so you get immediate feedback without a flood of history.

    limit?: number

    Page size per account per poll (default 25).

    maxCatchUpPerPoll?: number

    Per-account cap on catch-up work in a single poll (default 250). The cap bounds a poll, it never loses events: the cursor only advances through what was emitted, so a deeper backlog simply continues next poll.

    mirror?: AccountMirror

    Injectable mirror client (tests). Default: a real client for network.

    network?: string

    "mainnet" (default), "testnet", …

    statePath?: string

    Path of a JSON cursor file. When set, cursors survive restarts: the watcher resumes from the last notified transaction per account (backfill then only applies to accounts the file has never seen).

    transactionType?: TransactionType

    Restrict to one mirror transaction type (e.g. "CRYPTOTRANSFER"). Default: ALL types — receipts speak every type ("You called a smart contract", "You submitted a message to a topic", …), so the watcher no longer silently ignores everything that isn't a bare transfer.