Function InvariantsApiAxiosParamCreator

  • InvariantsApi - axios parameter creator

    Parameters

    Returns {
        invariant: ((invariant, height?, options?) => Promise<RequestArgs>);
        invariants: ((height?, options?) => Promise<RequestArgs>);
    }

    • invariant: ((invariant, height?, options?) => Promise<RequestArgs>)

      Returns result of running the given invariant.

      Throws

        • (invariant, height?, options?): Promise<RequestArgs>
        • Parameters

          • invariant: string
          • Optional height: number

            optional block height, defaults to current tip

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • invariants: ((height?, options?) => Promise<RequestArgs>)

      Returns a list of available invariants.

      Throws

        • (height?, options?): Promise<RequestArgs>
        • Parameters

          • Optional height: number

            optional block height, defaults to current tip

          • Optional options: AxiosRequestConfig<any> = {}

            Override http request option.

          Returns Promise<RequestArgs>

    Export

Generated using TypeDoc