@opensea/sdk 12.1.0 → 12.2.0
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 +2 -2
- package/lib/api/accounts.js +1 -1
- package/lib/api/accounts.js.map +1 -1
- package/lib/api/api.d.ts +10 -0
- package/lib/api/api.js +20 -3
- package/lib/api/api.js.map +1 -1
- package/lib/api/apiPaths.d.ts +18 -0
- package/lib/api/apiPaths.js +91 -63
- package/lib/api/apiPaths.js.map +1 -1
- package/lib/api/collections.d.ts +10 -1
- package/lib/api/collections.js +11 -0
- package/lib/api/collections.js.map +1 -1
- package/lib/api/types.d.ts +11 -1
- package/lib/api/types.js.map +1 -1
- package/lib/api/walletAuth.js +31 -31
- package/lib/api/walletAuth.js.map +1 -1
- package/lib/types.d.ts +11 -3
- package/package.json +2 -2
- package/src/api/accounts.ts +1 -1
- package/src/api/api.ts +33 -3
- package/src/api/apiPaths.ts +91 -61
- package/src/api/collections.ts +16 -0
- package/src/api/types.ts +14 -0
- package/src/api/walletAuth.ts +1 -2
- package/src/types.ts +12 -3
package/lib/api/apiPaths.js
CHANGED
|
@@ -1,39 +1,63 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.getProfileCollectionsPath = exports.getWalletTokenTransfersPath = exports.getWalletClosedPositionsPath = exports.getWalletPnlPath = exports.getProfileFavoritesPath = exports.getProfileListingsPath = exports.getProfileOffersPath = exports.getProfileOffersReceivedPath = exports.getPortfolioHistoryPath = exports.getPortfolioStatsPath = exports.getNFTAnalyticsPath = exports.getNFTOwnersPath = exports.getTokenLiquidityPoolsPath = exports.getTokenHoldersPath = exports.getAccountTokenActivityPath = exports.getTokenActivityStatsPath = exports.getTokenActivityPath = exports.getTokenOhlcvPath = exports.getTokenPriceHistoryPath = exports.getCollectionFloorPricesPath = exports.getCollectionHoldersPath = exports.getCollectionOfferAggregatesPath = exports.getTransferAssetsPath = exports.getDeployDropReceiptPath = exports.getDeployDropPath = exports.getCreateListingActionsPath = exports.getBatchCollectionsPath = exports.getBatchNFTsPath = exports.getBatchTokensPath = exports.getInstantApiKeyPath = exports.getCrossChainFulfillmentDataPath = exports.getTokenGroupPath = exports.getTokenGroupsPath = exports.getNFTMetadataPath = exports.getNFTCollectionPath = exports.getResolveAccountPath = exports.getTopCollectionsPath = exports.getTrendingCollectionsPath = exports.getCrossChainDropMintPath = void 0;
|
|
3
|
+
exports.getDropsPath = exports.getValidateMetadataPath = exports.getAccountTokensPath = exports.getChainsPath = exports.getSearchPath = exports.getTokenPath = exports.getSwapQuotePath = exports.getTopTokensPath = exports.getTrendingTokensPath = exports.getCollectionTraitFloorsPath = exports.getTraitsPath = exports.getContractPath = exports.getEventsByNFTAPIPath = exports.getEventsByCollectionAPIPath = exports.getEventsByAccountAPIPath = exports.getEventsAPIPath = exports.getTransactionReceiptPath = exports.getSwapExecutePath = exports.getSweepListingsPath = exports.getOffersByNFTPath = exports.getTraitOffersPath = exports.getCreateOfferFulfillmentActionsPath = exports.getCreateOfferActionsPath = exports.getCreateListingFulfillmentActionsPath = exports.getCreateCancelOrderActionsPath = exports.getCancelOrderPath = exports.getOrderByHashPath = exports.getRefreshMetadataPath = exports.getNFTPath = exports.getListNFTsByAccountPath = exports.getListNFTsByContractPath = exports.getListNFTsByCollectionPath = exports.getCollectionOffersPath = exports.getPostCollectionOfferPath = exports.getBuildOfferPath = exports.getAgentProfileRelationshipsPath = exports.getAccountPath = exports.getPaymentTokenPath = exports.getCollectionStatsPath = exports.getCollectionsPath = exports.getCollectionPath = exports.getBestListingsAPIPath = exports.getBestListingAPIPath = exports.getBestOfferAPIPath = exports.getAllListingsAPIPath = exports.getAllOffersAPIPath = exports.getPostOfferPath = exports.getPostListingPath = exports.segment = exports.API_V2_PREFIX = void 0;
|
|
4
|
+
exports.getProfileCollectionsPath = exports.getWalletTokenTransfersPath = exports.getWalletClosedPositionsPath = exports.getWalletPnlPath = exports.getProfileFavoritesPath = exports.getProfileListingsPath = exports.getProfileOffersPath = exports.getProfileOffersReceivedPath = exports.getPortfolioHistoryPath = exports.getPortfolioStatsPath = exports.getNFTAnalyticsPath = exports.getNFTOwnersPath = exports.getTokenLiquidityPoolsPath = exports.getTokenHoldersPath = exports.getAccountTokenActivityPath = exports.getTokenActivityStatsPath = exports.getTokenActivityPath = exports.getTokenOhlcvPath = exports.getTokenPriceHistoryPath = exports.getCollectionFloorPricesPath = exports.getCollectionHoldersPath = exports.getCollectionOfferAggregatesPath = exports.getTransferAssetsPath = exports.getDeployDropReceiptPath = exports.getDeployDropPath = exports.getCreateListingActionsPath = exports.getBatchCollectionsPath = exports.getBatchNFTsPath = exports.getBatchTokensPath = exports.getInstantApiKeyPath = exports.getCrossChainFulfillmentDataPath = exports.getTokenGroupPath = exports.getTokenGroupsPath = exports.getNFTMetadataPath = exports.getNFTCollectionPath = exports.getResolveAccountPath = exports.getTopCollectionsPath = exports.getTrendingCollectionsPath = exports.getCrossChainDropMintPath = exports.getDropMintPath = exports.getDropPath = void 0;
|
|
5
5
|
/** Base path prefix for all OpenSea API v2 endpoints. */
|
|
6
6
|
exports.API_V2_PREFIX = "/api/v2";
|
|
7
|
+
/**
|
|
8
|
+
* Encodes a single path segment.
|
|
9
|
+
*
|
|
10
|
+
* Every builder below interpolates caller-supplied values into a URL path. Without encoding, a
|
|
11
|
+
* value containing `/` re-targets the request at a different endpoint once the URL is normalized,
|
|
12
|
+
* and a consumer that caches by path collides with the endpoint it lands on. Encoding is a no-op
|
|
13
|
+
* for every legitimate value: collection slugs, hex addresses, base58 addresses, token ids and
|
|
14
|
+
* transaction hashes all survive `encodeURIComponent` unchanged.
|
|
15
|
+
*
|
|
16
|
+
* `.` and `..` are rejected rather than encoded, because encoding cannot neutralize them. The
|
|
17
|
+
* WHATWG URL parser decodes percent-escapes before it removes dot segments, so `%2E%2E` collapses
|
|
18
|
+
* exactly as `..` does, and there is no spelling of a bare dot segment that survives as a literal.
|
|
19
|
+
* No collection slug, address, token id or transaction hash is `.` or `..`, so a caller reaching
|
|
20
|
+
* this is passing through unvalidated input and should hear about it rather than silently request
|
|
21
|
+
* a different endpoint.
|
|
22
|
+
*/
|
|
23
|
+
const segment = (value) => {
|
|
24
|
+
const raw = String(value);
|
|
25
|
+
if (raw === "." || raw === "..") {
|
|
26
|
+
throw new RangeError(`Invalid path segment: ${JSON.stringify(raw)} would traverse to a different endpoint`);
|
|
27
|
+
}
|
|
28
|
+
return encodeURIComponent(raw);
|
|
29
|
+
};
|
|
30
|
+
exports.segment = segment;
|
|
7
31
|
const getPostListingPath = (chain, protocol) => {
|
|
8
|
-
return `${exports.API_V2_PREFIX}/orders/${chain}/${protocol}/listings`;
|
|
32
|
+
return `${exports.API_V2_PREFIX}/orders/${(0, exports.segment)(chain)}/${(0, exports.segment)(protocol)}/listings`;
|
|
9
33
|
};
|
|
10
34
|
exports.getPostListingPath = getPostListingPath;
|
|
11
35
|
const getPostOfferPath = (chain, protocol) => {
|
|
12
|
-
return `${exports.API_V2_PREFIX}/orders/${chain}/${protocol}/offers`;
|
|
36
|
+
return `${exports.API_V2_PREFIX}/orders/${(0, exports.segment)(chain)}/${(0, exports.segment)(protocol)}/offers`;
|
|
13
37
|
};
|
|
14
38
|
exports.getPostOfferPath = getPostOfferPath;
|
|
15
39
|
const getAllOffersAPIPath = (collectionSlug) => {
|
|
16
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${collectionSlug}/all`;
|
|
40
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(collectionSlug)}/all`;
|
|
17
41
|
};
|
|
18
42
|
exports.getAllOffersAPIPath = getAllOffersAPIPath;
|
|
19
43
|
const getAllListingsAPIPath = (collectionSlug) => {
|
|
20
|
-
return `${exports.API_V2_PREFIX}/listings/collection/${collectionSlug}/all`;
|
|
44
|
+
return `${exports.API_V2_PREFIX}/listings/collection/${(0, exports.segment)(collectionSlug)}/all`;
|
|
21
45
|
};
|
|
22
46
|
exports.getAllListingsAPIPath = getAllListingsAPIPath;
|
|
23
47
|
const getBestOfferAPIPath = (collectionSlug, tokenId) => {
|
|
24
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${collectionSlug}/nfts/${tokenId}/best`;
|
|
48
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(collectionSlug)}/nfts/${(0, exports.segment)(tokenId)}/best`;
|
|
25
49
|
};
|
|
26
50
|
exports.getBestOfferAPIPath = getBestOfferAPIPath;
|
|
27
51
|
const getBestListingAPIPath = (collectionSlug, tokenId) => {
|
|
28
|
-
return `${exports.API_V2_PREFIX}/listings/collection/${collectionSlug}/nfts/${tokenId}/best`;
|
|
52
|
+
return `${exports.API_V2_PREFIX}/listings/collection/${(0, exports.segment)(collectionSlug)}/nfts/${(0, exports.segment)(tokenId)}/best`;
|
|
29
53
|
};
|
|
30
54
|
exports.getBestListingAPIPath = getBestListingAPIPath;
|
|
31
55
|
const getBestListingsAPIPath = (collectionSlug) => {
|
|
32
|
-
return `${exports.API_V2_PREFIX}/listings/collection/${collectionSlug}/best`;
|
|
56
|
+
return `${exports.API_V2_PREFIX}/listings/collection/${(0, exports.segment)(collectionSlug)}/best`;
|
|
33
57
|
};
|
|
34
58
|
exports.getBestListingsAPIPath = getBestListingsAPIPath;
|
|
35
59
|
const getCollectionPath = (slug) => {
|
|
36
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}`;
|
|
60
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}`;
|
|
37
61
|
};
|
|
38
62
|
exports.getCollectionPath = getCollectionPath;
|
|
39
63
|
const getCollectionsPath = () => {
|
|
@@ -41,19 +65,19 @@ const getCollectionsPath = () => {
|
|
|
41
65
|
};
|
|
42
66
|
exports.getCollectionsPath = getCollectionsPath;
|
|
43
67
|
const getCollectionStatsPath = (slug) => {
|
|
44
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}/stats`;
|
|
68
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}/stats`;
|
|
45
69
|
};
|
|
46
70
|
exports.getCollectionStatsPath = getCollectionStatsPath;
|
|
47
71
|
const getPaymentTokenPath = (chain, address) => {
|
|
48
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/payment_token/${address}`;
|
|
72
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/payment_token/${(0, exports.segment)(address)}`;
|
|
49
73
|
};
|
|
50
74
|
exports.getPaymentTokenPath = getPaymentTokenPath;
|
|
51
75
|
const getAccountPath = (address) => {
|
|
52
|
-
return `${exports.API_V2_PREFIX}/accounts/${address}`;
|
|
76
|
+
return `${exports.API_V2_PREFIX}/accounts/${(0, exports.segment)(address)}`;
|
|
53
77
|
};
|
|
54
78
|
exports.getAccountPath = getAccountPath;
|
|
55
79
|
const getAgentProfileRelationshipsPath = (addressOrUsername) => {
|
|
56
|
-
return `${exports.API_V2_PREFIX}/accounts/${addressOrUsername}/agent-relationships`;
|
|
80
|
+
return `${exports.API_V2_PREFIX}/accounts/${(0, exports.segment)(addressOrUsername)}/agent-relationships`;
|
|
57
81
|
};
|
|
58
82
|
exports.getAgentProfileRelationshipsPath = getAgentProfileRelationshipsPath;
|
|
59
83
|
const getBuildOfferPath = () => {
|
|
@@ -65,39 +89,39 @@ const getPostCollectionOfferPath = () => {
|
|
|
65
89
|
};
|
|
66
90
|
exports.getPostCollectionOfferPath = getPostCollectionOfferPath;
|
|
67
91
|
const getCollectionOffersPath = (slug) => {
|
|
68
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${slug}`;
|
|
92
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(slug)}`;
|
|
69
93
|
};
|
|
70
94
|
exports.getCollectionOffersPath = getCollectionOffersPath;
|
|
71
95
|
const getListNFTsByCollectionPath = (slug) => {
|
|
72
|
-
return `${exports.API_V2_PREFIX}/collection/${slug}/nfts`;
|
|
96
|
+
return `${exports.API_V2_PREFIX}/collection/${(0, exports.segment)(slug)}/nfts`;
|
|
73
97
|
};
|
|
74
98
|
exports.getListNFTsByCollectionPath = getListNFTsByCollectionPath;
|
|
75
99
|
const getListNFTsByContractPath = (chain, address) => {
|
|
76
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts`;
|
|
100
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts`;
|
|
77
101
|
};
|
|
78
102
|
exports.getListNFTsByContractPath = getListNFTsByContractPath;
|
|
79
103
|
const getListNFTsByAccountPath = (chain, address) => {
|
|
80
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/account/${address}/nfts`;
|
|
104
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/account/${(0, exports.segment)(address)}/nfts`;
|
|
81
105
|
};
|
|
82
106
|
exports.getListNFTsByAccountPath = getListNFTsByAccountPath;
|
|
83
107
|
const getNFTPath = (chain, address, identifier) => {
|
|
84
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}`;
|
|
108
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}`;
|
|
85
109
|
};
|
|
86
110
|
exports.getNFTPath = getNFTPath;
|
|
87
111
|
const getRefreshMetadataPath = (chain, address, identifier) => {
|
|
88
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/refresh`;
|
|
112
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/refresh`;
|
|
89
113
|
};
|
|
90
114
|
exports.getRefreshMetadataPath = getRefreshMetadataPath;
|
|
91
115
|
const getOrderByHashPath = (chain, protocolAddress, orderHash) => {
|
|
92
|
-
return `${exports.API_V2_PREFIX}/orders/chain/${chain}/protocol/${protocolAddress}/${orderHash}`;
|
|
116
|
+
return `${exports.API_V2_PREFIX}/orders/chain/${(0, exports.segment)(chain)}/protocol/${(0, exports.segment)(protocolAddress)}/${(0, exports.segment)(orderHash)}`;
|
|
93
117
|
};
|
|
94
118
|
exports.getOrderByHashPath = getOrderByHashPath;
|
|
95
119
|
const getCancelOrderPath = (chain, protocolAddress, orderHash) => {
|
|
96
|
-
return `${exports.API_V2_PREFIX}/orders/chain/${chain}/protocol/${protocolAddress}/${orderHash}/cancel`;
|
|
120
|
+
return `${exports.API_V2_PREFIX}/orders/chain/${(0, exports.segment)(chain)}/protocol/${(0, exports.segment)(protocolAddress)}/${(0, exports.segment)(orderHash)}/cancel`;
|
|
97
121
|
};
|
|
98
122
|
exports.getCancelOrderPath = getCancelOrderPath;
|
|
99
123
|
const getCreateCancelOrderActionsPath = (chain, protocolAddress, orderIdentifier) => {
|
|
100
|
-
return `${exports.API_V2_PREFIX}/orders/chain/${chain}/protocol/${protocolAddress}/${orderIdentifier}/cancel/actions`;
|
|
124
|
+
return `${exports.API_V2_PREFIX}/orders/chain/${(0, exports.segment)(chain)}/protocol/${(0, exports.segment)(protocolAddress)}/${(0, exports.segment)(orderIdentifier)}/cancel/actions`;
|
|
101
125
|
};
|
|
102
126
|
exports.getCreateCancelOrderActionsPath = getCreateCancelOrderActionsPath;
|
|
103
127
|
const getCreateListingFulfillmentActionsPath = () => {
|
|
@@ -113,11 +137,11 @@ const getCreateOfferFulfillmentActionsPath = () => {
|
|
|
113
137
|
};
|
|
114
138
|
exports.getCreateOfferFulfillmentActionsPath = getCreateOfferFulfillmentActionsPath;
|
|
115
139
|
const getTraitOffersPath = (collectionSlug) => {
|
|
116
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${collectionSlug}/traits`;
|
|
140
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(collectionSlug)}/traits`;
|
|
117
141
|
};
|
|
118
142
|
exports.getTraitOffersPath = getTraitOffersPath;
|
|
119
143
|
const getOffersByNFTPath = (collectionSlug, identifier) => {
|
|
120
|
-
return `${exports.API_V2_PREFIX}/offers/collection/${collectionSlug}/nfts/${identifier}`;
|
|
144
|
+
return `${exports.API_V2_PREFIX}/offers/collection/${(0, exports.segment)(collectionSlug)}/nfts/${(0, exports.segment)(identifier)}`;
|
|
121
145
|
};
|
|
122
146
|
exports.getOffersByNFTPath = getOffersByNFTPath;
|
|
123
147
|
const getSweepListingsPath = () => {
|
|
@@ -137,25 +161,29 @@ const getEventsAPIPath = () => {
|
|
|
137
161
|
};
|
|
138
162
|
exports.getEventsAPIPath = getEventsAPIPath;
|
|
139
163
|
const getEventsByAccountAPIPath = (address) => {
|
|
140
|
-
return `${exports.API_V2_PREFIX}/events/accounts/${address}`;
|
|
164
|
+
return `${exports.API_V2_PREFIX}/events/accounts/${(0, exports.segment)(address)}`;
|
|
141
165
|
};
|
|
142
166
|
exports.getEventsByAccountAPIPath = getEventsByAccountAPIPath;
|
|
143
167
|
const getEventsByCollectionAPIPath = (collectionSlug) => {
|
|
144
|
-
return `${exports.API_V2_PREFIX}/events/collection/${collectionSlug}`;
|
|
168
|
+
return `${exports.API_V2_PREFIX}/events/collection/${(0, exports.segment)(collectionSlug)}`;
|
|
145
169
|
};
|
|
146
170
|
exports.getEventsByCollectionAPIPath = getEventsByCollectionAPIPath;
|
|
147
171
|
const getEventsByNFTAPIPath = (chain, address, identifier) => {
|
|
148
|
-
return `${exports.API_V2_PREFIX}/events/chain/${chain}/contract/${address}/nfts/${identifier}`;
|
|
172
|
+
return `${exports.API_V2_PREFIX}/events/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}`;
|
|
149
173
|
};
|
|
150
174
|
exports.getEventsByNFTAPIPath = getEventsByNFTAPIPath;
|
|
151
175
|
const getContractPath = (chain, address) => {
|
|
152
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}`;
|
|
176
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}`;
|
|
153
177
|
};
|
|
154
178
|
exports.getContractPath = getContractPath;
|
|
155
179
|
const getTraitsPath = (collectionSlug) => {
|
|
156
|
-
return `${exports.API_V2_PREFIX}/traits/${collectionSlug}`;
|
|
180
|
+
return `${exports.API_V2_PREFIX}/traits/${(0, exports.segment)(collectionSlug)}`;
|
|
157
181
|
};
|
|
158
182
|
exports.getTraitsPath = getTraitsPath;
|
|
183
|
+
const getCollectionTraitFloorsPath = (collectionSlug) => {
|
|
184
|
+
return `${exports.API_V2_PREFIX}/traits/${(0, exports.segment)(collectionSlug)}/floors`;
|
|
185
|
+
};
|
|
186
|
+
exports.getCollectionTraitFloorsPath = getCollectionTraitFloorsPath;
|
|
159
187
|
const getTrendingTokensPath = () => {
|
|
160
188
|
return `${exports.API_V2_PREFIX}/tokens/trending`;
|
|
161
189
|
};
|
|
@@ -169,7 +197,7 @@ const getSwapQuotePath = () => {
|
|
|
169
197
|
};
|
|
170
198
|
exports.getSwapQuotePath = getSwapQuotePath;
|
|
171
199
|
const getTokenPath = (chain, address) => {
|
|
172
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}`;
|
|
200
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}`;
|
|
173
201
|
};
|
|
174
202
|
exports.getTokenPath = getTokenPath;
|
|
175
203
|
const getSearchPath = () => {
|
|
@@ -181,11 +209,11 @@ const getChainsPath = () => {
|
|
|
181
209
|
};
|
|
182
210
|
exports.getChainsPath = getChainsPath;
|
|
183
211
|
const getAccountTokensPath = (address) => {
|
|
184
|
-
return `${exports.API_V2_PREFIX}/account/${address}/tokens`;
|
|
212
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/tokens`;
|
|
185
213
|
};
|
|
186
214
|
exports.getAccountTokensPath = getAccountTokensPath;
|
|
187
215
|
const getValidateMetadataPath = (chain, address, identifier) => {
|
|
188
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/validate-metadata`;
|
|
216
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/validate-metadata`;
|
|
189
217
|
};
|
|
190
218
|
exports.getValidateMetadataPath = getValidateMetadataPath;
|
|
191
219
|
const getDropsPath = () => {
|
|
@@ -193,15 +221,15 @@ const getDropsPath = () => {
|
|
|
193
221
|
};
|
|
194
222
|
exports.getDropsPath = getDropsPath;
|
|
195
223
|
const getDropPath = (slug) => {
|
|
196
|
-
return `${exports.API_V2_PREFIX}/drops/${slug}`;
|
|
224
|
+
return `${exports.API_V2_PREFIX}/drops/${(0, exports.segment)(slug)}`;
|
|
197
225
|
};
|
|
198
226
|
exports.getDropPath = getDropPath;
|
|
199
227
|
const getDropMintPath = (slug) => {
|
|
200
|
-
return `${exports.API_V2_PREFIX}/drops/${slug}/mint`;
|
|
228
|
+
return `${exports.API_V2_PREFIX}/drops/${(0, exports.segment)(slug)}/mint`;
|
|
201
229
|
};
|
|
202
230
|
exports.getDropMintPath = getDropMintPath;
|
|
203
231
|
const getCrossChainDropMintPath = (slug) => {
|
|
204
|
-
return `${exports.API_V2_PREFIX}/drops/${slug}/cross_chain_mint`;
|
|
232
|
+
return `${exports.API_V2_PREFIX}/drops/${(0, exports.segment)(slug)}/cross_chain_mint`;
|
|
205
233
|
};
|
|
206
234
|
exports.getCrossChainDropMintPath = getCrossChainDropMintPath;
|
|
207
235
|
const getTrendingCollectionsPath = () => {
|
|
@@ -213,15 +241,15 @@ const getTopCollectionsPath = () => {
|
|
|
213
241
|
};
|
|
214
242
|
exports.getTopCollectionsPath = getTopCollectionsPath;
|
|
215
243
|
const getResolveAccountPath = (identifier) => {
|
|
216
|
-
return `${exports.API_V2_PREFIX}/accounts/resolve/${identifier}`;
|
|
244
|
+
return `${exports.API_V2_PREFIX}/accounts/resolve/${(0, exports.segment)(identifier)}`;
|
|
217
245
|
};
|
|
218
246
|
exports.getResolveAccountPath = getResolveAccountPath;
|
|
219
247
|
const getNFTCollectionPath = (chain, address, identifier) => {
|
|
220
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/collection`;
|
|
248
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/collection`;
|
|
221
249
|
};
|
|
222
250
|
exports.getNFTCollectionPath = getNFTCollectionPath;
|
|
223
251
|
const getNFTMetadataPath = (chain, contractAddress, tokenId) => {
|
|
224
|
-
return `${exports.API_V2_PREFIX}/metadata/${chain}/${contractAddress}/${tokenId}`;
|
|
252
|
+
return `${exports.API_V2_PREFIX}/metadata/${(0, exports.segment)(chain)}/${(0, exports.segment)(contractAddress)}/${(0, exports.segment)(tokenId)}`;
|
|
225
253
|
};
|
|
226
254
|
exports.getNFTMetadataPath = getNFTMetadataPath;
|
|
227
255
|
const getTokenGroupsPath = () => {
|
|
@@ -229,7 +257,7 @@ const getTokenGroupsPath = () => {
|
|
|
229
257
|
};
|
|
230
258
|
exports.getTokenGroupsPath = getTokenGroupsPath;
|
|
231
259
|
const getTokenGroupPath = (slug) => {
|
|
232
|
-
return `${exports.API_V2_PREFIX}/token-groups/${slug}`;
|
|
260
|
+
return `${exports.API_V2_PREFIX}/token-groups/${(0, exports.segment)(slug)}`;
|
|
233
261
|
};
|
|
234
262
|
exports.getTokenGroupPath = getTokenGroupPath;
|
|
235
263
|
const getCrossChainFulfillmentDataPath = () => {
|
|
@@ -264,7 +292,7 @@ const getDeployDropPath = () => {
|
|
|
264
292
|
};
|
|
265
293
|
exports.getDeployDropPath = getDeployDropPath;
|
|
266
294
|
const getDeployDropReceiptPath = (chain, txHash) => {
|
|
267
|
-
return `${exports.API_V2_PREFIX}/drops/deploy/${chain}/${txHash}/receipt`;
|
|
295
|
+
return `${exports.API_V2_PREFIX}/drops/deploy/${(0, exports.segment)(chain)}/${(0, exports.segment)(txHash)}/receipt`;
|
|
268
296
|
};
|
|
269
297
|
exports.getDeployDropReceiptPath = getDeployDropReceiptPath;
|
|
270
298
|
// ── Assets transfer ─────────────────────────────────────────────────
|
|
@@ -274,94 +302,94 @@ const getTransferAssetsPath = () => {
|
|
|
274
302
|
exports.getTransferAssetsPath = getTransferAssetsPath;
|
|
275
303
|
// ── Collection analytics ────────────────────────────────────────────
|
|
276
304
|
const getCollectionOfferAggregatesPath = (slug) => {
|
|
277
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}/offer_aggregates`;
|
|
305
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}/offer_aggregates`;
|
|
278
306
|
};
|
|
279
307
|
exports.getCollectionOfferAggregatesPath = getCollectionOfferAggregatesPath;
|
|
280
308
|
const getCollectionHoldersPath = (slug) => {
|
|
281
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}/holders`;
|
|
309
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}/holders`;
|
|
282
310
|
};
|
|
283
311
|
exports.getCollectionHoldersPath = getCollectionHoldersPath;
|
|
284
312
|
const getCollectionFloorPricesPath = (slug) => {
|
|
285
|
-
return `${exports.API_V2_PREFIX}/collections/${slug}/floor_prices`;
|
|
313
|
+
return `${exports.API_V2_PREFIX}/collections/${(0, exports.segment)(slug)}/floor_prices`;
|
|
286
314
|
};
|
|
287
315
|
exports.getCollectionFloorPricesPath = getCollectionFloorPricesPath;
|
|
288
316
|
// ── Token analytics ─────────────────────────────────────────────────
|
|
289
317
|
const getTokenPriceHistoryPath = (chain, address) => {
|
|
290
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/price_history`;
|
|
318
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/price_history`;
|
|
291
319
|
};
|
|
292
320
|
exports.getTokenPriceHistoryPath = getTokenPriceHistoryPath;
|
|
293
321
|
const getTokenOhlcvPath = (chain, address) => {
|
|
294
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/ohlcv`;
|
|
322
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/ohlcv`;
|
|
295
323
|
};
|
|
296
324
|
exports.getTokenOhlcvPath = getTokenOhlcvPath;
|
|
297
325
|
const getTokenActivityPath = (chain, address) => {
|
|
298
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/activity`;
|
|
326
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/activity`;
|
|
299
327
|
};
|
|
300
328
|
exports.getTokenActivityPath = getTokenActivityPath;
|
|
301
329
|
const getTokenActivityStatsPath = (chain, address) => {
|
|
302
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/activity/stats`;
|
|
330
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/activity/stats`;
|
|
303
331
|
};
|
|
304
332
|
exports.getTokenActivityStatsPath = getTokenActivityStatsPath;
|
|
305
333
|
const getAccountTokenActivityPath = (address) => {
|
|
306
|
-
return `${exports.API_V2_PREFIX}/account/${address}/token-activity`;
|
|
334
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/token-activity`;
|
|
307
335
|
};
|
|
308
336
|
exports.getAccountTokenActivityPath = getAccountTokenActivityPath;
|
|
309
337
|
const getTokenHoldersPath = (chain, address) => {
|
|
310
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/holders`;
|
|
338
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/holders`;
|
|
311
339
|
};
|
|
312
340
|
exports.getTokenHoldersPath = getTokenHoldersPath;
|
|
313
341
|
const getTokenLiquidityPoolsPath = (chain, address) => {
|
|
314
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/token/${address}/liquidity-pools`;
|
|
342
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/token/${(0, exports.segment)(address)}/liquidity-pools`;
|
|
315
343
|
};
|
|
316
344
|
exports.getTokenLiquidityPoolsPath = getTokenLiquidityPoolsPath;
|
|
317
345
|
// ── NFT analytics ───────────────────────────────────────────────────
|
|
318
346
|
const getNFTOwnersPath = (chain, address, identifier) => {
|
|
319
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/owners`;
|
|
347
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/owners`;
|
|
320
348
|
};
|
|
321
349
|
exports.getNFTOwnersPath = getNFTOwnersPath;
|
|
322
350
|
const getNFTAnalyticsPath = (chain, address, identifier) => {
|
|
323
|
-
return `${exports.API_V2_PREFIX}/chain/${chain}/contract/${address}/nfts/${identifier}/analytics`;
|
|
351
|
+
return `${exports.API_V2_PREFIX}/chain/${(0, exports.segment)(chain)}/contract/${(0, exports.segment)(address)}/nfts/${(0, exports.segment)(identifier)}/analytics`;
|
|
324
352
|
};
|
|
325
353
|
exports.getNFTAnalyticsPath = getNFTAnalyticsPath;
|
|
326
354
|
// ── Account portfolio / profile ─────────────────────────────────────
|
|
327
355
|
const getPortfolioStatsPath = (address) => {
|
|
328
|
-
return `${exports.API_V2_PREFIX}/account/${address}/portfolio`;
|
|
356
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/portfolio`;
|
|
329
357
|
};
|
|
330
358
|
exports.getPortfolioStatsPath = getPortfolioStatsPath;
|
|
331
359
|
const getPortfolioHistoryPath = (address) => {
|
|
332
|
-
return `${exports.API_V2_PREFIX}/account/${address}/portfolio/history`;
|
|
360
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/portfolio/history`;
|
|
333
361
|
};
|
|
334
362
|
exports.getPortfolioHistoryPath = getPortfolioHistoryPath;
|
|
335
363
|
const getProfileOffersReceivedPath = (address) => {
|
|
336
|
-
return `${exports.API_V2_PREFIX}/account/${address}/offers_received`;
|
|
364
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/offers_received`;
|
|
337
365
|
};
|
|
338
366
|
exports.getProfileOffersReceivedPath = getProfileOffersReceivedPath;
|
|
339
367
|
const getProfileOffersPath = (address) => {
|
|
340
|
-
return `${exports.API_V2_PREFIX}/account/${address}/offers`;
|
|
368
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/offers`;
|
|
341
369
|
};
|
|
342
370
|
exports.getProfileOffersPath = getProfileOffersPath;
|
|
343
371
|
const getProfileListingsPath = (address) => {
|
|
344
|
-
return `${exports.API_V2_PREFIX}/account/${address}/listings`;
|
|
372
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/listings`;
|
|
345
373
|
};
|
|
346
374
|
exports.getProfileListingsPath = getProfileListingsPath;
|
|
347
375
|
const getProfileFavoritesPath = (address) => {
|
|
348
|
-
return `${exports.API_V2_PREFIX}/account/${address}/favorites`;
|
|
376
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/favorites`;
|
|
349
377
|
};
|
|
350
378
|
exports.getProfileFavoritesPath = getProfileFavoritesPath;
|
|
351
379
|
const getWalletPnlPath = (address) => {
|
|
352
|
-
return `${exports.API_V2_PREFIX}/account/${address}/pnl`;
|
|
380
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/pnl`;
|
|
353
381
|
};
|
|
354
382
|
exports.getWalletPnlPath = getWalletPnlPath;
|
|
355
383
|
const getWalletClosedPositionsPath = (address) => {
|
|
356
|
-
return `${exports.API_V2_PREFIX}/account/${address}/pnl/closed-positions`;
|
|
384
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/pnl/closed-positions`;
|
|
357
385
|
};
|
|
358
386
|
exports.getWalletClosedPositionsPath = getWalletClosedPositionsPath;
|
|
359
387
|
const getWalletTokenTransfersPath = (address) => {
|
|
360
|
-
return `${exports.API_V2_PREFIX}/account/${address}/pnl/token-transfers`;
|
|
388
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/pnl/token-transfers`;
|
|
361
389
|
};
|
|
362
390
|
exports.getWalletTokenTransfersPath = getWalletTokenTransfersPath;
|
|
363
391
|
const getProfileCollectionsPath = (address) => {
|
|
364
|
-
return `${exports.API_V2_PREFIX}/account/${address}/collections`;
|
|
392
|
+
return `${exports.API_V2_PREFIX}/account/${(0, exports.segment)(address)}/collections`;
|
|
365
393
|
};
|
|
366
394
|
exports.getProfileCollectionsPath = getProfileCollectionsPath;
|
|
367
395
|
//# sourceMappingURL=apiPaths.js.map
|
package/lib/api/apiPaths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiPaths.js","sourceRoot":"","sources":["../../src/api/apiPaths.ts"],"names":[],"mappings":";;;;AAGA,yDAAyD;AAC5C,QAAA,aAAa,GAAG,SAAS,CAAA;AAE/B,MAAM,kBAAkB,GAAG,CAAC,KAAY,EAAE,QAAuB,EAAE,EAAE;IAC1E,OAAO,GAAG,qBAAa,WAAW,KAAK,IAAI,QAAQ,WAAW,CAAA;AAChE,CAAC,CAAA;AAFY,QAAA,kBAAkB,sBAE9B;AAEM,MAAM,gBAAgB,GAAG,CAAC,KAAY,EAAE,QAAuB,EAAE,EAAE;IACxE,OAAO,GAAG,qBAAa,WAAW,KAAK,IAAI,QAAQ,SAAS,CAAA;AAC9D,CAAC,CAAA;AAFY,QAAA,gBAAgB,oBAE5B;AAEM,MAAM,mBAAmB,GAAG,CAAC,cAAsB,EAAE,EAAE;IAC5D,OAAO,GAAG,qBAAa,sBAAsB,cAAc,MAAM,CAAA;AACnE,CAAC,CAAA;AAFY,QAAA,mBAAmB,uBAE/B;AAEM,MAAM,qBAAqB,G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../types";
|
|
2
2
|
import type { Fetcher } from "./fetcher";
|
|
3
|
-
import { type BatchCollectionsRequest, type CollectionBatchResponse, type CollectionFloorPricesArgs, type CollectionHoldersArgs, type CollectionHoldersPaginatedResponse, type CollectionOfferAggregatesPaginatedResponse, CollectionOrderByOption, type FloorPriceHistoryResponse, type GetCollectionsPaginatedResponse, type GetCollectionsResponse, type GetTopCollectionsArgs, type GetTraitsResponse, type GetTrendingCollectionsArgs, type PaginatedAnalyticsArgs } from "./types";
|
|
3
|
+
import { type BatchCollectionsRequest, type CollectionBatchResponse, type CollectionFloorPricesArgs, type CollectionHoldersArgs, type CollectionHoldersPaginatedResponse, type CollectionOfferAggregatesPaginatedResponse, CollectionOrderByOption, type FloorPriceHistoryResponse, type GetCollectionsPaginatedResponse, type GetCollectionsResponse, type GetTopCollectionsArgs, type GetTraitsResponse, type GetTrendingCollectionsArgs, type PaginatedAnalyticsArgs, type TraitFloorsResponse } from "./types";
|
|
4
4
|
/**
|
|
5
5
|
* Collection-related API operations
|
|
6
6
|
*/
|
|
@@ -11,6 +11,15 @@ export declare class CollectionsAPI {
|
|
|
11
11
|
* Fetch an OpenSea collection.
|
|
12
12
|
*/
|
|
13
13
|
getCollection(slug: string): Promise<OpenSeaCollection>;
|
|
14
|
+
/**
|
|
15
|
+
* Fetch floor prices per trait value for a collection.
|
|
16
|
+
*
|
|
17
|
+
* Covers text traits that have at least one active listing, ordered by trait type, then value,
|
|
18
|
+
* then price. Numeric traits are not enumerated here; use {@link getTraits} for their min/max
|
|
19
|
+
* range. Every floor in the response is denominated on the collection's own chain, identified by
|
|
20
|
+
* `chain` plus each entry's `paymentTokenSymbol`.
|
|
21
|
+
*/
|
|
22
|
+
getCollectionTraitFloors(slug: string): Promise<TraitFloorsResponse>;
|
|
14
23
|
/**
|
|
15
24
|
* Fetch a list of OpenSea collections.
|
|
16
25
|
*/
|
package/lib/api/collections.js
CHANGED
|
@@ -18,6 +18,17 @@ class CollectionsAPI {
|
|
|
18
18
|
const path = (0, apiPaths_1.getCollectionPath)(slug);
|
|
19
19
|
return this.fetcher.get(path);
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Fetch floor prices per trait value for a collection.
|
|
23
|
+
*
|
|
24
|
+
* Covers text traits that have at least one active listing, ordered by trait type, then value,
|
|
25
|
+
* then price. Numeric traits are not enumerated here; use {@link getTraits} for their min/max
|
|
26
|
+
* range. Every floor in the response is denominated on the collection's own chain, identified by
|
|
27
|
+
* `chain` plus each entry's `paymentTokenSymbol`.
|
|
28
|
+
*/
|
|
29
|
+
async getCollectionTraitFloors(slug) {
|
|
30
|
+
return this.fetcher.get((0, apiPaths_1.getCollectionTraitFloorsPath)(slug));
|
|
31
|
+
}
|
|
21
32
|
/**
|
|
22
33
|
* Fetch a list of OpenSea collections.
|
|
23
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../src/api/collections.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../src/api/collections.ts"],"names":[],"mappings":";;;AACA,yCAYmB;AAEnB,mCAkBgB;AAEhB;;GAEG;AACH,MAAa,cAAc;IACL;IAApB,YAAoB,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;IAAG,CAAC;IAExC;;OAEG;IACH,KAAK,CAAC,aAAa,CAAC,IAAY;QAC9B,MAAM,IAAI,GAAG,IAAA,4BAAiB,EAAC,IAAI,CAAC,CAAA;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAwB,IAAI,CAAC,CAAA;IACtD,CAAC;IAED;;;;;;;OAOG;IACH,KAAK,CAAC,wBAAwB,CAAC,IAAY;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,uCAA4B,EAAC,IAAI,CAAC,CACnC,CAAA;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,cAAc,CAClB,UAAmC,+BAAuB,CA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,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC;SAChC,CACF,CAAA;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAAgC;QAEhC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,IAAA,kCAAuB,GAAE,EACzB,OAAO,CACR,CAAA;IACH,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,4BAA4B,CAChC,IAAY,EACZ,IAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,2CAAgC,EAAC,IAAI,CAAC,EACtC,IAAI,CACL,CAAA;IACH,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,oBAAoB,CACxB,IAAY,EACZ,IAA4B;QAE5B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,mCAAwB,EAAC,IAAI,CAAC,EAC9B,IAAI,CACL,CAAA;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,wBAAwB,CAC5B,IAAY,EACZ,IAAgC;QAEhC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CACrB,IAAA,uCAA4B,EAAC,IAAI,CAAC,EAClC,IAAI,CACL,CAAA;IACH,CAAC;CACF;AAjKD,wCAiKC"}
|
package/lib/api/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountResolveResponse, AccountSearchResponse as ApiAccountSearchResponse, AgentProfileRelationshipsResponse as ApiAgentProfileRelationshipsResponse, BuildOfferResponse as ApiBuildOfferResponse, CancelResponse as ApiCancelResponse, CollectionSearchResponse as ApiCollectionSearchResponse, DropMintRequest as ApiDropMintRequest, DropMintResponse as ApiDropMintResponse, Listing as ApiListing, Nft as ApiNft, NftSearchResponse as ApiNftSearchResponse, Offer as ApiOffer, Order as ApiOrder, OrderAsset as ApiOrderAsset, Payment as ApiPayment, Price as ApiPrice, SearchResponse as ApiSearchResponse, SearchResultResponse as ApiSearchResultResponse, SvmInstructionAccountResponse as ApiSvmInstructionAccountResponse, SvmInstructionResponse as ApiSvmInstructionResponse, SvmTransactionDetailsResponse as ApiSvmTransactionDetailsResponse, SwapExecuteRequest as ApiSwapExecuteRequest, SwapExecuteResponse as ApiSwapExecuteResponse, SwapQuoteResponse as ApiSwapQuoteResponse, SweepCollectionRequest as ApiSweepCollectionRequest, SweepCollectionResponse as ApiSweepCollectionResponse, TokenDetailedResponse as ApiTokenDetailedResponse, TokenResponse as ApiTokenResponse, TokenSearchResponse as ApiTokenSearchResponse, Trait as ApiTrait, TransactionReceiptRequest as ApiTransactionReceiptRequest, TransactionReceiptResponse as ApiTransactionReceiptResponse, ValidateMetadataResponse as ApiValidateMetadataResponse, WalletVisibilityResponse as ApiWalletVisibilityResponse, AssetMetadataResponse, ChainListResponse, ChainResponse, ContractResponse, DropDetailedResponse, DropResponse, DropStageResponse, InstantApiKeyResponse, ListingsResponse, NftDetailed, NftListResponse, NftResponse, OffersResponse, TokenAccountActivityPaginatedResponse, TokenBalancePaginatedResponse, TokenBalanceResponse, TokenGroupPaginatedResponse, TokenGroupResponse, TokenPaginatedResponse } from "@opensea/api-types";
|
|
1
|
+
import type { AccountResolveResponse, AccountSearchResponse as ApiAccountSearchResponse, AgentProfileRelationshipsResponse as ApiAgentProfileRelationshipsResponse, BuildOfferResponse as ApiBuildOfferResponse, CancelResponse as ApiCancelResponse, CollectionSearchResponse as ApiCollectionSearchResponse, DropMintRequest as ApiDropMintRequest, DropMintResponse as ApiDropMintResponse, Listing as ApiListing, Nft as ApiNft, NftSearchResponse as ApiNftSearchResponse, Offer as ApiOffer, Order as ApiOrder, OrderAsset as ApiOrderAsset, Payment as ApiPayment, Price as ApiPrice, SearchResponse as ApiSearchResponse, SearchResultResponse as ApiSearchResultResponse, SvmInstructionAccountResponse as ApiSvmInstructionAccountResponse, SvmInstructionResponse as ApiSvmInstructionResponse, SvmTransactionDetailsResponse as ApiSvmTransactionDetailsResponse, SwapExecuteRequest as ApiSwapExecuteRequest, SwapExecuteResponse as ApiSwapExecuteResponse, SwapQuoteResponse as ApiSwapQuoteResponse, SweepCollectionRequest as ApiSweepCollectionRequest, SweepCollectionResponse as ApiSweepCollectionResponse, TokenDetailedResponse as ApiTokenDetailedResponse, TokenResponse as ApiTokenResponse, TokenSearchResponse as ApiTokenSearchResponse, Trait as ApiTrait, TraitFloorResponse as ApiTraitFloorResponse, TraitFloorsResponse as ApiTraitFloorsResponse, TransactionReceiptRequest as ApiTransactionReceiptRequest, TransactionReceiptResponse as ApiTransactionReceiptResponse, ValidateMetadataResponse as ApiValidateMetadataResponse, WalletVisibilityResponse as ApiWalletVisibilityResponse, AssetMetadataResponse, ChainListResponse, ChainResponse, ContractResponse, DropDetailedResponse, DropResponse, DropStageResponse, InstantApiKeyResponse, ListingsResponse, NftDetailed, NftListResponse, NftResponse, OffersResponse, TokenAccountActivityPaginatedResponse, TokenBalancePaginatedResponse, TokenBalanceResponse, TokenGroupPaginatedResponse, TokenGroupResponse, TokenPaginatedResponse } from "@opensea/api-types";
|
|
2
2
|
import type { OrderType, ProtocolData } from "../orders/types";
|
|
3
3
|
import type { OpenSeaCollection } from "../types";
|
|
4
4
|
import type { Camelize } from "../utils/case";
|
|
@@ -985,6 +985,16 @@ export type CollectionOfferAggregatesPaginatedResponse = Camelize<ApiCollectionO
|
|
|
985
985
|
export type CreateCancelOrderActionsResponse = Camelize<ApiCancelOrderActionsResponse>;
|
|
986
986
|
export type CreateListingActionsResponse = Camelize<ApiCreateListingActionsResponse>;
|
|
987
987
|
export type CreateListingFulfillmentActionsResponse = Camelize<ApiFulfillmentActionsResponse>;
|
|
988
|
+
/**
|
|
989
|
+
* Floor price for one trait value in one payment currency.
|
|
990
|
+
* @category API Models
|
|
991
|
+
*/
|
|
992
|
+
export type TraitFloor = Camelize<ApiTraitFloorResponse>;
|
|
993
|
+
/**
|
|
994
|
+
* Per-trait floor prices for a collection.
|
|
995
|
+
* @category API Response Types
|
|
996
|
+
*/
|
|
997
|
+
export type TraitFloorsResponse = Camelize<ApiTraitFloorsResponse>;
|
|
988
998
|
export type CreateOfferActionsResponse = Camelize<ApiCreateOfferActionsResponse>;
|
|
989
999
|
export type CreateOfferFulfillmentActionsResponse = Camelize<ApiFulfillmentActionsResponse>;
|
|
990
1000
|
export type CrossChainDropMintResponse = Camelize<ApiCrossChainDropMintResponse>;
|
package/lib/api/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/api/types.ts"],"names":[],"mappings":";;;AA4FA,8CAIC;AAVD;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,MAAiC;IAEjC,OAAO,MAAM,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;AACzE,CAAC;AA0ED,IAAY,uBAOX;AAPD,WAAY,uBAAuB;IACjC,wDAA6B,CAAA;IAC7B,4DAAiC,CAAA;IACjC,gEAAqC,CAAA;IACrC,gEAAqC,CAAA;IACrC,oDAAyB,CAAA;IACzB,oDAAyB,CAAA;AAC3B,CAAC,EAPW,uBAAuB,uCAAvB,uBAAuB,QAOlC;AAED;;;GAGG;AACH,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,sCAAuB,CAAA;IACvB,kCAAmB,CAAA;IACnB,sCAAuB,CAAA;AACzB,CAAC,EANW,WAAW,2BAAX,WAAW,QAMtB;AA2ND;;;;GAIG;AACH,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,yDAAqC,CAAA;IACrC,iDAA6B,CAAA;IAC7B,qCAAiB,CAAA;IACjB,iCAAa,CAAA;IACb,uCAAuC;IACvC,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