@0xsequence/marketplace-sdk 0.4.9 → 0.5.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/dist/{chunk-BMWCIHCB.js → chunk-5NORRVPM.js} +1 -1
- package/dist/{chunk-BMWCIHCB.js.map → chunk-5NORRVPM.js.map} +1 -1
- package/dist/{chunk-ATDCYXXV.js → chunk-6YHHCGGY.js} +2 -2
- package/dist/{chunk-CUA4SGWT.js → chunk-HV2X2VZN.js} +366 -192
- package/dist/chunk-HV2X2VZN.js.map +1 -0
- package/dist/{chunk-Y3KINNAU.js → chunk-J2XJZ6SJ.js} +2 -2
- package/dist/{chunk-TFCSNRD5.js → chunk-LJAB3S6U.js} +1 -1
- package/dist/chunk-LJAB3S6U.js.map +1 -0
- package/dist/{chunk-BJLOO4NP.js → chunk-OUVFTA63.js} +30 -26
- package/dist/chunk-OUVFTA63.js.map +1 -0
- package/dist/{chunk-XXML5K3X.js → chunk-QTJF5GDQ.js} +2 -2
- package/dist/{chunk-LF44FCG5.js → chunk-TQWM4ER6.js} +2 -2
- package/dist/{chunk-LF44FCG5.js.map → chunk-TQWM4ER6.js.map} +1 -1
- package/dist/{chunk-7HWJ4DUX.js → chunk-WSCUPAGR.js} +7 -3
- package/dist/chunk-WSCUPAGR.js.map +1 -0
- package/dist/{create-config-CgYQDyMD.d.ts → create-config-BXvwUh55.d.ts} +2 -2
- package/dist/index.css +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/{marketplace-config-BP5-XnFG.d.ts → marketplace-config-znEu4L0K.d.ts} +1 -1
- package/dist/{marketplace.gen-BzmWLP9L.d.ts → marketplace.gen-CCJ-URn2.d.ts} +2 -0
- package/dist/react/_internal/api/index.d.ts +3 -2
- package/dist/react/_internal/api/index.js +1 -1
- package/dist/react/_internal/index.d.ts +5 -5
- package/dist/react/_internal/index.js +1 -1
- package/dist/react/_internal/wagmi/index.d.ts +3 -3
- package/dist/react/hooks/index.d.ts +208 -74
- package/dist/react/hooks/index.js +10 -4
- package/dist/react/index.css +2 -2
- package/dist/react/index.css.map +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +14 -8
- package/dist/react/ssr/index.js +4 -0
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/collectible-card/index.css +2 -2
- package/dist/react/ui/components/collectible-card/index.css.map +1 -1
- package/dist/react/ui/components/collectible-card/index.d.ts +3 -3
- package/dist/react/ui/components/collectible-card/index.js +8 -8
- package/dist/react/ui/icons/index.js +3 -3
- package/dist/react/ui/index.css +2 -2
- package/dist/react/ui/index.css.map +1 -1
- package/dist/react/ui/index.d.ts +3 -3
- package/dist/react/ui/index.js +8 -8
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +5 -5
- package/dist/{sdk-config-LbbmA85k.d.ts → sdk-config-B32_2bG3.d.ts} +4 -2
- package/dist/{services-DW26ougH.d.ts → services-BRBVE0mm.d.ts} +1 -1
- package/dist/styles/index.css +2 -2
- package/dist/styles/index.css.map +1 -1
- package/dist/styles/index.js +2 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +1 -1
- package/dist/{types-DhTZWw1U.d.ts → types-Yto6KrTN.d.ts} +2 -2
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +1 -1
- package/package.json +16 -16
- package/src/react/_internal/api/marketplace.gen.ts +6 -3
- package/src/react/_internal/api/query-keys.ts +4 -0
- package/src/react/hooks/index.ts +2 -0
- package/src/react/hooks/useAutoSelectFeeOption.tsx +104 -0
- package/src/react/hooks/useCancelOrder.tsx +57 -1
- package/src/react/hooks/useCollectionBalanceDetails.tsx +87 -0
- package/src/react/ui/components/collectible-card/CollectibleCard.tsx +10 -12
- package/src/react/ui/components/collectible-card/styles.css.ts +1 -1
- package/src/react/ui/icons/CartIcon.tsx +2 -2
- package/src/react/ui/modals/BuyModal/hooks/useBuyCollectable.ts +7 -4
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/useHandleTransfer.tsx +5 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/chunk-7HWJ4DUX.js.map +0 -1
- package/dist/chunk-BJLOO4NP.js.map +0 -1
- package/dist/chunk-CUA4SGWT.js.map +0 -1
- package/dist/chunk-TFCSNRD5.js.map +0 -1
- /package/dist/{chunk-ATDCYXXV.js.map → chunk-6YHHCGGY.js.map} +0 -0
- /package/dist/{chunk-Y3KINNAU.js.map → chunk-J2XJZ6SJ.js.map} +0 -0
- /package/dist/{chunk-XXML5K3X.js.map → chunk-QTJF5GDQ.js.map} +0 -0
|
@@ -1,14 +1,50 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import * as _0xsequence_indexer from '@0xsequence/indexer';
|
|
3
|
-
import { Page, SortOrder } from '@0xsequence/indexer';
|
|
3
|
+
import { GetTokenBalancesDetailsReturn, Page, SortOrder } from '@0xsequence/indexer';
|
|
4
4
|
import * as _0xsequence_network from '@0xsequence/network';
|
|
5
5
|
import { Hex, Address } from 'viem';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { Q as QueryArgSchema, c as ChainId } from '../../types-
|
|
8
|
-
import { Q as SdkConfig, P as PropertyType, M as MarketplaceKind, b as OrderSide, $ as CurrencyStatus, w as Currency, o as CollectibleOrder, aN as GetCollectibleHighestOfferReturn, S as SortOrder$1, q as Activity, i as Page$1, b7 as ListCollectiblesReturn, aV as ListCollectibleOffersReturn, aJ as GetCountOfOffersForCollectibleReturn, aT as ListCollectibleListingsReturn, aH as GetCountOfListingsForCollectibleReturn, aP as GetCollectibleLowestListingReturn, z as Step, D as CreateReq, a_ as GenerateListingTransactionArgs, b0 as GenerateOfferTransactionArgs, aY as GenerateSellTransactionArgs, g as StepType, E as ExecuteType, b2 as GenerateCancelTransactionArgs, C as ContractType, bt as CheckoutOptionsMarketplaceReturn, W as WalletKind, r as Collection } from '../../sdk-config-
|
|
7
|
+
import { Q as QueryArgSchema, c as ChainId } from '../../types-Yto6KrTN.js';
|
|
8
|
+
import { Q as SdkConfig, P as PropertyType, M as MarketplaceKind, b as OrderSide, $ as CurrencyStatus, w as Currency, o as CollectibleOrder, aN as GetCollectibleHighestOfferReturn, S as SortOrder$1, q as Activity, i as Page$1, b7 as ListCollectiblesReturn, aV as ListCollectibleOffersReturn, aJ as GetCountOfOffersForCollectibleReturn, aT as ListCollectibleListingsReturn, aH as GetCountOfListingsForCollectibleReturn, aP as GetCollectibleLowestListingReturn, z as Step, D as CreateReq, a_ as GenerateListingTransactionArgs, b0 as GenerateOfferTransactionArgs, aY as GenerateSellTransactionArgs, g as StepType, E as ExecuteType, b2 as GenerateCancelTransactionArgs, C as ContractType, bt as CheckoutOptionsMarketplaceReturn, W as WalletKind, r as Collection } from '../../sdk-config-B32_2bG3.js';
|
|
9
9
|
import * as _0xsequence_metadata from '@0xsequence/metadata';
|
|
10
|
-
import { c as getMarketplaceClient } from '../../services-
|
|
11
|
-
import { M as MarketplaceConfig } from '../../marketplace-config-
|
|
10
|
+
import { c as getMarketplaceClient } from '../../services-BRBVE0mm.js';
|
|
11
|
+
import { M as MarketplaceConfig } from '../../marketplace-config-znEu4L0K.js';
|
|
12
|
+
|
|
13
|
+
type FeeOption = {
|
|
14
|
+
gasLimit: number;
|
|
15
|
+
to: string;
|
|
16
|
+
token: {
|
|
17
|
+
chainId: number;
|
|
18
|
+
contractAddress: string | null;
|
|
19
|
+
decimals: number;
|
|
20
|
+
logoURL: string;
|
|
21
|
+
name: string;
|
|
22
|
+
symbol: string;
|
|
23
|
+
tokenID: string | null;
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
value: string;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
type Error$1 = 'User not connected' | 'No options provided' | 'Insufficient balance for any fee option' | 'Failed to check balances';
|
|
30
|
+
type UseAutoSelectFeeOptionArgs = {
|
|
31
|
+
pendingFeeOptionConfirmation: {
|
|
32
|
+
id: string;
|
|
33
|
+
options: FeeOption[] | undefined;
|
|
34
|
+
chainId: number;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type AutoSelectFeeOptionResult = Promise<{
|
|
38
|
+
selectedOption: FeeOption | null;
|
|
39
|
+
error: Error$1 | null;
|
|
40
|
+
isLoading: boolean;
|
|
41
|
+
}>;
|
|
42
|
+
/**
|
|
43
|
+
* Automatically selects the first fee option that user has enough balance for
|
|
44
|
+
* @param pendingFeeOptionConfirmation
|
|
45
|
+
* @returns The selected fee option, an error message if any, and a loading flag
|
|
46
|
+
*/
|
|
47
|
+
declare function useAutoSelectFeeOption({ pendingFeeOptionConfirmation, }: UseAutoSelectFeeOptionArgs): AutoSelectFeeOptionResult;
|
|
12
48
|
|
|
13
49
|
declare const fetchBalanceOfCollectibleSchema: z.ZodObject<{
|
|
14
50
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -65,14 +101,14 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
65
101
|
type: PropertyType;
|
|
66
102
|
name: string;
|
|
67
103
|
values?: any[] | undefined;
|
|
68
|
-
min?: number | undefined;
|
|
69
104
|
max?: number | undefined;
|
|
105
|
+
min?: number | undefined;
|
|
70
106
|
}, {
|
|
71
107
|
type: PropertyType;
|
|
72
108
|
name: string;
|
|
73
109
|
values?: any[] | undefined;
|
|
74
|
-
min?: number | undefined;
|
|
75
110
|
max?: number | undefined;
|
|
111
|
+
min?: number | undefined;
|
|
76
112
|
}>, "many">>;
|
|
77
113
|
marketplaces: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MarketplaceKind>, "many">>;
|
|
78
114
|
inAccounts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -86,8 +122,8 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
86
122
|
type: PropertyType;
|
|
87
123
|
name: string;
|
|
88
124
|
values?: any[] | undefined;
|
|
89
|
-
min?: number | undefined;
|
|
90
125
|
max?: number | undefined;
|
|
126
|
+
min?: number | undefined;
|
|
91
127
|
}[] | undefined;
|
|
92
128
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
93
129
|
inAccounts?: string[] | undefined;
|
|
@@ -101,8 +137,8 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
101
137
|
type: PropertyType;
|
|
102
138
|
name: string;
|
|
103
139
|
values?: any[] | undefined;
|
|
104
|
-
min?: number | undefined;
|
|
105
140
|
max?: number | undefined;
|
|
141
|
+
min?: number | undefined;
|
|
106
142
|
}[] | undefined;
|
|
107
143
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
108
144
|
inAccounts?: string[] | undefined;
|
|
@@ -119,8 +155,8 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
119
155
|
type: PropertyType;
|
|
120
156
|
name: string;
|
|
121
157
|
values?: any[] | undefined;
|
|
122
|
-
min?: number | undefined;
|
|
123
158
|
max?: number | undefined;
|
|
159
|
+
min?: number | undefined;
|
|
124
160
|
}[] | undefined;
|
|
125
161
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
126
162
|
inAccounts?: string[] | undefined;
|
|
@@ -129,8 +165,8 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
129
165
|
ordersNotCreatedBy?: string[] | undefined;
|
|
130
166
|
};
|
|
131
167
|
chainId: string;
|
|
132
|
-
collectionAddress: `0x${string}`;
|
|
133
168
|
side: OrderSide;
|
|
169
|
+
collectionAddress: `0x${string}`;
|
|
134
170
|
query?: {
|
|
135
171
|
enabled?: boolean | undefined;
|
|
136
172
|
} | undefined;
|
|
@@ -142,8 +178,8 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
142
178
|
type: PropertyType;
|
|
143
179
|
name: string;
|
|
144
180
|
values?: any[] | undefined;
|
|
145
|
-
min?: number | undefined;
|
|
146
181
|
max?: number | undefined;
|
|
182
|
+
min?: number | undefined;
|
|
147
183
|
}[] | undefined;
|
|
148
184
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
149
185
|
inAccounts?: string[] | undefined;
|
|
@@ -152,8 +188,8 @@ declare const UseCountOfCollectableSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.
|
|
|
152
188
|
ordersNotCreatedBy?: string[] | undefined;
|
|
153
189
|
};
|
|
154
190
|
chainId: string | number;
|
|
155
|
-
collectionAddress: string;
|
|
156
191
|
side: OrderSide;
|
|
192
|
+
collectionAddress: string;
|
|
157
193
|
query?: {
|
|
158
194
|
enabled?: boolean | undefined;
|
|
159
195
|
} | undefined;
|
|
@@ -198,8 +234,8 @@ declare const countOfCollectablesOptions: (args: UseCountOfCollectablesArgs, con
|
|
|
198
234
|
type: PropertyType;
|
|
199
235
|
name: string;
|
|
200
236
|
values?: any[] | undefined;
|
|
201
|
-
min?: number | undefined;
|
|
202
237
|
max?: number | undefined;
|
|
238
|
+
min?: number | undefined;
|
|
203
239
|
}[] | undefined;
|
|
204
240
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
205
241
|
inAccounts?: string[] | undefined;
|
|
@@ -208,8 +244,8 @@ declare const countOfCollectablesOptions: (args: UseCountOfCollectablesArgs, con
|
|
|
208
244
|
ordersNotCreatedBy?: string[] | undefined;
|
|
209
245
|
};
|
|
210
246
|
chainId: string;
|
|
211
|
-
collectionAddress: `0x${string}`;
|
|
212
247
|
side: OrderSide;
|
|
248
|
+
collectionAddress: `0x${string}`;
|
|
213
249
|
query?: {
|
|
214
250
|
enabled?: boolean | undefined;
|
|
215
251
|
} | undefined;
|
|
@@ -230,8 +266,8 @@ declare const countOfCollectablesOptions: (args: UseCountOfCollectablesArgs, con
|
|
|
230
266
|
type: PropertyType;
|
|
231
267
|
name: string;
|
|
232
268
|
values?: any[] | undefined;
|
|
233
|
-
min?: number | undefined;
|
|
234
269
|
max?: number | undefined;
|
|
270
|
+
min?: number | undefined;
|
|
235
271
|
}[] | undefined;
|
|
236
272
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
237
273
|
inAccounts?: string[] | undefined;
|
|
@@ -240,8 +276,8 @@ declare const countOfCollectablesOptions: (args: UseCountOfCollectablesArgs, con
|
|
|
240
276
|
ordersNotCreatedBy?: string[] | undefined;
|
|
241
277
|
};
|
|
242
278
|
chainId: string;
|
|
243
|
-
collectionAddress: `0x${string}`;
|
|
244
279
|
side: OrderSide;
|
|
280
|
+
collectionAddress: `0x${string}`;
|
|
245
281
|
query?: {
|
|
246
282
|
enabled?: boolean | undefined;
|
|
247
283
|
} | undefined;
|
|
@@ -263,8 +299,8 @@ declare const countOfCollectablesOptions: (args: UseCountOfCollectablesArgs, con
|
|
|
263
299
|
type: PropertyType;
|
|
264
300
|
name: string;
|
|
265
301
|
values?: any[] | undefined;
|
|
266
|
-
min?: number | undefined;
|
|
267
302
|
max?: number | undefined;
|
|
303
|
+
min?: number | undefined;
|
|
268
304
|
}[] | undefined;
|
|
269
305
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
270
306
|
inAccounts?: string[] | undefined;
|
|
@@ -273,8 +309,8 @@ declare const countOfCollectablesOptions: (args: UseCountOfCollectablesArgs, con
|
|
|
273
309
|
ordersNotCreatedBy?: string[] | undefined;
|
|
274
310
|
};
|
|
275
311
|
chainId: string;
|
|
276
|
-
collectionAddress: `0x${string}`;
|
|
277
312
|
side: OrderSide;
|
|
313
|
+
collectionAddress: `0x${string}`;
|
|
278
314
|
query?: {
|
|
279
315
|
enabled?: boolean | undefined;
|
|
280
316
|
} | undefined;
|
|
@@ -407,6 +443,104 @@ declare const collectionOptions: (args: UseCollectionArgs, config: SdkConfig) =>
|
|
|
407
443
|
};
|
|
408
444
|
declare const useCollection: (args: UseCollectionArgs) => _tanstack_react_query.UseQueryResult<_0xsequence_metadata.ContractInfo, Error>;
|
|
409
445
|
|
|
446
|
+
declare const filterSchema: z.ZodObject<{
|
|
447
|
+
accountAddresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
|
|
448
|
+
contractWhitelist: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">>;
|
|
449
|
+
omitNativeBalances: z.ZodBoolean;
|
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
|
451
|
+
accountAddresses: `0x${string}`[];
|
|
452
|
+
omitNativeBalances: boolean;
|
|
453
|
+
contractWhitelist?: `0x${string}`[] | undefined;
|
|
454
|
+
}, {
|
|
455
|
+
accountAddresses: string[];
|
|
456
|
+
omitNativeBalances: boolean;
|
|
457
|
+
contractWhitelist?: string[] | undefined;
|
|
458
|
+
}>;
|
|
459
|
+
declare const useCollectionBalanceDetailsArgsSchema: z.ZodObject<{
|
|
460
|
+
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodNumber>;
|
|
461
|
+
filter: z.ZodObject<{
|
|
462
|
+
accountAddresses: z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">;
|
|
463
|
+
contractWhitelist: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, `0x${string}`, string>, "many">>;
|
|
464
|
+
omitNativeBalances: z.ZodBoolean;
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
accountAddresses: `0x${string}`[];
|
|
467
|
+
omitNativeBalances: boolean;
|
|
468
|
+
contractWhitelist?: `0x${string}`[] | undefined;
|
|
469
|
+
}, {
|
|
470
|
+
accountAddresses: string[];
|
|
471
|
+
omitNativeBalances: boolean;
|
|
472
|
+
contractWhitelist?: string[] | undefined;
|
|
473
|
+
}>;
|
|
474
|
+
query: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
475
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
476
|
+
}, "strip", z.ZodTypeAny, {
|
|
477
|
+
enabled?: boolean | undefined;
|
|
478
|
+
}, {
|
|
479
|
+
enabled?: boolean | undefined;
|
|
480
|
+
}>>>;
|
|
481
|
+
}, "strip", z.ZodTypeAny, {
|
|
482
|
+
filter: {
|
|
483
|
+
accountAddresses: `0x${string}`[];
|
|
484
|
+
omitNativeBalances: boolean;
|
|
485
|
+
contractWhitelist?: `0x${string}`[] | undefined;
|
|
486
|
+
};
|
|
487
|
+
chainId: number;
|
|
488
|
+
query?: {
|
|
489
|
+
enabled?: boolean | undefined;
|
|
490
|
+
} | undefined;
|
|
491
|
+
}, {
|
|
492
|
+
filter: {
|
|
493
|
+
accountAddresses: string[];
|
|
494
|
+
omitNativeBalances: boolean;
|
|
495
|
+
contractWhitelist?: string[] | undefined;
|
|
496
|
+
};
|
|
497
|
+
chainId: string | number;
|
|
498
|
+
query?: {
|
|
499
|
+
enabled?: boolean | undefined;
|
|
500
|
+
} | undefined;
|
|
501
|
+
}>;
|
|
502
|
+
type CollectionBalanceFilter = z.infer<typeof filterSchema>;
|
|
503
|
+
type UseCollectionBalanceDetailsArgs = z.input<typeof useCollectionBalanceDetailsArgsSchema>;
|
|
504
|
+
declare const collectionBalanceDetailsOptions: (args: UseCollectionBalanceDetailsArgs, config: SdkConfig) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<GetTokenBalancesDetailsReturn, Error, GetTokenBalancesDetailsReturn, ("balances" | "collectionBalanceDetails" | SdkConfig | {
|
|
505
|
+
filter: {
|
|
506
|
+
accountAddresses: string[];
|
|
507
|
+
omitNativeBalances: boolean;
|
|
508
|
+
contractWhitelist?: string[] | undefined;
|
|
509
|
+
};
|
|
510
|
+
chainId: string | number;
|
|
511
|
+
query?: {
|
|
512
|
+
enabled?: boolean | undefined;
|
|
513
|
+
} | undefined;
|
|
514
|
+
})[]>, "queryFn"> & {
|
|
515
|
+
queryFn?: _tanstack_react_query.QueryFunction<GetTokenBalancesDetailsReturn, ("balances" | "collectionBalanceDetails" | SdkConfig | {
|
|
516
|
+
filter: {
|
|
517
|
+
accountAddresses: string[];
|
|
518
|
+
omitNativeBalances: boolean;
|
|
519
|
+
contractWhitelist?: string[] | undefined;
|
|
520
|
+
};
|
|
521
|
+
chainId: string | number;
|
|
522
|
+
query?: {
|
|
523
|
+
enabled?: boolean | undefined;
|
|
524
|
+
} | undefined;
|
|
525
|
+
})[], never> | undefined;
|
|
526
|
+
} & {
|
|
527
|
+
queryKey: ("balances" | "collectionBalanceDetails" | SdkConfig | {
|
|
528
|
+
filter: {
|
|
529
|
+
accountAddresses: string[];
|
|
530
|
+
omitNativeBalances: boolean;
|
|
531
|
+
contractWhitelist?: string[] | undefined;
|
|
532
|
+
};
|
|
533
|
+
chainId: string | number;
|
|
534
|
+
query?: {
|
|
535
|
+
enabled?: boolean | undefined;
|
|
536
|
+
} | undefined;
|
|
537
|
+
})[] & {
|
|
538
|
+
[dataTagSymbol]: GetTokenBalancesDetailsReturn;
|
|
539
|
+
[dataTagErrorSymbol]: Error;
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
declare const useCollectionBalanceDetails: (args: UseCollectionBalanceDetailsArgs) => _tanstack_react_query.UseQueryResult<GetTokenBalancesDetailsReturn, Error>;
|
|
543
|
+
|
|
410
544
|
declare function useConfig(): SdkConfig;
|
|
411
545
|
|
|
412
546
|
declare const UseCurrenciesArgsSchema: z.ZodObject<{
|
|
@@ -808,10 +942,10 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
808
942
|
column: string;
|
|
809
943
|
}[] | undefined;
|
|
810
944
|
column?: string | undefined;
|
|
945
|
+
after?: any;
|
|
811
946
|
pageSize?: number | undefined;
|
|
812
947
|
more?: boolean | undefined;
|
|
813
948
|
before?: any;
|
|
814
|
-
after?: any;
|
|
815
949
|
}, {
|
|
816
950
|
page?: number | undefined;
|
|
817
951
|
sort?: {
|
|
@@ -819,10 +953,10 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
819
953
|
column: string;
|
|
820
954
|
}[] | undefined;
|
|
821
955
|
column?: string | undefined;
|
|
956
|
+
after?: any;
|
|
822
957
|
pageSize?: number | undefined;
|
|
823
958
|
more?: boolean | undefined;
|
|
824
959
|
before?: any;
|
|
825
|
-
after?: any;
|
|
826
960
|
}>>;
|
|
827
961
|
query: z.ZodOptional<z.ZodObject<{
|
|
828
962
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -840,13 +974,13 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
840
974
|
column: string;
|
|
841
975
|
}[] | undefined;
|
|
842
976
|
column?: string | undefined;
|
|
977
|
+
after?: any;
|
|
843
978
|
pageSize?: number | undefined;
|
|
844
979
|
more?: boolean | undefined;
|
|
845
980
|
before?: any;
|
|
846
|
-
after?: any;
|
|
847
981
|
} | undefined;
|
|
848
|
-
tokenId?: string | undefined;
|
|
849
982
|
contractAddress?: `0x${string}` | undefined;
|
|
983
|
+
tokenId?: string | undefined;
|
|
850
984
|
query?: {
|
|
851
985
|
enabled?: boolean | undefined;
|
|
852
986
|
} | undefined;
|
|
@@ -867,13 +1001,13 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
867
1001
|
column: string;
|
|
868
1002
|
}[] | undefined;
|
|
869
1003
|
column?: string | undefined;
|
|
1004
|
+
after?: any;
|
|
870
1005
|
pageSize?: number | undefined;
|
|
871
1006
|
more?: boolean | undefined;
|
|
872
1007
|
before?: any;
|
|
873
|
-
after?: any;
|
|
874
1008
|
} | undefined;
|
|
875
|
-
tokenId?: string | undefined;
|
|
876
1009
|
contractAddress?: string | undefined;
|
|
1010
|
+
tokenId?: string | undefined;
|
|
877
1011
|
query?: {
|
|
878
1012
|
enabled?: boolean | undefined;
|
|
879
1013
|
} | undefined;
|
|
@@ -898,13 +1032,13 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
|
|
|
898
1032
|
column: string;
|
|
899
1033
|
}[] | undefined;
|
|
900
1034
|
column?: string | undefined;
|
|
1035
|
+
after?: any;
|
|
901
1036
|
pageSize?: number | undefined;
|
|
902
1037
|
more?: boolean | undefined;
|
|
903
1038
|
before?: any;
|
|
904
|
-
after?: any;
|
|
905
1039
|
} | undefined;
|
|
906
|
-
tokenId?: string | undefined;
|
|
907
1040
|
contractAddress?: string | undefined;
|
|
1041
|
+
tokenId?: string | undefined;
|
|
908
1042
|
query?: {
|
|
909
1043
|
enabled?: boolean | undefined;
|
|
910
1044
|
} | undefined;
|
|
@@ -926,13 +1060,13 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
|
|
|
926
1060
|
column: string;
|
|
927
1061
|
}[] | undefined;
|
|
928
1062
|
column?: string | undefined;
|
|
1063
|
+
after?: any;
|
|
929
1064
|
pageSize?: number | undefined;
|
|
930
1065
|
more?: boolean | undefined;
|
|
931
1066
|
before?: any;
|
|
932
|
-
after?: any;
|
|
933
1067
|
} | undefined;
|
|
934
|
-
tokenId?: string | undefined;
|
|
935
1068
|
contractAddress?: string | undefined;
|
|
1069
|
+
tokenId?: string | undefined;
|
|
936
1070
|
query?: {
|
|
937
1071
|
enabled?: boolean | undefined;
|
|
938
1072
|
} | undefined;
|
|
@@ -955,13 +1089,13 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
|
|
|
955
1089
|
column: string;
|
|
956
1090
|
}[] | undefined;
|
|
957
1091
|
column?: string | undefined;
|
|
1092
|
+
after?: any;
|
|
958
1093
|
pageSize?: number | undefined;
|
|
959
1094
|
more?: boolean | undefined;
|
|
960
1095
|
before?: any;
|
|
961
|
-
after?: any;
|
|
962
1096
|
} | undefined;
|
|
963
|
-
tokenId?: string | undefined;
|
|
964
1097
|
contractAddress?: string | undefined;
|
|
1098
|
+
tokenId?: string | undefined;
|
|
965
1099
|
query?: {
|
|
966
1100
|
enabled?: boolean | undefined;
|
|
967
1101
|
} | undefined;
|
|
@@ -1076,10 +1210,10 @@ declare const getListCollectibleActivitiesReturnSchema: z.ZodObject<{
|
|
|
1076
1210
|
chainId: number;
|
|
1077
1211
|
name: string;
|
|
1078
1212
|
nativeCurrency: boolean;
|
|
1079
|
-
updatedAt: string;
|
|
1080
1213
|
contractAddress: string;
|
|
1081
|
-
createdAt: string;
|
|
1082
1214
|
decimals: number;
|
|
1215
|
+
updatedAt: string;
|
|
1216
|
+
createdAt: string;
|
|
1083
1217
|
imageUrl: string;
|
|
1084
1218
|
exchangeRate: number;
|
|
1085
1219
|
defaultChainCurrency: boolean;
|
|
@@ -1089,10 +1223,10 @@ declare const getListCollectibleActivitiesReturnSchema: z.ZodObject<{
|
|
|
1089
1223
|
chainId: number;
|
|
1090
1224
|
name: string;
|
|
1091
1225
|
nativeCurrency: boolean;
|
|
1092
|
-
updatedAt: string;
|
|
1093
1226
|
contractAddress: string;
|
|
1094
|
-
createdAt: string;
|
|
1095
1227
|
decimals: number;
|
|
1228
|
+
updatedAt: string;
|
|
1229
|
+
createdAt: string;
|
|
1096
1230
|
imageUrl: string;
|
|
1097
1231
|
exchangeRate: number;
|
|
1098
1232
|
defaultChainCurrency: boolean;
|
|
@@ -1112,10 +1246,10 @@ declare const getListCollectibleActivitiesReturnSchema: z.ZodObject<{
|
|
|
1112
1246
|
chainId: number;
|
|
1113
1247
|
name: string;
|
|
1114
1248
|
nativeCurrency: boolean;
|
|
1115
|
-
updatedAt: string;
|
|
1116
1249
|
contractAddress: string;
|
|
1117
|
-
createdAt: string;
|
|
1118
1250
|
decimals: number;
|
|
1251
|
+
updatedAt: string;
|
|
1252
|
+
createdAt: string;
|
|
1119
1253
|
imageUrl: string;
|
|
1120
1254
|
exchangeRate: number;
|
|
1121
1255
|
defaultChainCurrency: boolean;
|
|
@@ -1135,10 +1269,10 @@ declare const getListCollectibleActivitiesReturnSchema: z.ZodObject<{
|
|
|
1135
1269
|
chainId: number;
|
|
1136
1270
|
name: string;
|
|
1137
1271
|
nativeCurrency: boolean;
|
|
1138
|
-
updatedAt: string;
|
|
1139
1272
|
contractAddress: string;
|
|
1140
|
-
createdAt: string;
|
|
1141
1273
|
decimals: number;
|
|
1274
|
+
updatedAt: string;
|
|
1275
|
+
createdAt: string;
|
|
1142
1276
|
imageUrl: string;
|
|
1143
1277
|
exchangeRate: number;
|
|
1144
1278
|
defaultChainCurrency: boolean;
|
|
@@ -1191,10 +1325,10 @@ declare const getListCollectibleActivitiesReturnSchema: z.ZodObject<{
|
|
|
1191
1325
|
chainId: number;
|
|
1192
1326
|
name: string;
|
|
1193
1327
|
nativeCurrency: boolean;
|
|
1194
|
-
updatedAt: string;
|
|
1195
1328
|
contractAddress: string;
|
|
1196
|
-
createdAt: string;
|
|
1197
1329
|
decimals: number;
|
|
1330
|
+
updatedAt: string;
|
|
1331
|
+
createdAt: string;
|
|
1198
1332
|
imageUrl: string;
|
|
1199
1333
|
exchangeRate: number;
|
|
1200
1334
|
defaultChainCurrency: boolean;
|
|
@@ -1225,10 +1359,10 @@ declare const getListCollectibleActivitiesReturnSchema: z.ZodObject<{
|
|
|
1225
1359
|
chainId: number;
|
|
1226
1360
|
name: string;
|
|
1227
1361
|
nativeCurrency: boolean;
|
|
1228
|
-
updatedAt: string;
|
|
1229
1362
|
contractAddress: string;
|
|
1230
|
-
createdAt: string;
|
|
1231
1363
|
decimals: number;
|
|
1364
|
+
updatedAt: string;
|
|
1365
|
+
createdAt: string;
|
|
1232
1366
|
imageUrl: string;
|
|
1233
1367
|
exchangeRate: number;
|
|
1234
1368
|
defaultChainCurrency: boolean;
|
|
@@ -1338,10 +1472,10 @@ declare const getListCollectionActivitiesReturnSchema: z.ZodObject<{
|
|
|
1338
1472
|
chainId: number;
|
|
1339
1473
|
name: string;
|
|
1340
1474
|
nativeCurrency: boolean;
|
|
1341
|
-
updatedAt: string;
|
|
1342
1475
|
contractAddress: string;
|
|
1343
|
-
createdAt: string;
|
|
1344
1476
|
decimals: number;
|
|
1477
|
+
updatedAt: string;
|
|
1478
|
+
createdAt: string;
|
|
1345
1479
|
imageUrl: string;
|
|
1346
1480
|
exchangeRate: number;
|
|
1347
1481
|
defaultChainCurrency: boolean;
|
|
@@ -1351,10 +1485,10 @@ declare const getListCollectionActivitiesReturnSchema: z.ZodObject<{
|
|
|
1351
1485
|
chainId: number;
|
|
1352
1486
|
name: string;
|
|
1353
1487
|
nativeCurrency: boolean;
|
|
1354
|
-
updatedAt: string;
|
|
1355
1488
|
contractAddress: string;
|
|
1356
|
-
createdAt: string;
|
|
1357
1489
|
decimals: number;
|
|
1490
|
+
updatedAt: string;
|
|
1491
|
+
createdAt: string;
|
|
1358
1492
|
imageUrl: string;
|
|
1359
1493
|
exchangeRate: number;
|
|
1360
1494
|
defaultChainCurrency: boolean;
|
|
@@ -1374,10 +1508,10 @@ declare const getListCollectionActivitiesReturnSchema: z.ZodObject<{
|
|
|
1374
1508
|
chainId: number;
|
|
1375
1509
|
name: string;
|
|
1376
1510
|
nativeCurrency: boolean;
|
|
1377
|
-
updatedAt: string;
|
|
1378
1511
|
contractAddress: string;
|
|
1379
|
-
createdAt: string;
|
|
1380
1512
|
decimals: number;
|
|
1513
|
+
updatedAt: string;
|
|
1514
|
+
createdAt: string;
|
|
1381
1515
|
imageUrl: string;
|
|
1382
1516
|
exchangeRate: number;
|
|
1383
1517
|
defaultChainCurrency: boolean;
|
|
@@ -1397,10 +1531,10 @@ declare const getListCollectionActivitiesReturnSchema: z.ZodObject<{
|
|
|
1397
1531
|
chainId: number;
|
|
1398
1532
|
name: string;
|
|
1399
1533
|
nativeCurrency: boolean;
|
|
1400
|
-
updatedAt: string;
|
|
1401
1534
|
contractAddress: string;
|
|
1402
|
-
createdAt: string;
|
|
1403
1535
|
decimals: number;
|
|
1536
|
+
updatedAt: string;
|
|
1537
|
+
createdAt: string;
|
|
1404
1538
|
imageUrl: string;
|
|
1405
1539
|
exchangeRate: number;
|
|
1406
1540
|
defaultChainCurrency: boolean;
|
|
@@ -1453,10 +1587,10 @@ declare const getListCollectionActivitiesReturnSchema: z.ZodObject<{
|
|
|
1453
1587
|
chainId: number;
|
|
1454
1588
|
name: string;
|
|
1455
1589
|
nativeCurrency: boolean;
|
|
1456
|
-
updatedAt: string;
|
|
1457
1590
|
contractAddress: string;
|
|
1458
|
-
createdAt: string;
|
|
1459
1591
|
decimals: number;
|
|
1592
|
+
updatedAt: string;
|
|
1593
|
+
createdAt: string;
|
|
1460
1594
|
imageUrl: string;
|
|
1461
1595
|
exchangeRate: number;
|
|
1462
1596
|
defaultChainCurrency: boolean;
|
|
@@ -1487,10 +1621,10 @@ declare const getListCollectionActivitiesReturnSchema: z.ZodObject<{
|
|
|
1487
1621
|
chainId: number;
|
|
1488
1622
|
name: string;
|
|
1489
1623
|
nativeCurrency: boolean;
|
|
1490
|
-
updatedAt: string;
|
|
1491
1624
|
contractAddress: string;
|
|
1492
|
-
createdAt: string;
|
|
1493
1625
|
decimals: number;
|
|
1626
|
+
updatedAt: string;
|
|
1627
|
+
createdAt: string;
|
|
1494
1628
|
imageUrl: string;
|
|
1495
1629
|
exchangeRate: number;
|
|
1496
1630
|
defaultChainCurrency: boolean;
|
|
@@ -1593,14 +1727,14 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1593
1727
|
type: PropertyType;
|
|
1594
1728
|
name: string;
|
|
1595
1729
|
values?: any[] | undefined;
|
|
1596
|
-
min?: number | undefined;
|
|
1597
1730
|
max?: number | undefined;
|
|
1731
|
+
min?: number | undefined;
|
|
1598
1732
|
}, {
|
|
1599
1733
|
type: PropertyType;
|
|
1600
1734
|
name: string;
|
|
1601
1735
|
values?: any[] | undefined;
|
|
1602
|
-
min?: number | undefined;
|
|
1603
1736
|
max?: number | undefined;
|
|
1737
|
+
min?: number | undefined;
|
|
1604
1738
|
}>, "many">>;
|
|
1605
1739
|
marketplaces: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof MarketplaceKind>, "many">>;
|
|
1606
1740
|
inAccounts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1614,8 +1748,8 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1614
1748
|
type: PropertyType;
|
|
1615
1749
|
name: string;
|
|
1616
1750
|
values?: any[] | undefined;
|
|
1617
|
-
min?: number | undefined;
|
|
1618
1751
|
max?: number | undefined;
|
|
1752
|
+
min?: number | undefined;
|
|
1619
1753
|
}[] | undefined;
|
|
1620
1754
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
1621
1755
|
inAccounts?: string[] | undefined;
|
|
@@ -1629,8 +1763,8 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1629
1763
|
type: PropertyType;
|
|
1630
1764
|
name: string;
|
|
1631
1765
|
values?: any[] | undefined;
|
|
1632
|
-
min?: number | undefined;
|
|
1633
1766
|
max?: number | undefined;
|
|
1767
|
+
min?: number | undefined;
|
|
1634
1768
|
}[] | undefined;
|
|
1635
1769
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
1636
1770
|
inAccounts?: string[] | undefined;
|
|
@@ -1681,8 +1815,8 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1681
1815
|
}>>;
|
|
1682
1816
|
}>, "strip", z.ZodTypeAny, {
|
|
1683
1817
|
chainId: string;
|
|
1684
|
-
collectionAddress: `0x${string}`;
|
|
1685
1818
|
side: OrderSide;
|
|
1819
|
+
collectionAddress: `0x${string}`;
|
|
1686
1820
|
page?: {
|
|
1687
1821
|
page: number;
|
|
1688
1822
|
pageSize: number;
|
|
@@ -1699,8 +1833,8 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1699
1833
|
type: PropertyType;
|
|
1700
1834
|
name: string;
|
|
1701
1835
|
values?: any[] | undefined;
|
|
1702
|
-
min?: number | undefined;
|
|
1703
1836
|
max?: number | undefined;
|
|
1837
|
+
min?: number | undefined;
|
|
1704
1838
|
}[] | undefined;
|
|
1705
1839
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
1706
1840
|
inAccounts?: string[] | undefined;
|
|
@@ -1713,8 +1847,8 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1713
1847
|
} | undefined;
|
|
1714
1848
|
}, {
|
|
1715
1849
|
chainId: string | number;
|
|
1716
|
-
collectionAddress: string;
|
|
1717
1850
|
side: OrderSide;
|
|
1851
|
+
collectionAddress: string;
|
|
1718
1852
|
page?: {
|
|
1719
1853
|
page: number;
|
|
1720
1854
|
pageSize: number;
|
|
@@ -1731,8 +1865,8 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1731
1865
|
type: PropertyType;
|
|
1732
1866
|
name: string;
|
|
1733
1867
|
values?: any[] | undefined;
|
|
1734
|
-
min?: number | undefined;
|
|
1735
1868
|
max?: number | undefined;
|
|
1869
|
+
min?: number | undefined;
|
|
1736
1870
|
}[] | undefined;
|
|
1737
1871
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
1738
1872
|
inAccounts?: string[] | undefined;
|
|
@@ -1749,8 +1883,8 @@ type UseListCollectiblesReturn = Awaited<ReturnType<typeof fetchCollectibles>>;
|
|
|
1749
1883
|
declare const fetchCollectibles: (args: UseListCollectiblesArgs, marketplaceClient: Awaited<ReturnType<typeof getMarketplaceClient>>, page: Page$1) => Promise<ListCollectiblesReturn>;
|
|
1750
1884
|
declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: SdkConfig) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<ListCollectiblesReturn, Error, _tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>, ListCollectiblesReturn, ("collectable" | "list" | {
|
|
1751
1885
|
chainId: string;
|
|
1752
|
-
collectionAddress: `0x${string}`;
|
|
1753
1886
|
side: OrderSide;
|
|
1887
|
+
collectionAddress: `0x${string}`;
|
|
1754
1888
|
page?: {
|
|
1755
1889
|
page: number;
|
|
1756
1890
|
pageSize: number;
|
|
@@ -1767,8 +1901,8 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1767
1901
|
type: PropertyType;
|
|
1768
1902
|
name: string;
|
|
1769
1903
|
values?: any[] | undefined;
|
|
1770
|
-
min?: number | undefined;
|
|
1771
1904
|
max?: number | undefined;
|
|
1905
|
+
min?: number | undefined;
|
|
1772
1906
|
}[] | undefined;
|
|
1773
1907
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
1774
1908
|
inAccounts?: string[] | undefined;
|
|
@@ -1785,8 +1919,8 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1785
1919
|
}>, "queryFn"> & {
|
|
1786
1920
|
queryFn?: _tanstack_react_query.QueryFunction<ListCollectiblesReturn, ("collectable" | "list" | {
|
|
1787
1921
|
chainId: string;
|
|
1788
|
-
collectionAddress: `0x${string}`;
|
|
1789
1922
|
side: OrderSide;
|
|
1923
|
+
collectionAddress: `0x${string}`;
|
|
1790
1924
|
page?: {
|
|
1791
1925
|
page: number;
|
|
1792
1926
|
pageSize: number;
|
|
@@ -1803,8 +1937,8 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1803
1937
|
type: PropertyType;
|
|
1804
1938
|
name: string;
|
|
1805
1939
|
values?: any[] | undefined;
|
|
1806
|
-
min?: number | undefined;
|
|
1807
1940
|
max?: number | undefined;
|
|
1941
|
+
min?: number | undefined;
|
|
1808
1942
|
}[] | undefined;
|
|
1809
1943
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
1810
1944
|
inAccounts?: string[] | undefined;
|
|
@@ -1822,8 +1956,8 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1822
1956
|
} & {
|
|
1823
1957
|
queryKey: ("collectable" | "list" | {
|
|
1824
1958
|
chainId: string;
|
|
1825
|
-
collectionAddress: `0x${string}`;
|
|
1826
1959
|
side: OrderSide;
|
|
1960
|
+
collectionAddress: `0x${string}`;
|
|
1827
1961
|
page?: {
|
|
1828
1962
|
page: number;
|
|
1829
1963
|
pageSize: number;
|
|
@@ -1840,8 +1974,8 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1840
1974
|
type: PropertyType;
|
|
1841
1975
|
name: string;
|
|
1842
1976
|
values?: any[] | undefined;
|
|
1843
|
-
min?: number | undefined;
|
|
1844
1977
|
max?: number | undefined;
|
|
1978
|
+
min?: number | undefined;
|
|
1845
1979
|
}[] | undefined;
|
|
1846
1980
|
marketplaces?: MarketplaceKind[] | undefined;
|
|
1847
1981
|
inAccounts?: string[] | undefined;
|
|
@@ -1976,7 +2110,7 @@ declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUt
|
|
|
1976
2110
|
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodString>;
|
|
1977
2111
|
collectionAddress: z.ZodString;
|
|
1978
2112
|
collectibleId: z.ZodString;
|
|
1979
|
-
}>, "
|
|
2113
|
+
}>, "contractAddress" | "tokenId">, "strip", z.ZodTypeAny, {
|
|
1980
2114
|
chainId: string;
|
|
1981
2115
|
collectionAddress: string;
|
|
1982
2116
|
collectibleId: string;
|
|
@@ -2096,7 +2230,7 @@ declare const UseCountOffersForCollectibleArgsSchema: z.ZodObject<z.objectUtil.e
|
|
|
2096
2230
|
marketplace?: MarketplaceKind[] | undefined;
|
|
2097
2231
|
createdBy?: string[] | undefined;
|
|
2098
2232
|
}>>;
|
|
2099
|
-
}, "
|
|
2233
|
+
}, "contractAddress" | "tokenId">, {
|
|
2100
2234
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2101
2235
|
collectibleId: z.ZodString;
|
|
2102
2236
|
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodString>;
|
|
@@ -2232,7 +2366,7 @@ declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<z.object
|
|
|
2232
2366
|
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodString>;
|
|
2233
2367
|
collectionAddress: z.ZodString;
|
|
2234
2368
|
collectibleId: z.ZodString;
|
|
2235
|
-
}>, "
|
|
2369
|
+
}>, "contractAddress" | "tokenId">, "strip", z.ZodTypeAny, {
|
|
2236
2370
|
chainId: string;
|
|
2237
2371
|
collectionAddress: string;
|
|
2238
2372
|
collectibleId: string;
|
|
@@ -2352,7 +2486,7 @@ declare const UseCountListingsForCollectibleArgsSchema: z.ZodObject<z.objectUtil
|
|
|
2352
2486
|
marketplace?: MarketplaceKind[] | undefined;
|
|
2353
2487
|
createdBy?: string[] | undefined;
|
|
2354
2488
|
}>>;
|
|
2355
|
-
}, "
|
|
2489
|
+
}, "contractAddress" | "tokenId">, {
|
|
2356
2490
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
2357
2491
|
collectibleId: z.ZodString;
|
|
2358
2492
|
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodString>;
|
|
@@ -3554,4 +3688,4 @@ declare const collectionDetailsPollingOptions: (args: UseCollectionDetailsPollin
|
|
|
3554
3688
|
};
|
|
3555
3689
|
declare const useCollectionDetailsPolling: (args: UseCollectionDetailsPolling) => _tanstack_react_query.UseQueryResult<Collection, Error>;
|
|
3556
3690
|
|
|
3557
|
-
export { type CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, type GenerateListingTransactionProps, type GenerateOfferTransactionProps, type TransactionStep, type TransferTokensParams, type UseCheckoutOptionsArgs, type UseCheckoutOptionsReturn, type UseCollectibleArgs, type UseCollectibleReturn, type UseCollectionArgs, type UseCollectionReturn, type UseContOfCollectableReturn, type UseCountListingsForCollectibleArgs, type UseCountListingsForCollectibleReturn, type UseCountOfCollectablesArgs, type UseCountOffersForCollectibleArgs, type UseCountOffersForCollectibleReturn, type UseCurrenciesReturn, type UseCurrencyReturn, type UseFetchTokenBalancesReturn, type UseFilterReturn, type UseFiltersArgs, type UseFloorOrderArgs, type UseFloorOrderReturn, UseGenerateBuyTransactionArgsSchema, type UseGenerateListingTransactionArgs, type UseGenerateOfferTransactionArgs, type UseHighestOfferArgs, type UseHighestOfferReturn, type UseListBalancesArgs, type UseListCollectibleActivitiesArgs, type UseListCollectibleActivitiesReturn, type UseListCollectiblesArgs, type UseListCollectiblesReturn, type UseListCollectionActivitiesArgs, type UseListCollectionActivitiesReturn, type UseListCollectionsArgs, type UseListCollectionsReturn, type UseListListingsForCollectibleReturn, type UseListOffersForCollectibleReturn, type UseLowestListingArgs, type UseLowestListingReturn, balanceOfCollectibleOptions, checkoutOptionsOptions, collectibleOptions, collectionDetailsOptions, collectionDetailsPollingOptions, collectionOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, fetchGenerateBuyTransaction, filtersOptions, floorOrderOptions, generateBuyTransactionOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, highestOfferOptions, listBalancesOptions, listCollectibleActivitiesOptions, listCollectiblesOptions, listCollectionActivitiesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollection, useCollectionDetails, useCollectionDetailsPolling, useConfig, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useCurrencyOptions, useFilters, useFloorOrder, useGenerateBuyTransaction, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useListBalances, useListCollectibleActivities, useListCollectibles, useListCollectionActivities, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens };
|
|
3691
|
+
export { type CollectionBalanceFilter, type CreateReqWithDateExpiry$1 as CreateReqWithDateExpiry, type GenerateListingTransactionProps, type GenerateOfferTransactionProps, type TransactionStep, type TransferTokensParams, type UseCheckoutOptionsArgs, type UseCheckoutOptionsReturn, type UseCollectibleArgs, type UseCollectibleReturn, type UseCollectionArgs, type UseCollectionBalanceDetailsArgs, type UseCollectionReturn, type UseContOfCollectableReturn, type UseCountListingsForCollectibleArgs, type UseCountListingsForCollectibleReturn, type UseCountOfCollectablesArgs, type UseCountOffersForCollectibleArgs, type UseCountOffersForCollectibleReturn, type UseCurrenciesReturn, type UseCurrencyReturn, type UseFetchTokenBalancesReturn, type UseFilterReturn, type UseFiltersArgs, type UseFloorOrderArgs, type UseFloorOrderReturn, UseGenerateBuyTransactionArgsSchema, type UseGenerateListingTransactionArgs, type UseGenerateOfferTransactionArgs, type UseHighestOfferArgs, type UseHighestOfferReturn, type UseListBalancesArgs, type UseListCollectibleActivitiesArgs, type UseListCollectibleActivitiesReturn, type UseListCollectiblesArgs, type UseListCollectiblesReturn, type UseListCollectionActivitiesArgs, type UseListCollectionActivitiesReturn, type UseListCollectionsArgs, type UseListCollectionsReturn, type UseListListingsForCollectibleReturn, type UseListOffersForCollectibleReturn, type UseLowestListingArgs, type UseLowestListingReturn, balanceOfCollectibleOptions, checkoutOptionsOptions, collectibleOptions, collectionBalanceDetailsOptions, collectionDetailsOptions, collectionDetailsPollingOptions, collectionOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, fetchGenerateBuyTransaction, filtersOptions, floorOrderOptions, generateBuyTransactionOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, highestOfferOptions, listBalancesOptions, listCollectibleActivitiesOptions, listCollectiblesOptions, listCollectionActivitiesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useAutoSelectFeeOption, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollection, useCollectionBalanceDetails, useCollectionDetails, useCollectionDetailsPolling, useConfig, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useCurrencyOptions, useFilters, useFloorOrder, useGenerateBuyTransaction, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useListBalances, useListCollectibleActivities, useListCollectibles, useListCollectionActivities, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens };
|