@binance/staking
Version:
Official Binance Staking Connector - A lightweight library that provides a convenient interface to Binance's Staking REST API.
2,014 lines (1,959 loc) • 125 kB
text/typescript
import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
export { BadRequestError, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, STAKING_REST_API_PROD_URL, STAKING_REST_API_TESTNET_URL, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 BadRequest
*/
interface BadRequest {
/**
*
* @type {number}
* @memberof BadRequest
*/
code: number;
/**
*
* @type {string}
* @memberof BadRequest
*/
message: string;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 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}
* @memberof GetBnsolRateHistoryResponseRowsInner
*/
time?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetBnsolRateHistoryResponse
*/
interface GetBnsolRateHistoryResponse {
/**
*
* @type {Array<GetBnsolRateHistoryResponseRowsInner>}
* @memberof GetBnsolRateHistoryResponse
*/
rows?: Array<GetBnsolRateHistoryResponseRowsInner>;
/**
*
* @type {string}
* @memberof GetBnsolRateHistoryResponse
*/
total?: string;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetBnsolRewardsHistoryResponseRowsInner
*/
time?: number;
/**
*
* @type {string}
* @memberof GetBnsolRewardsHistoryResponseRowsInner
*/
amountInSOL?: string;
/**
*
* @type {string}
* @memberof GetBnsolRewardsHistoryResponseRowsInner
*/
holding?: string;
/**
*
* @type {string}
* @memberof GetBnsolRewardsHistoryResponseRowsInner
*/
holdingInSOL?: string;
/**
*
* @type {string}
* @memberof GetBnsolRewardsHistoryResponseRowsInner
*/
annualPercentageRate?: string;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetBnsolRewardsHistoryResponse
*/
interface GetBnsolRewardsHistoryResponse {
/**
*
* @type {string}
* @memberof GetBnsolRewardsHistoryResponse
*/
estRewardsInSOL?: string;
/**
*
* @type {Array<GetBnsolRewardsHistoryResponseRowsInner>}
* @memberof GetBnsolRewardsHistoryResponse
*/
rows?: Array<GetBnsolRewardsHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetBnsolRewardsHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetBoostRewardsHistoryResponseRowsInner
*/
time?: number;
/**
*
* @type {string}
* @memberof GetBoostRewardsHistoryResponseRowsInner
*/
token?: string;
/**
*
* @type {string}
* @memberof GetBoostRewardsHistoryResponseRowsInner
*/
amount?: string;
/**
*
* @type {string}
* @memberof GetBoostRewardsHistoryResponseRowsInner
*/
bnsolHolding?: string;
/**
*
* @type {string}
* @memberof GetBoostRewardsHistoryResponseRowsInner
*/
status?: string;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetBoostRewardsHistoryResponse
*/
interface GetBoostRewardsHistoryResponse {
/**
*
* @type {Array<GetBoostRewardsHistoryResponseRowsInner>}
* @memberof GetBoostRewardsHistoryResponse
*/
rows?: Array<GetBoostRewardsHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetBoostRewardsHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetEthRedemptionHistoryResponseRowsInner
*/
time?: number;
/**
*
* @type {number}
* @memberof GetEthRedemptionHistoryResponseRowsInner
*/
arrivalTime?: number;
/**
*
* @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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetEthRedemptionHistoryResponse
*/
interface GetEthRedemptionHistoryResponse {
/**
*
* @type {Array<GetEthRedemptionHistoryResponseRowsInner>}
* @memberof GetEthRedemptionHistoryResponse
*/
rows?: Array<GetEthRedemptionHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetEthRedemptionHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetEthStakingHistoryResponseRowsInner
*/
time?: number;
/**
*
* @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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetEthStakingHistoryResponse
*/
interface GetEthStakingHistoryResponse {
/**
*
* @type {Array<GetEthStakingHistoryResponseRowsInner>}
* @memberof GetEthStakingHistoryResponse
*/
rows?: Array<GetEthStakingHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetEthStakingHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetSolRedemptionHistoryResponseRowsInner
*/
time?: number;
/**
*
* @type {number}
* @memberof GetSolRedemptionHistoryResponseRowsInner
*/
arrivalTime?: number;
/**
*
* @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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetSolRedemptionHistoryResponse
*/
interface GetSolRedemptionHistoryResponse {
/**
*
* @type {Array<GetSolRedemptionHistoryResponseRowsInner>}
* @memberof GetSolRedemptionHistoryResponse
*/
rows?: Array<GetSolRedemptionHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetSolRedemptionHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetSolStakingHistoryResponseRowsInner
*/
time?: number;
/**
*
* @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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetSolStakingHistoryResponse
*/
interface GetSolStakingHistoryResponse {
/**
*
* @type {Array<GetSolStakingHistoryResponseRowsInner>}
* @memberof GetSolStakingHistoryResponse
*/
rows?: Array<GetSolStakingHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetSolStakingHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetSolStakingQuotaDetailsResponse
*/
redeemPeriod?: number;
/**
*
* @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}
* @memberof GetSolStakingQuotaDetailsResponse
*/
nextEpochTime?: number;
/**
*
* @type {boolean}
* @memberof GetSolStakingQuotaDetailsResponse
*/
calculating?: boolean;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetUnclaimedRewardsResponse
*/
interface GetUnclaimedRewardsResponse extends Array<GetUnclaimedRewardsResponseInner> {
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetWbethRateHistoryResponseRowsInner
*/
time?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetWbethRateHistoryResponse
*/
interface GetWbethRateHistoryResponse {
/**
*
* @type {Array<GetWbethRateHistoryResponseRowsInner>}
* @memberof GetWbethRateHistoryResponse
*/
rows?: Array<GetWbethRateHistoryResponseRowsInner>;
/**
*
* @type {string}
* @memberof GetWbethRateHistoryResponse
*/
total?: string;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetWbethRewardsHistoryResponseRowsInner
*/
time?: number;
/**
*
* @type {string}
* @memberof GetWbethRewardsHistoryResponseRowsInner
*/
amountInETH?: string;
/**
*
* @type {string}
* @memberof GetWbethRewardsHistoryResponseRowsInner
*/
holding?: string;
/**
*
* @type {string}
* @memberof GetWbethRewardsHistoryResponseRowsInner
*/
holdingInETH?: string;
/**
*
* @type {string}
* @memberof GetWbethRewardsHistoryResponseRowsInner
*/
annualPercentageRate?: string;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetWbethRewardsHistoryResponse
*/
interface GetWbethRewardsHistoryResponse {
/**
*
* @type {string}
* @memberof GetWbethRewardsHistoryResponse
*/
estRewardsInETH?: string;
/**
*
* @type {Array<GetWbethRewardsHistoryResponseRowsInner>}
* @memberof GetWbethRewardsHistoryResponse
*/
rows?: Array<GetWbethRewardsHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetWbethRewardsHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetWbethUnwrapHistoryResponseRowsInner
*/
time?: number;
/**
*
* @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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetWbethUnwrapHistoryResponse
*/
interface GetWbethUnwrapHistoryResponse {
/**
*
* @type {Array<GetWbethUnwrapHistoryResponseRowsInner>}
* @memberof GetWbethUnwrapHistoryResponse
*/
rows?: Array<GetWbethUnwrapHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetWbethUnwrapHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof GetWbethWrapHistoryResponseRowsInner
*/
time?: number;
/**
*
* @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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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 GetWbethWrapHistoryResponse
*/
interface GetWbethWrapHistoryResponse {
/**
*
* @type {Array<GetWbethWrapHistoryResponseRowsInner>}
* @memberof GetWbethWrapHistoryResponse
*/
rows?: Array<GetWbethWrapHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetWbethWrapHistoryResponse
*/
total?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof RedeemEthResponse
*/
arrivalTime?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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}
* @memberof RedeemSolResponse
*/
arrivalTime?: number;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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;
}
/**
* Binance Public Staking REST API
*
* OpenAPI Specification for the Binance Public 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.
*/
/**
* 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}
* @memberof EthStakingApiEthStakingAccount
*/
readonly recvWindow?: number;
}
/**
* Request parameters for getCurrentEthStakingQuota operation in EthStakingApi.
* @interface GetCurrentEthStakingQuotaRequest
*/
interface GetCurrentEthStakingQuotaRequest {
/**
*
* @type {number}
* @memberof EthStakingApiGetCurrentEthStakingQuota
*/
readonly recvWindow?: number;
}
/**
* Request parameters for getEthRedemptionHistory operation in EthStakingApi.
* @interface GetEthRedemptionHistoryRequest
*/
interface GetEthRedemptionHistoryRequest {
/**
*
* @type {number}
* @memberof EthStakingApiGetEthRedemptionHistory
*/
readonly startTime?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetEthRedemptionHistory
*/
readonly endTime?: number;
/**
* Currently querying page. Start from 1. Default:1
* @type {number}
* @memberof EthStakingApiGetEthRedemptionHistory
*/
readonly current?: number;
/**
* Default:10, Max:100
* @type {number}
* @memberof EthStakingApiGetEthRedemptionHistory
*/
readonly size?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetEthRedemptionHistory
*/
readonly recvWindow?: number;
}
/**
* Request parameters for getEthStakingHistory operation in EthStakingApi.
* @interface GetEthStakingHistoryRequest
*/
interface GetEthStakingHistoryRequest {
/**
*
* @type {number}
* @memberof EthStakingApiGetEthStakingHistory
*/
readonly startTime?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetEthStakingHistory
*/
readonly endTime?: number;
/**
* Currently querying page. Start from 1. Default:1
* @type {number}
* @memberof EthStakingApiGetEthStakingHistory
*/
readonly current?: number;
/**
* Default:10, Max:100
* @type {number}
* @memberof EthStakingApiGetEthStakingHistory
*/
readonly size?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetEthStakingHistory
*/
readonly recvWindow?: number;
}
/**
* Request parameters for getWbethRateHistory operation in EthStakingApi.
* @interface GetWbethRateHistoryRequest
*/
interface GetWbethRateHistoryRequest {
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethRateHistory
*/
readonly startTime?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethRateHistory
*/
readonly endTime?: number;
/**
* Currently querying page. Start from 1. Default:1
* @type {number}
* @memberof EthStakingApiGetWbethRateHistory
*/
readonly current?: number;
/**
* Default:10, Max:100
* @type {number}
* @memberof EthStakingApiGetWbethRateHistory
*/
readonly size?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethRateHistory
*/
readonly recvWindow?: number;
}
/**
* Request parameters for getWbethRewardsHistory operation in EthStakingApi.
* @interface GetWbethRewardsHistoryRequest
*/
interface GetWbethRewardsHistoryRequest {
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethRewardsHistory
*/
readonly startTime?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethRewardsHistory
*/
readonly endTime?: number;
/**
* Currently querying page. Start from 1. Default:1
* @type {number}
* @memberof EthStakingApiGetWbethRewardsHistory
*/
readonly current?: number;
/**
* Default:10, Max:100
* @type {number}
* @memberof EthStakingApiGetWbethRewardsHistory
*/
readonly size?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethRewardsHistory
*/
readonly recvWindow?: number;
}
/**
* Request parameters for getWbethUnwrapHistory operation in EthStakingApi.
* @interface GetWbethUnwrapHistoryRequest
*/
interface GetWbethUnwrapHistoryRequest {
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethUnwrapHistory
*/
readonly startTime?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethUnwrapHistory
*/
readonly endTime?: number;
/**
* Currently querying page. Start from 1. Default:1
* @type {number}
* @memberof EthStakingApiGetWbethUnwrapHistory
*/
readonly current?: number;
/**
* Default:10, Max:100
* @type {number}
* @memberof EthStakingApiGetWbethUnwrapHistory
*/
readonly size?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethUnwrapHistory
*/
readonly recvWindow?: number;
}
/**
* Request parameters for getWbethWrapHistory operation in EthStakingApi.
* @interface GetWbethWrapHistoryRequest
*/
interface GetWbethWrapHistoryRequest {
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethWrapHistory
*/
readonly startTime?: number;
/**
*
* @type {number}
* @memberof EthStakingApiGetWbethWrapHistory
*/
readonly endTime?: number;