@xoxno/sdk-js 1.0.164 → 1.0.169

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -752,6 +752,111 @@ sdk.stellar.tokens(...); // TokenDataDocHydrated[]
752
752
  // GET /stellar/aggregator/quote
753
753
  sdk.stellar.aggregator.quote(...); // SoroswapQuoteResponseDto
754
754
 
755
+ // GET /stellar-lending/assets
756
+ sdk.stellarLending.assets(...); // StellarAssetListItemDto[]
757
+
758
+ // GET /stellar-lending/hubs
759
+ sdk.stellarLending.hubs(...); // StellarHubListItemDto[]
760
+
761
+ // GET /stellar-lending/spokes
762
+ sdk.stellarLending.spokes(...); // StellarSpokeListItemDto[]
763
+
764
+ // GET /stellar-lending/reserves
765
+ sdk.stellarLending.reserves(...); // StellarReserveListItemDto[]
766
+
767
+ // GET /stellar-lending/reserves/:spokeId/:hubId/:asset
768
+ sdk.stellarLending.reserves.spokeId("...").hubId("...").asset("...")(...); // ReserveDto
769
+
770
+ // GET /stellar-lending/reserves/:spokeId/:hubId/:asset/holders
771
+ sdk.stellarLending.reserves.spokeId("...").hubId("...").asset("...").holders(...); // TopHoldersDto
772
+
773
+ // GET /stellar-lending/hubs/:hubId/holders
774
+ sdk.stellarLending.hubs.hubId("...").holders(...); // TopHoldersDto
775
+
776
+ // GET /stellar-lending/spokes/:spokeId/holders
777
+ sdk.stellarLending.spokes.spokeId("...").holders(...); // TopHoldersDto
778
+
779
+ // GET /stellar-lending/assets/:asset
780
+ sdk.stellarLending.assets.asset("...")(...); // AssetDto
781
+
782
+ // GET /stellar-lending/assets/:asset/markets
783
+ sdk.stellarLending.assets.asset("...").markets(...); // AssetMarketDto[]
784
+
785
+ // GET /stellar-lending/hubs/:hubId
786
+ sdk.stellarLending.hubs.hubId("...")(...); // HubDto
787
+
788
+ // GET /stellar-lending/spokes/:spokeId
789
+ sdk.stellarLending.spokes.spokeId("...")(...); // SpokeDto
790
+
791
+ // GET /stellar-lending/users/:owner/positions
792
+ sdk.stellarLending.users.owner("...").positions(...); // AccountPositionsDto
793
+
794
+ // GET /stellar-lending/users/:owner/activity
795
+ sdk.stellarLending.users.owner("...").activity(...); // StellarUserActivityItemDto[]
796
+
797
+ // GET /stellar-lending/accounts/:accountId/positions
798
+ sdk.stellarLending.accounts.accountId("...").positions(...); // AccountPositionsDto
799
+
800
+ // GET /stellar-lending/governance/proposals
801
+ sdk.stellarLending.governance.proposals(...); // GovernanceProposalsPageDto
802
+
803
+ // GET /stellar-lending/assets/:asset/graph
804
+ sdk.stellarLending.assets.asset("...").graph(...); // MarketGraphDto
805
+
806
+ // GET /stellar-lending/hubs/:hubId/graph
807
+ sdk.stellarLending.hubs.hubId("...").graph(...); // MarketGraphDto
808
+
809
+ // GET /stellar-lending/spokes/:spokeId/graph
810
+ sdk.stellarLending.spokes.spokeId("...").graph(...); // SpokeGraphDto
811
+
812
+ // GET /stellar-lending/reserves/:spokeId/:hubId/:asset/graph
813
+ sdk.stellarLending.reserves.spokeId("...").hubId("...").asset("...").graph(...); // MarketGraphDto
814
+
815
+ // GET /stellar-lending/stats/history
816
+ sdk.stellarLending.stats.history(...); // StellarStatsHistoryDto
817
+
818
+ // GET /stellar-lending/pnl
819
+ sdk.stellarLending.pnl(...); // StellarPositionsPnlDto
820
+
821
+ // GET /stellar-lending/positions
822
+ sdk.stellarLending.positions(...); // StellarPositionsRankDto
823
+
824
+ // GET /stellar-lending/users/:accountId/history
825
+ sdk.stellarLending.users.accountId("...").history(...); // UserHistoryDto
826
+
827
+ // GET /stellar-lending/pnl/scope
828
+ sdk.stellarLending.pnl.scope(...); // PnlByScopeDto
829
+
830
+ // GET /stellar-lending/revenue
831
+ sdk.stellarLending.revenue(...); // RevenueSeriesDto
832
+
833
+ // GET /stellar-lending/revenue/fees
834
+ sdk.stellarLending.revenue.fees(...); // FeeRevenueSeriesDto
835
+
836
+ // GET /stellar-lending/participants
837
+ sdk.stellarLending.participants(...); // ParticipantCountsDto
838
+
839
+ // GET /stellar-lending/liquidations
840
+ sdk.stellarLending.liquidations(...); // LiquidationsSeriesDto
841
+
842
+ // GET /stellar-lending/liquidations/leaderboard
843
+ sdk.stellarLending.liquidations.leaderboard(...); // LiquidationsLeaderboardDto
844
+
845
+ // GET /stellar-lending/volume
846
+ sdk.stellarLending.volume(...); // VolumeSeriesDto
847
+
848
+ // GET /stellar-lending/active-users
849
+ sdk.stellarLending.activeUsers(...); // ActiveUsersSeriesDto
850
+
851
+ // GET /stellar-lending/distribution
852
+ sdk.stellarLending.distribution(...); // HolderDistributionDto
853
+
854
+ // GET /stellar-lending/rate-spread
855
+ sdk.stellarLending.rateSpread(...); // RateSpreadSeriesDto
856
+
857
+ // GET /stellar-lending/defillama
858
+ sdk.stellarLending.defillama(...); // DefiLlamaDimensionsDto
859
+
755
860
  // GET /tokens
