Represents a transaction from a faucet.

Constructors

Properties

_transaction: Transaction

Accessors

Methods

  • Returns the link to the transaction on the blockchain explorer.

    Returns string

    The link to the transaction on the blockchain explorer

  • Waits for the FaucetTransaction to be confirmed on the Network or fail on chain. Waits until the FaucetTransaction is completed or failed on-chain by polling at the given interval. Raises an error if the FaucetTransaction takes longer than the given timeout.

    Parameters

    • options: {
          intervalSeconds: undefined | number;
          timeoutSeconds: undefined | number;
      } = {}

      The options to configure the wait function.

      • intervalSeconds: undefined | number

        The interval to check the status of the FaucetTransaction.

      • timeoutSeconds: undefined | number

        The maximum time to wait for the FaucetTransaction to be confirmed.

    Returns Promise<FaucetTransaction>

    The FaucetTransaction object in a terminal state.

    Throws

    if the FaucetTransaction times out.