Options
All
  • Public
  • Public/Protected
  • All
Menu

Encapsulates the actions performed by a gatekeeper network authority

Hierarchy

  • GatekeeperNetworkService

Index

Constructors

constructor

Methods

addGatekeeper

  • addGatekeeper(gatekeeperAuthority: PublicKey, options?: TransactionOptions): Promise<SendableDataTransaction<PublicKey>>
  • Add a gatekeeper to the network

    Parameters

    • gatekeeperAuthority: PublicKey

      PublicKey

    • Optional options: TransactionOptions

      TransactionOptions

    Returns Promise<SendableDataTransaction<PublicKey>>

    Promise<SendableDataTransaction>

addNetworkFeature

  • addNetworkFeature(hashOrNonce: HashOrNonce, feature: NetworkFeature, options?: TransactionOptions): Promise<SendableDataTransaction<PublicKey>>
  • Add Network Feature to Network

    Parameters

    • hashOrNonce: HashOrNonce

      HashOrNonce

    • feature: NetworkFeature

      NetworkFeature

    • Optional options: TransactionOptions

      TransactionOptions

    Returns Promise<SendableDataTransaction<PublicKey>>

    Promise<SendableDataTransaction>

hasGatekeeper

  • hasGatekeeper(gatekeeperAuthority: PublicKey): Promise<boolean>

hasNetworkFeature

  • hasNetworkFeature(feature: NetworkFeature): Promise<boolean>

removeNetworkFeature

  • removeNetworkFeature(hashOrNonce: HashOrNonce, feature: NetworkFeature, options?: TransactionOptions): Promise<SendableDataTransaction<PublicKey>>
  • Remove Network Feature from Network

    Parameters

    • hashOrNonce: HashOrNonce

      HashOrNonce

    • feature: NetworkFeature

      NetworkFeature

    • Optional options: TransactionOptions

      TransactionOptions

    Returns Promise<SendableDataTransaction<PublicKey>>

    Promise<SendableDataTransaction>

Generated using TypeDoc