Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new AuthenticatedApi(apiUri?: string, httpConfig?: AxiosRequestConfig, apiKey?: string, secretKey?: string, passphrase?: string): AuthenticatedApi
  • 构造平台账户授权的API实例

    Parameters

    • Default value apiUri: string = "https://capi.bitget.com"
    • Default value httpConfig: AxiosRequestConfig = { timeout: 3000 }
    • Default value apiKey: string = ""

      公钥

    • Default value secretKey: string = ""

      私钥

    • Default value passphrase: string = ""

      口令

    Returns AuthenticatedApi

Properties

axiosInstance

axiosInstance: AxiosInstance

Protected signer

signer: (httpMethod: string, url: string, qsOrBody: Dict<any> | null, locale?: undefined | string) => BitgetApiHeader

Type declaration

    • (httpMethod: string, url: string, qsOrBody: Dict<any> | null, locale?: undefined | string): BitgetApiHeader
    • Parameters

      • httpMethod: string
      • url: string
      • qsOrBody: Dict<any> | null
      • Optional locale: undefined | string

      Returns BitgetApiHeader

Generated using TypeDoc