MimirApi - object-oriented interface

Export

MimirApi

Hierarchy

  • BaseAPI
    • MimirApi

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Returns current active mimir configuration for the provided key.

    Parameters

    • key: string

      the mimir key to lookup

    • Optional height: number

      optional block height, defaults to current tip

    • Optional options: AxiosRequestConfig<any>

      Override http request option.

    Returns Promise<AxiosResponse<number, any>>

    Throws

    Memberof

    MimirApi

Generated using TypeDoc