import { BadRequestError, ConfigurationRestAPI, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, RestApiResponse, STAKING_REST_API_PROD_URL, ServerError, TooManyRequestsError, UnauthorizedError } from "@binance/common";

//#region rolldown:runtime

//#endregion
//#region src/rest-api/types/claim-boost-rewards-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface ClaimBoostRewardsResponse
 */
interface ClaimBoostRewardsResponse {
  /**
   *
   * @type {boolean}
   * @memberof ClaimBoostRewardsResponse
   */
  success?: boolean;
}
//#endregion
//#region src/rest-api/types/eth-staking-account-response-holdings.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface EthStakingAccountResponseHoldings
 */
interface EthStakingAccountResponseHoldings {
  /**
   *
   * @type {string}
   * @memberof EthStakingAccountResponseHoldings
   */
  wbethAmount?: string;
  /**
   *
   * @type {string}
   * @memberof EthStakingAccountResponseHoldings
   */
  bethAmount?: string;
}
//#endregion
//#region src/rest-api/types/eth-staking-account-response-profit.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface EthStakingAccountResponseProfit
 */
interface EthStakingAccountResponseProfit {
  /**
   *
   * @type {string}
   * @memberof EthStakingAccountResponseProfit
   */
  amountFromWBETH?: string;
  /**
   *
   * @type {string}
   * @memberof EthStakingAccountResponseProfit
   */
  amountFromBETH?: string;
}
//#endregion
//#region src/rest-api/types/eth-staking-account-response.d.ts
/**
 *
 * @export
 * @interface EthStakingAccountResponse
 */
interface EthStakingAccountResponse {
  /**
   *
   * @type {string}
   * @memberof EthStakingAccountResponse
   */
  holdingInETH?: string;
  /**
   *
   * @type {EthStakingAccountResponseHoldings}
   * @memberof EthStakingAccountResponse
   */
  holdings?: EthStakingAccountResponseHoldings;
  /**
   *
   * @type {string}
   * @memberof EthStakingAccountResponse
   */
  thirtyDaysProfitInETH?: string;
  /**
   *
   * @type {EthStakingAccountResponseProfit}
   * @memberof EthStakingAccountResponse
   */
  profit?: EthStakingAccountResponseProfit;
}
//#endregion
//#region src/rest-api/types/get-bnsol-rate-history-response-rows-inner-boost-rewards-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetBnsolRateHistoryResponseRowsInnerBoostRewardsInner
 */
interface GetBnsolRateHistoryResponseRowsInnerBoostRewardsInner {
  /**
   *
   * @type {string}
   * @memberof GetBnsolRateHistoryResponseRowsInnerBoostRewardsInner
   */
  boostAPR?: string;
  /**
   *
   * @type {string}
   * @memberof GetBnsolRateHistoryResponseRowsInnerBoostRewardsInner
   */
  rewardsAsset?: string;
}
//#endregion
//#region src/rest-api/types/get-bnsol-rate-history-response-rows-inner.d.ts
/**
 *
 * @export
 * @interface GetBnsolRateHistoryResponseRowsInner
 */
interface GetBnsolRateHistoryResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetBnsolRateHistoryResponseRowsInner
   */
  annualPercentageRate?: string;
  /**
   *
   * @type {string}
   * @memberof GetBnsolRateHistoryResponseRowsInner
   */
  exchangeRate?: string;
  /**
   *
   * @type {Array<GetBnsolRateHistoryResponseRowsInnerBoostRewardsInner>}
   * @memberof GetBnsolRateHistoryResponseRowsInner
   */
  boostRewards?: Array<GetBnsolRateHistoryResponseRowsInnerBoostRewardsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetBnsolRateHistoryResponseRowsInner
   */
  time?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-bnsol-rate-history-response.d.ts
/**
 *
 * @export
 * @interface GetBnsolRateHistoryResponse
 */
interface GetBnsolRateHistoryResponse {
  /**
   *
   * @type {Array<GetBnsolRateHistoryResponseRowsInner>}
   * @memberof GetBnsolRateHistoryResponse
   */
  rows?: Array<GetBnsolRateHistoryResponseRowsInner>;
  /**
   *
   * @type {string}
   * @memberof GetBnsolRateHistoryResponse
   */
  total?: string;
}
//#endregion
//#region src/rest-api/types/get-bnsol-rewards-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetBnsolRewardsHistoryResponseRowsInner
 */
interface GetBnsolRewardsHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetBnsolRewardsHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetBnsolRewardsHistoryResponseRowsInner
   */
  amountInSOL?: string;
  /**
   *
   * @type {string}
   * @memberof GetBnsolRewardsHistoryResponseRowsInner
   */
  holding?: string;
  /**
   *
   * @type {string}
   * @memberof GetBnsolRewardsHistoryResponseRowsInner
   */
  holdingInSOL?: string;
  /**
   *
   * @type {string}
   * @memberof GetBnsolRewardsHistoryResponseRowsInner
   */
  annualPercentageRate?: string;
}
//#endregion
//#region src/rest-api/types/get-bnsol-rewards-history-response.d.ts
/**
 *
 * @export
 * @interface GetBnsolRewardsHistoryResponse
 */
