Binance Connector JS
    Preparing search index...

    Interface EthStakingApiInterface

    EthStakingApi - interface EthStakingApi

    interface EthStakingApiInterface {
        ethStakingAccount(
            requestParameters?: EthStakingAccountRequest,
        ): Promise<RestApiResponse<EthStakingAccountResponse>>;
        getCurrentEthStakingQuota(
            requestParameters?: GetCurrentEthStakingQuotaRequest,
        ): Promise<RestApiResponse<GetCurrentEthStakingQuotaResponse>>;
        getEthRedemptionHistory(
            requestParameters?: GetEthRedemptionHistoryRequest,
        ): Promise<RestApiResponse<GetEthRedemptionHistoryResponse>>;
        getEthStakingHistory(
            requestParameters?: GetEthStakingHistoryRequest,
        ): Promise<RestApiResponse<GetEthStakingHistoryResponse>>;
        getWbethRateHistory(
            requestParameters?: GetWbethRateHistoryRequest,
        ): Promise<RestApiResponse<GetWbethRateHistoryResponse>>;
        getWbethRewardsHistory(
            requestParameters?: GetWbethRewardsHistoryRequest,
        ): Promise<RestApiResponse<GetWbethRewardsHistoryResponse>>;
        getWbethUnwrapHistory(
            requestParameters?: GetWbethUnwrapHistoryRequest,
        ): Promise<RestApiResponse<GetWbethUnwrapHistoryResponse>>;
        getWbethWrapHistory(
            requestParameters?: GetWbethWrapHistoryRequest,
        ): Promise<RestApiResponse<GetWbethWrapHistoryResponse>>;
        redeemEth(
            requestParameters: RedeemEthRequest,
        ): Promise<RestApiResponse<RedeemEthResponse>>;
        subscribeEthStaking(
            requestParameters: SubscribeEthStakingRequest,
        ): Promise<RestApiResponse<SubscribeEthStakingResponse>>;
        wrapBeth(
            requestParameters: WrapBethRequest,
        ): Promise<RestApiResponse<WrapBethResponse>>;
    }

    Implemented by

    Index
    • Get WBETH Rate History

      Weight(IP): 150

      Security Type: USER_DATA

      Notes:

      • The time between startTime and endTime cannot be longer than 3 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, 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.

      Parameters

      Returns Promise<RestApiResponse<GetWbethRateHistoryResponse>>

      EthStakingApiInterface

    • Get WBETH wrap history

      Weight(IP): 150

      Security Type: USER_DATA

      Notes:

      • The time between startTime and endTime cannot be longer than 3 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, 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.

      Parameters

      Returns Promise<RestApiResponse<GetWbethWrapHistoryResponse>>

      EthStakingApiInterface