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

    Interface AccountMirror

    The slice of the mirror client this watcher uses, described structurally — the injection seam that makes the paging logic testable without a network. createMirrorNodeClient(...) satisfies it.

    interface AccountMirror {
        queryExchangeRates(): Promise<{ currentRate: ExchangeRateLike }>;
        queryTransactionsByAccount(
            accountId: string,
            query: {
                limit?: number;
                order?: "asc" | "desc";
                timestamp?: { gt: string };
                transactionType?: TransactionType;
            },
        ): Promise<{ data: readonly TransactionInfoLike[] }>;
    }
    Index
    • Returns Promise<{ currentRate: ExchangeRateLike }>

    • Parameters

      • accountId: string
      • query: {
            limit?: number;
            order?: "asc" | "desc";
            timestamp?: { gt: string };
            transactionType?: TransactionType;
        }

      Returns Promise<{ data: readonly TransactionInfoLike[] }>