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

    Interface TokenMirror

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

    interface TokenMirror {
        queryTokenBalances(
            tokenId: string,
            query: { accountBalance?: { gte: number }; limit?: number },
        ): Promise<TokenBalancePage>;
        queryTokenById(
            tokenId: string,
        ): Promise<{ decimals: number; symbol: string }>;
    }
    Index
    • Parameters

      • tokenId: string
      • query: { accountBalance?: { gte: number }; limit?: number }

      Returns Promise<TokenBalancePage>

    • Parameters

      • tokenId: string

      Returns Promise<{ decimals: number; symbol: string }>