ClassSubscription

Represents a subscription to transaction events for wasm32 target architecture.

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