api-wasm
    Preparing search index...

    Class Subscription

    Represents a subscription to transaction events for wasm32 target architecture.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Constructor for Subscription for wasm32 target architecture.

      Arguments

      • transaction_hash - Transaction hash to identify the subscription.
      • event_handler_fn - Handler function for transaction events.

      Parameters

      • target_hash: string
      • event_handler_fn: Function

      Returns Subscription

    Properties

    eventHandlerFn: Function

    Handler function for transaction events.

    targetHash: string

    Transaction target hash to identify the subscription.

    Methods

    • Returns void