Class BaseBitBadgesApi<T>

Base class for the BitBadges API. It provides a base axios instance and methods for handling API errors.

Type Parameters

Hierarchy (View Summary, Expand)

Constructors

Properties

accessToken: string = ''
apiKey: undefined | string = process.env.BITBADGES_API_KEY
appendedHeaders: Record<string, string> = {}
axios: AxiosInstance = ...
BACKEND_URL: string = ...
ConvertFunction: (num: NumberType) => T

Methods

MMNEPVFCICPMFPCPTTAAATR