@hashgraph/sdk
    Preparing search index...

    Class TopicMessageQuery

    Represents a class that you can use to subscribe to different topics on Hedera network.

    Index

    Constructors

    • Parameters

      • props: {
            completionHandler?: () => void;
            endTime?: Timestamp;
            errorHandler?: (message: null | TopicMessage, error: Error) => void;
            limit?: number | Long;
            retryHandler?: (error: null | Error | MirrorError) => boolean;
            startTime?: Timestamp;
            topicId?: string | TopicId;
        } = {}

      Returns TopicMessageQuery

    Properties

    _listener: null | ((message: TopicMessage) => void)
    _maxAttempts: number

    Accessors

    Methods