@0xsequence/marketplace-sdk 0.4.6 → 0.4.7
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/alien_swap-4GAIV7PA.png +0 -0
- package/dist/alien_swap-IZONL4XB.js +8 -0
- package/dist/alien_swap-PMYKGY6A.js +8 -0
- package/dist/aqua-xyz-HLNZIFE2.js +8 -0
- package/dist/aqua-xyz-HLNZIFE2.js.map +1 -0
- package/dist/aqua-xyz-JY5QCI5L.js +8 -0
- package/dist/aqua-xyz-JY5QCI5L.js.map +1 -0
- package/dist/aqua-xyz-WU4JVU2K.png +0 -0
- package/dist/aura-CYKEACX2.js +8 -0
- package/dist/aura-CYKEACX2.js.map +1 -0
- package/dist/aura-HLMWKNSP.js +8 -0
- package/dist/aura-HLMWKNSP.js.map +1 -0
- package/dist/aura-RITZV42R.png +0 -0
- package/dist/blur-2ABQMPTL.png +0 -0
- package/dist/blur-MIPRQYJL.js +8 -0
- package/dist/blur-MIPRQYJL.js.map +1 -0
- package/dist/blur-XDIGHYB7.js +8 -0
- package/dist/blur-XDIGHYB7.js.map +1 -0
- package/dist/{chunk-2FOUCP2R.js → chunk-5UCKYAMR.js} +724 -737
- package/dist/chunk-5UCKYAMR.js.map +1 -0
- package/dist/{chunk-QVOUL555.js → chunk-6R4G7J6Q.js} +86 -26
- package/dist/chunk-6R4G7J6Q.js.map +1 -0
- package/dist/{chunk-RD7HPANB.js → chunk-AQT3BQ67.js} +9 -9
- package/dist/chunk-AQT3BQ67.js.map +1 -0
- package/dist/{chunk-3C2MT5TM.js → chunk-FWN2MCLI.js} +12 -6
- package/dist/chunk-FWN2MCLI.js.map +1 -0
- package/dist/{chunk-5D3ARFFZ.js → chunk-JEOUQFT3.js} +17 -129
- package/dist/chunk-JEOUQFT3.js.map +1 -0
- package/dist/chunk-MWDG7UTB.js +132 -0
- package/dist/chunk-MWDG7UTB.js.map +1 -0
- package/dist/{chunk-36NGHJH5.js → chunk-R7GVMKMM.js} +124 -37
- package/dist/chunk-R7GVMKMM.js.map +1 -0
- package/dist/chunk-RK6KYMZM.js +18 -0
- package/dist/chunk-RK6KYMZM.js.map +1 -0
- package/dist/{chunk-LTHX6RXH.js → chunk-XP3WY5AX.js} +90 -2
- package/dist/chunk-XP3WY5AX.js.map +1 -0
- package/dist/{chunk-DNVERQ5J.js → chunk-YOKGP2EQ.js} +1 -1
- package/dist/chunk-YOKGP2EQ.js.map +1 -0
- package/dist/chunk-ZUEQGPLO.js +302 -0
- package/dist/chunk-ZUEQGPLO.js.map +1 -0
- package/dist/coinbase-MIJPE653.js +8 -0
- package/dist/coinbase-MIJPE653.js.map +1 -0
- package/dist/coinbase-MZUBBEC4.png +0 -0
- package/dist/coinbase-T24XHLQL.js +8 -0
- package/dist/coinbase-T24XHLQL.js.map +1 -0
- package/dist/{create-config-BBTTSJyp.d.ts → create-config-D5WqfUft.d.ts} +2 -2
- package/dist/element-GHIPFSB6.png +0 -0
- package/dist/element-MWATR3ON.js +8 -0
- package/dist/element-MWATR3ON.js.map +1 -0
- package/dist/element-X45NH4D7.js +8 -0
- package/dist/element-X45NH4D7.js.map +1 -0
- package/dist/foundation-BDJUT6CK.js +8 -0
- package/dist/foundation-BDJUT6CK.js.map +1 -0
- package/dist/foundation-FJKIXLS5.png +0 -0
- package/dist/foundation-Z6D6U74V.js +8 -0
- package/dist/foundation-Z6D6U74V.js.map +1 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.js +10 -4
- package/dist/looks-rare-B6G3OQAP.png +0 -0
- package/dist/looks-rare-LBHT6EXZ.js +8 -0
- package/dist/looks-rare-LBHT6EXZ.js.map +1 -0
- package/dist/looks-rare-STS6IKI4.js +8 -0
- package/dist/looks-rare-STS6IKI4.js.map +1 -0
- package/dist/magic-eden-HA3X3P2O.png +0 -0
- package/dist/magic-eden-RMZ24554.js +8 -0
- package/dist/magic-eden-RMZ24554.js.map +1 -0
- package/dist/magic-eden-YMTLPKLE.js +8 -0
- package/dist/magic-eden-YMTLPKLE.js.map +1 -0
- package/dist/manifold-I4NT4V5L.png +0 -0
- package/dist/manifold-L7FLFDRO.js +8 -0
- package/dist/manifold-L7FLFDRO.js.map +1 -0
- package/dist/manifold-YIUSABCZ.js +8 -0
- package/dist/manifold-YIUSABCZ.js.map +1 -0
- package/dist/{marketplace-config-vioKvBQe.d.ts → marketplace-config-C_fDWzz0.d.ts} +2 -2
- package/dist/marketplace.gen-B8S8fflj.d.ts +390 -0
- package/dist/mintify-ARDASD5Z.js +8 -0
- package/dist/mintify-ARDASD5Z.js.map +1 -0
- package/dist/mintify-OLOGFTWQ.png +0 -0
- package/dist/mintify-TSZA3SQT.js +8 -0
- package/dist/mintify-TSZA3SQT.js.map +1 -0
- package/dist/nftx-67RX7ZV6.js +8 -0
- package/dist/nftx-67RX7ZV6.js.map +1 -0
- package/dist/nftx-DJIV3PYG.png +0 -0
- package/dist/nftx-KVJ3T3G2.js +8 -0
- package/dist/nftx-KVJ3T3G2.js.map +1 -0
- package/dist/okx-MOA2EFVR.js +8 -0
- package/dist/okx-MOA2EFVR.js.map +1 -0
- package/dist/okx-WNQRV3WE.png +0 -0
- package/dist/okx-WQA7H7EM.js +8 -0
- package/dist/okx-WQA7H7EM.js.map +1 -0
- package/dist/open-sea-2HWFM4P6.js +8 -0
- package/dist/open-sea-2HWFM4P6.js.map +1 -0
- package/dist/open-sea-C57XWTAR.png +0 -0
- package/dist/open-sea-GESD6S2M.js +8 -0
- package/dist/open-sea-GESD6S2M.js.map +1 -0
- package/dist/rarible-GHMFCPBT.js +8 -0
- package/dist/rarible-GHMFCPBT.js.map +1 -0
- package/dist/rarible-QNNAZZQC.js +8 -0
- package/dist/rarible-QNNAZZQC.js.map +1 -0
- package/dist/rarible-ZCE7U3I5.png +0 -0
- package/dist/react/_internal/api/index.d.ts +4 -2
- package/dist/react/_internal/api/index.js +5 -1
- package/dist/react/_internal/index.d.ts +5 -5
- package/dist/react/_internal/index.js +6 -2
- package/dist/react/_internal/wagmi/index.d.ts +3 -3
- package/dist/react/hooks/index.d.ts +668 -5
- package/dist/react/hooks/index.js +15 -5
- package/dist/react/index.d.ts +7 -7
- package/dist/react/index.js +17 -8
- package/dist/react/ssr/index.js +8 -30
- package/dist/react/ssr/index.js.map +1 -1
- package/dist/react/ui/components/collectible-card/index.css.map +1 -0
- package/dist/react/ui/components/{index.d.ts → collectible-card/index.d.ts} +3 -3
- package/dist/react/ui/components/collectible-card/index.js +29 -0
- package/dist/react/ui/components/collectible-card/index.js.map +1 -0
- package/dist/react/ui/components/marketplace-logos/index.d.ts +26 -0
- package/dist/react/ui/components/marketplace-logos/index.js +46 -0
- package/dist/react/ui/components/marketplace-logos/index.js.map +1 -0
- package/dist/react/ui/icons/index.js +0 -8
- package/dist/react/ui/icons/index.js.map +1 -1
- package/dist/react/ui/index.d.ts +4 -4
- package/dist/react/ui/index.js +9 -8
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +4 -3
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +7 -5
- package/dist/{sdk-config-CasNGLz4.d.ts → sdk-config-BXVH8PS2.d.ts} +68 -16
- package/dist/sequence-JAFBEQNI.png +0 -0
- package/dist/sequence-OIPVNE5P.js +8 -0
- package/dist/sequence-OIPVNE5P.js.map +1 -0
- package/dist/sequence-QNNBU34G.js +8 -0
- package/dist/sequence-QNNBU34G.js.map +1 -0
- package/dist/{services-CbsurKYr.d.ts → services-CdXAIjt1.d.ts} +1 -1
- package/dist/sudo-swap-D3FAP7W4.js +8 -0
- package/dist/sudo-swap-D3FAP7W4.js.map +1 -0
- package/dist/sudo-swap-XNJ3BIUD.js +8 -0
- package/dist/sudo-swap-XNJ3BIUD.js.map +1 -0
- package/dist/sudo-swap-Y6GICQTL.png +0 -0
- package/dist/super-rare-VIUS3P6B.js +8 -0
- package/dist/super-rare-VIUS3P6B.js.map +1 -0
- package/dist/super-rare-WWXZ3MQL.png +0 -0
- package/dist/super-rare-YPU3Y7EF.js +8 -0
- package/dist/super-rare-YPU3Y7EF.js.map +1 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +7 -4
- package/dist/{types-rupsBCjv.d.ts → types-eX4P9xju.d.ts} +2 -2
- package/dist/utils/index.d.ts +16 -4
- package/dist/utils/index.js +8 -1
- package/dist/x2y2-CXOXXZKS.png +0 -0
- package/dist/x2y2-G2SXS5VR.js +8 -0
- package/dist/x2y2-G2SXS5VR.js.map +1 -0
- package/dist/x2y2-GKWTQTPB.js +8 -0
- package/dist/x2y2-GKWTQTPB.js.map +1 -0
- package/dist/zora-3DPG4KAY.png +0 -0
- package/dist/zora-JUDT67NX.js +8 -0
- package/dist/zora-JUDT67NX.js.map +1 -0
- package/dist/zora-Z5VR477F.js +8 -0
- package/dist/zora-Z5VR477F.js.map +1 -0
- package/package.json +33 -19
- package/src/react/_internal/api/__mocks__/marketplace.msw.ts +218 -0
- package/src/react/_internal/api/marketplace.gen.ts +125 -42
- package/src/react/_internal/api/query-keys.ts +8 -0
- package/src/react/_internal/api/zod-schema.ts +33 -0
- package/src/react/_internal/test-utils.tsx +68 -0
- package/src/react/_internal/types.ts +3 -3
- package/src/react/hooks/index.ts +2 -0
- package/src/react/hooks/options/__mocks__/marketplaceConfig.msw.ts +77 -0
- package/src/react/hooks/options/__tests__/marketplaceConfigOptions.test.tsx +144 -0
- package/src/react/hooks/useCancelOrder.tsx +1 -1
- package/src/react/hooks/useCancelTransactionSteps.tsx +6 -6
- package/src/react/hooks/useCurrencies.tsx +2 -5
- package/src/react/hooks/useCurrency.tsx +10 -1
- package/src/react/hooks/useCurrencyBalance.tsx +38 -36
- package/src/react/hooks/useGetReceiptFromHash.tsx +1 -1
- package/src/react/hooks/useListCollectibleActivities.tsx +57 -0
- package/src/react/hooks/useListCollectionActivities.tsx +57 -0
- package/src/react/ssr/create-ssr-client.ts +1 -1
- package/src/react/ui/components/_internals/custom-select/__tests__/CustomSelect.test.tsx +89 -0
- package/src/react/ui/components/collectible-card/index.ts +1 -0
- package/src/react/ui/components/marketplace-logos/index.ts +23 -0
- package/src/react/ui/components/marketplace-logos/marketplace-logos.tsx +111 -0
- package/src/react/ui/images/marketplaces/alien_swap.png +0 -0
- package/src/react/ui/images/marketplaces/aqua-xyz.png +0 -0
- package/src/react/ui/images/marketplaces/aura.png +0 -0
- package/src/react/ui/images/marketplaces/blur.png +0 -0
- package/src/react/ui/images/marketplaces/coinbase.png +0 -0
- package/src/react/ui/images/marketplaces/element.png +0 -0
- package/src/react/ui/images/marketplaces/foundation.png +0 -0
- package/src/react/ui/images/marketplaces/looks-rare.png +0 -0
- package/src/react/ui/images/marketplaces/magic-eden.png +0 -0
- package/src/react/ui/images/marketplaces/manifold.png +0 -0
- package/src/react/ui/images/marketplaces/mintify.png +0 -0
- package/src/react/ui/images/marketplaces/nftx.png +0 -0
- package/src/react/ui/images/marketplaces/okx.png +0 -0
- package/src/react/ui/images/marketplaces/open-sea.png +0 -0
- package/src/react/ui/images/marketplaces/rarible.png +0 -0
- package/src/react/ui/images/marketplaces/sequence.png +0 -0
- package/src/react/ui/images/marketplaces/sudo-swap.png +0 -0
- package/src/react/ui/images/marketplaces/super-rare.png +0 -0
- package/src/react/ui/images/marketplaces/x2y2.png +0 -0
- package/src/react/ui/images/marketplaces/zora.png +0 -0
- package/src/react/ui/modals/BuyModal/Modal.tsx +3 -1
- package/src/react/ui/modals/BuyModal/hooks/useBuyCollectable.ts +1 -0
- package/src/react/ui/modals/CreateListingModal/Modal.tsx +2 -1
- package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +208 -0
- package/src/react/ui/modals/CreateListingModal/store.ts +26 -16
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +2 -2
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +199 -0
- package/src/react/ui/modals/MakeOfferModal/store.ts +27 -16
- package/src/react/ui/modals/SellModal/Modal.tsx +1 -0
- package/src/react/ui/modals/SellModal/__tests__/Modal.test.tsx +192 -0
- package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +3 -3
- package/src/react/ui/modals/SellModal/hooks/useSell.tsx +3 -3
- package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +8 -8
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +2 -0
- package/src/react/ui/modals/_internal/components/actionModal/ErrorModal.tsx +7 -1
- package/src/react/ui/modals/_internal/components/actionModal/LoadingModal.tsx +7 -1
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/__tests__/index.test.tsx +159 -0
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +4 -5
- package/src/react/ui/modals/_internal/components/priceInput/__tests__/index.test.tsx +124 -0
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +48 -45
- package/src/react/ui/modals/_internal/components/switchChainModal/__tests__/SwitchChainModal.test.tsx +221 -0
- package/src/react/ui/modals/_internal/components/switchChainModal/index.tsx +24 -5
- package/src/react/ui/modals/_internal/components/switchChainModal/store.ts +2 -2
- package/src/react/ui/modals/_internal/components/transactionPreview/index.tsx +16 -2
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/TransactionStatusModal.test.tsx +147 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +218 -0
- package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +27 -10
- package/src/react/ui/modals/_internal/components/transactionStatusModal/util/getMessage.ts +1 -1
- package/src/react/ui/modals/modal-provider.tsx +0 -2
- package/src/types/marketplace-config.ts +1 -1
- package/src/utils/__tests__/address.test.ts +65 -0
- package/src/utils/__tests__/date.test.ts +31 -0
- package/src/utils/__tests__/get-public-rpc-client.test.ts +109 -0
- package/src/utils/__tests__/getMarketplaceDetails.test.ts +134 -0
- package/src/utils/__tests__/price.test.ts +42 -0
- package/src/utils/get-public-rpc-client.ts +6 -0
- package/src/utils/getMarketplaceDetails.ts +110 -0
- package/src/utils/index.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/vitest.config.js +10 -0
- package/dist/chunk-2FOUCP2R.js.map +0 -1
- package/dist/chunk-36NGHJH5.js.map +0 -1
- package/dist/chunk-3C2MT5TM.js.map +0 -1
- package/dist/chunk-5D3ARFFZ.js.map +0 -1
- package/dist/chunk-6WB4GCCJ.js +0 -38
- package/dist/chunk-6WB4GCCJ.js.map +0 -1
- package/dist/chunk-CP2IVRMX.js +0 -85
- package/dist/chunk-CP2IVRMX.js.map +0 -1
- package/dist/chunk-DNVERQ5J.js.map +0 -1
- package/dist/chunk-LTHX6RXH.js.map +0 -1
- package/dist/chunk-MJ4YU7RW.js +0 -2
- package/dist/chunk-QVOUL555.js.map +0 -1
- package/dist/chunk-RD7HPANB.js.map +0 -1
- package/dist/react/ui/components/index.css.map +0 -1
- package/dist/react/ui/components/index.js +0 -28
- package/src/react/ui/components/index.ts +0 -1
- package/src/react/ui/modals/Account/index.tsx +0 -29
- package/src/react/ui/modals/_internal/components/priceInput/hooks/useBalanceCheck.ts +0 -67
- package/src/react/ui/modals/_internal/components/priceInput/hooks/usePriceInput.ts +0 -54
- /package/dist/{chunk-MJ4YU7RW.js.map → alien_swap-IZONL4XB.js.map} +0 -0
- /package/dist/{react/ui/components/index.js.map → alien_swap-PMYKGY6A.js.map} +0 -0
- /package/dist/react/ui/components/{index.css → collectible-card/index.css} +0 -0
|
@@ -4,11 +4,11 @@ import { 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, w as Currency, o as CollectibleOrder,
|
|
7
|
+
import { Q as QueryArgSchema, c as ChainId } from '../../types-eX4P9xju.js';
|
|
8
|
+
import { Q as SdkConfig, P as PropertyType, M as MarketplaceKind, b as OrderSide, w as Currency, o as CollectibleOrder, aK as GetCollectibleHighestOfferReturn, S as SortOrder$1, q as Activity, i as Page$1, b4 as ListCollectiblesReturn, aS as ListCollectibleOffersReturn, aG as GetCountOfOffersForCollectibleReturn, aQ as ListCollectibleListingsReturn, aE as GetCountOfListingsForCollectibleReturn, aM as GetCollectibleLowestListingReturn, z as Step, D as CreateReq, aX as GenerateListingTransactionArgs, aZ as GenerateOfferTransactionArgs, aV as GenerateSellTransactionArgs, g as StepType, E as ExecuteType, a$ as GenerateCancelTransactionArgs, C as ContractType, bq as CheckoutOptionsMarketplaceReturn, W as WalletKind } from '../../sdk-config-BXVH8PS2.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-CdXAIjt1.js';
|
|
11
|
+
import { M as MarketplaceConfig } from '../../marketplace-config-C_fDWzz0.js';
|
|
12
12
|
|
|
13
13
|
declare const fetchBalanceOfCollectibleSchema: z.ZodObject<{
|
|
14
14
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -976,6 +976,603 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
|
|
|
976
976
|
};
|
|
977
977
|
declare const useListBalances: (args: UseListBalancesArgs) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<_0xsequence_indexer.GetTokenBalancesReturn, unknown>, Error>;
|
|
978
978
|
|
|
979
|
+
declare const getListCollectibleActivitiesArgsSchema: z.ZodObject<{
|
|
980
|
+
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodString>;
|
|
981
|
+
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
982
|
+
tokenId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodString>;
|
|
983
|
+
query: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
984
|
+
page: z.ZodNumber;
|
|
985
|
+
pageSize: z.ZodNumber;
|
|
986
|
+
more: z.ZodOptional<z.ZodBoolean>;
|
|
987
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
988
|
+
column: z.ZodString;
|
|
989
|
+
order: z.ZodNativeEnum<typeof SortOrder$1>;
|
|
990
|
+
}, "strip", z.ZodTypeAny, {
|
|
991
|
+
order: SortOrder$1;
|
|
992
|
+
column: string;
|
|
993
|
+
}, {
|
|
994
|
+
order: SortOrder$1;
|
|
995
|
+
column: string;
|
|
996
|
+
}>, "many">>;
|
|
997
|
+
}, {
|
|
998
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
999
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1000
|
+
page: number;
|
|
1001
|
+
pageSize: number;
|
|
1002
|
+
enabled?: boolean | undefined;
|
|
1003
|
+
sort?: {
|
|
1004
|
+
order: SortOrder$1;
|
|
1005
|
+
column: string;
|
|
1006
|
+
}[] | undefined;
|
|
1007
|
+
more?: boolean | undefined;
|
|
1008
|
+
}, {
|
|
1009
|
+
page: number;
|
|
1010
|
+
pageSize: number;
|
|
1011
|
+
enabled?: boolean | undefined;
|
|
1012
|
+
sort?: {
|
|
1013
|
+
order: SortOrder$1;
|
|
1014
|
+
column: string;
|
|
1015
|
+
}[] | undefined;
|
|
1016
|
+
more?: boolean | undefined;
|
|
1017
|
+
}>>;
|
|
1018
|
+
}, "strip", z.ZodTypeAny, {
|
|
1019
|
+
chainId: string;
|
|
1020
|
+
collectionAddress: `0x${string}`;
|
|
1021
|
+
tokenId: string;
|
|
1022
|
+
query?: {
|
|
1023
|
+
page: number;
|
|
1024
|
+
pageSize: number;
|
|
1025
|
+
enabled?: boolean | undefined;
|
|
1026
|
+
sort?: {
|
|
1027
|
+
order: SortOrder$1;
|
|
1028
|
+
column: string;
|
|
1029
|
+
}[] | undefined;
|
|
1030
|
+
more?: boolean | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
}, {
|
|
1033
|
+
chainId: string | number;
|
|
1034
|
+
collectionAddress: string;
|
|
1035
|
+
tokenId: string | number;
|
|
1036
|
+
query?: {
|
|
1037
|
+
page: number;
|
|
1038
|
+
pageSize: number;
|
|
1039
|
+
enabled?: boolean | undefined;
|
|
1040
|
+
sort?: {
|
|
1041
|
+
order: SortOrder$1;
|
|
1042
|
+
column: string;
|
|
1043
|
+
}[] | undefined;
|
|
1044
|
+
more?: boolean | undefined;
|
|
1045
|
+
} | undefined;
|
|
1046
|
+
}>;
|
|
1047
|
+
declare const getListCollectibleActivitiesReturnSchema: z.ZodObject<{
|
|
1048
|
+
activities: z.ZodArray<z.ZodObject<{
|
|
1049
|
+
type: z.ZodString;
|
|
1050
|
+
fromAddress: z.ZodString;
|
|
1051
|
+
toAddress: z.ZodString;
|
|
1052
|
+
txHash: z.ZodString;
|
|
1053
|
+
timestamp: z.ZodNumber;
|
|
1054
|
+
tokenId: z.ZodString;
|
|
1055
|
+
tokenImage: z.ZodString;
|
|
1056
|
+
tokenName: z.ZodString;
|
|
1057
|
+
currency: z.ZodOptional<z.ZodObject<{
|
|
1058
|
+
chainId: z.ZodNumber;
|
|
1059
|
+
contractAddress: z.ZodString;
|
|
1060
|
+
name: z.ZodString;
|
|
1061
|
+
symbol: z.ZodString;
|
|
1062
|
+
decimals: z.ZodNumber;
|
|
1063
|
+
imageUrl: z.ZodString;
|
|
1064
|
+
exchangeRate: z.ZodNumber;
|
|
1065
|
+
defaultChainCurrency: z.ZodBoolean;
|
|
1066
|
+
nativeCurrency: z.ZodBoolean;
|
|
1067
|
+
createdAt: z.ZodString;
|
|
1068
|
+
updatedAt: z.ZodString;
|
|
1069
|
+
deletedAt: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
}, "strip", z.ZodTypeAny, {
|
|
1071
|
+
symbol: string;
|
|
1072
|
+
chainId: number;
|
|
1073
|
+
name: string;
|
|
1074
|
+
nativeCurrency: boolean;
|
|
1075
|
+
updatedAt: string;
|
|
1076
|
+
contractAddress: string;
|
|
1077
|
+
createdAt: string;
|
|
1078
|
+
decimals: number;
|
|
1079
|
+
imageUrl: string;
|
|
1080
|
+
exchangeRate: number;
|
|
1081
|
+
defaultChainCurrency: boolean;
|
|
1082
|
+
deletedAt?: string | undefined;
|
|
1083
|
+
}, {
|
|
1084
|
+
symbol: string;
|
|
1085
|
+
chainId: number;
|
|
1086
|
+
name: string;
|
|
1087
|
+
nativeCurrency: boolean;
|
|
1088
|
+
updatedAt: string;
|
|
1089
|
+
contractAddress: string;
|
|
1090
|
+
createdAt: string;
|
|
1091
|
+
decimals: number;
|
|
1092
|
+
imageUrl: string;
|
|
1093
|
+
exchangeRate: number;
|
|
1094
|
+
defaultChainCurrency: boolean;
|
|
1095
|
+
deletedAt?: string | undefined;
|
|
1096
|
+
}>>;
|
|
1097
|
+
}, "strip", z.ZodTypeAny, {
|
|
1098
|
+
type: string;
|
|
1099
|
+
timestamp: number;
|
|
1100
|
+
tokenId: string;
|
|
1101
|
+
fromAddress: string;
|
|
1102
|
+
toAddress: string;
|
|
1103
|
+
txHash: string;
|
|
1104
|
+
tokenImage: string;
|
|
1105
|
+
tokenName: string;
|
|
1106
|
+
currency?: {
|
|
1107
|
+
symbol: string;
|
|
1108
|
+
chainId: number;
|
|
1109
|
+
name: string;
|
|
1110
|
+
nativeCurrency: boolean;
|
|
1111
|
+
updatedAt: string;
|
|
1112
|
+
contractAddress: string;
|
|
1113
|
+
createdAt: string;
|
|
1114
|
+
decimals: number;
|
|
1115
|
+
imageUrl: string;
|
|
1116
|
+
exchangeRate: number;
|
|
1117
|
+
defaultChainCurrency: boolean;
|
|
1118
|
+
deletedAt?: string | undefined;
|
|
1119
|
+
} | undefined;
|
|
1120
|
+
}, {
|
|
1121
|
+
type: string;
|
|
1122
|
+
timestamp: number;
|
|
1123
|
+
tokenId: string;
|
|
1124
|
+
fromAddress: string;
|
|
1125
|
+
toAddress: string;
|
|
1126
|
+
txHash: string;
|
|
1127
|
+
tokenImage: string;
|
|
1128
|
+
tokenName: string;
|
|
1129
|
+
currency?: {
|
|
1130
|
+
symbol: string;
|
|
1131
|
+
chainId: number;
|
|
1132
|
+
name: string;
|
|
1133
|
+
nativeCurrency: boolean;
|
|
1134
|
+
updatedAt: string;
|
|
1135
|
+
contractAddress: string;
|
|
1136
|
+
createdAt: string;
|
|
1137
|
+
decimals: number;
|
|
1138
|
+
imageUrl: string;
|
|
1139
|
+
exchangeRate: number;
|
|
1140
|
+
defaultChainCurrency: boolean;
|
|
1141
|
+
deletedAt?: string | undefined;
|
|
1142
|
+
} | undefined;
|
|
1143
|
+
}>, "many">;
|
|
1144
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
1145
|
+
page: z.ZodNumber;
|
|
1146
|
+
pageSize: z.ZodNumber;
|
|
1147
|
+
more: z.ZodOptional<z.ZodBoolean>;
|
|
1148
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1149
|
+
column: z.ZodString;
|
|
1150
|
+
order: z.ZodNativeEnum<typeof SortOrder$1>;
|
|
1151
|
+
}, "strip", z.ZodTypeAny, {
|
|
1152
|
+
order: SortOrder$1;
|
|
1153
|
+
column: string;
|
|
1154
|
+
}, {
|
|
1155
|
+
order: SortOrder$1;
|
|
1156
|
+
column: string;
|
|
1157
|
+
}>, "many">>;
|
|
1158
|
+
}, "strip", z.ZodTypeAny, {
|
|
1159
|
+
page: number;
|
|
1160
|
+
pageSize: number;
|
|
1161
|
+
sort?: {
|
|
1162
|
+
order: SortOrder$1;
|
|
1163
|
+
column: string;
|
|
1164
|
+
}[] | undefined;
|
|
1165
|
+
more?: boolean | undefined;
|
|
1166
|
+
}, {
|
|
1167
|
+
page: number;
|
|
1168
|
+
pageSize: number;
|
|
1169
|
+
sort?: {
|
|
1170
|
+
order: SortOrder$1;
|
|
1171
|
+
column: string;
|
|
1172
|
+
}[] | undefined;
|
|
1173
|
+
more?: boolean | undefined;
|
|
1174
|
+
}>>;
|
|
1175
|
+
}, "strip", z.ZodTypeAny, {
|
|
1176
|
+
activities: {
|
|
1177
|
+
type: string;
|
|
1178
|
+
timestamp: number;
|
|
1179
|
+
tokenId: string;
|
|
1180
|
+
fromAddress: string;
|
|
1181
|
+
toAddress: string;
|
|
1182
|
+
txHash: string;
|
|
1183
|
+
tokenImage: string;
|
|
1184
|
+
tokenName: string;
|
|
1185
|
+
currency?: {
|
|
1186
|
+
symbol: string;
|
|
1187
|
+
chainId: number;
|
|
1188
|
+
name: string;
|
|
1189
|
+
nativeCurrency: boolean;
|
|
1190
|
+
updatedAt: string;
|
|
1191
|
+
contractAddress: string;
|
|
1192
|
+
createdAt: string;
|
|
1193
|
+
decimals: number;
|
|
1194
|
+
imageUrl: string;
|
|
1195
|
+
exchangeRate: number;
|
|
1196
|
+
defaultChainCurrency: boolean;
|
|
1197
|
+
deletedAt?: string | undefined;
|
|
1198
|
+
} | undefined;
|
|
1199
|
+
}[];
|
|
1200
|
+
page?: {
|
|
1201
|
+
page: number;
|
|
1202
|
+
pageSize: number;
|
|
1203
|
+
sort?: {
|
|
1204
|
+
order: SortOrder$1;
|
|
1205
|
+
column: string;
|
|
1206
|
+
}[] | undefined;
|
|
1207
|
+
more?: boolean | undefined;
|
|
1208
|
+
} | undefined;
|
|
1209
|
+
}, {
|
|
1210
|
+
activities: {
|
|
1211
|
+
type: string;
|
|
1212
|
+
timestamp: number;
|
|
1213
|
+
tokenId: string;
|
|
1214
|
+
fromAddress: string;
|
|
1215
|
+
toAddress: string;
|
|
1216
|
+
txHash: string;
|
|
1217
|
+
tokenImage: string;
|
|
1218
|
+
tokenName: string;
|
|
1219
|
+
currency?: {
|
|
1220
|
+
symbol: string;
|
|
1221
|
+
chainId: number;
|
|
1222
|
+
name: string;
|
|
1223
|
+
nativeCurrency: boolean;
|
|
1224
|
+
updatedAt: string;
|
|
1225
|
+
contractAddress: string;
|
|
1226
|
+
createdAt: string;
|
|
1227
|
+
decimals: number;
|
|
1228
|
+
imageUrl: string;
|
|
1229
|
+
exchangeRate: number;
|
|
1230
|
+
defaultChainCurrency: boolean;
|
|
1231
|
+
deletedAt?: string | undefined;
|
|
1232
|
+
} | undefined;
|
|
1233
|
+
}[];
|
|
1234
|
+
page?: {
|
|
1235
|
+
page: number;
|
|
1236
|
+
pageSize: number;
|
|
1237
|
+
sort?: {
|
|
1238
|
+
order: SortOrder$1;
|
|
1239
|
+
column: string;
|
|
1240
|
+
}[] | undefined;
|
|
1241
|
+
more?: boolean | undefined;
|
|
1242
|
+
} | undefined;
|
|
1243
|
+
}>;
|
|
1244
|
+
declare const getListCollectionActivitiesArgsSchema: z.ZodObject<{
|
|
1245
|
+
chainId: z.ZodPipeline<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNativeEnum<typeof _0xsequence_network.ChainId>]>, z.ZodString>;
|
|
1246
|
+
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
1247
|
+
query: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
1248
|
+
page: z.ZodNumber;
|
|
1249
|
+
pageSize: z.ZodNumber;
|
|
1250
|
+
more: z.ZodOptional<z.ZodBoolean>;
|
|
1251
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1252
|
+
column: z.ZodString;
|
|
1253
|
+
order: z.ZodNativeEnum<typeof SortOrder$1>;
|
|
1254
|
+
}, "strip", z.ZodTypeAny, {
|
|
1255
|
+
order: SortOrder$1;
|
|
1256
|
+
column: string;
|
|
1257
|
+
}, {
|
|
1258
|
+
order: SortOrder$1;
|
|
1259
|
+
column: string;
|
|
1260
|
+
}>, "many">>;
|
|
1261
|
+
}, {
|
|
1262
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1263
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1264
|
+
page: number;
|
|
1265
|
+
pageSize: number;
|
|
1266
|
+
enabled?: boolean | undefined;
|
|
1267
|
+
sort?: {
|
|
1268
|
+
order: SortOrder$1;
|
|
1269
|
+
column: string;
|
|
1270
|
+
}[] | undefined;
|
|
1271
|
+
more?: boolean | undefined;
|
|
1272
|
+
}, {
|
|
1273
|
+
page: number;
|
|
1274
|
+
pageSize: number;
|
|
1275
|
+
enabled?: boolean | undefined;
|
|
1276
|
+
sort?: {
|
|
1277
|
+
order: SortOrder$1;
|
|
1278
|
+
column: string;
|
|
1279
|
+
}[] | undefined;
|
|
1280
|
+
more?: boolean | undefined;
|
|
1281
|
+
}>>;
|
|
1282
|
+
}, "strip", z.ZodTypeAny, {
|
|
1283
|
+
chainId: string;
|
|
1284
|
+
collectionAddress: `0x${string}`;
|
|
1285
|
+
query?: {
|
|
1286
|
+
page: number;
|
|
1287
|
+
pageSize: number;
|
|
1288
|
+
enabled?: boolean | undefined;
|
|
1289
|
+
sort?: {
|
|
1290
|
+
order: SortOrder$1;
|
|
1291
|
+
column: string;
|
|
1292
|
+
}[] | undefined;
|
|
1293
|
+
more?: boolean | undefined;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
}, {
|
|
1296
|
+
chainId: string | number;
|
|
1297
|
+
collectionAddress: string;
|
|
1298
|
+
query?: {
|
|
1299
|
+
page: number;
|
|
1300
|
+
pageSize: number;
|
|
1301
|
+
enabled?: boolean | undefined;
|
|
1302
|
+
sort?: {
|
|
1303
|
+
order: SortOrder$1;
|
|
1304
|
+
column: string;
|
|
1305
|
+
}[] | undefined;
|
|
1306
|
+
more?: boolean | undefined;
|
|
1307
|
+
} | undefined;
|
|
1308
|
+
}>;
|
|
1309
|
+
declare const getListCollectionActivitiesReturnSchema: z.ZodObject<{
|
|
1310
|
+
activities: z.ZodArray<z.ZodObject<{
|
|
1311
|
+
type: z.ZodString;
|
|
1312
|
+
fromAddress: z.ZodString;
|
|
1313
|
+
toAddress: z.ZodString;
|
|
1314
|
+
txHash: z.ZodString;
|
|
1315
|
+
timestamp: z.ZodNumber;
|
|
1316
|
+
tokenId: z.ZodString;
|
|
1317
|
+
tokenImage: z.ZodString;
|
|
1318
|
+
tokenName: z.ZodString;
|
|
1319
|
+
currency: z.ZodOptional<z.ZodObject<{
|
|
1320
|
+
chainId: z.ZodNumber;
|
|
1321
|
+
contractAddress: z.ZodString;
|
|
1322
|
+
name: z.ZodString;
|
|
1323
|
+
symbol: z.ZodString;
|
|
1324
|
+
decimals: z.ZodNumber;
|
|
1325
|
+
imageUrl: z.ZodString;
|
|
1326
|
+
exchangeRate: z.ZodNumber;
|
|
1327
|
+
defaultChainCurrency: z.ZodBoolean;
|
|
1328
|
+
nativeCurrency: z.ZodBoolean;
|
|
1329
|
+
createdAt: z.ZodString;
|
|
1330
|
+
updatedAt: z.ZodString;
|
|
1331
|
+
deletedAt: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
}, "strip", z.ZodTypeAny, {
|
|
1333
|
+
symbol: string;
|
|
1334
|
+
chainId: number;
|
|
1335
|
+
name: string;
|
|
1336
|
+
nativeCurrency: boolean;
|
|
1337
|
+
updatedAt: string;
|
|
1338
|
+
contractAddress: string;
|
|
1339
|
+
createdAt: string;
|
|
1340
|
+
decimals: number;
|
|
1341
|
+
imageUrl: string;
|
|
1342
|
+
exchangeRate: number;
|
|
1343
|
+
defaultChainCurrency: boolean;
|
|
1344
|
+
deletedAt?: string | undefined;
|
|
1345
|
+
}, {
|
|
1346
|
+
symbol: string;
|
|
1347
|
+
chainId: number;
|
|
1348
|
+
name: string;
|
|
1349
|
+
nativeCurrency: boolean;
|
|
1350
|
+
updatedAt: string;
|
|
1351
|
+
contractAddress: string;
|
|
1352
|
+
createdAt: string;
|
|
1353
|
+
decimals: number;
|
|
1354
|
+
imageUrl: string;
|
|
1355
|
+
exchangeRate: number;
|
|
1356
|
+
defaultChainCurrency: boolean;
|
|
1357
|
+
deletedAt?: string | undefined;
|
|
1358
|
+
}>>;
|
|
1359
|
+
}, "strip", z.ZodTypeAny, {
|
|
1360
|
+
type: string;
|
|
1361
|
+
timestamp: number;
|
|
1362
|
+
tokenId: string;
|
|
1363
|
+
fromAddress: string;
|
|
1364
|
+
toAddress: string;
|
|
1365
|
+
txHash: string;
|
|
1366
|
+
tokenImage: string;
|
|
1367
|
+
tokenName: string;
|
|
1368
|
+
currency?: {
|
|
1369
|
+
symbol: string;
|
|
1370
|
+
chainId: number;
|
|
1371
|
+
name: string;
|
|
1372
|
+
nativeCurrency: boolean;
|
|
1373
|
+
updatedAt: string;
|
|
1374
|
+
contractAddress: string;
|
|
1375
|
+
createdAt: string;
|
|
1376
|
+
decimals: number;
|
|
1377
|
+
imageUrl: string;
|
|
1378
|
+
exchangeRate: number;
|
|
1379
|
+
defaultChainCurrency: boolean;
|
|
1380
|
+
deletedAt?: string | undefined;
|
|
1381
|
+
} | undefined;
|
|
1382
|
+
}, {
|
|
1383
|
+
type: string;
|
|
1384
|
+
timestamp: number;
|
|
1385
|
+
tokenId: string;
|
|
1386
|
+
fromAddress: string;
|
|
1387
|
+
toAddress: string;
|
|
1388
|
+
txHash: string;
|
|
1389
|
+
tokenImage: string;
|
|
1390
|
+
tokenName: string;
|
|
1391
|
+
currency?: {
|
|
1392
|
+
symbol: string;
|
|
1393
|
+
chainId: number;
|
|
1394
|
+
name: string;
|
|
1395
|
+
nativeCurrency: boolean;
|
|
1396
|
+
updatedAt: string;
|
|
1397
|
+
contractAddress: string;
|
|
1398
|
+
createdAt: string;
|
|
1399
|
+
decimals: number;
|
|
1400
|
+
imageUrl: string;
|
|
1401
|
+
exchangeRate: number;
|
|
1402
|
+
defaultChainCurrency: boolean;
|
|
1403
|
+
deletedAt?: string | undefined;
|
|
1404
|
+
} | undefined;
|
|
1405
|
+
}>, "many">;
|
|
1406
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
1407
|
+
page: z.ZodNumber;
|
|
1408
|
+
pageSize: z.ZodNumber;
|
|
1409
|
+
more: z.ZodOptional<z.ZodBoolean>;
|
|
1410
|
+
sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1411
|
+
column: z.ZodString;
|
|
1412
|
+
order: z.ZodNativeEnum<typeof SortOrder$1>;
|
|
1413
|
+
}, "strip", z.ZodTypeAny, {
|
|
1414
|
+
order: SortOrder$1;
|
|
1415
|
+
column: string;
|
|
1416
|
+
}, {
|
|
1417
|
+
order: SortOrder$1;
|
|
1418
|
+
column: string;
|
|
1419
|
+
}>, "many">>;
|
|
1420
|
+
}, "strip", z.ZodTypeAny, {
|
|
1421
|
+
page: number;
|
|
1422
|
+
pageSize: number;
|
|
1423
|
+
sort?: {
|
|
1424
|
+
order: SortOrder$1;
|
|
1425
|
+
column: string;
|
|
1426
|
+
}[] | undefined;
|
|
1427
|
+
more?: boolean | undefined;
|
|
1428
|
+
}, {
|
|
1429
|
+
page: number;
|
|
1430
|
+
pageSize: number;
|
|
1431
|
+
sort?: {
|
|
1432
|
+
order: SortOrder$1;
|
|
1433
|
+
column: string;
|
|
1434
|
+
}[] | undefined;
|
|
1435
|
+
more?: boolean | undefined;
|
|
1436
|
+
}>>;
|
|
1437
|
+
}, "strip", z.ZodTypeAny, {
|
|
1438
|
+
activities: {
|
|
1439
|
+
type: string;
|
|
1440
|
+
timestamp: number;
|
|
1441
|
+
tokenId: string;
|
|
1442
|
+
fromAddress: string;
|
|
1443
|
+
toAddress: string;
|
|
1444
|
+
txHash: string;
|
|
1445
|
+
tokenImage: string;
|
|
1446
|
+
tokenName: string;
|
|
1447
|
+
currency?: {
|
|
1448
|
+
symbol: string;
|
|
1449
|
+
chainId: number;
|
|
1450
|
+
name: string;
|
|
1451
|
+
nativeCurrency: boolean;
|
|
1452
|
+
updatedAt: string;
|
|
1453
|
+
contractAddress: string;
|
|
1454
|
+
createdAt: string;
|
|
1455
|
+
decimals: number;
|
|
1456
|
+
imageUrl: string;
|
|
1457
|
+
exchangeRate: number;
|
|
1458
|
+
defaultChainCurrency: boolean;
|
|
1459
|
+
deletedAt?: string | undefined;
|
|
1460
|
+
} | undefined;
|
|
1461
|
+
}[];
|
|
1462
|
+
page?: {
|
|
1463
|
+
page: number;
|
|
1464
|
+
pageSize: number;
|
|
1465
|
+
sort?: {
|
|
1466
|
+
order: SortOrder$1;
|
|
1467
|
+
column: string;
|
|
1468
|
+
}[] | undefined;
|
|
1469
|
+
more?: boolean | undefined;
|
|
1470
|
+
} | undefined;
|
|
1471
|
+
}, {
|
|
1472
|
+
activities: {
|
|
1473
|
+
type: string;
|
|
1474
|
+
timestamp: number;
|
|
1475
|
+
tokenId: string;
|
|
1476
|
+
fromAddress: string;
|
|
1477
|
+
toAddress: string;
|
|
1478
|
+
txHash: string;
|
|
1479
|
+
tokenImage: string;
|
|
1480
|
+
tokenName: string;
|
|
1481
|
+
currency?: {
|
|
1482
|
+
symbol: string;
|
|
1483
|
+
chainId: number;
|
|
1484
|
+
name: string;
|
|
1485
|
+
nativeCurrency: boolean;
|
|
1486
|
+
updatedAt: string;
|
|
1487
|
+
contractAddress: string;
|
|
1488
|
+
createdAt: string;
|
|
1489
|
+
decimals: number;
|
|
1490
|
+
imageUrl: string;
|
|
1491
|
+
exchangeRate: number;
|
|
1492
|
+
defaultChainCurrency: boolean;
|
|
1493
|
+
deletedAt?: string | undefined;
|
|
1494
|
+
} | undefined;
|
|
1495
|
+
}[];
|
|
1496
|
+
page?: {
|
|
1497
|
+
page: number;
|
|
1498
|
+
pageSize: number;
|
|
1499
|
+
sort?: {
|
|
1500
|
+
order: SortOrder$1;
|
|
1501
|
+
column: string;
|
|
1502
|
+
}[] | undefined;
|
|
1503
|
+
more?: boolean | undefined;
|
|
1504
|
+
} | undefined;
|
|
1505
|
+
}>;
|
|
1506
|
+
|
|
1507
|
+
type UseListCollectibleActivitiesArgs = z.infer<typeof getListCollectibleActivitiesArgsSchema>;
|
|
1508
|
+
type UseListCollectibleActivitiesReturn = z.infer<typeof getListCollectibleActivitiesReturnSchema>;
|
|
1509
|
+
declare const listCollectibleActivitiesOptions: (args: UseListCollectibleActivitiesArgs, config: SdkConfig) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1510
|
+
activities: Activity[];
|
|
1511
|
+
page: Page$1 | undefined;
|
|
1512
|
+
}, Error, {
|
|
1513
|
+
activities: Activity[];
|
|
1514
|
+
page: Page$1 | undefined;
|
|
1515
|
+
}, ("collectable" | "collectibleActivities" | SdkConfig | {
|
|
1516
|
+
chainId: string;
|
|
1517
|
+
collectionAddress: `0x${string}`;
|
|
1518
|
+
tokenId: string;
|
|
1519
|
+
query?: {
|
|
1520
|
+
page: number;
|
|
1521
|
+
pageSize: number;
|
|
1522
|
+
enabled?: boolean | undefined;
|
|
1523
|
+
sort?: {
|
|
1524
|
+
order: SortOrder$1;
|
|
1525
|
+
column: string;
|
|
1526
|
+
}[] | undefined;
|
|
1527
|
+
more?: boolean | undefined;
|
|
1528
|
+
} | undefined;
|
|
1529
|
+
})[]>, "queryFn"> & {
|
|
1530
|
+
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1531
|
+
activities: Activity[];
|
|
1532
|
+
page: Page$1 | undefined;
|
|
1533
|
+
}, ("collectable" | "collectibleActivities" | SdkConfig | {
|
|
1534
|
+
chainId: string;
|
|
1535
|
+
collectionAddress: `0x${string}`;
|
|
1536
|
+
tokenId: string;
|
|
1537
|
+
query?: {
|
|
1538
|
+
page: number;
|
|
1539
|
+
pageSize: number;
|
|
1540
|
+
enabled?: boolean | undefined;
|
|
1541
|
+
sort?: {
|
|
1542
|
+
order: SortOrder$1;
|
|
1543
|
+
column: string;
|
|
1544
|
+
}[] | undefined;
|
|
1545
|
+
more?: boolean | undefined;
|
|
1546
|
+
} | undefined;
|
|
1547
|
+
})[], never> | undefined;
|
|
1548
|
+
} & {
|
|
1549
|
+
queryKey: ("collectable" | "collectibleActivities" | SdkConfig | {
|
|
1550
|
+
chainId: string;
|
|
1551
|
+
collectionAddress: `0x${string}`;
|
|
1552
|
+
tokenId: string;
|
|
1553
|
+
query?: {
|
|
1554
|
+
page: number;
|
|
1555
|
+
pageSize: number;
|
|
1556
|
+
enabled?: boolean | undefined;
|
|
1557
|
+
sort?: {
|
|
1558
|
+
order: SortOrder$1;
|
|
1559
|
+
column: string;
|
|
1560
|
+
}[] | undefined;
|
|
1561
|
+
more?: boolean | undefined;
|
|
1562
|
+
} | undefined;
|
|
1563
|
+
})[] & {
|
|
1564
|
+
[dataTagSymbol]: {
|
|
1565
|
+
activities: Activity[];
|
|
1566
|
+
page: Page$1 | undefined;
|
|
1567
|
+
};
|
|
1568
|
+
[dataTagErrorSymbol]: Error;
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
declare const useListCollectibleActivities: (args: UseListCollectibleActivitiesArgs) => _tanstack_react_query.UseQueryResult<{
|
|
1572
|
+
activities: Activity[];
|
|
1573
|
+
page: Page$1 | undefined;
|
|
1574
|
+
}, Error>;
|
|
1575
|
+
|
|
979
1576
|
declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
980
1577
|
side: z.ZodNativeEnum<typeof OrderSide>;
|
|
981
1578
|
contractAddress: z.ZodString;
|
|
@@ -1258,6 +1855,72 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1258
1855
|
};
|
|
1259
1856
|
declare const useListCollectibles: (args: UseListCollectiblesArgs) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>, Error>;
|
|
1260
1857
|
|
|
1858
|
+
type UseListCollectionActivitiesArgs = z.infer<typeof getListCollectionActivitiesArgsSchema>;
|
|
1859
|
+
type UseListCollectionActivitiesReturn = z.infer<typeof getListCollectionActivitiesReturnSchema>;
|
|
1860
|
+
declare const listCollectionActivitiesOptions: (args: UseListCollectionActivitiesArgs, config: SdkConfig) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
|
|
1861
|
+
activities: Activity[];
|
|
1862
|
+
page: Page$1 | undefined;
|
|
1863
|
+
}, Error, {
|
|
1864
|
+
activities: Activity[];
|
|
1865
|
+
page: Page$1 | undefined;
|
|
1866
|
+
}, ("collections" | "collectionActivities" | SdkConfig | {
|
|
1867
|
+
chainId: string;
|
|
1868
|
+
collectionAddress: `0x${string}`;
|
|
1869
|
+
query?: {
|
|
1870
|
+
page: number;
|
|
1871
|
+
pageSize: number;
|
|
1872
|
+
enabled?: boolean | undefined;
|
|
1873
|
+
sort?: {
|
|
1874
|
+
order: SortOrder$1;
|
|
1875
|
+
column: string;
|
|
1876
|
+
}[] | undefined;
|
|
1877
|
+
more?: boolean | undefined;
|
|
1878
|
+
} | undefined;
|
|
1879
|
+
})[]>, "queryFn"> & {
|
|
1880
|
+
queryFn?: _tanstack_react_query.QueryFunction<{
|
|
1881
|
+
activities: Activity[];
|
|
1882
|
+
page: Page$1 | undefined;
|
|
1883
|
+
}, ("collections" | "collectionActivities" | SdkConfig | {
|
|
1884
|
+
chainId: string;
|
|
1885
|
+
collectionAddress: `0x${string}`;
|
|
1886
|
+
query?: {
|
|
1887
|
+
page: number;
|
|
1888
|
+
pageSize: number;
|
|
1889
|
+
enabled?: boolean | undefined;
|
|
1890
|
+
sort?: {
|
|
1891
|
+
order: SortOrder$1;
|
|
1892
|
+
column: string;
|
|
1893
|
+
}[] | undefined;
|
|
1894
|
+
more?: boolean | undefined;
|
|
1895
|
+
} | undefined;
|
|
1896
|
+
})[], never> | undefined;
|
|
1897
|
+
} & {
|
|
1898
|
+
queryKey: ("collections" | "collectionActivities" | SdkConfig | {
|
|
1899
|
+
chainId: string;
|
|
1900
|
+
collectionAddress: `0x${string}`;
|
|
1901
|
+
query?: {
|
|
1902
|
+
page: number;
|
|
1903
|
+
pageSize: number;
|
|
1904
|
+
enabled?: boolean | undefined;
|
|
1905
|
+
sort?: {
|
|
1906
|
+
order: SortOrder$1;
|
|
1907
|
+
column: string;
|
|
1908
|
+
}[] | undefined;
|
|
1909
|
+
more?: boolean | undefined;
|
|
1910
|
+
} | undefined;
|
|
1911
|
+
})[] & {
|
|
1912
|
+
[dataTagSymbol]: {
|
|
1913
|
+
activities: Activity[];
|
|
1914
|
+
page: Page$1 | undefined;
|
|
1915
|
+
};
|
|
1916
|
+
[dataTagErrorSymbol]: Error;
|
|
1917
|
+
};
|
|
1918
|
+
};
|
|
1919
|
+
declare const useListCollectionActivities: (args: UseListCollectionActivitiesArgs) => _tanstack_react_query.UseQueryResult<{
|
|
1920
|
+
activities: Activity[];
|
|
1921
|
+
page: Page$1 | undefined;
|
|
1922
|
+
}, Error>;
|
|
1923
|
+
|
|
1261
1924
|
declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1262
1925
|
contractAddress: z.ZodString;
|
|
1263
1926
|
tokenId: z.ZodString;
|
|
@@ -2850,4 +3513,4 @@ declare const useCancelOrder: ({ collectionAddress, chainId, onSuccess, onError,
|
|
|
2850
3513
|
cancellingOrderId: string | null;
|
|
2851
3514
|
};
|
|
2852
3515
|
|
|
2853
|
-
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 UseListCollectiblesArgs, type UseListCollectiblesReturn, type UseListCollectionsArgs, type UseListCollectionsReturn, type UseListListingsForCollectibleReturn, type UseListOffersForCollectibleReturn, type UseLowestListingArgs, type UseLowestListingReturn, balanceOfCollectibleOptions, checkoutOptionsOptions, collectibleOptions, collectionOptions, countListingsForCollectibleOptions, countOfCollectablesOptions, countOffersForCollectibleOptions, currenciesOptions, currencyOptions, fetchFilters, fetchGenerateBuyTransaction, filtersOptions, floorOrderOptions, generateBuyTransactionOptions, generateCancelTransaction, generateListingTransaction, generateOfferTransaction, generateSellTransaction, highestOfferOptions, listBalancesOptions, listCollectiblesOptions, listCollectionsOptions, listListingsForCollectibleOptions, listOffersForCollectibleOptions, lowestListingOptions, marketplaceConfigOptions, metadataOptionsSchema, royaletyPercentageOptions, useBalanceOfCollectible, useCancelOrder, useCheckoutOptions, useCollectible, useCollection, useConfig, useCountListingsForCollectible, useCountOfCollectables, useCountOffersForCollectible, useCurrencies, useCurrency, useCurrencyOptions, useFilters, useFloorOrder, useGenerateBuyTransaction, useGenerateCancelTransaction, useGenerateListingTransaction, useGenerateOfferTransaction, useGenerateSellTransaction, useHighestOffer, useListBalances, useListCollectibles, useListCollections, useListListingsForCollectible, useListOffersForCollectible, useLowestListing, useMarketplaceConfig, useRoyaltyPercentage, useTransferTokens };
|
|
3516
|
+
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, 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, 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 };
|