Class AbstractFaucetServiceAbstract

Hierarchy

  • AbstractFaucetService

Constructors

Methods

  • Method to authorize publishing of a public key - usually it will trigger signature request in user's wallet

    Parameters

    • account: WalletAccount<any>

      account for which you request authorization

    • key: PublicKey

      public key to authorize for sending

    • Optional registrar: number

      registrar code (e.g. 1 for Ylide Social Hub)

    • Optional apiKey: {
          key: string;
          type: "server" | "client";
      }

      Your API key for the faucet (can be skipped if it was provided in other place)

      • key: string
      • type: "server" | "client"

    Returns Promise<DontAccessThisObjectDirectly>

Generated using TypeDoc