@binance/staking
Version:
Official Binance Staking Connector - A lightweight library that provides a convenient interface to Binance's Staking REST API.
2,207 lines (2,141 loc) • 201 kB
text/typescript
import { RestApiResponse, ConfigurationRestAPI } from '@binance/common';
export { BadRequestError, ConnectorClientError, ForbiddenError, NetworkError, NotFoundError, RateLimitBanError, RequiredError, STAKING_REST_API_PROD_URL, ServerError, TooManyRequestsError, UnauthorizedError } from '@binance/common';
/**
* 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;
}
/**
* 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;
}
/**
* 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;
}
/**
* 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 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 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;
}
/**
* 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 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 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 GetBnsolRateHistoryResponse
*/
interface GetBnsolRateHistoryResponse {
/**
*
* @type {Array<GetBnsolRateHistoryResponseRowsInner>}
* @memberof GetBnsolRateHistoryResponse
*/
rows?: Array<GetBnsolRateHistoryResponseRowsInner>;
/**
*
* @type {string}
* @memberof GetBnsolRateHistoryResponse
*/
total?: string;
}
/**
* 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}
* @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 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 GetBnsolRewardsHistoryResponse
*/
interface GetBnsolRewardsHistoryResponse {
/**
*
* @type {string}
* @memberof GetBnsolRewardsHistoryResponse
*/
estRewardsInSOL?: string;
/**
*
* @type {Array<GetBnsolRewardsHistoryResponseRowsInner>}
* @memberof GetBnsolRewardsHistoryResponse
*/
rows?: Array<GetBnsolRewardsHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetBnsolRewardsHistoryResponse
*/
total?: number;
}
/**
* 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}
* @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 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 GetBoostRewardsHistoryResponse
*/
interface GetBoostRewardsHistoryResponse {
/**
*
* @type {Array<GetBoostRewardsHistoryResponseRowsInner>}
* @memberof GetBoostRewardsHistoryResponse
*/
rows?: Array<GetBoostRewardsHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetBoostRewardsHistoryResponse
*/
total?: number;
}
/**
* 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;
}
/**
* 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}
* @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 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 GetEthRedemptionHistoryResponse
*/
interface GetEthRedemptionHistoryResponse {
/**
*
* @type {Array<GetEthRedemptionHistoryResponseRowsInner>}
* @memberof GetEthRedemptionHistoryResponse
*/
rows?: Array<GetEthRedemptionHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetEthRedemptionHistoryResponse
*/
total?: number;
}
/**
* 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}
* @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 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 GetEthStakingHistoryResponse
*/
interface GetEthStakingHistoryResponse {
/**
*
* @type {Array<GetEthStakingHistoryResponseRowsInner>}
* @memberof GetEthStakingHistoryResponse
*/
rows?: Array<GetEthStakingHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetEthStakingHistoryResponse
*/
total?: number;
}
/**
* 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;
}
/**
* 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}
* @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
*/
duration?: number;
/**
*
* @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 {string}
* @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
*/
subscriptionStartTime?: string;
/**
*
* @type {boolean}
* @memberof GetOnChainYieldsLockedProductListResponseRowsInnerDetail
*/
canRedeemToFlex?: boolean;
}
/**
* 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;
}
/**
* 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 GetOnChainYieldsLockedProductListResponseRowsInner
*/
interface GetOnChainYieldsLockedProductListResponseRowsInner {
/**
*
* @type {string}
* @memberof GetOnChainYieldsLockedProductListResponseRowsInner
*/
projectId?: string;
/**
*
* @type {GetOnChainYieldsLockedProductListResponseRowsInnerDetail}
* @memberof GetOnChainYieldsLockedProductListResponseRowsInner
*/
detail?: GetOnChainYieldsLockedProductListResponseRowsInnerDetail;
/**
*
* @type {GetOnChainYieldsLockedProductListResponseRowsInnerQuota}
* @memberof GetOnChainYieldsLockedProductListResponseRowsInner
*/
quota?: GetOnChainYieldsLockedProductListResponseRowsInnerQuota;
}
/**
* 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 GetOnChainYieldsLockedProductListResponse
*/
interface GetOnChainYieldsLockedProductListResponse {
/**
*
* @type {Array<GetOnChainYieldsLockedProductListResponseRowsInner>}
* @memberof GetOnChainYieldsLockedProductListResponse
*/
rows?: Array<GetOnChainYieldsLockedProductListResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetOnChainYieldsLockedProductListResponse
*/
total?: number;
}
/**
* 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;
}
/**
* 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 GetOnChainYieldsLockedProductPositionResponse
*/
interface GetOnChainYieldsLockedProductPositionResponse {
/**
*
* @type {Array<GetOnChainYieldsLockedProductPositionResponseRowsInner>}
* @memberof GetOnChainYieldsLockedProductPositionResponse
*/
rows?: Array<GetOnChainYieldsLockedProductPositionResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetOnChainYieldsLockedProductPositionResponse
*/
total?: number;
}
/**
* 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}
* @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
*/
redeemId?: number;
/**
*
* @type {number}
* @memberof GetOnChainYieldsLockedRedemptionRecordResponseRowsInner
*/
time?: number;
/**
*
* @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;
}
/**
* 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 GetOnChainYieldsLockedRedemptionRecordResponse
*/
interface GetOnChainYieldsLockedRedemptionRecordResponse {
/**
*
* @type {Array<GetOnChainYieldsLockedRedemptionRecordResponseRowsInner>}
* @memberof GetOnChainYieldsLockedRedemptionRecordResponse
*/
rows?: Array<GetOnChainYieldsLockedRedemptionRecordResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetOnChainYieldsLockedRedemptionRecordResponse
*/
total?: number;
}
/**
* 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}
* @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
*/
time?: number;
/**
*
* @type {string}
* @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
*/
asset?: string;
/**
*
* @type {string}
* @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
*/
lockPeriod?: string;
/**
*
* @type {string}
* @memberof GetOnChainYieldsLockedRewardsHistoryResponseRowsInner
*/
amount?: string;
}
/**
* 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 GetOnChainYieldsLockedRewardsHistoryResponse
*/
interface GetOnChainYieldsLockedRewardsHistoryResponse {
/**
*
* @type {Array<GetOnChainYieldsLockedRewardsHistoryResponseRowsInner>}
* @memberof GetOnChainYieldsLockedRewardsHistoryResponse
*/
rows?: Array<GetOnChainYieldsLockedRewardsHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetOnChainYieldsLockedRewardsHistoryResponse
*/
total?: number;
}
/**
* 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;
}
/**
* 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}
* @memberof GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner
*/
time?: number;
/**
*
* @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;
}
/**
* 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 GetOnChainYieldsLockedSubscriptionRecordResponse
*/
interface GetOnChainYieldsLockedSubscriptionRecordResponse {
/**
*
* @type {Array<GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner>}
* @memberof GetOnChainYieldsLockedSubscriptionRecordResponse
*/
rows?: Array<GetOnChainYieldsLockedSubscriptionRecordResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetOnChainYieldsLockedSubscriptionRecordResponse
*/
total?: number;
}
/**
* 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}
* @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 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 GetSolRedemptionHistoryResponse
*/
interface GetSolRedemptionHistoryResponse {
/**
*
* @type {Array<GetSolRedemptionHistoryResponseRowsInner>}
* @memberof GetSolRedemptionHistoryResponse
*/
rows?: Array<GetSolRedemptionHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetSolRedemptionHistoryResponse
*/
total?: number;
}
/**
* 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}
* @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 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 GetSolStakingHistoryResponse
*/
interface GetSolStakingHistoryResponse {
/**
*
* @type {Array<GetSolStakingHistoryResponseRowsInner>}
* @memberof GetSolStakingHistoryResponse
*/
rows?: Array<GetSolStakingHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetSolStakingHistoryResponse
*/
total?: number;
}
/**
* 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}
* @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 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;
}
/**
* 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 GetUnclaimedRewardsResponse
*/
interface GetUnclaimedRewardsResponse extends Array<GetUnclaimedRewardsResponseInner> {
}
/**
* 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}
* @memberof GetWbethRateHistoryResponseRowsInner
*/
time?: number;
}
/**
* 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 GetWbethRateHistoryResponse
*/
interface GetWbethRateHistoryResponse {
/**
*
* @type {Array<GetWbethRateHistoryResponseRowsInner>}
* @memberof GetWbethRateHistoryResponse
*/
rows?: Array<GetWbethRateHistoryResponseRowsInner>;
/**
*
* @type {string}
* @memberof GetWbethRateHistoryResponse
*/
total?: string;
}
/**
* 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}
* @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 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 GetWbethRewardsHistoryResponse
*/
interface GetWbethRewardsHistoryResponse {
/**
*
* @type {string}
* @memberof GetWbethRewardsHistoryResponse
*/
estRewardsInETH?: string;
/**
*
* @type {Array<GetWbethRewardsHistoryResponseRowsInner>}
* @memberof GetWbethRewardsHistoryResponse
*/
rows?: Array<GetWbethRewardsHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetWbethRewardsHistoryResponse
*/
total?: number;
}
/**
* 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}
* @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 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 GetWbethUnwrapHistoryResponse
*/
interface GetWbethUnwrapHistoryResponse {
/**
*
* @type {Array<GetWbethUnwrapHistoryResponseRowsInner>}
* @memberof GetWbethUnwrapHistoryResponse
*/
rows?: Array<GetWbethUnwrapHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetWbethUnwrapHistoryResponse
*/
total?: number;
}
/**
* 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}
* @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 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 GetWbethWrapHistoryResponse
*/
interface GetWbethWrapHistoryResponse {
/**
*
* @type {Array<GetWbethWrapHistoryResponseRowsInner>}
* @memberof GetWbethWrapHistoryResponse
*/
rows?: Array<GetWbethWrapHistoryResponseRowsInner>;
/**
*
* @type {number}
* @memberof GetWbethWrapHistoryResponse
*/
total?: number;
}
/**
* 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
*/
totalLockedInUS