interface GetBnsolRewardsHistoryResponse {
  /**
   *
   * @type {string}
   * @memberof GetBnsolRewardsHistoryResponse
   */
  estRewardsInSOL?: string;
  /**
   *
   * @type {Array<GetBnsolRewardsHistoryResponseRowsInner>}
   * @memberof GetBnsolRewardsHistoryResponse
   */
  rows?: Array<GetBnsolRewardsHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetBnsolRewardsHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-boost-rewards-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetBoostRewardsHistoryResponseRowsInner
 */
interface GetBoostRewardsHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetBoostRewardsHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetBoostRewardsHistoryResponseRowsInner
   */
  token?: string;
  /**
   *
   * @type {string}
   * @memberof GetBoostRewardsHistoryResponseRowsInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetBoostRewardsHistoryResponseRowsInner
   */
  bnsolHolding?: string;
  /**
   *
   * @type {string}
   * @memberof GetBoostRewardsHistoryResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-boost-rewards-history-response.d.ts
/**
 *
 * @export
 * @interface GetBoostRewardsHistoryResponse
 */
interface GetBoostRewardsHistoryResponse {
  /**
   *
   * @type {Array<GetBoostRewardsHistoryResponseRowsInner>}
   * @memberof GetBoostRewardsHistoryResponse
   */
  rows?: Array<GetBoostRewardsHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetBoostRewardsHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-current-eth-staking-quota-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetCurrentEthStakingQuotaResponse
 */
interface GetCurrentEthStakingQuotaResponse {
  /**
   *
   * @type {string}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  leftStakingPersonalQuota?: string;
  /**
   *
   * @type {string}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  leftRedemptionPersonalQuota?: string;
  /**
   *
   * @type {string}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  minStakeAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  minRedeemAmount?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  redeemPeriod?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  stakeable?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  redeemable?: boolean;
  /**
   *
   * @type {string}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  commissionFee?: string;
  /**
   *
   * @type {boolean}
   * @memberof GetCurrentEthStakingQuotaResponse
   */
  calculating?: boolean;
}
//#endregion
//#region src/rest-api/types/get-eth-redemption-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetEthRedemptionHistoryResponseRowsInner
 */
interface GetEthRedemptionHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetEthRedemptionHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof GetEthRedemptionHistoryResponseRowsInner
   */
  arrivalTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetEthRedemptionHistoryResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthRedemptionHistoryResponseRowsInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthRedemptionHistoryResponseRowsInner
   */
  distributeAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthRedemptionHistoryResponseRowsInner
   */
  distributeAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthRedemptionHistoryResponseRowsInner
   */
  conversionRatio?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthRedemptionHistoryResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-eth-redemption-history-response.d.ts
/**
 *
 * @export
 * @interface GetEthRedemptionHistoryResponse
 */
interface GetEthRedemptionHistoryResponse {
  /**
   *
   * @type {Array<GetEthRedemptionHistoryResponseRowsInner>}
   * @memberof GetEthRedemptionHistoryResponse
   */
  rows?: Array<GetEthRedemptionHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetEthRedemptionHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-eth-staking-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetEthStakingHistoryResponseRowsInner
 */
interface GetEthStakingHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetEthStakingHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetEthStakingHistoryResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthStakingHistoryResponseRowsInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthStakingHistoryResponseRowsInner
   */
  distributeAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthStakingHistoryResponseRowsInner
   */
  distributeAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthStakingHistoryResponseRowsInner
   */
  conversionRatio?: string;
  /**
   *
   * @type {string}
   * @memberof GetEthStakingHistoryResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-eth-staking-history-response.d.ts
/**
 *
 * @export
 * @interface GetEthStakingHistoryResponse
 */
interface GetEthStakingHistoryResponse {
  /**
   *
   * @type {Array<GetEthStakingHistoryResponseRowsInner>}
   * @memberof GetEthStakingHistoryResponse
   */
  rows?: Array<GetEthStakingHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetEthStakingHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-personal-left-quota-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedPersonalLeftQuotaResponse
 */
interface GetOnChainYieldsLockedPersonalLeftQuotaResponse {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedPersonalLeftQuotaResponse
   */
  leftPersonalQuota?: string;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-product-list-response-rows-inner-detail.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedProductListResponseRowsInnerDetail
 */
interface GetOnChainYieldsLockedProductListResponseRowsInnerDetail {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  rewardAsset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  duration?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  renewable?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  isSoldOut?: boolean;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  apr?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  status?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  subscriptionStartTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
   */
  canRedeemToFlex?: boolean;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-product-list-response-rows-inner-quota.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedProductListResponseRowsInnerQuota
 */
interface GetOnChainYieldsLockedProductListResponseRowsInnerQuota {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerQuota
   */
  totalPersonalQuota?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInnerQuota
   */
  minimum?: string;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-product-list-response-rows-inner.d.ts
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedProductListResponseRowsInner
 */
interface GetOnChainYieldsLockedProductListResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInner
   */
  projectId?: string;
  /**
   *
   * @type {GetOnChainYieldsLockedProductListResponseRowsInnerDetail}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInner
   */
  detail?: GetOnChainYieldsLockedProductListResponseRowsInnerDetail;
  /**
   *
   * @type {GetOnChainYieldsLockedProductListResponseRowsInnerQuota}
   * @memberof GetOnChainYieldsLockedProductListResponseRowsInner
   */
  quota?: GetOnChainYieldsLockedProductListResponseRowsInnerQuota;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-product-list-response.d.ts
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedProductListResponse
 */
interface GetOnChainYieldsLockedProductListResponse {
  /**
   *
   * @type {Array<GetOnChainYieldsLockedProductListResponseRowsInner>}
   * @memberof GetOnChainYieldsLockedProductListResponse
   */
  rows?: Array<GetOnChainYieldsLockedProductListResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedProductListResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-product-position-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedProductPositionResponseRowsInner
 */
interface GetOnChainYieldsLockedProductPositionResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  positionId?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  projectId?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  purchaseTime?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  duration?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  accrualDays?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  rewardAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  APY?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  rewardAmt?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  nextPay?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  nextPayDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  payPeriod?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  rewardsPayDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  rewardsEndDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  deliverDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  nextSubscriptionDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  redeemingAmt?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  redeemTo?: string;
  /**
   *
   * @type {boolean}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  canRedeemEarly?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  autoSubscribe?: boolean;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedProductPositionResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-product-position-response.d.ts
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedProductPositionResponse
 */
interface GetOnChainYieldsLockedProductPositionResponse {
  /**
   *
   * @type {Array<GetOnChainYieldsLockedProductPositionResponseRowsInner>}
   * @memberof GetOnChainYieldsLockedProductPositionResponse
   */
  rows?: Array<GetOnChainYieldsLockedProductPositionResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedProductPositionResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-redemption-record-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
 */
interface GetOnChainYieldsLockedRedemptionRecordResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  positionId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  redeemId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  lockPeriod?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  originalAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  deliverDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  lossAmount?: string;
  /**
   *
   * @type {boolean}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  isComplete?: boolean;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  rewardAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  rewardAmt?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-redemption-record-response.d.ts
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedRedemptionRecordResponse
 */
interface GetOnChainYieldsLockedRedemptionRecordResponse {
  /**
   *
   * @type {Array<GetOnChainYieldsLockedRedemptionRecordResponseRowsInner>}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponse
   */
  rows?: Array<GetOnChainYieldsLockedRedemptionRecordResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedRedemptionRecordResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-rewards-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
 */
interface GetOnChainYieldsLockedRewardsHistoryResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
   */
  positionId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
   */
  lockPeriod?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
   */
  amount?: string;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-rewards-history-response.d.ts
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedRewardsHistoryResponse
 */
interface GetOnChainYieldsLockedRewardsHistoryResponse {
  /**
   *
   * @type {Array<GetOnChainYieldsLockedRewardsHistoryResponseRowsInner>}
   * @memberof GetOnChainYieldsLockedRewardsHistoryResponse
   */
  rows?: Array<GetOnChainYieldsLockedRewardsHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedRewardsHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-subscription-preview-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedSubscriptionPreviewResponse
 */
interface GetOnChainYieldsLockedSubscriptionPreviewResponse {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  rewardAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  totalRewardAmt?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  nextPay?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  nextPayDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  rewardsPayDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  valueDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  rewardsEndDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  deliverDate?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionPreviewResponse
   */
  nextSubscriptionDate?: string;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-subscription-record-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
 */
interface GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  positionId?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  purchaseId?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  projectId?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  clientId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  lockPeriod?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  type?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  sourceAccount?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  amtFromSpot?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  amtFromFunding?: string;
  /**
   *
   * @type {string}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-on-chain-yields-locked-subscription-record-response.d.ts
/**
 *
 * @export
 * @interface GetOnChainYieldsLockedSubscriptionRecordResponse
 */
interface GetOnChainYieldsLockedSubscriptionRecordResponse {
  /**
   *
   * @type {Array<GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner>}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponse
   */
  rows?: Array<GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetOnChainYieldsLockedSubscriptionRecordResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-soft-staking-product-list-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetSoftStakingProductListResponseRowsInner
 */
interface GetSoftStakingProductListResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingProductListResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingProductListResponseRowsInner
   */
  minAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingProductListResponseRowsInner
   */
  maxCap?: string;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingProductListResponseRowsInner
   */
  apr?: string;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingProductListResponseRowsInner
   */
  stakedAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingProductListResponseRowsInner
   */
  totalProfit?: string;
}
//#endregion
//#region src/rest-api/types/get-soft-staking-product-list-response.d.ts
/**
 *
 * @export
 * @interface GetSoftStakingProductListResponse
 */
interface GetSoftStakingProductListResponse {
  /**
   *
   * @type {boolean}
   * @memberof GetSoftStakingProductListResponse
   */
  status?: boolean;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingProductListResponse
   */
  totalRewardsUsdt?: string;
  /**
   *
   * @type {Array<GetSoftStakingProductListResponseRowsInner>}
   * @memberof GetSoftStakingProductListResponse
   */
  rows?: Array<GetSoftStakingProductListResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetSoftStakingProductListResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-soft-staking-rewards-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetSoftStakingRewardsHistoryResponseRowsInner
 */
interface GetSoftStakingRewardsHistoryResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingRewardsHistoryResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingRewardsHistoryResponseRowsInner
   */
  rewards?: string;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingRewardsHistoryResponseRowsInner
   */
  rewardAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetSoftStakingRewardsHistoryResponseRowsInner
   */
  avgAmount?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetSoftStakingRewardsHistoryResponseRowsInner
   */
  time?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-soft-staking-rewards-history-response.d.ts
/**
 *
 * @export
 * @interface GetSoftStakingRewardsHistoryResponse
 */
interface GetSoftStakingRewardsHistoryResponse {
  /**
   *
   * @type {Array<GetSoftStakingRewardsHistoryResponseRowsInner>}
   * @memberof GetSoftStakingRewardsHistoryResponse
   */
  rows?: Array<GetSoftStakingRewardsHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetSoftStakingRewardsHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-sol-redemption-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetSolRedemptionHistoryResponseRowsInner
 */
interface GetSolRedemptionHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetSolRedemptionHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof GetSolRedemptionHistoryResponseRowsInner
   */
  arrivalTime?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetSolRedemptionHistoryResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolRedemptionHistoryResponseRowsInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolRedemptionHistoryResponseRowsInner
   */
  distributeAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolRedemptionHistoryResponseRowsInner
   */
  distributeAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolRedemptionHistoryResponseRowsInner
   */
  exchangeRate?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolRedemptionHistoryResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-sol-redemption-history-response.d.ts
/**
 *
 * @export
 * @interface GetSolRedemptionHistoryResponse
 */
interface GetSolRedemptionHistoryResponse {
  /**
   *
   * @type {Array<GetSolRedemptionHistoryResponseRowsInner>}
   * @memberof GetSolRedemptionHistoryResponse
   */
  rows?: Array<GetSolRedemptionHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetSolRedemptionHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-sol-staking-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetSolStakingHistoryResponseRowsInner
 */
interface GetSolStakingHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetSolStakingHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingHistoryResponseRowsInner
   */
  asset?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingHistoryResponseRowsInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingHistoryResponseRowsInner
   */
  distributeAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingHistoryResponseRowsInner
   */
  distributeAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingHistoryResponseRowsInner
   */
  exchangeRate?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingHistoryResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-sol-staking-history-response.d.ts
/**
 *
 * @export
 * @interface GetSolStakingHistoryResponse
 */
interface GetSolStakingHistoryResponse {
  /**
   *
   * @type {Array<GetSolStakingHistoryResponseRowsInner>}
   * @memberof GetSolStakingHistoryResponse
   */
  rows?: Array<GetSolStakingHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetSolStakingHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-sol-staking-quota-details-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetSolStakingQuotaDetailsResponse
 */
interface GetSolStakingQuotaDetailsResponse {
  /**
   *
   * @type {string}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  leftStakingPersonalQuota?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  leftRedemptionPersonalQuota?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  minStakeAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  minRedeemAmount?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  redeemPeriod?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  stakeable?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  redeemable?: boolean;
  /**
   *
   * @type {boolean}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  soldOut?: boolean;
  /**
   *
   * @type {string}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  commissionFee?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  nextEpochTime?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof GetSolStakingQuotaDetailsResponse
   */
  calculating?: boolean;
}
//#endregion
//#region src/rest-api/types/get-unclaimed-rewards-response-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetUnclaimedRewardsResponseInner
 */
interface GetUnclaimedRewardsResponseInner {
  /**
   *
   * @type {string}
   * @memberof GetUnclaimedRewardsResponseInner
   */
  amount?: string;
  /**
   *
   * @type {string}
   * @memberof GetUnclaimedRewardsResponseInner
   */
  rewardsAsset?: string;
}
//#endregion
//#region src/rest-api/types/get-unclaimed-rewards-response.d.ts
/**
 *
 * @export
 * @interface GetUnclaimedRewardsResponse
 */
interface GetUnclaimedRewardsResponse extends Array<GetUnclaimedRewardsResponseInner> {}
//#endregion
//#region src/rest-api/types/get-wbeth-rate-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetWbethRateHistoryResponseRowsInner
 */
interface GetWbethRateHistoryResponseRowsInner {
  /**
   *
   * @type {string}
   * @memberof GetWbethRateHistoryResponseRowsInner
   */
  annualPercentageRate?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethRateHistoryResponseRowsInner
   */
  exchangeRate?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof GetWbethRateHistoryResponseRowsInner
   */
  time?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-wbeth-rate-history-response.d.ts
/**
 *
 * @export
 * @interface GetWbethRateHistoryResponse
 */
interface GetWbethRateHistoryResponse {
  /**
   *
   * @type {Array<GetWbethRateHistoryResponseRowsInner>}
   * @memberof GetWbethRateHistoryResponse
   */
  rows?: Array<GetWbethRateHistoryResponseRowsInner>;
  /**
   *
   * @type {string}
   * @memberof GetWbethRateHistoryResponse
   */
  total?: string;
}
//#endregion
//#region src/rest-api/types/get-wbeth-rewards-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetWbethRewardsHistoryResponseRowsInner
 */
interface GetWbethRewardsHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetWbethRewardsHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetWbethRewardsHistoryResponseRowsInner
   */
  amountInETH?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethRewardsHistoryResponseRowsInner
   */
  holding?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethRewardsHistoryResponseRowsInner
   */
  holdingInETH?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethRewardsHistoryResponseRowsInner
   */
  annualPercentageRate?: string;
}
//#endregion
//#region src/rest-api/types/get-wbeth-rewards-history-response.d.ts
/**
 *
 * @export
 * @interface GetWbethRewardsHistoryResponse
 */
interface GetWbethRewardsHistoryResponse {
  /**
   *
   * @type {string}
   * @memberof GetWbethRewardsHistoryResponse
   */
  estRewardsInETH?: string;
  /**
   *
   * @type {Array<GetWbethRewardsHistoryResponseRowsInner>}
   * @memberof GetWbethRewardsHistoryResponse
   */
  rows?: Array<GetWbethRewardsHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetWbethRewardsHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-wbeth-unwrap-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetWbethUnwrapHistoryResponseRowsInner
 */
interface GetWbethUnwrapHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetWbethUnwrapHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetWbethUnwrapHistoryResponseRowsInner
   */
  fromAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethUnwrapHistoryResponseRowsInner
   */
  fromAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethUnwrapHistoryResponseRowsInner
   */
  toAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethUnwrapHistoryResponseRowsInner
   */
  toAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethUnwrapHistoryResponseRowsInner
   */
  exchangeRate?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethUnwrapHistoryResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-wbeth-unwrap-history-response.d.ts
/**
 *
 * @export
 * @interface GetWbethUnwrapHistoryResponse
 */
interface GetWbethUnwrapHistoryResponse {
  /**
   *
   * @type {Array<GetWbethUnwrapHistoryResponseRowsInner>}
   * @memberof GetWbethUnwrapHistoryResponse
   */
  rows?: Array<GetWbethUnwrapHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetWbethUnwrapHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/get-wbeth-wrap-history-response-rows-inner.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface GetWbethWrapHistoryResponseRowsInner
 */
interface GetWbethWrapHistoryResponseRowsInner {
  /**
   *
   * @type {number | bigint}
   * @memberof GetWbethWrapHistoryResponseRowsInner
   */
  time?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof GetWbethWrapHistoryResponseRowsInner
   */
  fromAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethWrapHistoryResponseRowsInner
   */
  fromAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethWrapHistoryResponseRowsInner
   */
  toAsset?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethWrapHistoryResponseRowsInner
   */
  toAmount?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethWrapHistoryResponseRowsInner
   */
  exchangeRate?: string;
  /**
   *
   * @type {string}
   * @memberof GetWbethWrapHistoryResponseRowsInner
   */
  status?: string;
}
//#endregion
//#region src/rest-api/types/get-wbeth-wrap-history-response.d.ts
/**
 *
 * @export
 * @interface GetWbethWrapHistoryResponse
 */
interface GetWbethWrapHistoryResponse {
  /**
   *
   * @type {Array<GetWbethWrapHistoryResponseRowsInner>}
   * @memberof GetWbethWrapHistoryResponse
   */
  rows?: Array<GetWbethWrapHistoryResponseRowsInner>;
  /**
   *
   * @type {number | bigint}
   * @memberof GetWbethWrapHistoryResponse
   */
  total?: number | bigint;
}
//#endregion
//#region src/rest-api/types/on-chain-yields-account-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface OnChainYieldsAccountResponse
 */
interface OnChainYieldsAccountResponse {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsAccountResponse
   */
  totalAmountInBTC?: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsAccountResponse
   */
  totalAmountInUSDT?: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsAccountResponse
   */
  totalFlexibleAmountInBTC?: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsAccountResponse
   */
  totalFlexibleAmountInUSDT?: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsAccountResponse
   */
  totalLockedInBTC?: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsAccountResponse
   */
  totalLockedInUSDT?: string;
}
//#endregion
//#region src/rest-api/types/redeem-eth-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RedeemEthResponse
 */
interface RedeemEthResponse {
  /**
   *
   * @type {boolean}
   * @memberof RedeemEthResponse
   */
  success?: boolean;
  /**
   *
   * @type {string}
   * @memberof RedeemEthResponse
   */
  ethAmount?: string;
  /**
   *
   * @type {string}
   * @memberof RedeemEthResponse
   */
  conversionRatio?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof RedeemEthResponse
   */
  arrivalTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RedeemEthResponse
   */
  redeemId?: number | bigint;
}
//#endregion
//#region src/rest-api/types/redeem-on-chain-yields-locked-product-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RedeemOnChainYieldsLockedProductResponse
 */
interface RedeemOnChainYieldsLockedProductResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof RedeemOnChainYieldsLockedProductResponse
   */
  redeemId?: number | bigint;
  /**
   *
   * @type {boolean}
   * @memberof RedeemOnChainYieldsLockedProductResponse
   */
  success?: boolean;
}
//#endregion
//#region src/rest-api/types/redeem-sol-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface RedeemSolResponse
 */
interface RedeemSolResponse {
  /**
   *
   * @type {boolean}
   * @memberof RedeemSolResponse
   */
  success?: boolean;
  /**
   *
   * @type {string}
   * @memberof RedeemSolResponse
   */
  solAmount?: string;
  /**
   *
   * @type {string}
   * @memberof RedeemSolResponse
   */
  exchangeRate?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof RedeemSolResponse
   */
  arrivalTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof RedeemSolResponse
   */
  redeemId?: number | bigint;
}
//#endregion
//#region src/rest-api/types/set-on-chain-yields-locked-auto-subscribe-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SetOnChainYieldsLockedAutoSubscribeResponse
 */
interface SetOnChainYieldsLockedAutoSubscribeResponse {
  /**
   *
   * @type {boolean}
   * @memberof SetOnChainYieldsLockedAutoSubscribeResponse
   */
  success?: boolean;
}
//#endregion
//#region src/rest-api/types/set-on-chain-yields-locked-product-redeem-option-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SetOnChainYieldsLockedProductRedeemOptionResponse
 */
interface SetOnChainYieldsLockedProductRedeemOptionResponse {
  /**
   *
   * @type {boolean}
   * @memberof SetOnChainYieldsLockedProductRedeemOptionResponse
   */
  success?: boolean;
}
//#endregion
//#region src/rest-api/types/set-soft-staking-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SetSoftStakingResponse
 */
interface SetSoftStakingResponse {
  /**
   *
   * @type {boolean}
   * @memberof SetSoftStakingResponse
   */
  success?: boolean;
}
//#endregion
//#region src/rest-api/types/sol-staking-account-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SolStakingAccountResponse
 */
interface SolStakingAccountResponse {
  /**
   *
   * @type {string}
   * @memberof SolStakingAccountResponse
   */
  bnsolAmount?: string;
  /**
   *
   * @type {string}
   * @memberof SolStakingAccountResponse
   */
  holdingInSOL?: string;
  /**
   *
   * @type {string}
   * @memberof SolStakingAccountResponse
   */
  thirtyDaysProfitInSOL?: string;
}
//#endregion
//#region src/rest-api/types/subscribe-eth-staking-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SubscribeEthStakingResponse
 */
interface SubscribeEthStakingResponse {
  /**
   *
   * @type {boolean}
   * @memberof SubscribeEthStakingResponse
   */
  success?: boolean;
  /**
   *
   * @type {string}
   * @memberof SubscribeEthStakingResponse
   */
  wbethAmount?: string;
  /**
   *
   * @type {string}
   * @memberof SubscribeEthStakingResponse
   */
  conversionRatio?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SubscribeEthStakingResponse
   */
  purchaseId?: number | bigint;
}
//#endregion
//#region src/rest-api/types/subscribe-on-chain-yields-locked-product-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SubscribeOnChainYieldsLockedProductResponse
 */
interface SubscribeOnChainYieldsLockedProductResponse {
  /**
   *
   * @type {number | bigint}
   * @memberof SubscribeOnChainYieldsLockedProductResponse
   */
  purchaseId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof SubscribeOnChainYieldsLockedProductResponse
   */
  positionId?: string;
  /**
   *
   * @type {string}
   * @memberof SubscribeOnChainYieldsLockedProductResponse
   */
  amount?: string;
  /**
   *
   * @type {boolean}
   * @memberof SubscribeOnChainYieldsLockedProductResponse
   */
  success?: boolean;
}
//#endregion
//#region src/rest-api/types/subscribe-sol-staking-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface SubscribeSolStakingResponse
 */
interface SubscribeSolStakingResponse {
  /**
   *
   * @type {boolean}
   * @memberof SubscribeSolStakingResponse
   */
  success?: boolean;
  /**
   *
   * @type {string}
   * @memberof SubscribeSolStakingResponse
   */
  bnsolAmount?: string;
  /**
   *
   * @type {string}
   * @memberof SubscribeSolStakingResponse
   */
  exchangeRate?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SubscribeSolStakingResponse
   */
  purchaseId?: number | bigint;
}
//#endregion
//#region src/rest-api/types/wrap-beth-response.d.ts
/**
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 *
 * @export
 * @interface WrapBethResponse
 */
interface WrapBethResponse {
  /**
   *
   * @type {boolean}
   * @memberof WrapBethResponse
   */
  success?: boolean;
  /**
   *
   * @type {string}
   * @memberof WrapBethResponse
   */
  wbethAmount?: string;
  /**
   *
   * @type {string}
   * @memberof WrapBethResponse
   */
  exchangeRate?: string;
}
//#endregion
//#region src/rest-api/modules/eth-staking-api.d.ts
/**
 * EthStakingApi - interface
 * @interface EthStakingApi
 */
interface EthStakingApiInterface {
  /**
   * ETH Staking account
   *
   * Weight: 150
   *
   * @summary ETH Staking account(USER_DATA)
   * @param {EthStakingAccountRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  ethStakingAccount(requestParameters?: EthStakingAccountRequest): Promise<RestApiResponse<EthStakingAccountResponse>>;
  /**
   * Get current ETH staking quota
   *
   * Weight: 150
   *
   * @summary Get current ETH staking quota(USER_DATA)
   * @param {GetCurrentEthStakingQuotaRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  getCurrentEthStakingQuota(requestParameters?: GetCurrentEthStakingQuotaRequest): Promise<RestApiResponse<GetCurrentEthStakingQuotaResponse>>;
  /**
   * Get ETH redemption history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get ETH redemption history(USER_DATA)
   * @param {GetEthRedemptionHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  getEthRedemptionHistory(requestParameters?: GetEthRedemptionHistoryRequest): Promise<RestApiResponse<GetEthRedemptionHistoryResponse>>;
  /**
   * Get ETH staking history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get ETH staking history(USER_DATA)
   * @param {GetEthStakingHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  getEthStakingHistory(requestParameters?: GetEthStakingHistoryRequest): Promise<RestApiResponse<GetEthStakingHistoryResponse>>;
  /**
   * Get WBETH Rate History
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH Rate History(USER_DATA)
   * @param {GetWbethRateHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  getWbethRateHistory(requestParameters?: GetWbethRateHistoryRequest): Promise<RestApiResponse<GetWbethRateHistoryResponse>>;
  /**
   * Get WBETH rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH rewards history(USER_DATA)
   * @param {GetWbethRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  getWbethRewardsHistory(requestParameters?: GetWbethRewardsHistoryRequest): Promise<RestApiResponse<GetWbethRewardsHistoryResponse>>;
  /**
   * Get WBETH unwrap history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH unwrap history(USER_DATA)
   * @param {GetWbethUnwrapHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  getWbethUnwrapHistory(requestParameters?: GetWbethUnwrapHistoryRequest): Promise<RestApiResponse<GetWbethUnwrapHistoryResponse>>;
  /**
   * Get WBETH wrap history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH wrap history(USER_DATA)
   * @param {GetWbethWrapHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  getWbethWrapHistory(requestParameters?: GetWbethWrapHistoryRequest): Promise<RestApiResponse<GetWbethWrapHistoryResponse>>;
  /**
   * Redeem WBETH or BETH and get ETH
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Redeem ETH(TRADE)
   * @param {RedeemEthRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  redeemEth(requestParameters: RedeemEthRequest): Promise<RestApiResponse<RedeemEthResponse>>;
  /**
   * Subscribe ETH Staking
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Subscribe ETH Staking(TRADE)
   * @param {SubscribeEthStakingRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  subscribeEthStaking(requestParameters: SubscribeEthStakingRequest): Promise<RestApiResponse<SubscribeEthStakingResponse>>;
  /**
   * Wrap BETH
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Wrap BETH(TRADE)
   * @param {WrapBethRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApiInterface
   */
  wrapBeth(requestParameters: WrapBethRequest): Promise<RestApiResponse<WrapBethResponse>>;
}
/**
 * Request parameters for ethStakingAccount operation in EthStakingApi.
 * @interface EthStakingAccountRequest
 */
interface EthStakingAccountRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiEthStakingAccount
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getCurrentEthStakingQuota operation in EthStakingApi.
 * @interface GetCurrentEthStakingQuotaRequest
 */
interface GetCurrentEthStakingQuotaRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetCurrentEthStakingQuota
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getEthRedemptionHistory operation in EthStakingApi.
 * @interface GetEthRedemptionHistoryRequest
 */
interface GetEthRedemptionHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthRedemptionHistory
   */
  readonly redeemId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthRedemptionHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthRedemptionHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthRedemptionHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthRedemptionHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthRedemptionHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getEthStakingHistory operation in EthStakingApi.
 * @interface GetEthStakingHistoryRequest
 */
interface GetEthStakingHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthStakingHistory
   */
  readonly purchaseId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthStakingHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthStakingHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthStakingHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthStakingHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetEthStakingHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getWbethRateHistory operation in EthStakingApi.
 * @interface GetWbethRateHistoryRequest
 */
interface GetWbethRateHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRateHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRateHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRateHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRateHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRateHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getWbethRewardsHistory operation in EthStakingApi.
 * @interface GetWbethRewardsHistoryRequest
 */
interface GetWbethRewardsHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRewardsHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRewardsHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRewardsHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRewardsHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethRewardsHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getWbethUnwrapHistory operation in EthStakingApi.
 * @interface GetWbethUnwrapHistoryRequest
 */
interface GetWbethUnwrapHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethUnwrapHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethUnwrapHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethUnwrapHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethUnwrapHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethUnwrapHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getWbethWrapHistory operation in EthStakingApi.
 * @interface GetWbethWrapHistoryRequest
 */
interface GetWbethWrapHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethWrapHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethWrapHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethWrapHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethWrapHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiGetWbethWrapHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for redeemEth operation in EthStakingApi.
 * @interface RedeemEthRequest
 */
interface RedeemEthRequest {
  /**
   * Amount in SOL.
   * @type {number}
   * @memberof EthStakingApiRedeemEth
   */
  readonly amount: number;
  /**
   * WBETH or BETH, default to BETH
   * @type {string}
   * @memberof EthStakingApiRedeemEth
   */
  readonly asset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiRedeemEth
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for subscribeEthStaking operation in EthStakingApi.
 * @interface SubscribeEthStakingRequest
 */
interface SubscribeEthStakingRequest {
  /**
   * Amount in SOL.
   * @type {number}
   * @memberof EthStakingApiSubscribeEthStaking
   */
  readonly amount: number;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiSubscribeEthStaking
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for wrapBeth operation in EthStakingApi.
 * @interface WrapBethRequest
 */
interface WrapBethRequest {
  /**
   * Amount in SOL.
   * @type {number}
   * @memberof EthStakingApiWrapBeth
   */
  readonly amount: number;
  /**
   *
   * @type {number | bigint}
   * @memberof EthStakingApiWrapBeth
   */
  readonly recvWindow?: number | bigint;
}
/**
 * EthStakingApi - object-oriented interface
 * @class EthStakingApi
 */
declare class EthStakingApi implements EthStakingApiInterface {
  private readonly configuration;
  private localVarAxiosParamCreator;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * ETH Staking account
   *
   * Weight: 150
   *
   * @summary ETH Staking account(USER_DATA)
   * @param {EthStakingAccountRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<EthStakingAccountResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/account/ETH-Staking-account Binance API Documentation}
   */
  ethStakingAccount(requestParameters?: EthStakingAccountRequest): Promise<RestApiResponse<EthStakingAccountResponse>>;
  /**
   * Get current ETH staking quota
   *
   * Weight: 150
   *
   * @summary Get current ETH staking quota(USER_DATA)
   * @param {GetCurrentEthStakingQuotaRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetCurrentEthStakingQuotaResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/account/Get-current-ETH-staking-quota Binance API Documentation}
   */
  getCurrentEthStakingQuota(requestParameters?: GetCurrentEthStakingQuotaRequest): Promise<RestApiResponse<GetCurrentEthStakingQuotaResponse>>;
  /**
   * Get ETH redemption history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get ETH redemption history(USER_DATA)
   * @param {GetEthRedemptionHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetEthRedemptionHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-ETH-redemption-history Binance API Documentation}
   */
  getEthRedemptionHistory(requestParameters?: GetEthRedemptionHistoryRequest): Promise<RestApiResponse<GetEthRedemptionHistoryResponse>>;
  /**
   * Get ETH staking history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get ETH staking history(USER_DATA)
   * @param {GetEthStakingHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetEthStakingHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-ETH-staking-history Binance API Documentation}
   */
  getEthStakingHistory(requestParameters?: GetEthStakingHistoryRequest): Promise<RestApiResponse<GetEthStakingHistoryResponse>>;
  /**
   * Get WBETH Rate History
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH Rate History(USER_DATA)
   * @param {GetWbethRateHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetWbethRateHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-BETH-Rate-History Binance API Documentation}
   */
  getWbethRateHistory(requestParameters?: GetWbethRateHistoryRequest): Promise<RestApiResponse<GetWbethRateHistoryResponse>>;
  /**
   * Get WBETH rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH rewards history(USER_DATA)
   * @param {GetWbethRewardsHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetWbethRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-WBETH-rewards-history Binance API Documentation}
   */
  getWbethRewardsHistory(requestParameters?: GetWbethRewardsHistoryRequest): Promise<RestApiResponse<GetWbethRewardsHistoryResponse>>;
  /**
   * Get WBETH unwrap history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH unwrap history(USER_DATA)
   * @param {GetWbethUnwrapHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetWbethUnwrapHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-WBETH-unwrap-history Binance API Documentation}
   */
  getWbethUnwrapHistory(requestParameters?: GetWbethUnwrapHistoryRequest): Promise<RestApiResponse<GetWbethUnwrapHistoryResponse>>;
  /**
   * Get WBETH wrap history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH wrap history(USER_DATA)
   * @param {GetWbethWrapHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetWbethWrapHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-WBETH-wrap-history Binance API Documentation}
   */
  getWbethWrapHistory(requestParameters?: GetWbethWrapHistoryRequest): Promise<RestApiResponse<GetWbethWrapHistoryResponse>>;
  /**
   * Redeem WBETH or BETH and get ETH
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Redeem ETH(TRADE)
   * @param {RedeemEthRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<RedeemEthResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/staking/Redeem-ETH Binance API Documentation}
   */
  redeemEth(requestParameters: RedeemEthRequest): Promise<RestApiResponse<RedeemEthResponse>>;
  /**
   * Subscribe ETH Staking
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Subscribe ETH Staking(TRADE)
   * @param {SubscribeEthStakingRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SubscribeEthStakingResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/staking/Subscribe-ETH-Staking Binance API Documentation}
   */
  subscribeEthStaking(requestParameters: SubscribeEthStakingRequest): Promise<RestApiResponse<SubscribeEthStakingResponse>>;
  /**
   * Wrap BETH
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Wrap BETH(TRADE)
   * @param {WrapBethRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<WrapBethResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof EthStakingApi
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/staking/Wrap-BETH Binance API Documentation}
   */
  wrapBeth(requestParameters: WrapBethRequest): Promise<RestApiResponse<WrapBethResponse>>;
}
//#endregion
//#region src/rest-api/modules/on-chain-yields-api.d.ts
/**
 * OnChainYieldsApi - interface
 * @interface OnChainYieldsApi
 */
interface OnChainYieldsApiInterface {
  /**
   * Get On-chain Yields Locked Personal Left Quota
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Personal Left Quota (USER_DATA)
   * @param {GetOnChainYieldsLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  getOnChainYieldsLockedPersonalLeftQuota(requestParameters: GetOnChainYieldsLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetOnChainYieldsLockedPersonalLeftQuotaResponse>>;
  /**
   * Get available On-chain Yields Locked product list
   *
   * Get available On-chain Yields Locked product list
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Product List (USER_DATA)
   * @param {GetOnChainYieldsLockedProductListRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  getOnChainYieldsLockedProductList(requestParameters?: GetOnChainYieldsLockedProductListRequest): Promise<RestApiResponse<GetOnChainYieldsLockedProductListResponse>>;
  /**
   * Get On-chain Yields Locked Product Position
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Product Position (USER_DATA)
   * @param {GetOnChainYieldsLockedProductPositionRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  getOnChainYieldsLockedProductPosition(requestParameters?: GetOnChainYieldsLockedProductPositionRequest): Promise<RestApiResponse<GetOnChainYieldsLockedProductPositionResponse>>;
  /**
   * Get On-chain Yields Locked Redemption Record
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Redemption Record (USER_DATA)
   * @param {GetOnChainYieldsLockedRedemptionRecordRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  getOnChainYieldsLockedRedemptionRecord(requestParameters?: GetOnChainYieldsLockedRedemptionRecordRequest): Promise<RestApiResponse<GetOnChainYieldsLockedRedemptionRecordResponse>>;
  /**
   * Get On-chain Yields Locked Rewards History
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Rewards History (USER_DATA)
   * @param {GetOnChainYieldsLockedRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  getOnChainYieldsLockedRewardsHistory(requestParameters?: GetOnChainYieldsLockedRewardsHistoryRequest): Promise<RestApiResponse<GetOnChainYieldsLockedRewardsHistoryResponse>>;
  /**
   * Get On-chain Yields Locked Subscription Preview
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Subscription Preview (USER_DATA)
   * @param {GetOnChainYieldsLockedSubscriptionPreviewRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  getOnChainYieldsLockedSubscriptionPreview(requestParameters: GetOnChainYieldsLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionPreviewResponse>>;
  /**
   * Get On-chain Yields Locked Subscription Record
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Subscription Record (USER_DATA)
   * @param {GetOnChainYieldsLockedSubscriptionRecordRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  getOnChainYieldsLockedSubscriptionRecord(requestParameters?: GetOnChainYieldsLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionRecordResponse>>;
  /**
   * On-chain Yields Account query
   *
   * Weight: 50
   *
   * @summary On-chain Yields Account (USER_DATA)
   * @param {OnChainYieldsAccountRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  onChainYieldsAccount(requestParameters?: OnChainYieldsAccountRequest): Promise<RestApiResponse<OnChainYieldsAccountResponse>>;
  /**
   * Redeem On-chain Yields Locked Product
   *
   * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
   *
   * Weight: 1/3s per account
   *
   * @summary Redeem On-chain Yields Locked Product (TRADE)
   * @param {RedeemOnChainYieldsLockedProductRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  redeemOnChainYieldsLockedProduct(requestParameters: RedeemOnChainYieldsLockedProductRequest): Promise<RestApiResponse<RedeemOnChainYieldsLockedProductResponse>>;
  /**
   * Set On-chain Yield locked auto subscribe
   *
   * Weight: 50
   *
   * @summary Set On-chain Yields Locked Auto Subscribe(USER_DATA)
   * @param {SetOnChainYieldsLockedAutoSubscribeRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  setOnChainYieldsLockedAutoSubscribe(requestParameters: SetOnChainYieldsLockedAutoSubscribeRequest): Promise<RestApiResponse<SetOnChainYieldsLockedAutoSubscribeResponse>>;
  /**
   * Set On-chain Yields redeem option for Locked product
   *
   * Weight: 50
   *
   * @summary Set On-chain Yields Locked Product Redeem Option(USER_DATA)
   * @param {SetOnChainYieldsLockedProductRedeemOptionRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  setOnChainYieldsLockedProductRedeemOption(requestParameters: SetOnChainYieldsLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetOnChainYieldsLockedProductRedeemOptionResponse>>;
  /**
   * Subscribe On-chain Yields Locked Product
   *
   * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
   *
   * Weight: 200
   *
   * @summary Subscribe On-chain Yields Locked Product(TRADE)
   * @param {SubscribeOnChainYieldsLockedProductRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApiInterface
   */
  subscribeOnChainYieldsLockedProduct(requestParameters: SubscribeOnChainYieldsLockedProductRequest): Promise<RestApiResponse<SubscribeOnChainYieldsLockedProductResponse>>;
}
/**
 * Request parameters for getOnChainYieldsLockedPersonalLeftQuota operation in OnChainYieldsApi.
 * @interface GetOnChainYieldsLockedPersonalLeftQuotaRequest
 */
interface GetOnChainYieldsLockedPersonalLeftQuotaRequest {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedPersonalLeftQuota
   */
  readonly projectId: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedPersonalLeftQuota
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getOnChainYieldsLockedProductList operation in OnChainYieldsApi.
 * @interface GetOnChainYieldsLockedProductListRequest
 */
interface GetOnChainYieldsLockedProductListRequest {
  /**
   * WBETH or BETH, default to BETH
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductList
   */
  readonly asset?: string;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductList
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductList
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductList
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getOnChainYieldsLockedProductPosition operation in OnChainYieldsApi.
 * @interface GetOnChainYieldsLockedProductPositionRequest
 */
interface GetOnChainYieldsLockedProductPositionRequest {
  /**
   * WBETH or BETH, default to BETH
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductPosition
   */
  readonly asset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductPosition
   */
  readonly positionId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductPosition
   */
  readonly projectId?: string;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductPosition
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductPosition
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedProductPosition
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getOnChainYieldsLockedRedemptionRecord operation in OnChainYieldsApi.
 * @interface GetOnChainYieldsLockedRedemptionRecordRequest
 */
interface GetOnChainYieldsLockedRedemptionRecordRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRedemptionRecord
   */
  readonly positionId?: number | bigint;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRedemptionRecord
   */
  readonly redeemId?: string;
  /**
   * WBETH or BETH, default to BETH
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRedemptionRecord
   */
  readonly asset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRedemptionRecord
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRedemptionRecord
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRedemptionRecord
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRedemptionRecord
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRedemptionRecord
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getOnChainYieldsLockedRewardsHistory operation in OnChainYieldsApi.
 * @interface GetOnChainYieldsLockedRewardsHistoryRequest
 */
interface GetOnChainYieldsLockedRewardsHistoryRequest {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRewardsHistory
   */
  readonly positionId?: string;
  /**
   * WBETH or BETH, default to BETH
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRewardsHistory
   */
  readonly asset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRewardsHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRewardsHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRewardsHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRewardsHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedRewardsHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getOnChainYieldsLockedSubscriptionPreview operation in OnChainYieldsApi.
 * @interface GetOnChainYieldsLockedSubscriptionPreviewRequest
 */
interface GetOnChainYieldsLockedSubscriptionPreviewRequest {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionPreview
   */
  readonly projectId: string;
  /**
   * Amount in SOL.
   * @type {number}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionPreview
   */
  readonly amount: number;
  /**
   * true or false, default true.
   * @type {boolean}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionPreview
   */
  readonly autoSubscribe?: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionPreview
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getOnChainYieldsLockedSubscriptionRecord operation in OnChainYieldsApi.
 * @interface GetOnChainYieldsLockedSubscriptionRecordRequest
 */
interface GetOnChainYieldsLockedSubscriptionRecordRequest {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionRecord
   */
  readonly purchaseId?: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionRecord
   */
  readonly clientId?: string;
  /**
   * WBETH or BETH, default to BETH
   * @type {string}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionRecord
   */
  readonly asset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionRecord
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionRecord
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionRecord
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionRecord
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiGetOnChainYieldsLockedSubscriptionRecord
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for onChainYieldsAccount operation in OnChainYieldsApi.
 * @interface OnChainYieldsAccountRequest
 */
interface OnChainYieldsAccountRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiOnChainYieldsAccount
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for redeemOnChainYieldsLockedProduct operation in OnChainYieldsApi.
 * @interface RedeemOnChainYieldsLockedProductRequest
 */
interface RedeemOnChainYieldsLockedProductRequest {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiRedeemOnChainYieldsLockedProduct
   */
  readonly positionId: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiRedeemOnChainYieldsLockedProduct
   */
  readonly channelId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiRedeemOnChainYieldsLockedProduct
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for setOnChainYieldsLockedAutoSubscribe operation in OnChainYieldsApi.
 * @interface SetOnChainYieldsLockedAutoSubscribeRequest
 */
interface SetOnChainYieldsLockedAutoSubscribeRequest {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiSetOnChainYieldsLockedAutoSubscribe
   */
  readonly positionId: string;
  /**
   * true or false
   * @type {boolean}
   * @memberof OnChainYieldsApiSetOnChainYieldsLockedAutoSubscribe
   */
  readonly autoSubscribe: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiSetOnChainYieldsLockedAutoSubscribe
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for setOnChainYieldsLockedProductRedeemOption operation in OnChainYieldsApi.
 * @interface SetOnChainYieldsLockedProductRedeemOptionRequest
 */
interface SetOnChainYieldsLockedProductRedeemOptionRequest {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiSetOnChainYieldsLockedProductRedeemOption
   */
  readonly positionId: string;
  /**
   * 'SPOT','FLEXIBLE'
   * @type {string}
   * @memberof OnChainYieldsApiSetOnChainYieldsLockedProductRedeemOption
   */
  readonly redeemTo: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiSetOnChainYieldsLockedProductRedeemOption
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for subscribeOnChainYieldsLockedProduct operation in OnChainYieldsApi.
 * @interface SubscribeOnChainYieldsLockedProductRequest
 */
interface SubscribeOnChainYieldsLockedProductRequest {
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiSubscribeOnChainYieldsLockedProduct
   */
  readonly projectId: string;
  /**
   * Amount in SOL.
   * @type {number}
   * @memberof OnChainYieldsApiSubscribeOnChainYieldsLockedProduct
   */
  readonly amount: number;
  /**
   * true or false, default true.
   * @type {boolean}
   * @memberof OnChainYieldsApiSubscribeOnChainYieldsLockedProduct
   */
  readonly autoSubscribe?: boolean;
  /**
   * `SPOT`,`FUND`,`ALL`, default `SPOT`
   * @type {string}
   * @memberof OnChainYieldsApiSubscribeOnChainYieldsLockedProduct
   */
  readonly sourceAccount?: string;
  /**
   * `SPOT`,`FLEXIBLE`, default `FLEXIBLE` Takes effect when Auto Subscribe is false
   * @type {string}
   * @memberof OnChainYieldsApiSubscribeOnChainYieldsLockedProduct
   */
  readonly redeemTo?: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiSubscribeOnChainYieldsLockedProduct
   */
  readonly channelId?: string;
  /**
   *
   * @type {string}
   * @memberof OnChainYieldsApiSubscribeOnChainYieldsLockedProduct
   */
  readonly clientId?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof OnChainYieldsApiSubscribeOnChainYieldsLockedProduct
   */
  readonly recvWindow?: number | bigint;
}
/**
 * OnChainYieldsApi - object-oriented interface
 * @class OnChainYieldsApi
 */
declare class OnChainYieldsApi implements OnChainYieldsApiInterface {
  private readonly configuration;
  private localVarAxiosParamCreator;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Get On-chain Yields Locked Personal Left Quota
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Personal Left Quota (USER_DATA)
   * @param {GetOnChainYieldsLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedPersonalLeftQuotaResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/account/Get-Onchain-Locked-Personal-Left-Quota Binance API Documentation}
   */
  getOnChainYieldsLockedPersonalLeftQuota(requestParameters: GetOnChainYieldsLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetOnChainYieldsLockedPersonalLeftQuotaResponse>>;
  /**
   * Get available On-chain Yields Locked product list
   *
   * Get available On-chain Yields Locked product list
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Product List (USER_DATA)
   * @param {GetOnChainYieldsLockedProductListRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedProductListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/account/ Binance API Documentation}
   */
  getOnChainYieldsLockedProductList(requestParameters?: GetOnChainYieldsLockedProductListRequest): Promise<RestApiResponse<GetOnChainYieldsLockedProductListResponse>>;
  /**
   * Get On-chain Yields Locked Product Position
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Product Position (USER_DATA)
   * @param {GetOnChainYieldsLockedProductPositionRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedProductPositionResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/account/Get-Onchain-Locked-Product-Position Binance API Documentation}
   */
  getOnChainYieldsLockedProductPosition(requestParameters?: GetOnChainYieldsLockedProductPositionRequest): Promise<RestApiResponse<GetOnChainYieldsLockedProductPositionResponse>>;
  /**
   * Get On-chain Yields Locked Redemption Record
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Redemption Record (USER_DATA)
   * @param {GetOnChainYieldsLockedRedemptionRecordRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedRedemptionRecordResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/history/Get-Onchain-Locked-Redemption-Record Binance API Documentation}
   */
  getOnChainYieldsLockedRedemptionRecord(requestParameters?: GetOnChainYieldsLockedRedemptionRecordRequest): Promise<RestApiResponse<GetOnChainYieldsLockedRedemptionRecordResponse>>;
  /**
   * Get On-chain Yields Locked Rewards History
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Rewards History (USER_DATA)
   * @param {GetOnChainYieldsLockedRewardsHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/history/Get-Onchain-Locked-Rewards-History Binance API Documentation}
   */
  getOnChainYieldsLockedRewardsHistory(requestParameters?: GetOnChainYieldsLockedRewardsHistoryRequest): Promise<RestApiResponse<GetOnChainYieldsLockedRewardsHistoryResponse>>;
  /**
   * Get On-chain Yields Locked Subscription Preview
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Subscription Preview (USER_DATA)
   * @param {GetOnChainYieldsLockedSubscriptionPreviewRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionPreviewResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/ Binance API Documentation}
   */
  getOnChainYieldsLockedSubscriptionPreview(requestParameters: GetOnChainYieldsLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionPreviewResponse>>;
  /**
   * Get On-chain Yields Locked Subscription Record
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Subscription Record (USER_DATA)
   * @param {GetOnChainYieldsLockedSubscriptionRecordRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionRecordResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/history/ Binance API Documentation}
   */
  getOnChainYieldsLockedSubscriptionRecord(requestParameters?: GetOnChainYieldsLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionRecordResponse>>;
  /**
   * On-chain Yields Account query
   *
   * Weight: 50
   *
   * @summary On-chain Yields Account (USER_DATA)
   * @param {OnChainYieldsAccountRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<OnChainYieldsAccountResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/account/Onchain-Account Binance API Documentation}
   */
  onChainYieldsAccount(requestParameters?: OnChainYieldsAccountRequest): Promise<RestApiResponse<OnChainYieldsAccountResponse>>;
  /**
   * Redeem On-chain Yields Locked Product
   *
   * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
   *
   * Weight: 1/3s per account
   *
   * @summary Redeem On-chain Yields Locked Product (TRADE)
   * @param {RedeemOnChainYieldsLockedProductRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<RedeemOnChainYieldsLockedProductResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/Redeem-Onchain-Locked-Product Binance API Documentation}
   */
  redeemOnChainYieldsLockedProduct(requestParameters: RedeemOnChainYieldsLockedProductRequest): Promise<RestApiResponse<RedeemOnChainYieldsLockedProductResponse>>;
  /**
   * Set On-chain Yield locked auto subscribe
   *
   * Weight: 50
   *
   * @summary Set On-chain Yields Locked Auto Subscribe(USER_DATA)
   * @param {SetOnChainYieldsLockedAutoSubscribeRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SetOnChainYieldsLockedAutoSubscribeResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/Set-Onchain-Locked-Auto-Subscribe Binance API Documentation}
   */
  setOnChainYieldsLockedAutoSubscribe(requestParameters: SetOnChainYieldsLockedAutoSubscribeRequest): Promise<RestApiResponse<SetOnChainYieldsLockedAutoSubscribeResponse>>;
  /**
   * Set On-chain Yields redeem option for Locked product
   *
   * Weight: 50
   *
   * @summary Set On-chain Yields Locked Product Redeem Option(USER_DATA)
   * @param {SetOnChainYieldsLockedProductRedeemOptionRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SetOnChainYieldsLockedProductRedeemOptionResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/Set-Onchain-Locked-Redeem-Option Binance API Documentation}
   */
  setOnChainYieldsLockedProductRedeemOption(requestParameters: SetOnChainYieldsLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetOnChainYieldsLockedProductRedeemOptionResponse>>;
  /**
   * Subscribe On-chain Yields Locked Product
   *
   * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
   *
   * Weight: 200
   *
   * @summary Subscribe On-chain Yields Locked Product(TRADE)
   * @param {SubscribeOnChainYieldsLockedProductRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SubscribeOnChainYieldsLockedProductResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof OnChainYieldsApi
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/Subscribe-Onchain-Locked-Product Binance API Documentation}
   */
  subscribeOnChainYieldsLockedProduct(requestParameters: SubscribeOnChainYieldsLockedProductRequest): Promise<RestApiResponse<SubscribeOnChainYieldsLockedProductResponse>>;
}
//#endregion
//#region src/rest-api/modules/soft-staking-api.d.ts
/**
 * SoftStakingApi - interface
 * @interface SoftStakingApi
 */
interface SoftStakingApiInterface {
  /**
   * Get the available Soft Staking product list.
   *
   * Weight: 50
   *
   * @summary Get Soft Staking Product List (USER_DATA)
   * @param {GetSoftStakingProductListRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SoftStakingApiInterface
   */
  getSoftStakingProductList(requestParameters?: GetSoftStakingProductListRequest): Promise<RestApiResponse<GetSoftStakingProductListResponse>>;
  /**
   * * 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.
   *
   * Weight: 50
   *
   * @summary Get Soft Staking Rewards History(USER_DATA)
   * @param {GetSoftStakingRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SoftStakingApiInterface
   */
  getSoftStakingRewardsHistory(requestParameters?: GetSoftStakingRewardsHistoryRequest): Promise<RestApiResponse<GetSoftStakingRewardsHistoryResponse>>;
  /**
   * Enable or disable Soft Staking.
   *
   * Weight: 50
   *
   * @summary Set Soft Staking (USER_DATA)
   * @param {SetSoftStakingRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SoftStakingApiInterface
   */
  setSoftStaking(requestParameters: SetSoftStakingRequest): Promise<RestApiResponse<SetSoftStakingResponse>>;
}
/**
 * Request parameters for getSoftStakingProductList operation in SoftStakingApi.
 * @interface GetSoftStakingProductListRequest
 */
interface GetSoftStakingProductListRequest {
  /**
   * WBETH or BETH, default to BETH
   * @type {string}
   * @memberof SoftStakingApiGetSoftStakingProductList
   */
  readonly asset?: string;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof SoftStakingApiGetSoftStakingProductList
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof SoftStakingApiGetSoftStakingProductList
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SoftStakingApiGetSoftStakingProductList
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getSoftStakingRewardsHistory operation in SoftStakingApi.
 * @interface GetSoftStakingRewardsHistoryRequest
 */
interface GetSoftStakingRewardsHistoryRequest {
  /**
   * WBETH or BETH, default to BETH
   * @type {string}
   * @memberof SoftStakingApiGetSoftStakingRewardsHistory
   */
  readonly asset?: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SoftStakingApiGetSoftStakingRewardsHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SoftStakingApiGetSoftStakingRewardsHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof SoftStakingApiGetSoftStakingRewardsHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof SoftStakingApiGetSoftStakingRewardsHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SoftStakingApiGetSoftStakingRewardsHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for setSoftStaking operation in SoftStakingApi.
 * @interface SetSoftStakingRequest
 */
interface SetSoftStakingRequest {
  /**
   * true or false
   * @type {boolean}
   * @memberof SoftStakingApiSetSoftStaking
   */
  readonly softStaking: boolean;
  /**
   *
   * @type {number | bigint}
   * @memberof SoftStakingApiSetSoftStaking
   */
  readonly recvWindow?: number | bigint;
}
/**
 * SoftStakingApi - object-oriented interface
 * @class SoftStakingApi
 */
declare class SoftStakingApi implements SoftStakingApiInterface {
  private readonly configuration;
  private localVarAxiosParamCreator;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Get the available Soft Staking product list.
   *
   * Weight: 50
   *
   * @summary Get Soft Staking Product List (USER_DATA)
   * @param {GetSoftStakingProductListRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetSoftStakingProductListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SoftStakingApi
   * @see {@link https://developers.binance.com/docs/staking/soft-staking/ Binance API Documentation}
   */
  getSoftStakingProductList(requestParameters?: GetSoftStakingProductListRequest): Promise<RestApiResponse<GetSoftStakingProductListResponse>>;
  /**
   * * 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.
   *
   * Weight: 50
   *
   * @summary Get Soft Staking Rewards History(USER_DATA)
   * @param {GetSoftStakingRewardsHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetSoftStakingRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SoftStakingApi
   * @see {@link https://developers.binance.com/docs/staking/soft-staking/Get-Soft-Staking-Rewards-History Binance API Documentation}
   */
  getSoftStakingRewardsHistory(requestParameters?: GetSoftStakingRewardsHistoryRequest): Promise<RestApiResponse<GetSoftStakingRewardsHistoryResponse>>;
  /**
   * Enable or disable Soft Staking.
   *
   * Weight: 50
   *
   * @summary Set Soft Staking (USER_DATA)
   * @param {SetSoftStakingRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SetSoftStakingResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SoftStakingApi
   * @see {@link https://developers.binance.com/docs/staking/soft-staking/Set-Soft-Staking Binance API Documentation}
   */
  setSoftStaking(requestParameters: SetSoftStakingRequest): Promise<RestApiResponse<SetSoftStakingResponse>>;
}
//#endregion
//#region src/rest-api/modules/sol-staking-api.d.ts
/**
 * SolStakingApi - interface
 * @interface SolStakingApi
 */
interface SolStakingApiInterface {
  /**
   * Claim Boost APR Airdrop Rewards
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Claim Boost Rewards(TRADE)
   * @param {ClaimBoostRewardsRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  claimBoostRewards(requestParameters?: ClaimBoostRewardsRequest): Promise<RestApiResponse<ClaimBoostRewardsResponse>>;
  /**
   * Get BNSOL Rate History
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get BNSOL Rate History(USER_DATA)
   * @param {GetBnsolRateHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  getBnsolRateHistory(requestParameters?: GetBnsolRateHistoryRequest): Promise<RestApiResponse<GetBnsolRateHistoryResponse>>;
  /**
   * Get BNSOL rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get BNSOL rewards history(USER_DATA)
   * @param {GetBnsolRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  getBnsolRewardsHistory(requestParameters?: GetBnsolRewardsHistoryRequest): Promise<RestApiResponse<GetBnsolRewardsHistoryResponse>>;
  /**
   * Get Boost rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get Boost Rewards History(USER_DATA)
   * @param {GetBoostRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  getBoostRewardsHistory(requestParameters: GetBoostRewardsHistoryRequest): Promise<RestApiResponse<GetBoostRewardsHistoryResponse>>;
  /**
   * Get SOL redemption history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get SOL redemption history(USER_DATA)
   * @param {GetSolRedemptionHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  getSolRedemptionHistory(requestParameters?: GetSolRedemptionHistoryRequest): Promise<RestApiResponse<GetSolRedemptionHistoryResponse>>;
  /**
   * Get SOL staking history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get SOL staking history(USER_DATA)
   * @param {GetSolStakingHistoryRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  getSolStakingHistory(requestParameters?: GetSolStakingHistoryRequest): Promise<RestApiResponse<GetSolStakingHistoryResponse>>;
  /**
   * Get SOL staking quota
   *
   * Weight: 150
   *
   * @summary Get SOL staking quota details(USER_DATA)
   * @param {GetSolStakingQuotaDetailsRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  getSolStakingQuotaDetails(requestParameters?: GetSolStakingQuotaDetailsRequest): Promise<RestApiResponse<GetSolStakingQuotaDetailsResponse>>;
  /**
   * Get Unclaimed rewards
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get Unclaimed Rewards(USER_DATA)
   * @param {GetUnclaimedRewardsRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  getUnclaimedRewards(requestParameters?: GetUnclaimedRewardsRequest): Promise<RestApiResponse<GetUnclaimedRewardsResponse>>;
  /**
   * Redeem BNSOL get SOL
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Redeem SOL(TRADE)
   * @param {RedeemSolRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  redeemSol(requestParameters: RedeemSolRequest): Promise<RestApiResponse<RedeemSolResponse>>;
  /**
   * SOL Staking account
   *
   * Weight: 150
   *
   * @summary SOL Staking account(USER_DATA)
   * @param {SolStakingAccountRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  solStakingAccount(requestParameters?: SolStakingAccountRequest): Promise<RestApiResponse<SolStakingAccountResponse>>;
  /**
   * Subscribe SOL Staking
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Subscribe SOL Staking(TRADE)
   * @param {SubscribeSolStakingRequest} requestParameters Request parameters.
   *
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApiInterface
   */
  subscribeSolStaking(requestParameters: SubscribeSolStakingRequest): Promise<RestApiResponse<SubscribeSolStakingResponse>>;
}
/**
 * Request parameters for claimBoostRewards operation in SolStakingApi.
 * @interface ClaimBoostRewardsRequest
 */
interface ClaimBoostRewardsRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiClaimBoostRewards
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getBnsolRateHistory operation in SolStakingApi.
 * @interface GetBnsolRateHistoryRequest
 */
interface GetBnsolRateHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRateHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRateHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRateHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRateHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRateHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getBnsolRewardsHistory operation in SolStakingApi.
 * @interface GetBnsolRewardsHistoryRequest
 */
interface GetBnsolRewardsHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRewardsHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRewardsHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRewardsHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRewardsHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBnsolRewardsHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getBoostRewardsHistory operation in SolStakingApi.
 * @interface GetBoostRewardsHistoryRequest
 */
interface GetBoostRewardsHistoryRequest {
  /**
   * "CLAIM", "DISTRIBUTE", default "CLAIM"
   * @type {string}
   * @memberof SolStakingApiGetBoostRewardsHistory
   */
  readonly type: string;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBoostRewardsHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBoostRewardsHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof SolStakingApiGetBoostRewardsHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof SolStakingApiGetBoostRewardsHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetBoostRewardsHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getSolRedemptionHistory operation in SolStakingApi.
 * @interface GetSolRedemptionHistoryRequest
 */
interface GetSolRedemptionHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolRedemptionHistory
   */
  readonly redeemId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolRedemptionHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolRedemptionHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolRedemptionHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolRedemptionHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolRedemptionHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getSolStakingHistory operation in SolStakingApi.
 * @interface GetSolStakingHistoryRequest
 */
interface GetSolStakingHistoryRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolStakingHistory
   */
  readonly purchaseId?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolStakingHistory
   */
  readonly startTime?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolStakingHistory
   */
  readonly endTime?: number | bigint;
  /**
   * Currently querying page. Start from 1. Default:1
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolStakingHistory
   */
  readonly current?: number | bigint;
  /**
   * Default:10, Max:100
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolStakingHistory
   */
  readonly size?: number | bigint;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolStakingHistory
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getSolStakingQuotaDetails operation in SolStakingApi.
 * @interface GetSolStakingQuotaDetailsRequest
 */
interface GetSolStakingQuotaDetailsRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetSolStakingQuotaDetails
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for getUnclaimedRewards operation in SolStakingApi.
 * @interface GetUnclaimedRewardsRequest
 */
interface GetUnclaimedRewardsRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiGetUnclaimedRewards
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for redeemSol operation in SolStakingApi.
 * @interface RedeemSolRequest
 */
interface RedeemSolRequest {
  /**
   * Amount in SOL.
   * @type {number}
   * @memberof SolStakingApiRedeemSol
   */
  readonly amount: number;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiRedeemSol
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for solStakingAccount operation in SolStakingApi.
 * @interface SolStakingAccountRequest
 */
interface SolStakingAccountRequest {
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiSolStakingAccount
   */
  readonly recvWindow?: number | bigint;
}
/**
 * Request parameters for subscribeSolStaking operation in SolStakingApi.
 * @interface SubscribeSolStakingRequest
 */
interface SubscribeSolStakingRequest {
  /**
   * Amount in SOL.
   * @type {number}
   * @memberof SolStakingApiSubscribeSolStaking
   */
  readonly amount: number;
  /**
   *
   * @type {number | bigint}
   * @memberof SolStakingApiSubscribeSolStaking
   */
  readonly recvWindow?: number | bigint;
}
/**
 * SolStakingApi - object-oriented interface
 * @class SolStakingApi
 */
declare class SolStakingApi implements SolStakingApiInterface {
  private readonly configuration;
  private localVarAxiosParamCreator;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Claim Boost APR Airdrop Rewards
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Claim Boost Rewards(TRADE)
   * @param {ClaimBoostRewardsRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<ClaimBoostRewardsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/staking/Claim-Boost-Rewards Binance API Documentation}
   */
  claimBoostRewards(requestParameters?: ClaimBoostRewardsRequest): Promise<RestApiResponse<ClaimBoostRewardsResponse>>;
  /**
   * Get BNSOL Rate History
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get BNSOL Rate History(USER_DATA)
   * @param {GetBnsolRateHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetBnsolRateHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-BNSOL-Rate-History Binance API Documentation}
   */
  getBnsolRateHistory(requestParameters?: GetBnsolRateHistoryRequest): Promise<RestApiResponse<GetBnsolRateHistoryResponse>>;
  /**
   * Get BNSOL rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get BNSOL rewards history(USER_DATA)
   * @param {GetBnsolRewardsHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetBnsolRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-BNSOL-rewards-history Binance API Documentation}
   */
  getBnsolRewardsHistory(requestParameters?: GetBnsolRewardsHistoryRequest): Promise<RestApiResponse<GetBnsolRewardsHistoryResponse>>;
  /**
   * Get Boost rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get Boost Rewards History(USER_DATA)
   * @param {GetBoostRewardsHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetBoostRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-Boost-Rewards-History Binance API Documentation}
   */
  getBoostRewardsHistory(requestParameters: GetBoostRewardsHistoryRequest): Promise<RestApiResponse<GetBoostRewardsHistoryResponse>>;
  /**
   * Get SOL redemption history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get SOL redemption history(USER_DATA)
   * @param {GetSolRedemptionHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetSolRedemptionHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-SOL-redemption-history Binance API Documentation}
   */
  getSolRedemptionHistory(requestParameters?: GetSolRedemptionHistoryRequest): Promise<RestApiResponse<GetSolRedemptionHistoryResponse>>;
  /**
   * Get SOL staking history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get SOL staking history(USER_DATA)
   * @param {GetSolStakingHistoryRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetSolStakingHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-SOL-staking-history Binance API Documentation}
   */
  getSolStakingHistory(requestParameters?: GetSolStakingHistoryRequest): Promise<RestApiResponse<GetSolStakingHistoryResponse>>;
  /**
   * Get SOL staking quota
   *
   * Weight: 150
   *
   * @summary Get SOL staking quota details(USER_DATA)
   * @param {GetSolStakingQuotaDetailsRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetSolStakingQuotaDetailsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/account/Get-SOL-staking-quota-details Binance API Documentation}
   */
  getSolStakingQuotaDetails(requestParameters?: GetSolStakingQuotaDetailsRequest): Promise<RestApiResponse<GetSolStakingQuotaDetailsResponse>>;
  /**
   * Get Unclaimed rewards
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get Unclaimed Rewards(USER_DATA)
   * @param {GetUnclaimedRewardsRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<GetUnclaimedRewardsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-Unclaimed-Rewards Binance API Documentation}
   */
  getUnclaimedRewards(requestParameters?: GetUnclaimedRewardsRequest): Promise<RestApiResponse<GetUnclaimedRewardsResponse>>;
  /**
   * Redeem BNSOL get SOL
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Redeem SOL(TRADE)
   * @param {RedeemSolRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<RedeemSolResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/staking/Redeem-SOL Binance API Documentation}
   */
  redeemSol(requestParameters: RedeemSolRequest): Promise<RestApiResponse<RedeemSolResponse>>;
  /**
   * SOL Staking account
   *
   * Weight: 150
   *
   * @summary SOL Staking account(USER_DATA)
   * @param {SolStakingAccountRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SolStakingAccountResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/account/SOL-Staking-account Binance API Documentation}
   */
  solStakingAccount(requestParameters?: SolStakingAccountRequest): Promise<RestApiResponse<SolStakingAccountResponse>>;
  /**
   * Subscribe SOL Staking
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Subscribe SOL Staking(TRADE)
   * @param {SubscribeSolStakingRequest} requestParameters Request parameters.
   * @returns {Promise<RestApiResponse<SubscribeSolStakingResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @memberof SolStakingApi
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/staking/Subscribe-SOL-Staking Binance API Documentation}
   */
  subscribeSolStaking(requestParameters: SubscribeSolStakingRequest): Promise<RestApiResponse<SubscribeSolStakingResponse>>;
}
//#endregion
//#region src/rest-api/rest-api.d.ts
declare class RestAPI {
  private configuration;
  private ethStakingApi;
  private onChainYieldsApi;
  private softStakingApi;
  private solStakingApi;
  constructor(configuration: ConfigurationRestAPI);
  /**
   * Generic function to send a request.
   * @param endpoint - The API endpoint to call.
   * @param method - HTTP method to use (GET, POST, DELETE, etc.).
   * @param queryParams - Query parameters for the request.
   * @param bodyParams - Body parameters for the request.
   *
   * @returns A promise resolving to the response data object.
   */
  sendRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', queryParams?: Record<string, unknown>, bodyParams?: Record<string, unknown>): Promise<RestApiResponse<T>>;
  /**
   * Generic function to send a signed request.
   * @param endpoint - The API endpoint to call.
   * @param method - HTTP method to use (GET, POST, DELETE, etc.).
   * @param queryParams - Query parameters for the request.
   * @param bodyParams - Body parameters for the request.
   *
   * @returns A promise resolving to the response data object.
   */
  sendSignedRequest<T>(endpoint: string, method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH', queryParams?: Record<string, unknown>, bodyParams?: Record<string, unknown>): Promise<RestApiResponse<T>>;
  /**
   * ETH Staking account
   *
   * Weight: 150
   *
   * @summary ETH Staking account(USER_DATA)
   * @param {EthStakingAccountRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<EthStakingAccountResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/account/ETH-Staking-account Binance API Documentation}
   */
  ethStakingAccount(requestParameters?: EthStakingAccountRequest): Promise<RestApiResponse<EthStakingAccountResponse>>;
  /**
   * Get current ETH staking quota
   *
   * Weight: 150
   *
   * @summary Get current ETH staking quota(USER_DATA)
   * @param {GetCurrentEthStakingQuotaRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetCurrentEthStakingQuotaResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/account/Get-current-ETH-staking-quota Binance API Documentation}
   */
  getCurrentEthStakingQuota(requestParameters?: GetCurrentEthStakingQuotaRequest): Promise<RestApiResponse<GetCurrentEthStakingQuotaResponse>>;
  /**
   * Get ETH redemption history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get ETH redemption history(USER_DATA)
   * @param {GetEthRedemptionHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetEthRedemptionHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-ETH-redemption-history Binance API Documentation}
   */
  getEthRedemptionHistory(requestParameters?: GetEthRedemptionHistoryRequest): Promise<RestApiResponse<GetEthRedemptionHistoryResponse>>;
  /**
   * Get ETH staking history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get ETH staking history(USER_DATA)
   * @param {GetEthStakingHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetEthStakingHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-ETH-staking-history Binance API Documentation}
   */
  getEthStakingHistory(requestParameters?: GetEthStakingHistoryRequest): Promise<RestApiResponse<GetEthStakingHistoryResponse>>;
  /**
   * Get WBETH Rate History
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH Rate History(USER_DATA)
   * @param {GetWbethRateHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetWbethRateHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-BETH-Rate-History Binance API Documentation}
   */
  getWbethRateHistory(requestParameters?: GetWbethRateHistoryRequest): Promise<RestApiResponse<GetWbethRateHistoryResponse>>;
  /**
   * Get WBETH rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH rewards history(USER_DATA)
   * @param {GetWbethRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetWbethRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-WBETH-rewards-history Binance API Documentation}
   */
  getWbethRewardsHistory(requestParameters?: GetWbethRewardsHistoryRequest): Promise<RestApiResponse<GetWbethRewardsHistoryResponse>>;
  /**
   * Get WBETH unwrap history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH unwrap history(USER_DATA)
   * @param {GetWbethUnwrapHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetWbethUnwrapHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-WBETH-unwrap-history Binance API Documentation}
   */
  getWbethUnwrapHistory(requestParameters?: GetWbethUnwrapHistoryRequest): Promise<RestApiResponse<GetWbethUnwrapHistoryResponse>>;
  /**
   * Get WBETH wrap history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get WBETH wrap history(USER_DATA)
   * @param {GetWbethWrapHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetWbethWrapHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/history/Get-WBETH-wrap-history Binance API Documentation}
   */
  getWbethWrapHistory(requestParameters?: GetWbethWrapHistoryRequest): Promise<RestApiResponse<GetWbethWrapHistoryResponse>>;
  /**
   * Redeem WBETH or BETH and get ETH
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Redeem ETH(TRADE)
   * @param {RedeemEthRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<RedeemEthResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/staking/Redeem-ETH Binance API Documentation}
   */
  redeemEth(requestParameters: RedeemEthRequest): Promise<RestApiResponse<RedeemEthResponse>>;
  /**
   * Subscribe ETH Staking
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Subscribe ETH Staking(TRADE)
   * @param {SubscribeEthStakingRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SubscribeEthStakingResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/staking/Subscribe-ETH-Staking Binance API Documentation}
   */
  subscribeEthStaking(requestParameters: SubscribeEthStakingRequest): Promise<RestApiResponse<SubscribeEthStakingResponse>>;
  /**
   * Wrap BETH
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Wrap BETH(TRADE)
   * @param {WrapBethRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<WrapBethResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/eth-staking/staking/Wrap-BETH Binance API Documentation}
   */
  wrapBeth(requestParameters: WrapBethRequest): Promise<RestApiResponse<WrapBethResponse>>;
  /**
   * Get On-chain Yields Locked Personal Left Quota
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Personal Left Quota (USER_DATA)
   * @param {GetOnChainYieldsLockedPersonalLeftQuotaRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedPersonalLeftQuotaResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/account/Get-Onchain-Locked-Personal-Left-Quota Binance API Documentation}
   */
  getOnChainYieldsLockedPersonalLeftQuota(requestParameters: GetOnChainYieldsLockedPersonalLeftQuotaRequest): Promise<RestApiResponse<GetOnChainYieldsLockedPersonalLeftQuotaResponse>>;
  /**
   * Get available On-chain Yields Locked product list
   *
   * Get available On-chain Yields Locked product list
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Product List (USER_DATA)
   * @param {GetOnChainYieldsLockedProductListRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedProductListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/account/ Binance API Documentation}
   */
  getOnChainYieldsLockedProductList(requestParameters?: GetOnChainYieldsLockedProductListRequest): Promise<RestApiResponse<GetOnChainYieldsLockedProductListResponse>>;
  /**
   * Get On-chain Yields Locked Product Position
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Product Position (USER_DATA)
   * @param {GetOnChainYieldsLockedProductPositionRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedProductPositionResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/account/Get-Onchain-Locked-Product-Position Binance API Documentation}
   */
  getOnChainYieldsLockedProductPosition(requestParameters?: GetOnChainYieldsLockedProductPositionRequest): Promise<RestApiResponse<GetOnChainYieldsLockedProductPositionResponse>>;
  /**
   * Get On-chain Yields Locked Redemption Record
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Redemption Record (USER_DATA)
   * @param {GetOnChainYieldsLockedRedemptionRecordRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedRedemptionRecordResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/history/Get-Onchain-Locked-Redemption-Record Binance API Documentation}
   */
  getOnChainYieldsLockedRedemptionRecord(requestParameters?: GetOnChainYieldsLockedRedemptionRecordRequest): Promise<RestApiResponse<GetOnChainYieldsLockedRedemptionRecordResponse>>;
  /**
   * Get On-chain Yields Locked Rewards History
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Rewards History (USER_DATA)
   * @param {GetOnChainYieldsLockedRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/history/Get-Onchain-Locked-Rewards-History Binance API Documentation}
   */
  getOnChainYieldsLockedRewardsHistory(requestParameters?: GetOnChainYieldsLockedRewardsHistoryRequest): Promise<RestApiResponse<GetOnChainYieldsLockedRewardsHistoryResponse>>;
  /**
   * Get On-chain Yields Locked Subscription Preview
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Subscription Preview (USER_DATA)
   * @param {GetOnChainYieldsLockedSubscriptionPreviewRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionPreviewResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/ Binance API Documentation}
   */
  getOnChainYieldsLockedSubscriptionPreview(requestParameters: GetOnChainYieldsLockedSubscriptionPreviewRequest): Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionPreviewResponse>>;
  /**
   * Get On-chain Yields Locked Subscription Record
   *
   * 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.
   *
   * Weight: 50
   *
   * @summary Get On-chain Yields Locked Subscription Record (USER_DATA)
   * @param {GetOnChainYieldsLockedSubscriptionRecordRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionRecordResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/history/ Binance API Documentation}
   */
  getOnChainYieldsLockedSubscriptionRecord(requestParameters?: GetOnChainYieldsLockedSubscriptionRecordRequest): Promise<RestApiResponse<GetOnChainYieldsLockedSubscriptionRecordResponse>>;
  /**
   * On-chain Yields Account query
   *
   * Weight: 50
   *
   * @summary On-chain Yields Account (USER_DATA)
   * @param {OnChainYieldsAccountRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<OnChainYieldsAccountResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/account/Onchain-Account Binance API Documentation}
   */
  onChainYieldsAccount(requestParameters?: OnChainYieldsAccountRequest): Promise<RestApiResponse<OnChainYieldsAccountResponse>>;
  /**
   * Redeem On-chain Yields Locked Product
   *
   * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
   *
   * Weight: 1/3s per account
   *
   * @summary Redeem On-chain Yields Locked Product (TRADE)
   * @param {RedeemOnChainYieldsLockedProductRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<RedeemOnChainYieldsLockedProductResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/Redeem-Onchain-Locked-Product Binance API Documentation}
   */
  redeemOnChainYieldsLockedProduct(requestParameters: RedeemOnChainYieldsLockedProductRequest): Promise<RestApiResponse<RedeemOnChainYieldsLockedProductResponse>>;
  /**
   * Set On-chain Yield locked auto subscribe
   *
   * Weight: 50
   *
   * @summary Set On-chain Yields Locked Auto Subscribe(USER_DATA)
   * @param {SetOnChainYieldsLockedAutoSubscribeRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SetOnChainYieldsLockedAutoSubscribeResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/Set-Onchain-Locked-Auto-Subscribe Binance API Documentation}
   */
  setOnChainYieldsLockedAutoSubscribe(requestParameters: SetOnChainYieldsLockedAutoSubscribeRequest): Promise<RestApiResponse<SetOnChainYieldsLockedAutoSubscribeResponse>>;
  /**
   * Set On-chain Yields redeem option for Locked product
   *
   * Weight: 50
   *
   * @summary Set On-chain Yields Locked Product Redeem Option(USER_DATA)
   * @param {SetOnChainYieldsLockedProductRedeemOptionRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SetOnChainYieldsLockedProductRedeemOptionResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/Set-Onchain-Locked-Redeem-Option Binance API Documentation}
   */
  setOnChainYieldsLockedProductRedeemOption(requestParameters: SetOnChainYieldsLockedProductRedeemOptionRequest): Promise<RestApiResponse<SetOnChainYieldsLockedProductRedeemOptionResponse>>;
  /**
   * Subscribe On-chain Yields Locked Product
   *
   * You need to open `Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.
   *
   * Weight: 200
   *
   * @summary Subscribe On-chain Yields Locked Product(TRADE)
   * @param {SubscribeOnChainYieldsLockedProductRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SubscribeOnChainYieldsLockedProductResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/on-chain-yields/earn/Subscribe-Onchain-Locked-Product Binance API Documentation}
   */
  subscribeOnChainYieldsLockedProduct(requestParameters: SubscribeOnChainYieldsLockedProductRequest): Promise<RestApiResponse<SubscribeOnChainYieldsLockedProductResponse>>;
  /**
   * Get the available Soft Staking product list.
   *
   * Weight: 50
   *
   * @summary Get Soft Staking Product List (USER_DATA)
   * @param {GetSoftStakingProductListRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetSoftStakingProductListResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/soft-staking/ Binance API Documentation}
   */
  getSoftStakingProductList(requestParameters?: GetSoftStakingProductListRequest): Promise<RestApiResponse<GetSoftStakingProductListResponse>>;
  /**
   * * 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.
   *
   * Weight: 50
   *
   * @summary Get Soft Staking Rewards History(USER_DATA)
   * @param {GetSoftStakingRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetSoftStakingRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/soft-staking/Get-Soft-Staking-Rewards-History Binance API Documentation}
   */
  getSoftStakingRewardsHistory(requestParameters?: GetSoftStakingRewardsHistoryRequest): Promise<RestApiResponse<GetSoftStakingRewardsHistoryResponse>>;
  /**
   * Enable or disable Soft Staking.
   *
   * Weight: 50
   *
   * @summary Set Soft Staking (USER_DATA)
   * @param {SetSoftStakingRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SetSoftStakingResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/soft-staking/Set-Soft-Staking Binance API Documentation}
   */
  setSoftStaking(requestParameters: SetSoftStakingRequest): Promise<RestApiResponse<SetSoftStakingResponse>>;
  /**
   * Claim Boost APR Airdrop Rewards
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Claim Boost Rewards(TRADE)
   * @param {ClaimBoostRewardsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<ClaimBoostRewardsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/staking/Claim-Boost-Rewards Binance API Documentation}
   */
  claimBoostRewards(requestParameters?: ClaimBoostRewardsRequest): Promise<RestApiResponse<ClaimBoostRewardsResponse>>;
  /**
   * Get BNSOL Rate History
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get BNSOL Rate History(USER_DATA)
   * @param {GetBnsolRateHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetBnsolRateHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-BNSOL-Rate-History Binance API Documentation}
   */
  getBnsolRateHistory(requestParameters?: GetBnsolRateHistoryRequest): Promise<RestApiResponse<GetBnsolRateHistoryResponse>>;
  /**
   * Get BNSOL rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get BNSOL rewards history(USER_DATA)
   * @param {GetBnsolRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetBnsolRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-BNSOL-rewards-history Binance API Documentation}
   */
  getBnsolRewardsHistory(requestParameters?: GetBnsolRewardsHistoryRequest): Promise<RestApiResponse<GetBnsolRewardsHistoryResponse>>;
  /**
   * Get Boost rewards history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get Boost Rewards History(USER_DATA)
   * @param {GetBoostRewardsHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetBoostRewardsHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-Boost-Rewards-History Binance API Documentation}
   */
  getBoostRewardsHistory(requestParameters: GetBoostRewardsHistoryRequest): Promise<RestApiResponse<GetBoostRewardsHistoryResponse>>;
  /**
   * Get SOL redemption history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get SOL redemption history(USER_DATA)
   * @param {GetSolRedemptionHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetSolRedemptionHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-SOL-redemption-history Binance API Documentation}
   */
  getSolRedemptionHistory(requestParameters?: GetSolRedemptionHistoryRequest): Promise<RestApiResponse<GetSolRedemptionHistoryResponse>>;
  /**
   * Get SOL staking history
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get SOL staking history(USER_DATA)
   * @param {GetSolStakingHistoryRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetSolStakingHistoryResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-SOL-staking-history Binance API Documentation}
   */
  getSolStakingHistory(requestParameters?: GetSolStakingHistoryRequest): Promise<RestApiResponse<GetSolStakingHistoryResponse>>;
  /**
   * Get SOL staking quota
   *
   * Weight: 150
   *
   * @summary Get SOL staking quota details(USER_DATA)
   * @param {GetSolStakingQuotaDetailsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetSolStakingQuotaDetailsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/account/Get-SOL-staking-quota-details Binance API Documentation}
   */
  getSolStakingQuotaDetails(requestParameters?: GetSolStakingQuotaDetailsRequest): Promise<RestApiResponse<GetSolStakingQuotaDetailsResponse>>;
  /**
   * Get Unclaimed rewards
   *
   * 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.
   *
   * Weight: 150
   *
   * @summary Get Unclaimed Rewards(USER_DATA)
   * @param {GetUnclaimedRewardsRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<GetUnclaimedRewardsResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/history/Get-Unclaimed-Rewards Binance API Documentation}
   */
  getUnclaimedRewards(requestParameters?: GetUnclaimedRewardsRequest): Promise<RestApiResponse<GetUnclaimedRewardsResponse>>;
  /**
   * Redeem BNSOL get SOL
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Redeem SOL(TRADE)
   * @param {RedeemSolRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<RedeemSolResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/staking/Redeem-SOL Binance API Documentation}
   */
  redeemSol(requestParameters: RedeemSolRequest): Promise<RestApiResponse<RedeemSolResponse>>;
  /**
   * SOL Staking account
   *
   * Weight: 150
   *
   * @summary SOL Staking account(USER_DATA)
   * @param {SolStakingAccountRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SolStakingAccountResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/account/SOL-Staking-account Binance API Documentation}
   */
  solStakingAccount(requestParameters?: SolStakingAccountRequest): Promise<RestApiResponse<SolStakingAccountResponse>>;
  /**
   * Subscribe SOL Staking
   *
   * You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
   *
   * Weight: 150
   *
   * @summary Subscribe SOL Staking(TRADE)
   * @param {SubscribeSolStakingRequest} requestParameters Request parameters.
   *
   * @returns {Promise<RestApiResponse<SubscribeSolStakingResponse>>}
   * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}
   * @see {@link https://developers.binance.com/docs/staking/sol-staking/staking/Subscribe-SOL-Staking Binance API Documentation}
   */
  subscribeSolStaking(requestParameters: SubscribeSolStakingRequest): Promise<RestApiResponse<SubscribeSolStakingResponse>>;
}
declare namespace index_d_exports {
  export { ClaimBoostRewardsRequest, ClaimBoostRewardsResponse, EthStakingAccountRequest, EthStakingAccountResponse, EthStakingAccountResponseHoldings, EthStakingAccountResponseProfit, EthStakingApi, EthStakingApiInterface, GetBnsolRateHistoryRequest, GetBnsolRateHistoryResponse, GetBnsolRateHistoryResponseRowsInner, GetBnsolRateHistoryResponseRowsInnerBoostRewardsInner, GetBnsolRewardsHistoryRequest, GetBnsolRewardsHistoryResponse, GetBnsolRewardsHistoryResponseRowsInner, GetBoostRewardsHistoryRequest, GetBoostRewardsHistoryResponse, GetBoostRewardsHistoryResponseRowsInner, GetCurrentEthStakingQuotaRequest, GetCurrentEthStakingQuotaResponse, GetEthRedemptionHistoryRequest, GetEthRedemptionHistoryResponse, GetEthRedemptionHistoryResponseRowsInner, GetEthStakingHistoryRequest, GetEthStakingHistoryResponse, GetEthStakingHistoryResponseRowsInner, GetOnChainYieldsLockedPersonalLeftQuotaRequest, GetOnChainYieldsLockedPersonalLeftQuotaResponse, GetOnChainYieldsLockedProductListRequest, GetOnChainYieldsLockedProductListResponse, GetOnChainYieldsLockedProductListResponseRowsInner, GetOnChainYieldsLockedProductListResponseRowsInnerDetail, GetOnChainYieldsLockedProductListResponseRowsInnerQuota, GetOnChainYieldsLockedProductPositionRequest, GetOnChainYieldsLockedProductPositionResponse, GetOnChainYieldsLockedProductPositionResponseRowsInner, GetOnChainYieldsLockedRedemptionRecordRequest, GetOnChainYieldsLockedRedemptionRecordResponse, GetOnChainYieldsLockedRedemptionRecordResponseRowsInner, GetOnChainYieldsLockedRewardsHistoryRequest, GetOnChainYieldsLockedRewardsHistoryResponse, GetOnChainYieldsLockedRewardsHistoryResponseRowsInner, GetOnChainYieldsLockedSubscriptionPreviewRequest, GetOnChainYieldsLockedSubscriptionPreviewResponse, GetOnChainYieldsLockedSubscriptionRecordRequest, GetOnChainYieldsLockedSubscriptionRecordResponse, GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner, GetSoftStakingProductListRequest, GetSoftStakingProductListResponse, GetSoftStakingProductListResponseRowsInner, GetSoftStakingRewardsHistoryRequest, GetSoftStakingRewardsHistoryResponse, GetSoftStakingRewardsHistoryResponseRowsInner, GetSolRedemptionHistoryRequest, GetSolRedemptionHistoryResponse, GetSolRedemptionHistoryResponseRowsInner, GetSolStakingHistoryRequest, GetSolStakingHistoryResponse, GetSolStakingHistoryResponseRowsInner, GetSolStakingQuotaDetailsRequest, GetSolStakingQuotaDetailsResponse, GetUnclaimedRewardsRequest, GetUnclaimedRewardsResponse, GetUnclaimedRewardsResponseInner, GetWbethRateHistoryRequest, GetWbethRateHistoryResponse, GetWbethRateHistoryResponseRowsInner, GetWbethRewardsHistoryRequest, GetWbethRewardsHistoryResponse, GetWbethRewardsHistoryResponseRowsInner, GetWbethUnwrapHistoryRequest, GetWbethUnwrapHistoryResponse, GetWbethUnwrapHistoryResponseRowsInner, GetWbethWrapHistoryRequest, GetWbethWrapHistoryResponse, GetWbethWrapHistoryResponseRowsInner, OnChainYieldsAccountRequest, OnChainYieldsAccountResponse, OnChainYieldsApi, OnChainYieldsApiInterface, RedeemEthRequest, RedeemEthResponse, RedeemOnChainYieldsLockedProductRequest, RedeemOnChainYieldsLockedProductResponse, RedeemSolRequest, RedeemSolResponse, RestAPI, SetOnChainYieldsLockedAutoSubscribeRequest, SetOnChainYieldsLockedAutoSubscribeResponse, SetOnChainYieldsLockedProductRedeemOptionRequest, SetOnChainYieldsLockedProductRedeemOptionResponse, SetSoftStakingRequest, SetSoftStakingResponse, SoftStakingApi, SoftStakingApiInterface, SolStakingAccountRequest, SolStakingAccountResponse, SolStakingApi, SolStakingApiInterface, SubscribeEthStakingRequest, SubscribeEthStakingResponse, SubscribeOnChainYieldsLockedProductRequest, SubscribeOnChainYieldsLockedProductResponse, SubscribeSolStakingRequest, SubscribeSolStakingResponse, WrapBethRequest, WrapBethResponse };
}
//#endregion
//#region src/staking.d.ts
interface ConfigurationStaking {
  configurationRestAPI?: ConfigurationRestAPI;
}
declare class Staking {
  restAPI: RestAPI;
  constructor(config: ConfigurationStaking);
}
//#endregion
export { BadRequestError, type ConfigurationStaking, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, STAKING_REST_API_PROD_URL, ServerError, Staking, index_d_exports as StakingRestAPI, TooManyRequestsError, UnauthorizedError };
//# sourceMappingURL=index.d.ts.map