Binance Connector JS
    Preparing search index...

    HistoryApi - interface HistoryApi

    interface HistoryApiInterface {
        getCollateralRecord(
            requestParameters?: GetCollateralRecordRequest,
        ): Promise<RestApiResponse<GetCollateralRecordResponse>>;
        getFlexibleRedemptionRecord(
            requestParameters?: GetFlexibleRedemptionRecordRequest,
        ): Promise<RestApiResponse<GetFlexibleRedemptionRecordResponse>>;
        getFlexibleRewardsHistory(
            requestParameters: GetFlexibleRewardsHistoryRequest,
        ): Promise<RestApiResponse<GetFlexibleRewardsHistoryResponse>>;
        getFlexibleSubscriptionRecord(
            requestParameters?: GetFlexibleSubscriptionRecordRequest,
        ): Promise<RestApiResponse<GetFlexibleSubscriptionRecordResponse>>;
        getLockedRedemptionRecord(
            requestParameters?: GetLockedRedemptionRecordRequest,
        ): Promise<RestApiResponse<GetLockedRedemptionRecordResponse>>;
        getLockedRewardsHistory(
            requestParameters?: GetLockedRewardsHistoryRequest,
        ): Promise<RestApiResponse<GetLockedRewardsHistoryResponse>>;
        getLockedSubscriptionRecord(
            requestParameters?: GetLockedSubscriptionRecordRequest,
        ): Promise<RestApiResponse<GetLockedSubscriptionRecordResponse>>;
        getRateHistory(
            requestParameters: GetRateHistoryRequest,
        ): Promise<RestApiResponse<GetRateHistoryResponse>>;
    }

    Implemented by

    Index

    Methods

    • Get Rate History

      The time between startTime and endTime cannot be longer than 1 year. If startTime and endTime are both not sent, then the last 30 days' data will be returned. If startTime is sent but endTime is not sent, the next 30 days' data beginning from startTime will be returned. If endTime is sent but startTime is not sent, the 30 days' data before endTime will be returned.

      Weight: 150

      Parameters

      Returns Promise<RestApiResponse<GetRateHistoryResponse>>

      HistoryApiInterface