Beacon is a client for obtaining public Kaspa wRPC endpoints.

Constructors

Methods

Constructors

  • Creates a new Beacon client with the given configuration supplied as IBeaconConfig interface. If not supplied, the default configuration containing a list of community-operated public beacons is used.

    Parameters

    Returns Beacon

Methods

  • Returns void

  • Fetches a public Kaspa wRPC endpoint URL for the given encoding and network identifier.

    Parameters

    Returns Promise<string>

Generated using TypeDoc