Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetInterestHistoryParam ¶
type GetInterestHistoryParam struct {
Asset string `url:"asset,omitempty" validate:"omitempty"`
IsolatedSymbol string `url:"isolatedSymbol,omitempty" validate:"omitempty"`
StartTime int64 `url:"startTime,omitempty" validate:"omitempty"`
EndTime int64 `url:"endTime,omitempty" validate:"omitempty"`
Current int64 `url:"current,omitempty" validate:"omitempty"`
Size int64 `url:"size,omitempty" validate:"omitempty"`
Archived string `url:"archived,omitempty" validate:"omitempty"`
}
type GetInterestHistoryParams ¶
type GetInterestHistoryParams struct {
GetInterestHistoryParam
bnutils.DefaultParam
}
type GetInterestHistoryResp ¶
type GetInterestHistoryResp struct {
Http *utils.ApiResponse
Body *InterestHistory
}
type Interest ¶
type Interest struct {
TxId int64 `json:"txId,omitempty"`
InterestAccuredTime int64 `json:"interestAccuredTime,omitempty"`
Asset string `json:"asset,omitempty"`
RawAsset string `json:"rawAsset,omitempty"`
Principal string `json:"principal,omitempty"`
Interest string `json:"interest,omitempty"`
InterestRate string `json:"interestRate,omitempty"`
Type string `json:"type,omitempty"`
IsolatedSymbol string `json:"isolatedSymbol,omitempty"`
}
type InterestHistory ¶
Click to show internal directories.
Click to hide internal directories.