756
861
  sdk.tokens(...); // TokenDataDocHydrated[]
757
862
 
@@ -10,7 +10,8 @@
10
10
  * Numeric `*Wad`/`*Ray`/`*ScaledRay` fields cross the wire as decimal strings
11
11
  * (1e18 / 1e27 fixed-point); `*Short` fields are already human-readable numbers.
12
12
  */
13
- import type { StellarGovernanceProposalField, StellarGovernanceProposalKind, StellarGovernanceProposalStatus, StellarGovernanceProposalTarget, StellarInitialPaymentMultiplier } from '@xoxno/types/stellar-lending';
13
+ import type { StellarAssetPage, StellarAssetPageGraphPoint, StellarAssetPageGraphSeries, StellarAssetPageMarket, StellarGovernanceProposalField, StellarGovernanceProposalKind, StellarGovernanceProposalStatus, StellarGovernanceProposalTarget, StellarInitialPaymentMultiplier } from '@xoxno/types/stellar-lending';
14
+ export type { StellarAssetPage, StellarAssetPageGraphPoint, StellarAssetPageGraphSeries, StellarAssetPageMarket, };
14
15
  /** Side selector for an asset's markets table. */
15
16
  export type StellarLendingMarketSide = 'deposit' | 'borrow';
16
17
  /** Side selector for a reserve's top-holders list. */
@@ -11,7 +11,7 @@
11
11
  * delegated to `XOXNOClient.fetchWithTimeout`, the same wrapper the generated
12
12
  * SDK uses.
13
13
  */
14
- import type { StellarAssetListItem, StellarHubListItem, StellarReserveListItem, StellarSpokeListItem, StellarUserActivityItem } from '@xoxno/types/stellar-lending';
14
+ import type { StellarAssetListItem, StellarAssetPage, StellarHubListItem, StellarReserveListItem, StellarSpokeListItem, StellarUserActivityItem } from '@xoxno/types/stellar-lending';
15
15
  import type { OurRequestInit, XOXNOClient } from '../../utils/api';
16
16
  import type { StellarAccountPositions, StellarAsset, StellarAssetMarket, StellarGovernanceProposalsPage, StellarHub, StellarLendingHoldersSide, StellarLendingMarketSide, StellarMarketGraph, StellarMarketGraphQuery, StellarReserve, StellarSpoke, StellarTopHolders } from './lending-read-types';
17
17
  /** Every asset, aggregated across hubs — rows for the Deposit/Borrow tables. */
