Binance Connector JS
    Preparing search index...

    BfusdApi - interface BfusdApi

    interface BfusdApiInterface {
        getBfusdAccount(
            requestParameters?: GetBfusdAccountRequest,
        ): Promise<RestApiResponse<GetBfusdAccountResponse>>;
        getBfusdQuotaDetails(
            requestParameters?: GetBfusdQuotaDetailsRequest,
        ): Promise<RestApiResponse<GetBfusdQuotaDetailsResponse>>;
        getBfusdRateHistory(
            requestParameters?: GetBfusdRateHistoryRequest,
        ): Promise<RestApiResponse<GetBfusdRateHistoryResponse>>;
        getBfusdRedemptionHistory(
            requestParameters?: GetBfusdRedemptionHistoryRequest,
        ): Promise<RestApiResponse<GetBfusdRedemptionHistoryResponse>>;
        getBfusdRewardsHistory(
            requestParameters?: GetBfusdRewardsHistoryRequest,
        ): Promise<RestApiResponse<GetBfusdRewardsHistoryResponse>>;
        getBfusdSubscriptionHistory(
            requestParameters?: GetBfusdSubscriptionHistoryRequest,
        ): Promise<RestApiResponse<GetBfusdSubscriptionHistoryResponse>>;
        redeemBfusd(
            requestParameters: RedeemBfusdRequest,
        ): Promise<RestApiResponse<RedeemBfusdResponse>>;
        subscribeBfusd(
            requestParameters: SubscribeBfusdRequest,
        ): Promise<RestApiResponse<SubscribeBfusdResponse>>;
    }

    Implemented by

    Index

    Methods

    • Get BFUSD rate history sorted by descending order.

      Weight(IP): 150

      Security Type: USER_DATA

      Notes:

      • The time between startTime and endTime cannot be longer than 6 months.
      • 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, endTime will default to current time, and results from startTime onward will be returned.
      • If endTime is sent but startTime is not sent, startTime defaults to the current time minus one month, and data between startTime and endTime will be returned.

      Parameters

      Returns Promise<RestApiResponse<GetBfusdRateHistoryResponse>>

      BfusdApiInterface

    • Get BFUSD redemption history

      Weight(IP): 150

      Security Type: USER_DATA

      Notes:

      • The time between startTime and endTime cannot be longer than 6 months.
      • 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, endTime will default to current time, and results from startTime onward will be returned.
      • If endTime is sent but startTime is not sent, startTime defaults to the current time minus one month, and data between startTime and endTime will be returned.

      Parameters

      Returns Promise<RestApiResponse<GetBfusdRedemptionHistoryResponse>>

      BfusdApiInterface

    • Get BFUSD rewards history

      Weight(IP): 150

      Security Type: USER_DATA

      Notes:

      • The time between startTime and endTime cannot be longer than 6 months.
      • 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, endTime will default to current time, and results from startTime onward will be returned.
      • If endTime is sent but startTime is not sent, startTime defaults to the current time minus one month, and data between startTime and endTime will be returned.

      Parameters

      Returns Promise<RestApiResponse<GetBfusdRewardsHistoryResponse>>

      BfusdApiInterface