Class DefaultApi

Hierarchy (view full)

Constructors

Properties

configuration: Configuration = DefaultConfig

Methods

  • Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json

    Parameters

    • mime: undefined | null | string

      MIME (Multipurpose Internet Mail Extensions)

    Returns boolean

    True if the given MIME is JSON, false otherwise.

  • Returns a hash, which key is the program id and value is the label. This is used to help map error from transaction by identifying the fault program id. With that, we can use the excludeDexes or dexes parameter. GET /program-id-to-label

    Parameters

    Returns Promise<{
        [key: string]: string;
    }>

  • Returns a hash, which key is the program id and value is the label. This is used to help map error from transaction by identifying the fault program id. With that, we can use the excludeDexes or dexes parameter. GET /program-id-to-label

    Parameters

    Returns Promise<ApiResponse<{
        [key: string]: string;
    }>>