Class MintblueReader

Implementation of the Reader interface for the Mintblue SDK. This class facilitates listening to transaction events using Mintblue and dispatching them accordingly.

Hierarchy

  • MintblueReader

Implements

Constructors

Properties

actionDispatcher: ((action, additionalContext) => void)

Type declaration

    • (action, additionalContext): void
    • Parameters

      • action: Action
      • additionalContext: any

      Returns void

mintblue: Mintblue
project_id: string

Methods

  • Factory method to create an instance of the MintblueReader.

    Parameters

    • sdkToken: string

      The token for the Mintblue SDK.

    • project_id: string

      The ID of the project to listen to.

    Returns Promise<MintblueReader>

    An instance of MintblueReader.

  • Initializes the action dispatcher.

    Parameters

    • actionDispatcher: ((action, additionalContext) => void)

      The function to dispatch actions.

        • (action, additionalContext): void
        • Parameters

          • action: Action
          • additionalContext: any

          Returns void

    Returns void

Generated using TypeDoc