@xoxno/sdk-js 1.0.169 → 1.0.170
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 +3 -0
- package/dist/cjs/sdk/stellar/lending.d.ts +1 -0
- package/dist/cjs/sdk/swagger.d.ts +250 -241
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/sdk/stellar/index.cjs +1 -1
- package/dist/sdk/stellar/index.esm.js +1 -1
- package/dist/sdk/stellar/lending.d.ts +1 -0
- package/dist/sdk/swagger.d.ts +250 -241
- package/package.json +2 -2
package/dist/sdk/swagger.d.ts
CHANGED
|
@@ -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
|
|
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, StellarAssetListItemDto, StellarHubListItemDto, StellarSpokeListItemDto, StellarReserveListItemDto, ReserveDto, TopHoldersDto, AssetDto, AssetPageDto, AssetMarketDto, HubDto, SpokeDto, AccountPositionsDto, StellarUserActivityItemDto, GovernanceProposalsPageDto, MarketGraphDto, SpokeGraphDto, StellarStatsHistoryDto, StellarPositionsPnlDto, StellarPositionsRankDto, UserHistoryDto, PnlByScopeDto, RevenueSeriesDto, FeeRevenueSeriesDto, ParticipantCountsDto, LiquidationsSeriesDto, LiquidationsLeaderboardDto, VolumeSeriesDto, ActiveUsersSeriesDto, HolderDistributionDto, RateSpreadSeriesDto, DefiLlamaDimensionsDto, 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';
|
|
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": {
|
|
@@ -898,6 +898,255 @@ export declare const endpoints: {
|
|
|
898
898
|
readonly securityMode: "requiredAny";
|
|
899
899
|
};
|
|
900
900
|
};
|
|
901
|
+
readonly "/stellar-lending/assets": {
|
|
902
|
+
readonly input: {};
|
|
903
|
+
readonly output: StellarAssetListItemDto[];
|
|
904
|
+
};
|
|
905
|
+
readonly "/stellar-lending/hubs": {
|
|
906
|
+
readonly input: {};
|
|
907
|
+
readonly output: StellarHubListItemDto[];
|
|
908
|
+
};
|
|
909
|
+
readonly "/stellar-lending/spokes": {
|
|
910
|
+
readonly input: {};
|
|
911
|
+
readonly output: StellarSpokeListItemDto[];
|
|
912
|
+
};
|
|
913
|
+
readonly "/stellar-lending/reserves": {
|
|
914
|
+
readonly input: {
|
|
915
|
+
hubId?: number;
|
|
916
|
+
spokeId?: number;
|
|
917
|
+
asset?: string;
|
|
918
|
+
};
|
|
919
|
+
readonly output: StellarReserveListItemDto[];
|
|
920
|
+
};
|
|
921
|
+
readonly "/stellar-lending/reserves/:spokeId/:hubId/:asset": {
|
|
922
|
+
readonly input: {};
|
|
923
|
+
readonly output: ReserveDto;
|
|
924
|
+
};
|
|
925
|
+
readonly "/stellar-lending/reserves/:spokeId/:hubId/:asset/holders": {
|
|
926
|
+
readonly input: {
|
|
927
|
+
side: string;
|
|
928
|
+
};
|
|
929
|
+
readonly output: TopHoldersDto;
|
|
930
|
+
};
|
|
931
|
+
readonly "/stellar-lending/hubs/:hubId/holders": {
|
|
932
|
+
readonly input: {
|
|
933
|
+
side: string;
|
|
934
|
+
};
|
|
935
|
+
readonly output: TopHoldersDto;
|
|
936
|
+
};
|
|
937
|
+
readonly "/stellar-lending/spokes/:spokeId/holders": {
|
|
938
|
+
readonly input: {
|
|
939
|
+
side: string;
|
|
940
|
+
};
|
|
941
|
+
readonly output: TopHoldersDto;
|
|
942
|
+
};
|
|
943
|
+
readonly "/stellar-lending/assets/:asset": {
|
|
944
|
+
readonly input: {};
|
|
945
|
+
readonly output: AssetDto;
|
|
946
|
+
};
|
|
947
|
+
readonly "/stellar-lending/assets/:asset/page": {
|
|
948
|
+
readonly input: {
|
|
949
|
+
from: string;
|
|
950
|
+
to: string;
|
|
951
|
+
bin: string;
|
|
952
|
+
owner?: string;
|
|
953
|
+
};
|
|
954
|
+
readonly output: AssetPageDto;
|
|
955
|
+
};
|
|
956
|
+
readonly "/stellar-lending/assets/:asset/markets": {
|
|
957
|
+
readonly input: {
|
|
958
|
+
side: string;
|
|
959
|
+
};
|
|
960
|
+
readonly output: AssetMarketDto[];
|
|
961
|
+
};
|
|
962
|
+
readonly "/stellar-lending/hubs/:hubId": {
|
|
963
|
+
readonly input: {};
|
|
964
|
+
readonly output: HubDto;
|
|
965
|
+
};
|
|
966
|
+
readonly "/stellar-lending/spokes/:spokeId": {
|
|
967
|
+
readonly input: {};
|
|
968
|
+
readonly output: SpokeDto;
|
|
969
|
+
};
|
|
970
|
+
readonly "/stellar-lending/users/:owner/positions": {
|
|
971
|
+
readonly input: {};
|
|
972
|
+
readonly output: AccountPositionsDto;
|
|
973
|
+
};
|
|
974
|
+
readonly "/stellar-lending/users/:owner/activity": {
|
|
975
|
+
readonly input: {
|
|
976
|
+
skip?: number;
|
|
977
|
+
top?: number;
|
|
978
|
+
};
|
|
979
|
+
readonly output: StellarUserActivityItemDto[];
|
|
980
|
+
};
|
|
981
|
+
readonly "/stellar-lending/accounts/:accountId/positions": {
|
|
982
|
+
readonly input: {};
|
|
983
|
+
readonly output: AccountPositionsDto;
|
|
984
|
+
};
|
|
985
|
+
readonly "/stellar-lending/governance/proposals": {
|
|
986
|
+
readonly input: {
|
|
987
|
+
top?: number;
|
|
988
|
+
continuationToken?: string;
|
|
989
|
+
};
|
|
990
|
+
readonly output: GovernanceProposalsPageDto;
|
|
991
|
+
};
|
|
992
|
+
readonly "/stellar-lending/assets/:asset/graph": {
|
|
993
|
+
readonly input: {
|
|
994
|
+
from: string;
|
|
995
|
+
to: string;
|
|
996
|
+
bin: string;
|
|
997
|
+
};
|
|
998
|
+
readonly output: MarketGraphDto;
|
|
999
|
+
};
|
|
1000
|
+
readonly "/stellar-lending/hubs/:hubId/graph": {
|
|
1001
|
+
readonly input: {
|
|
1002
|
+
from: string;
|
|
1003
|
+
to: string;
|
|
1004
|
+
bin: string;
|
|
1005
|
+
};
|
|
1006
|
+
readonly output: MarketGraphDto;
|
|
1007
|
+
};
|
|
1008
|
+
readonly "/stellar-lending/spokes/:spokeId/graph": {
|
|
1009
|
+
readonly input: {
|
|
1010
|
+
from: string;
|
|
1011
|
+
to: string;
|
|
1012
|
+
bin: string;
|
|
1013
|
+
};
|
|
1014
|
+
readonly output: SpokeGraphDto;
|
|
1015
|
+
};
|
|
1016
|
+
readonly "/stellar-lending/reserves/:spokeId/:hubId/:asset/graph": {
|
|
1017
|
+
readonly input: {
|
|
1018
|
+
from: string;
|
|
1019
|
+
to: string;
|
|
1020
|
+
bin: string;
|
|
1021
|
+
};
|
|
1022
|
+
readonly output: MarketGraphDto;
|
|
1023
|
+
};
|
|
1024
|
+
readonly "/stellar-lending/stats/history": {
|
|
1025
|
+
readonly input: {
|
|
1026
|
+
from: string;
|
|
1027
|
+
to: string;
|
|
1028
|
+
bin: string;
|
|
1029
|
+
};
|
|
1030
|
+
readonly output: StellarStatsHistoryDto;
|
|
1031
|
+
};
|
|
1032
|
+
readonly "/stellar-lending/pnl": {
|
|
1033
|
+
readonly input: {
|
|
1034
|
+
accountId: string;
|
|
1035
|
+
};
|
|
1036
|
+
readonly output: StellarPositionsPnlDto;
|
|
1037
|
+
};
|
|
1038
|
+
readonly "/stellar-lending/positions": {
|
|
1039
|
+
readonly input: {
|
|
1040
|
+
token?: string;
|
|
1041
|
+
orderBy?: string;
|
|
1042
|
+
orderDirection?: string;
|
|
1043
|
+
skip?: number;
|
|
1044
|
+
top?: number;
|
|
1045
|
+
};
|
|
1046
|
+
readonly output: StellarPositionsRankDto;
|
|
1047
|
+
};
|
|
1048
|
+
readonly "/stellar-lending/users/:accountId/history": {
|
|
1049
|
+
readonly input: {
|
|
1050
|
+
from: string;
|
|
1051
|
+
to: string;
|
|
1052
|
+
bin: string;
|
|
1053
|
+
};
|
|
1054
|
+
readonly output: UserHistoryDto;
|
|
1055
|
+
};
|
|
1056
|
+
readonly "/stellar-lending/pnl/scope": {
|
|
1057
|
+
readonly input: {
|
|
1058
|
+
scope: string;
|
|
1059
|
+
};
|
|
1060
|
+
readonly output: PnlByScopeDto;
|
|
1061
|
+
};
|
|
1062
|
+
readonly "/stellar-lending/revenue": {
|
|
1063
|
+
readonly input: {
|
|
1064
|
+
from: string;
|
|
1065
|
+
to: string;
|
|
1066
|
+
bin: string;
|
|
1067
|
+
scope?: string;
|
|
1068
|
+
};
|
|
1069
|
+
readonly output: RevenueSeriesDto;
|
|
1070
|
+
};
|
|
1071
|
+
readonly "/stellar-lending/revenue/fees": {
|
|
1072
|
+
readonly input: {
|
|
1073
|
+
from: string;
|
|
1074
|
+
to: string;
|
|
1075
|
+
bin: string;
|
|
1076
|
+
hubId?: number;
|
|
1077
|
+
};
|
|
1078
|
+
readonly output: FeeRevenueSeriesDto;
|
|
1079
|
+
};
|
|
1080
|
+
readonly "/stellar-lending/participants": {
|
|
1081
|
+
readonly input: {
|
|
1082
|
+
hubId?: number;
|
|
1083
|
+
spokeId?: number;
|
|
1084
|
+
token?: string;
|
|
1085
|
+
};
|
|
1086
|
+
readonly output: ParticipantCountsDto;
|
|
1087
|
+
};
|
|
1088
|
+
readonly "/stellar-lending/liquidations": {
|
|
1089
|
+
readonly input: {
|
|
1090
|
+
from: string;
|
|
1091
|
+
to: string;
|
|
1092
|
+
bin: string;
|
|
1093
|
+
hubId?: number;
|
|
1094
|
+
};
|
|
1095
|
+
readonly output: LiquidationsSeriesDto;
|
|
1096
|
+
};
|
|
1097
|
+
readonly "/stellar-lending/liquidations/leaderboard": {
|
|
1098
|
+
readonly input: {
|
|
1099
|
+
top?: number;
|
|
1100
|
+
hubId?: number;
|
|
1101
|
+
token?: string;
|
|
1102
|
+
};
|
|
1103
|
+
readonly output: LiquidationsLeaderboardDto;
|
|
1104
|
+
};
|
|
1105
|
+
readonly "/stellar-lending/volume": {
|
|
1106
|
+
readonly input: {
|
|
1107
|
+
from: string;
|
|
1108
|
+
to: string;
|
|
1109
|
+
bin: string;
|
|
1110
|
+
hubId?: number;
|
|
1111
|
+
token?: string;
|
|
1112
|
+
};
|
|
1113
|
+
readonly output: VolumeSeriesDto;
|
|
1114
|
+
};
|
|
1115
|
+
readonly "/stellar-lending/active-users": {
|
|
1116
|
+
readonly input: {
|
|
1117
|
+
from: string;
|
|
1118
|
+
to: string;
|
|
1119
|
+
bin: string;
|
|
1120
|
+
};
|
|
1121
|
+
readonly output: ActiveUsersSeriesDto;
|
|
1122
|
+
};
|
|
1123
|
+
readonly "/stellar-lending/distribution": {
|
|
1124
|
+
readonly input: {
|
|
1125
|
+
hubId?: number;
|
|
1126
|
+
spokeId?: number;
|
|
1127
|
+
token?: string;
|
|
1128
|
+
side?: string;
|
|
1129
|
+
};
|
|
1130
|
+
readonly output: HolderDistributionDto;
|
|
1131
|
+
};
|
|
1132
|
+
readonly "/stellar-lending/rate-spread": {
|
|
1133
|
+
readonly input: {
|
|
1134
|
+
from: string;
|
|
1135
|
+
to: string;
|
|
1136
|
+
bin: string;
|
|
1137
|
+
hubId?: number;
|
|
1138
|
+
token?: string;
|
|
1139
|
+
};
|
|
1140
|
+
readonly output: RateSpreadSeriesDto;
|
|
1141
|
+
};
|
|
1142
|
+
readonly "/stellar-lending/defillama": {
|
|
1143
|
+
readonly input: {
|
|
1144
|
+
from: string;
|
|
1145
|
+
to: string;
|
|
1146
|
+
bin: string;
|
|
1147
|
+
};
|
|
1148
|
+
readonly output: DefiLlamaDimensionsDto;
|
|
1149
|
+
};
|
|
901
1150
|
readonly "/user/notifications": {
|
|
902
1151
|
readonly input: {
|
|
903
1152
|
skip?: number;
|
|
@@ -1977,244 +2226,4 @@ export declare const endpoints: {
|
|
|
1977
2226
|
readonly body: PerpEvent;
|
|
1978
2227
|
};
|
|
1979
2228
|
};
|
|
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
|
-
};
|
|
2220
2229
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xoxno/sdk-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.170",
|
|
4
4
|
"description": "The SDK to interact with the XOXNO Protocol!",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"dependencies": {
|
|
115
115
|
"@multiversx/sdk-core": "^15.3.2",
|
|
116
116
|
"@multiversx/sdk-network-providers": "^2.9.3",
|
|
117
|
-
"@xoxno/types": "^1.0.
|
|
117
|
+
"@xoxno/types": "^1.0.446"
|
|
118
118
|
},
|
|
119
119
|
"peerDependencies": {
|
|
120
120
|
"@stellar/stellar-sdk": ">=15.0.0 <17.0.0"
|