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