@@ -36,6 +36,10 @@ export declare const getStellarReserve: (client: XOXNOClient, spokeId: number, h
36
36
  export declare const getStellarReserveHolders: (client: XOXNOClient, spokeId: number, hubId: number, asset: string, side: StellarLendingHoldersSide, init?: OurRequestInit) => Promise<StellarTopHolders>;
37
37
  /** Asset overview: header totals + APY ranges. */
38
38
  export declare const getStellarAsset: (client: XOXNOClient, asset: string, init?: OurRequestInit) => Promise<StellarAsset>;
39
+ /** Asset detail page: overview + deposit/borrow markets + spoke APY series. */
40
+ export declare const getStellarAssetPage: (client: XOXNOClient, asset: string, query: StellarMarketGraphQuery & {
41
+ owner?: string;
42
+ }, init?: OurRequestInit) => Promise<StellarAssetPage>;
39
43
  /** Asset markets (per spoke/hub) for one side. */
40
44
  export declare const getStellarAssetMarkets: (client: XOXNOClient, asset: string, side: StellarLendingMarketSide, init?: OurRequestInit) => Promise<StellarAssetMarket[]>;
41
45
  /** Hub overview: totals + per-asset opportunities. */
@@ -1,4 +1,4 @@
1
- import type { PublicOnly, RateType, LoginAccessDto, LoginRequestDto, UserNetworkInfoDto, UserTokenInventoryResponseDto, UserProfileDoc, UserProfileEditDto, UserProfileDto, UserSettingsDoc, NotificationPreferencesPostDto, SetEmailDto, SetPhoneDto, UserBillingDetails, VerifyEmailDto, TradesilvaniaSignature, SuccessDto, CreatorProfileDto, CreatorProfileDoc, CreatorProfileEditDto, CollectionStatsFilter, CollectionStatsPaginated, CheckLikeStatusResponseDto, UserFavoriteResponseDto, TokenDataDocHydrated, XoxnoInfo, XoxnoLiquidStatsDto, AnalyticsMarketplaceUniqueUsers, ProtocolAprType, ProviderDto, DelegationDataOutput, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingGovernanceProposalFilter, LendingGovernanceProposalQuery, LendingGovernanceProposalDoc, LendingAccountProfile, LendingIndexesDto, LendingAccountPnl, LendingAccountSummary, LendingEModeCategoryProfile, LendingMarketAnalyticsGraph, LendingStatsHistory, LendingMarketAverageGraph, LendingPositionStatus, LendingOverallStats, NftDocFilter, NftPaginated, LikeNftDto, InventorySummaryDtoHydrated, NftOfferPaginated, NftOfferDocFilter, NftOfferDocHydrated, ValueFp, TraitInfo, CollectionRanksDTO, ListingsResponseDto, NftDocHydrated, SignDataDto, SignWithdrawDto, SignAcceptGlobalOfferDto, SignMintDto, NftDocFull, CollectionProfileDoc, CollectionProfileEditDto, FloorPriceDto, PinnedCollectionDto, CollectionMintProfileDocHydrated, CollectionPinnedStatusDto, FollowCollectionDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionMintProfileDocWithStages, CollectionHoldersDto, CollectionHoldersExportDto, CollectionOwnerDto, CollectionStatsDocHydrated, CollectionOffersFilter, GlobalOfferPaginated, CreatorDetailsDto, ShareholderDto, StakingSummary, StakingPoolDoc, StakingEditDto, OwnedCollectionsDto, UserStakingSummaryDto, StakingCreatorDoc, StakingUserPoolNfts, StakingExploreDtoHydrated, OwnedServicesDto, FilterQueryDto, GlobalSearchResourcesPaginated, LendingNftAttributes, LendingTokenPriceDto, NotificationPaginated, PushNotificationCountResponse, NotificationDoc, MobileDeviceDoc, MobileDeviceRegistrationDto, PushNotificationResponse, PushNotificationDoc, NotificationSuccessResponseDto, EventNotificationDto, CreatorMarketingNotificationDto, StellarChallengeResponseDto, Web2UserDoc, SuccessWithMessageDto, NativeWalletDto, SwitchWalletDto, Web2WalletDto, Web2UserShardsDto, NftActivityFilter, NftActivityPaginated, NftActivityDocHydrated, VolumeGraph, AnalyticsVolumeDto, UserAnalyticsDto, GlobalAnalyticsOverviewResponseDto, UserStatsDto, AirdropDtoHydrated, TransactionDetailed, TransactionProcessStatus, TransactionCostData, TransactionCreate, TransactionSendResult, ChatMessageDocHydrated, SendChatMessageDto, UserConversationPaginated, ChatMessagePaginated, GlobalConversationSummaryDto, UserBlockPaginated, WebSocketTokenDto, UserInfo, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventRegistrationResponseDto, EventGuestRegistrationDto, EventTicketProfileDoc, EventTicketProfileCreateDto, EventTicketProfileEditDto, EventStageProfileDoc, EventStageProfileCreateDto, EventStageProfileEditDto, TicketPricesResponse, TicketCalculationRequestDto, DiscountCodeValidationResponse, EventInvitationDoc, EventInvitationCreateDto, EventInvitationFilter, EventInvitationQuery, EventInvitation, EventAcceptInvitation, EventClaimInvitationDto, EventVoucherFilter, EventVoucherQuery, EventQuestionDoc, EventQuestionCreateDto, EventQuestionEditDto, EventGuestFilter, EventGuestProfileQuery, EventGuestProfile, EventGuestExport, EventUserRole, EventUserRoleCreateDto, EventUserRoleEditDto, EventUserRoleDoc, BageQRData, TicketValidationResult, EventCheckInQR, EventVoucherDoc, EventVoucherCreateDto, EventVoucherEditDto, ManualCheckInDto, AnsweredQuestionWithDetails, EventGuestApproveDto, EventCountGroupedByCountry, EventReferralConfigDoc, EventReferralConfigCreateDto, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralDoc, EventReferralCreateDto, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, BlendUserPosition, SoroswapQuoteResponseDto, PerpOrderResponse, BarDto, SymbolInfoDto, PerpCoinExtended, PerpSpotCoinExtended, PerpCoinExtendedSlim, PerpLegalCheck, PerpSpotCoinExtendedSlim, L2BookPerpResponseSingle, TradesPerpResponseSingle, ActiveSpotAssetCtx, ActivePerpAssetCtx, PerpEvent } from '@xoxno/types';
1
+ import type { PublicOnly, RateType, LoginAccessDto, LoginRequestDto, UserNetworkInfoDto, UserTokenInventoryResponseDto, UserProfileDoc, UserProfileEditDto, UserProfileDto, UserSettingsDoc, NotificationPreferencesPostDto, SetEmailDto, SetPhoneDto, UserBillingDetails, VerifyEmailDto, TradesilvaniaSignature, SuccessDto, CreatorProfileDto, CreatorProfileDoc, CreatorProfileEditDto, CollectionStatsFilter, CollectionStatsPaginated, CheckLikeStatusResponseDto, UserFavoriteResponseDto, TokenDataDocHydrated, XoxnoInfo, XoxnoLiquidStatsDto, AnalyticsMarketplaceUniqueUsers, ProtocolAprType, ProviderDto, DelegationDataOutput, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingGovernanceProposalFilter, LendingGovernanceProposalQuery, LendingGovernanceProposalDoc, LendingAccountProfile, LendingIndexesDto, LendingAccountPnl, LendingAccountSummary, LendingEModeCategoryProfile, LendingMarketAnalyticsGraph, LendingStatsHistory, LendingMarketAverageGraph, LendingPositionStatus, LendingOverallStats, NftDocFilter, NftPaginated, LikeNftDto, InventorySummaryDtoHydrated, NftOfferPaginated, NftOfferDocFilter, NftOfferDocHydrated, ValueFp, TraitInfo, CollectionRanksDTO, ListingsResponseDto, NftDocHydrated, SignDataDto, SignWithdrawDto, SignAcceptGlobalOfferDto, SignMintDto, NftDocFull, CollectionProfileDoc, CollectionProfileEditDto, FloorPriceDto, PinnedCollectionDto, CollectionMintProfileDocHydrated, CollectionPinnedStatusDto, FollowCollectionDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionMintProfileDocWithStages, CollectionHoldersDto, CollectionHoldersExportDto, CollectionOwnerDto, CollectionStatsDocHydrated, CollectionOffersFilter, GlobalOfferPaginated, CreatorDetailsDto, ShareholderDto, StakingSummary, StakingPoolDoc, StakingEditDto, OwnedCollectionsDto, UserStakingSummaryDto, StakingCreatorDoc, StakingUserPoolNfts, StakingExploreDtoHydrated, OwnedServicesDto, FilterQueryDto, GlobalSearchResourcesPaginated, LendingNftAttributes, LendingTokenPriceDto, NotificationPaginated, PushNotificationCountResponse, NotificationDoc, MobileDeviceDoc, MobileDeviceRegistrationDto, PushNotificationResponse, PushNotificationDoc, NotificationSuccessResponseDto, EventNotificationDto, CreatorMarketingNotificationDto, StellarChallengeResponseDto, Web2UserDoc, SuccessWithMessageDto, NativeWalletDto, SwitchWalletDto, Web2WalletDto, Web2UserShardsDto, NftActivityFilter, NftActivityPaginated, NftActivityDocHydrated, VolumeGraph, AnalyticsVolumeDto, UserAnalyticsDto, GlobalAnalyticsOverviewResponseDto, UserStatsDto, AirdropDtoHydrated, TransactionDetailed, TransactionProcessStatus, TransactionCostData, TransactionCreate, TransactionSendResult, ChatMessageDocHydrated, SendChatMessageDto, UserConversationPaginated, ChatMessagePaginated, GlobalConversationSummaryDto, UserBlockPaginated, WebSocketTokenDto, UserInfo, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventRegistrationResponseDto, EventGuestRegistrationDto, EventTicketProfileDoc, EventTicketProfileCreateDto, EventTicketProfileEditDto, EventStageProfileDoc, EventStageProfileCreateDto, EventStageProfileEditDto, TicketPricesResponse, TicketCalculationRequestDto, DiscountCodeValidationResponse, EventInvitationDoc, EventInvitationCreateDto, EventInvitationFilter, EventInvitationQuery, EventInvitation, EventAcceptInvitation, EventClaimInvitationDto, EventVoucherFilter, EventVoucherQuery, EventQuestionDoc, EventQuestionCreateDto, EventQuestionEditDto, EventGuestFilter, EventGuestProfileQuery, EventGuestProfile, EventGuestExport, EventUserRole, EventUserRoleCreateDto, EventUserRoleEditDto, EventUserRoleDoc, BageQRData, TicketValidationResult, EventCheckInQR, EventVoucherDoc, EventVoucherCreateDto, EventVoucherEditDto, ManualCheckInDto, AnsweredQuestionWithDetails, EventGuestApproveDto, EventCountGroupedByCountry, EventReferralConfigDoc, EventReferralConfigCreateDto, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralDoc, EventReferralCreateDto, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, BlendUserPosition, SoroswapQuoteResponseDto, PerpOrderResponse, BarDto, SymbolInfoDto, PerpCoinExtended, PerpSpotCoinExtended, PerpCoinExtendedSlim, PerpLegalCheck, PerpSpotCoinExtendedSlim, L2BookPerpResponseSingle, TradesPerpResponseSingle, ActiveSpotAssetCtx, ActivePerpAssetCtx, PerpEvent, StellarAssetListItemDto, StellarHubListItemDto, StellarSpokeListItemDto, StellarReserveListItemDto, ReserveDto, TopHoldersDto, AssetDto, AssetMarketDto, HubDto, SpokeDto, AccountPositionsDto, StellarUserActivityItemDto, GovernanceProposalsPageDto, MarketGraphDto, SpokeGraphDto, StellarStatsHistoryDto, StellarPositionsPnlDto, StellarPositionsRankDto, UserHistoryDto, PnlByScopeDto, RevenueSeriesDto, FeeRevenueSeriesDto, ParticipantCountsDto, LiquidationsSeriesDto, LiquidationsLeaderboardDto, VolumeSeriesDto, ActiveUsersSeriesDto, HolderDistributionDto, RateSpreadSeriesDto, DefiLlamaDimensionsDto } from '@xoxno/types';
2
2
  import type { ActivityChain, TokenCategory, LendingPositionOrderByColumn, KustoOrderDirection, OfferType, StakingStatus, UserStatsOrderByColumn } from '@xoxno/types/enums';
3
3
  export declare const endpoints: {
4
4
  readonly "/liquid/xoxno/rate": {
@@ -1977,4 +1977,244 @@ export declare const endpoints: {
1977
1977
  readonly body: PerpEvent;
1978
1978
  };
1979
1979
  };
1980
+ readonly "/stellar-lending/assets": {
1981
+ readonly input: {};
1982
+ readonly output: StellarAssetListItemDto[];
1983
+ };
1984
+ readonly "/stellar-lending/hubs": {
1985
+ readonly input: {};
1986
+ readonly output: StellarHubListItemDto[];
1987
+ };
1988
+ readonly "/stellar-lending/spokes": {
1989
+ readonly input: {};
1990
+ readonly output: StellarSpokeListItemDto[];
1991
+ };
1992
+ readonly "/stellar-lending/reserves": {
1993
+ readonly input: {
1994
+ hubId?: number;
1995
+ spokeId?: number;
1996
+ asset?: string;
1997
+ };
1998
+ readonly output: StellarReserveListItemDto[];
1999
+ };
2000
+ readonly "/stellar-lending/reserves/:spokeId/:hubId/:asset": {
2001
+ readonly input: {};
2002
+ readonly output: ReserveDto;
2003
+ };
2004
+ readonly "/stellar-lending/reserves/:spokeId/:hubId/:asset/holders": {
2005
+ readonly input: {
2006
+ side: string;
2007
+ };
2008
+ readonly output: TopHoldersDto;
2009
+ };
2010
+ readonly "/stellar-lending/hubs/:hubId/holders": {
2011
+ readonly input: {
2012
+ side: string;
2013
+ };
2014
+ readonly output: TopHoldersDto;
2015
+ };
2016
+ readonly "/stellar-lending/spokes/:spokeId/holders": {
2017
+ readonly input: {
2018
+ side: string;
2019
+ };
2020
+ readonly output: TopHoldersDto;
2021
+ };
2022
+ readonly "/stellar-lending/assets/:asset": {
2023
+ readonly input: {};
2024
+ readonly output: AssetDto;
2025
+ };
2026
+ readonly "/stellar-lending/assets/:asset/markets": {
2027
+ readonly input: {
2028
+ side: string;
2029
+ };
2030
+ readonly output: AssetMarketDto[];
2031
+ };
2032
+ readonly "/stellar-lending/hubs/:hubId": {
2033
+ readonly input: {};
2034
+ readonly output: HubDto;
2035
+ };
2036
+ readonly "/stellar-lending/spokes/:spokeId": {
2037
+ readonly input: {};
2038
+ readonly output: SpokeDto;
2039
+ };
2040
+ readonly "/stellar-lending/users/:owner/positions": {
2041
+ readonly input: {};
2042
+ readonly output: AccountPositionsDto;
2043
+ };
2044
+ readonly "/stellar-lending/users/:owner/activity": {
2045
+ readonly input: {
2046
+ skip?: number;
2047
+ top?: number;
2048
+ };
2049
+ readonly output: StellarUserActivityItemDto[];
2050
+ };
2051
+ readonly "/stellar-lending/accounts/:accountId/positions": {
2052
+ readonly input: {};
2053
+ readonly output: AccountPositionsDto;
2054
+ };
2055
+ readonly "/stellar-lending/governance/proposals": {
2056
+ readonly input: {
2057
+ top?: number;
2058
+ continuationToken?: string;
2059
+ };
2060
+ readonly output: GovernanceProposalsPageDto;
2061
+ };
2062
+ readonly "/stellar-lending/assets/:asset/graph": {
2063
+ readonly input: {
2064
+ from: string;
2065
+ to: string;
2066
+ bin: string;
2067
+ };
2068
+ readonly output: MarketGraphDto;
2069
+ };
2070
+ readonly "/stellar-lending/hubs/:hubId/graph": {
2071
+ readonly input: {
2072
+ from: string;
2073
+ to: string;
2074
+ bin: string;
2075
+ };
2076
+ readonly output: MarketGraphDto;
2077
+ };
2078
+ readonly "/stellar-lending/spokes/:spokeId/graph": {
2079
+ readonly input: {
2080
+ from: string;
2081
+ to: string;
2082
+ bin: string;
2083
+ };
2084
+ readonly output: SpokeGraphDto;
2085
+ };
2086
+ readonly "/stellar-lending/reserves/:spokeId/:hubId/:asset/graph": {
2087
+ readonly input: {
2088
+ from: string;
2089
+ to: string;
2090
+ bin: string;
2091
+ };
2092
+ readonly output: MarketGraphDto;
2093
+ };
2094
+ readonly "/stellar-lending/stats/history": {
2095
+ readonly input: {
2096
+ from: string;
2097
+ to: string;
2098
+ bin: string;
2099
+ };
2100
+ readonly output: StellarStatsHistoryDto;
2101
+ };
2102
+ readonly "/stellar-lending/pnl": {
2103
+ readonly input: {
2104
+ accountId: string;
2105
+ };
2106
+ readonly output: StellarPositionsPnlDto;
2107
+ };
2108
+ readonly "/stellar-lending/positions": {
2109
+ readonly input: {
2110
+ token?: string;
2111
+ orderBy?: string;
2112
+ orderDirection?: string;
2113
+ skip?: number;
2114
+ top?: number;
2115
+ };
2116
+ readonly output: StellarPositionsRankDto;
2117
+ };
2118
+ readonly "/stellar-lending/users/:accountId/history": {
2119
+ readonly input: {
2120
+ from: string;
2121
+ to: string;
2122
+ bin: string;
2123
+ };
2124
+ readonly output: UserHistoryDto;
2125
+ };
2126
+ readonly "/stellar-lending/pnl/scope": {
2127
+ readonly input: {
2128
+ scope: string;
2129
+ };
2130
+ readonly output: PnlByScopeDto;
2131
+ };
2132
+ readonly "/stellar-lending/revenue": {
2133
+ readonly input: {
2134
+ from: string;
2135
+ to: string;
2136
+ bin: string;
2137
+ scope?: string;
2138
+ };
2139
+ readonly output: RevenueSeriesDto;
2140
+ };
2141
+ readonly "/stellar-lending/revenue/fees": {
2142
+ readonly input: {
2143
+ from: string;
2144
+ to: string;
2145
+ bin: string;
2146
+ hubId?: number;
2147
+ };
2148
+ readonly output: FeeRevenueSeriesDto;
2149
+ };
2150
+ readonly "/stellar-lending/participants": {
2151
+ readonly input: {
2152
+ hubId?: number;
2153
+ spokeId?: number;
2154
+ token?: string;
2155
+ };
2156
+ readonly output: ParticipantCountsDto;
2157
+ };
2158
+ readonly "/stellar-lending/liquidations": {
2159
+ readonly input: {
2160
+ from: string;
2161
+ to: string;
2162
+ bin: string;
2163
+ hubId?: number;
2164
+ };
2165
+ readonly output: LiquidationsSeriesDto;
2166
+ };
2167
+ readonly "/stellar-lending/liquidations/leaderboard": {
2168
+ readonly input: {
2169
+ top?: number;
2170
+ hubId?: number;
2171
+ token?: string;
2172
+ };
2173
+ readonly output: LiquidationsLeaderboardDto;
2174
+ };
2175
+ readonly "/stellar-lending/volume": {
2176
+ readonly input: {
2177
+ from: string;
2178
+ to: string;
2179
+ bin: string;
2180
+ hubId?: number;
2181
+ token?: string;
2182
+ };
2183
+ readonly output: VolumeSeriesDto;
2184
+ };
2185
+ readonly "/stellar-lending/active-users": {
2186
+ readonly input: {
2187
+ from: string;
2188
+ to: string;
2189
+ bin: string;
2190
+ };
2191
+ readonly output: ActiveUsersSeriesDto;
2192
+ };
2193
+ readonly "/stellar-lending/distribution": {
2194
+ readonly input: {
2195
+ hubId?: number;
2196
+ spokeId?: number;
2197
+ token?: string;
2198
+ side?: string;
2199
+ };
2200
+ readonly output: HolderDistributionDto;
2201
+ };
2202
+ readonly "/stellar-lending/rate-spread": {
2203
+ readonly input: {
2204
+ from: string;
2205
+ to: string;
2206
+ bin: string;
2207
+ hubId?: number;
2208
+ token?: string;
2209
+ };
2210
+ readonly output: RateSpreadSeriesDto;
2211
+ };
2212
+ readonly "/stellar-lending/defillama": {
2213
+ readonly input: {
2214
+ from: string;
2215
+ to: string;
2216
+ bin: string;
2217
+ };
2218
+ readonly output: DefiLlamaDimensionsDto;
2219
+ };
1980
2220
  };