Midgard Public API The Midgard Public API queries THORChain and any chains linked via the Bifröst and prepares information about the network to be readily available for public users. The API parses transaction event data from THORChain and stores them in a time-series database to make time-dependent queries easy. Midgard does not hold critical information. To interact with MAYAChain protocol, users should query MAYANode directly.

The version of the OpenAPI document: 2.10.0 Contact: devs@thorchain.org

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

interface ConfigurationParameters {
    accessToken?: string | Promise<string> | ((name?, scopes?) => string) | ((name?, scopes?) => Promise<string>);
    apiKey?: string | Promise<string> | ((name) => string) | ((name) => Promise<string>);
    baseOptions?: any;
    basePath?: string;
    formDataCtor?: (new () => any);
    password?: string;
    username?: string;
}

Properties

accessToken?: string | Promise<string> | ((name?, scopes?) => string) | ((name?, scopes?) => Promise<string>)

Type declaration

    • (name?, scopes?): string
    • Parameters

      • Optional name: string
      • Optional scopes: string[]

      Returns string

Type declaration

    • (name?, scopes?): Promise<string>
    • Parameters

      • Optional name: string
      • Optional scopes: string[]

      Returns Promise<string>

apiKey?: string | Promise<string> | ((name) => string) | ((name) => Promise<string>)

Type declaration

    • (name): string
    • Parameters

      • name: string

      Returns string

Type declaration

    • (name): Promise<string>
    • Parameters

      • name: string

      Returns Promise<string>

baseOptions?: any
basePath?: string
formDataCtor?: (new () => any)

Type declaration

    • new (): any
    • Returns any

password?: string
username?: string

Generated using TypeDoc