@0xsequence/marketplace-sdk 0.4.5 → 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-SEISACMH.js → chunk-5UCKYAMR.js} +771 -788
- package/dist/chunk-5UCKYAMR.js.map +1 -0
- package/dist/{chunk-KILOCWY2.js → chunk-6R4G7J6Q.js} +87 -27
- package/dist/chunk-6R4G7J6Q.js.map +1 -0
- package/dist/{chunk-CKOWM2ZR.js → chunk-AQT3BQ67.js} +9 -9
- package/dist/chunk-AQT3BQ67.js.map +1 -0
- package/dist/{chunk-KL5JPUPS.js → chunk-FWN2MCLI.js} +18 -12
- package/dist/chunk-FWN2MCLI.js.map +1 -0
- package/dist/{chunk-PAZ4MQXZ.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-KZGDOIZY.js → chunk-R7GVMKMM.js} +154 -76
- 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-YUETNNZQ.js → chunk-WM4RGBFQ.js} +1 -10
- package/dist/{chunk-YUETNNZQ.js.map → chunk-WM4RGBFQ.js.map} +1 -1
- package/dist/chunk-XP3WY5AX.js +174 -0
- package/dist/chunk-XP3WY5AX.js.map +1 -0
- package/dist/{chunk-ZEKRTFBU.js → chunk-YOKGP2EQ.js} +12 -2
- package/dist/chunk-YOKGP2EQ.js.map +1 -0
- package/dist/{chunk-HTFBQVLV.js → chunk-ZEH4JI2U.js} +2 -2
- 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-DMBOGsJp.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 -5
- package/dist/index.js +12 -6
- 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-0Rft6_Hv.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 -3
- package/dist/react/_internal/api/index.js +6 -2
- package/dist/react/_internal/index.d.ts +6 -7
- package/dist/react/_internal/index.js +10 -4
- package/dist/react/_internal/wagmi/index.d.ts +3 -4
- package/dist/react/_internal/wagmi/index.js +2 -2
- package/dist/react/hooks/index.d.ts +779 -116
- package/dist/react/hooks/index.js +17 -7
- package/dist/react/index.d.ts +7 -8
- package/dist/react/index.js +19 -10
- 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} +4 -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 +6 -5
- package/dist/react/ui/index.js +11 -10
- package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +4 -2
- package/dist/react/ui/modals/_internal/components/actionModal/index.js +9 -7
- package/dist/{marketplace.gen-jdKqutnd.d.ts → sdk-config-BXVH8PS2.d.ts} +91 -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-C2O-7p_M.d.ts → services-CdXAIjt1.d.ts} +1 -2
- 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 -4
- package/dist/types/index.js +9 -6
- package/dist/types-eX4P9xju.d.ts +70 -0
- package/dist/utils/index.d.ts +16 -3
- package/dist/utils/index.js +9 -2
- 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 +51 -1
- package/src/react/_internal/{transaction-machine/utils.ts → utils.ts} +1 -1
- package/src/react/_internal/{transaction-machine → wallet}/wallet.ts +2 -2
- 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 +22 -3
- package/src/react/hooks/useCancelTransactionSteps.tsx +8 -10
- package/src/react/hooks/useCurrencies.tsx +14 -19
- 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/action-button/ActionButton.tsx +1 -1
- package/src/react/ui/components/_internals/custom-select/__tests__/CustomSelect.test.tsx +89 -0
- package/src/react/ui/components/collectible-card/CollectibleCard.tsx +1 -1
- 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 +8 -7
- package/src/react/ui/modals/BuyModal/hooks/useCheckoutOptions.ts +1 -1
- package/src/react/ui/modals/BuyModal/modals/CheckoutModal.tsx +12 -3
- 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/hooks/useCreateListing.tsx +11 -2
- package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +1 -1
- package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +8 -22
- package/src/react/ui/modals/CreateListingModal/store.ts +29 -19
- package/src/react/ui/modals/MakeOfferModal/Modal.tsx +17 -24
- package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +199 -0
- package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +2 -2
- package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +19 -3
- package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +9 -23
- package/src/react/ui/modals/MakeOfferModal/store.ts +31 -20
- 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 +4 -4
- package/src/react/ui/modals/SellModal/hooks/useSell.tsx +3 -3
- package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +14 -26
- package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/useHandleTransfer.tsx +1 -1
- package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +3 -1
- package/src/react/ui/modals/_internal/components/actionModal/ErrorModal.tsx +10 -2
- 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 +5 -2
- package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +11 -1
- package/src/react/ui/modals/_internal/components/priceInput/__tests__/index.test.tsx +124 -0
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +51 -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/transactionPreview/useTransactionPreviewTitle.tsx +1 -1
- 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 +28 -11
- package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/util/getFormattedType.ts +1 -1
- package/src/react/ui/modals/_internal/components/transactionStatusModal/util/getMessage.ts +3 -3
- package/src/react/ui/modals/_internal/components/transactionStatusModal/util/getTitle.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-6WB4GCCJ.js +0 -38
- package/dist/chunk-6WB4GCCJ.js.map +0 -1
- package/dist/chunk-CKOWM2ZR.js.map +0 -1
- package/dist/chunk-CP2IVRMX.js +0 -85
- package/dist/chunk-CP2IVRMX.js.map +0 -1
- package/dist/chunk-FT3J32ZV.js +0 -86
- package/dist/chunk-FT3J32ZV.js.map +0 -1
- package/dist/chunk-KILOCWY2.js.map +0 -1
- package/dist/chunk-KL5JPUPS.js.map +0 -1
- package/dist/chunk-KZGDOIZY.js.map +0 -1
- package/dist/chunk-MJ4YU7RW.js +0 -2
- package/dist/chunk-PAZ4MQXZ.js.map +0 -1
- package/dist/chunk-SEISACMH.js.map +0 -1
- package/dist/chunk-ZEKRTFBU.js.map +0 -1
- package/dist/react/ui/components/index.css.map +0 -1
- package/dist/react/ui/components/index.js +0 -28
- package/dist/sdk-config-xWkdBdrL.d.ts +0 -24
- package/dist/types-DZb7GsfL.d.ts +0 -28
- package/src/react/_internal/transaction-machine/execute-transaction.ts +0 -676
- package/src/react/_internal/transaction-machine/useTransactionMachine.ts +0 -140
- 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/{chunk-HTFBQVLV.js.map → chunk-ZEH4JI2U.js.map} +0 -0
- /package/dist/react/ui/components/{index.css → collectible-card/index.css} +0 -0
- /package/src/react/_internal/{transaction-machine/logger.ts → logger.ts} +0 -0
- /package/src/react/_internal/{transaction-machine → wallet}/useWallet.ts +0 -0
|
@@ -4,12 +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 {
|
|
9
|
-
import { P as PropertyType, M as MarketplaceKind, b as OrderSide, w as Currency, o as CollectibleOrder, aG as GetCollectibleHighestOfferReturn, i as Page$1, b0 as ListCollectiblesReturn, S as SortOrder$1, aO as ListCollectibleOffersReturn, aC as GetCountOfOffersForCollectibleReturn, aM as ListCollectibleListingsReturn, aA as GetCountOfListingsForCollectibleReturn, aI as GetCollectibleLowestListingReturn, z as Step, D as CreateReq, aT as GenerateListingTransactionArgs, aV as GenerateOfferTransactionArgs, aR as GenerateSellTransactionArgs, g as StepType, E as ExecuteType, aX as GenerateCancelTransactionArgs, C as ContractType, bi as CheckoutOptionsMarketplaceReturn, W as WalletKind } from '../../marketplace.gen-jdKqutnd.js';
|
|
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';
|
|
10
9
|
import * as _0xsequence_metadata from '@0xsequence/metadata';
|
|
11
|
-
import { c as getMarketplaceClient } from '../../services-
|
|
12
|
-
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';
|
|
13
12
|
|
|
14
13
|
declare const fetchBalanceOfCollectibleSchema: z.ZodObject<{
|
|
15
14
|
collectionAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
@@ -799,22 +798,22 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
799
798
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
800
799
|
more: z.ZodOptional<z.ZodBoolean>;
|
|
801
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
page?: number | undefined;
|
|
802
802
|
sort?: {
|
|
803
803
|
order: SortOrder;
|
|
804
804
|
column: string;
|
|
805
805
|
}[] | undefined;
|
|
806
|
-
page?: number | undefined;
|
|
807
806
|
column?: string | undefined;
|
|
808
807
|
pageSize?: number | undefined;
|
|
809
808
|
more?: boolean | undefined;
|
|
810
809
|
before?: any;
|
|
811
810
|
after?: any;
|
|
812
811
|
}, {
|
|
812
|
+
page?: number | undefined;
|
|
813
813
|
sort?: {
|
|
814
814
|
order: SortOrder;
|
|
815
815
|
column: string;
|
|
816
816
|
}[] | undefined;
|
|
817
|
-
page?: number | undefined;
|
|
818
817
|
column?: string | undefined;
|
|
819
818
|
pageSize?: number | undefined;
|
|
820
819
|
more?: boolean | undefined;
|
|
@@ -831,11 +830,11 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
831
830
|
}, "strip", z.ZodTypeAny, {
|
|
832
831
|
chainId: number;
|
|
833
832
|
page?: {
|
|
833
|
+
page?: number | undefined;
|
|
834
834
|
sort?: {
|
|
835
835
|
order: SortOrder;
|
|
836
836
|
column: string;
|
|
837
837
|
}[] | undefined;
|
|
838
|
-
page?: number | undefined;
|
|
839
838
|
column?: string | undefined;
|
|
840
839
|
pageSize?: number | undefined;
|
|
841
840
|
more?: boolean | undefined;
|
|
@@ -858,11 +857,11 @@ declare const useListBalancesArgsSchema: z.ZodObject<{
|
|
|
858
857
|
}, {
|
|
859
858
|
chainId: string | number;
|
|
860
859
|
page?: {
|
|
860
|
+
page?: number | undefined;
|
|
861
861
|
sort?: {
|
|
862
862
|
order: SortOrder;
|
|
863
863
|
column: string;
|
|
864
864
|
}[] | undefined;
|
|
865
|
-
page?: number | undefined;
|
|
866
865
|
column?: string | undefined;
|
|
867
866
|
pageSize?: number | undefined;
|
|
868
867
|
more?: boolean | undefined;
|
|
@@ -889,11 +888,11 @@ declare const fetchBalances: (args: UseListBalancesArgs, config: SdkConfig, page
|
|
|
889
888
|
declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<_0xsequence_indexer.GetTokenBalancesReturn, Error, _tanstack_react_query.InfiniteData<_0xsequence_indexer.GetTokenBalancesReturn, unknown>, _0xsequence_indexer.GetTokenBalancesReturn, ("balances" | "tokenBalances" | SdkConfig | {
|
|
890
889
|
chainId: string | number;
|
|
891
890
|
page?: {
|
|
891
|
+
page?: number | undefined;
|
|
892
892
|
sort?: {
|
|
893
893
|
order: SortOrder;
|
|
894
894
|
column: string;
|
|
895
895
|
}[] | undefined;
|
|
896
|
-
page?: number | undefined;
|
|
897
896
|
column?: string | undefined;
|
|
898
897
|
pageSize?: number | undefined;
|
|
899
898
|
more?: boolean | undefined;
|
|
@@ -917,11 +916,11 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
|
|
|
917
916
|
queryFn?: _tanstack_react_query.QueryFunction<_0xsequence_indexer.GetTokenBalancesReturn, ("balances" | "tokenBalances" | SdkConfig | {
|
|
918
917
|
chainId: string | number;
|
|
919
918
|
page?: {
|
|
919
|
+
page?: number | undefined;
|
|
920
920
|
sort?: {
|
|
921
921
|
order: SortOrder;
|
|
922
922
|
column: string;
|
|
923
923
|
}[] | undefined;
|
|
924
|
-
page?: number | undefined;
|
|
925
924
|
column?: string | undefined;
|
|
926
925
|
pageSize?: number | undefined;
|
|
927
926
|
more?: boolean | undefined;
|
|
@@ -946,36 +945,633 @@ declare const listBalancesOptions: (args: UseListBalancesArgs, config: SdkConfig
|
|
|
946
945
|
queryKey: ("balances" | "tokenBalances" | SdkConfig | {
|
|
947
946
|
chainId: string | number;
|
|
948
947
|
page?: {
|
|
948
|
+
page?: number | undefined;
|
|
949
|
+
sort?: {
|
|
950
|
+
order: SortOrder;
|
|
951
|
+
column: string;
|
|
952
|
+
}[] | undefined;
|
|
953
|
+
column?: string | undefined;
|
|
954
|
+
pageSize?: number | undefined;
|
|
955
|
+
more?: boolean | undefined;
|
|
956
|
+
before?: any;
|
|
957
|
+
after?: any;
|
|
958
|
+
} | undefined;
|
|
959
|
+
tokenId?: string | undefined;
|
|
960
|
+
contractAddress?: string | undefined;
|
|
961
|
+
query?: {
|
|
962
|
+
enabled?: boolean | undefined;
|
|
963
|
+
} | undefined;
|
|
964
|
+
accountAddress?: string | undefined;
|
|
965
|
+
includeMetadata?: boolean | undefined;
|
|
966
|
+
metadataOptions?: {
|
|
967
|
+
verifiedOnly?: boolean | undefined;
|
|
968
|
+
unverifiedOnly?: boolean | undefined;
|
|
969
|
+
includeContracts?: string[] | undefined;
|
|
970
|
+
} | undefined;
|
|
971
|
+
includeCollectionTokens?: boolean | undefined;
|
|
972
|
+
})[] & {
|
|
973
|
+
[dataTagSymbol]: _tanstack_react_query.InfiniteData<_0xsequence_indexer.GetTokenBalancesReturn, unknown>;
|
|
974
|
+
[dataTagErrorSymbol]: Error;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
declare const useListBalances: (args: UseListBalancesArgs) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<_0xsequence_indexer.GetTokenBalancesReturn, unknown>, Error>;
|
|
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;
|
|
949
1541
|
sort?: {
|
|
950
|
-
order: SortOrder;
|
|
1542
|
+
order: SortOrder$1;
|
|
951
1543
|
column: string;
|
|
952
1544
|
}[] | undefined;
|
|
953
|
-
page?: number | undefined;
|
|
954
|
-
column?: string | undefined;
|
|
955
|
-
pageSize?: number | undefined;
|
|
956
1545
|
more?: boolean | undefined;
|
|
957
|
-
before?: any;
|
|
958
|
-
after?: any;
|
|
959
1546
|
} | undefined;
|
|
960
|
-
|
|
961
|
-
|
|
1547
|
+
})[], never> | undefined;
|
|
1548
|
+
} & {
|
|
1549
|
+
queryKey: ("collectable" | "collectibleActivities" | SdkConfig | {
|
|
1550
|
+
chainId: string;
|
|
1551
|
+
collectionAddress: `0x${string}`;
|
|
1552
|
+
tokenId: string;
|
|
962
1553
|
query?: {
|
|
1554
|
+
page: number;
|
|
1555
|
+
pageSize: number;
|
|
963
1556
|
enabled?: boolean | undefined;
|
|
1557
|
+
sort?: {
|
|
1558
|
+
order: SortOrder$1;
|
|
1559
|
+
column: string;
|
|
1560
|
+
}[] | undefined;
|
|
1561
|
+
more?: boolean | undefined;
|
|
964
1562
|
} | undefined;
|
|
965
|
-
accountAddress?: string | undefined;
|
|
966
|
-
includeMetadata?: boolean | undefined;
|
|
967
|
-
metadataOptions?: {
|
|
968
|
-
verifiedOnly?: boolean | undefined;
|
|
969
|
-
unverifiedOnly?: boolean | undefined;
|
|
970
|
-
includeContracts?: string[] | undefined;
|
|
971
|
-
} | undefined;
|
|
972
|
-
includeCollectionTokens?: boolean | undefined;
|
|
973
1563
|
})[] & {
|
|
974
|
-
[dataTagSymbol]:
|
|
1564
|
+
[dataTagSymbol]: {
|
|
1565
|
+
activities: Activity[];
|
|
1566
|
+
page: Page$1 | undefined;
|
|
1567
|
+
};
|
|
975
1568
|
[dataTagErrorSymbol]: Error;
|
|
976
1569
|
};
|
|
977
1570
|
};
|
|
978
|
-
declare const
|
|
1571
|
+
declare const useListCollectibleActivities: (args: UseListCollectibleActivitiesArgs) => _tanstack_react_query.UseQueryResult<{
|
|
1572
|
+
activities: Activity[];
|
|
1573
|
+
page: Page$1 | undefined;
|
|
1574
|
+
}, Error>;
|
|
979
1575
|
|
|
980
1576
|
declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
981
1577
|
side: z.ZodNativeEnum<typeof OrderSide>;
|
|
@@ -1083,6 +1679,15 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1083
1679
|
chainId: string;
|
|
1084
1680
|
collectionAddress: `0x${string}`;
|
|
1085
1681
|
side: OrderSide;
|
|
1682
|
+
page?: {
|
|
1683
|
+
page: number;
|
|
1684
|
+
pageSize: number;
|
|
1685
|
+
sort?: {
|
|
1686
|
+
order: SortOrder$1;
|
|
1687
|
+
column: string;
|
|
1688
|
+
}[] | undefined;
|
|
1689
|
+
more?: boolean | undefined;
|
|
1690
|
+
} | undefined;
|
|
1086
1691
|
filter?: {
|
|
1087
1692
|
includeEmpty: boolean;
|
|
1088
1693
|
searchText?: string | undefined;
|
|
@@ -1099,6 +1704,13 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1099
1704
|
ordersCreatedBy?: string[] | undefined;
|
|
1100
1705
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1101
1706
|
} | undefined;
|
|
1707
|
+
query?: {
|
|
1708
|
+
enabled?: boolean | undefined;
|
|
1709
|
+
} | undefined;
|
|
1710
|
+
}, {
|
|
1711
|
+
chainId: string | number;
|
|
1712
|
+
collectionAddress: string;
|
|
1713
|
+
side: OrderSide;
|
|
1102
1714
|
page?: {
|
|
1103
1715
|
page: number;
|
|
1104
1716
|
pageSize: number;
|
|
@@ -1108,13 +1720,6 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1108
1720
|
}[] | undefined;
|
|
1109
1721
|
more?: boolean | undefined;
|
|
1110
1722
|
} | undefined;
|
|
1111
|
-
query?: {
|
|
1112
|
-
enabled?: boolean | undefined;
|
|
1113
|
-
} | undefined;
|
|
1114
|
-
}, {
|
|
1115
|
-
chainId: string | number;
|
|
1116
|
-
collectionAddress: string;
|
|
1117
|
-
side: OrderSide;
|
|
1118
1723
|
filter?: {
|
|
1119
1724
|
includeEmpty: boolean;
|
|
1120
1725
|
searchText?: string | undefined;
|
|
@@ -1131,15 +1736,6 @@ declare const UseListCollectiblesArgsSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1131
1736
|
ordersCreatedBy?: string[] | undefined;
|
|
1132
1737
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1133
1738
|
} | undefined;
|
|
1134
|
-
page?: {
|
|
1135
|
-
page: number;
|
|
1136
|
-
pageSize: number;
|
|
1137
|
-
sort?: {
|
|
1138
|
-
order: SortOrder$1;
|
|
1139
|
-
column: string;
|
|
1140
|
-
}[] | undefined;
|
|
1141
|
-
more?: boolean | undefined;
|
|
1142
|
-
} | undefined;
|
|
1143
1739
|
query?: {
|
|
1144
1740
|
enabled?: boolean | undefined;
|
|
1145
1741
|
} | undefined;
|
|
@@ -1151,6 +1747,15 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1151
1747
|
chainId: string;
|
|
1152
1748
|
collectionAddress: `0x${string}`;
|
|
1153
1749
|
side: OrderSide;
|
|
1750
|
+
page?: {
|
|
1751
|
+
page: number;
|
|
1752
|
+
pageSize: number;
|
|
1753
|
+
sort?: {
|
|
1754
|
+
order: SortOrder$1;
|
|
1755
|
+
column: string;
|
|
1756
|
+
}[] | undefined;
|
|
1757
|
+
more?: boolean | undefined;
|
|
1758
|
+
} | undefined;
|
|
1154
1759
|
filter?: {
|
|
1155
1760
|
includeEmpty: boolean;
|
|
1156
1761
|
searchText?: string | undefined;
|
|
@@ -1167,15 +1772,6 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1167
1772
|
ordersCreatedBy?: string[] | undefined;
|
|
1168
1773
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1169
1774
|
} | undefined;
|
|
1170
|
-
page?: {
|
|
1171
|
-
page: number;
|
|
1172
|
-
pageSize: number;
|
|
1173
|
-
sort?: {
|
|
1174
|
-
order: SortOrder$1;
|
|
1175
|
-
column: string;
|
|
1176
|
-
}[] | undefined;
|
|
1177
|
-
more?: boolean | undefined;
|
|
1178
|
-
} | undefined;
|
|
1179
1775
|
query?: {
|
|
1180
1776
|
enabled?: boolean | undefined;
|
|
1181
1777
|
} | undefined;
|
|
@@ -1187,6 +1783,15 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1187
1783
|
chainId: string;
|
|
1188
1784
|
collectionAddress: `0x${string}`;
|
|
1189
1785
|
side: OrderSide;
|
|
1786
|
+
page?: {
|
|
1787
|
+
page: number;
|
|
1788
|
+
pageSize: number;
|
|
1789
|
+
sort?: {
|
|
1790
|
+
order: SortOrder$1;
|
|
1791
|
+
column: string;
|
|
1792
|
+
}[] | undefined;
|
|
1793
|
+
more?: boolean | undefined;
|
|
1794
|
+
} | undefined;
|
|
1190
1795
|
filter?: {
|
|
1191
1796
|
includeEmpty: boolean;
|
|
1192
1797
|
searchText?: string | undefined;
|
|
@@ -1203,15 +1808,6 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1203
1808
|
ordersCreatedBy?: string[] | undefined;
|
|
1204
1809
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1205
1810
|
} | undefined;
|
|
1206
|
-
page?: {
|
|
1207
|
-
page: number;
|
|
1208
|
-
pageSize: number;
|
|
1209
|
-
sort?: {
|
|
1210
|
-
order: SortOrder$1;
|
|
1211
|
-
column: string;
|
|
1212
|
-
}[] | undefined;
|
|
1213
|
-
more?: boolean | undefined;
|
|
1214
|
-
} | undefined;
|
|
1215
1811
|
query?: {
|
|
1216
1812
|
enabled?: boolean | undefined;
|
|
1217
1813
|
} | undefined;
|
|
@@ -1224,6 +1820,15 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1224
1820
|
chainId: string;
|
|
1225
1821
|
collectionAddress: `0x${string}`;
|
|
1226
1822
|
side: OrderSide;
|
|
1823
|
+
page?: {
|
|
1824
|
+
page: number;
|
|
1825
|
+
pageSize: number;
|
|
1826
|
+
sort?: {
|
|
1827
|
+
order: SortOrder$1;
|
|
1828
|
+
column: string;
|
|
1829
|
+
}[] | undefined;
|
|
1830
|
+
more?: boolean | undefined;
|
|
1831
|
+
} | undefined;
|
|
1227
1832
|
filter?: {
|
|
1228
1833
|
includeEmpty: boolean;
|
|
1229
1834
|
searchText?: string | undefined;
|
|
@@ -1240,24 +1845,81 @@ declare const listCollectiblesOptions: (args: UseListCollectiblesArgs, config: S
|
|
|
1240
1845
|
ordersCreatedBy?: string[] | undefined;
|
|
1241
1846
|
ordersNotCreatedBy?: string[] | undefined;
|
|
1242
1847
|
} | undefined;
|
|
1243
|
-
|
|
1848
|
+
query?: {
|
|
1849
|
+
enabled?: boolean | undefined;
|
|
1850
|
+
} | undefined;
|
|
1851
|
+
})[] & {
|
|
1852
|
+
[dataTagSymbol]: _tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>;
|
|
1853
|
+
[dataTagErrorSymbol]: Error;
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
declare const useListCollectibles: (args: UseListCollectiblesArgs) => _tanstack_react_query.UseInfiniteQueryResult<_tanstack_react_query.InfiniteData<ListCollectiblesReturn, unknown>, Error>;
|
|
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?: {
|
|
1244
1887
|
page: number;
|
|
1245
1888
|
pageSize: number;
|
|
1889
|
+
enabled?: boolean | undefined;
|
|
1246
1890
|
sort?: {
|
|
1247
1891
|
order: SortOrder$1;
|
|
1248
1892
|
column: string;
|
|
1249
1893
|
}[] | undefined;
|
|
1250
1894
|
more?: boolean | undefined;
|
|
1251
1895
|
} | undefined;
|
|
1896
|
+
})[], never> | undefined;
|
|
1897
|
+
} & {
|
|
1898
|
+
queryKey: ("collections" | "collectionActivities" | SdkConfig | {
|
|
1899
|
+
chainId: string;
|
|
1900
|
+
collectionAddress: `0x${string}`;
|
|
1252
1901
|
query?: {
|
|
1902
|
+
page: number;
|
|
1903
|
+
pageSize: number;
|
|
1253
1904
|
enabled?: boolean | undefined;
|
|
1905
|
+
sort?: {
|
|
1906
|
+
order: SortOrder$1;
|
|
1907
|
+
column: string;
|
|
1908
|
+
}[] | undefined;
|
|
1909
|
+
more?: boolean | undefined;
|
|
1254
1910
|
} | undefined;
|
|
1255
1911
|
})[] & {
|
|
1256
|
-
[dataTagSymbol]:
|
|
1912
|
+
[dataTagSymbol]: {
|
|
1913
|
+
activities: Activity[];
|
|
1914
|
+
page: Page$1 | undefined;
|
|
1915
|
+
};
|
|
1257
1916
|
[dataTagErrorSymbol]: Error;
|
|
1258
1917
|
};
|
|
1259
1918
|
};
|
|
1260
|
-
declare const
|
|
1919
|
+
declare const useListCollectionActivities: (args: UseListCollectionActivitiesArgs) => _tanstack_react_query.UseQueryResult<{
|
|
1920
|
+
activities: Activity[];
|
|
1921
|
+
page: Page$1 | undefined;
|
|
1922
|
+
}, Error>;
|
|
1261
1923
|
|
|
1262
1924
|
declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1263
1925
|
contractAddress: z.ZodString;
|
|
@@ -1314,11 +1976,6 @@ declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUt
|
|
|
1314
1976
|
chainId: string;
|
|
1315
1977
|
collectionAddress: string;
|
|
1316
1978
|
collectibleId: string;
|
|
1317
|
-
filter?: {
|
|
1318
|
-
currencies?: string[] | undefined;
|
|
1319
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1320
|
-
createdBy?: string[] | undefined;
|
|
1321
|
-
} | undefined;
|
|
1322
1979
|
page?: {
|
|
1323
1980
|
page: number;
|
|
1324
1981
|
pageSize: number;
|
|
@@ -1328,15 +1985,15 @@ declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUt
|
|
|
1328
1985
|
}[] | undefined;
|
|
1329
1986
|
more?: boolean | undefined;
|
|
1330
1987
|
} | undefined;
|
|
1331
|
-
}, {
|
|
1332
|
-
chainId: string | number;
|
|
1333
|
-
collectionAddress: string;
|
|
1334
|
-
collectibleId: string;
|
|
1335
1988
|
filter?: {
|
|
1336
1989
|
currencies?: string[] | undefined;
|
|
1337
1990
|
marketplace?: MarketplaceKind[] | undefined;
|
|
1338
1991
|
createdBy?: string[] | undefined;
|
|
1339
1992
|
} | undefined;
|
|
1993
|
+
}, {
|
|
1994
|
+
chainId: string | number;
|
|
1995
|
+
collectionAddress: string;
|
|
1996
|
+
collectibleId: string;
|
|
1340
1997
|
page?: {
|
|
1341
1998
|
page: number;
|
|
1342
1999
|
pageSize: number;
|
|
@@ -1346,6 +2003,11 @@ declare const UseListOffersForCollectibleArgsSchema: z.ZodObject<Omit<z.objectUt
|
|
|
1346
2003
|
}[] | undefined;
|
|
1347
2004
|
more?: boolean | undefined;
|
|
1348
2005
|
} | undefined;
|
|
2006
|
+
filter?: {
|
|
2007
|
+
currencies?: string[] | undefined;
|
|
2008
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
2009
|
+
createdBy?: string[] | undefined;
|
|
2010
|
+
} | undefined;
|
|
1349
2011
|
}>;
|
|
1350
2012
|
type UseListOffersForCollectibleArgs = z.infer<typeof UseListOffersForCollectibleArgsSchema>;
|
|
1351
2013
|
type UseListOffersForCollectibleReturn = Awaited<ReturnType<typeof fetchListOffersForCollectible>>;
|
|
@@ -1354,11 +2016,6 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
1354
2016
|
chainId: string;
|
|
1355
2017
|
collectionAddress: string;
|
|
1356
2018
|
collectibleId: string;
|
|
1357
|
-
filter?: {
|
|
1358
|
-
currencies?: string[] | undefined;
|
|
1359
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1360
|
-
createdBy?: string[] | undefined;
|
|
1361
|
-
} | undefined;
|
|
1362
2019
|
page?: {
|
|
1363
2020
|
page: number;
|
|
1364
2021
|
pageSize: number;
|
|
@@ -1368,16 +2025,16 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
1368
2025
|
}[] | undefined;
|
|
1369
2026
|
more?: boolean | undefined;
|
|
1370
2027
|
} | undefined;
|
|
2028
|
+
filter?: {
|
|
2029
|
+
currencies?: string[] | undefined;
|
|
2030
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
2031
|
+
createdBy?: string[] | undefined;
|
|
2032
|
+
} | undefined;
|
|
1371
2033
|
})[]>, "queryFn"> & {
|
|
1372
2034
|
queryFn?: _tanstack_react_query.QueryFunction<ListCollectibleOffersReturn, ("offers" | "collectable" | SdkConfig | {
|
|
1373
2035
|
chainId: string;
|
|
1374
2036
|
collectionAddress: string;
|
|
1375
2037
|
collectibleId: string;
|
|
1376
|
-
filter?: {
|
|
1377
|
-
currencies?: string[] | undefined;
|
|
1378
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1379
|
-
createdBy?: string[] | undefined;
|
|
1380
|
-
} | undefined;
|
|
1381
2038
|
page?: {
|
|
1382
2039
|
page: number;
|
|
1383
2040
|
pageSize: number;
|
|
@@ -1387,17 +2044,17 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
1387
2044
|
}[] | undefined;
|
|
1388
2045
|
more?: boolean | undefined;
|
|
1389
2046
|
} | undefined;
|
|
2047
|
+
filter?: {
|
|
2048
|
+
currencies?: string[] | undefined;
|
|
2049
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
2050
|
+
createdBy?: string[] | undefined;
|
|
2051
|
+
} | undefined;
|
|
1390
2052
|
})[], never> | undefined;
|
|
1391
2053
|
} & {
|
|
1392
2054
|
queryKey: ("offers" | "collectable" | SdkConfig | {
|
|
1393
2055
|
chainId: string;
|
|
1394
2056
|
collectionAddress: string;
|
|
1395
2057
|
collectibleId: string;
|
|
1396
|
-
filter?: {
|
|
1397
|
-
currencies?: string[] | undefined;
|
|
1398
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1399
|
-
createdBy?: string[] | undefined;
|
|
1400
|
-
} | undefined;
|
|
1401
2058
|
page?: {
|
|
1402
2059
|
page: number;
|
|
1403
2060
|
pageSize: number;
|
|
@@ -1407,6 +2064,11 @@ declare const listOffersForCollectibleOptions: (args: UseListOffersForCollectibl
|
|
|
1407
2064
|
}[] | undefined;
|
|
1408
2065
|
more?: boolean | undefined;
|
|
1409
2066
|
} | undefined;
|
|
2067
|
+
filter?: {
|
|
2068
|
+
currencies?: string[] | undefined;
|
|
2069
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
2070
|
+
createdBy?: string[] | undefined;
|
|
2071
|
+
} | undefined;
|
|
1410
2072
|
})[] & {
|
|
1411
2073
|
[dataTagSymbol]: ListCollectibleOffersReturn;
|
|
1412
2074
|
[dataTagErrorSymbol]: Error;
|
|
@@ -1570,11 +2232,6 @@ declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<z.object
|
|
|
1570
2232
|
chainId: string;
|
|
1571
2233
|
collectionAddress: string;
|
|
1572
2234
|
collectibleId: string;
|
|
1573
|
-
filter?: {
|
|
1574
|
-
currencies?: string[] | undefined;
|
|
1575
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1576
|
-
createdBy?: string[] | undefined;
|
|
1577
|
-
} | undefined;
|
|
1578
2235
|
page?: {
|
|
1579
2236
|
page: number;
|
|
1580
2237
|
pageSize: number;
|
|
@@ -1584,15 +2241,15 @@ declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<z.object
|
|
|
1584
2241
|
}[] | undefined;
|
|
1585
2242
|
more?: boolean | undefined;
|
|
1586
2243
|
} | undefined;
|
|
1587
|
-
}, {
|
|
1588
|
-
chainId: string | number;
|
|
1589
|
-
collectionAddress: string;
|
|
1590
|
-
collectibleId: string;
|
|
1591
2244
|
filter?: {
|
|
1592
2245
|
currencies?: string[] | undefined;
|
|
1593
2246
|
marketplace?: MarketplaceKind[] | undefined;
|
|
1594
2247
|
createdBy?: string[] | undefined;
|
|
1595
2248
|
} | undefined;
|
|
2249
|
+
}, {
|
|
2250
|
+
chainId: string | number;
|
|
2251
|
+
collectionAddress: string;
|
|
2252
|
+
collectibleId: string;
|
|
1596
2253
|
page?: {
|
|
1597
2254
|
page: number;
|
|
1598
2255
|
pageSize: number;
|
|
@@ -1602,6 +2259,11 @@ declare const UseListListingsForCollectibleArgsSchema: z.ZodObject<Omit<z.object
|
|
|
1602
2259
|
}[] | undefined;
|
|
1603
2260
|
more?: boolean | undefined;
|
|
1604
2261
|
} | undefined;
|
|
2262
|
+
filter?: {
|
|
2263
|
+
currencies?: string[] | undefined;
|
|
2264
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
2265
|
+
createdBy?: string[] | undefined;
|
|
2266
|
+
} | undefined;
|
|
1605
2267
|
}>;
|
|
1606
2268
|
type UseListListingsForCollectibleArgs = z.infer<typeof UseListListingsForCollectibleArgsSchema>;
|
|
1607
2269
|
type UseListListingsForCollectibleReturn = Awaited<ReturnType<typeof fetchListListingsForCollectible>>;
|
|
@@ -1610,11 +2272,6 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
1610
2272
|
chainId: string;
|
|
1611
2273
|
collectionAddress: string;
|
|
1612
2274
|
collectibleId: string;
|
|
1613
|
-
filter?: {
|
|
1614
|
-
currencies?: string[] | undefined;
|
|
1615
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1616
|
-
createdBy?: string[] | undefined;
|
|
1617
|
-
} | undefined;
|
|
1618
2275
|
page?: {
|
|
1619
2276
|
page: number;
|
|
1620
2277
|
pageSize: number;
|
|
@@ -1624,16 +2281,16 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
1624
2281
|
}[] | undefined;
|
|
1625
2282
|
more?: boolean | undefined;
|
|
1626
2283
|
} | undefined;
|
|
2284
|
+
filter?: {
|
|
2285
|
+
currencies?: string[] | undefined;
|
|
2286
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
2287
|
+
createdBy?: string[] | undefined;
|
|
2288
|
+
} | undefined;
|
|
1627
2289
|
})[]>, "queryFn"> & {
|
|
1628
2290
|
queryFn?: _tanstack_react_query.QueryFunction<ListCollectibleListingsReturn, ("listings" | "collectable" | SdkConfig | {
|
|
1629
2291
|
chainId: string;
|
|
1630
2292
|
collectionAddress: string;
|
|
1631
2293
|
collectibleId: string;
|
|
1632
|
-
filter?: {
|
|
1633
|
-
currencies?: string[] | undefined;
|
|
1634
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1635
|
-
createdBy?: string[] | undefined;
|
|
1636
|
-
} | undefined;
|
|
1637
2294
|
page?: {
|
|
1638
2295
|
page: number;
|
|
1639
2296
|
pageSize: number;
|
|
@@ -1643,17 +2300,17 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
1643
2300
|
}[] | undefined;
|
|
1644
2301
|
more?: boolean | undefined;
|
|
1645
2302
|
} | undefined;
|
|
2303
|
+
filter?: {
|
|
2304
|
+
currencies?: string[] | undefined;
|
|
2305
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
2306
|
+
createdBy?: string[] | undefined;
|
|
2307
|
+
} | undefined;
|
|
1646
2308
|
})[], never> | undefined;
|
|
1647
2309
|
} & {
|
|
1648
2310
|
queryKey: ("listings" | "collectable" | SdkConfig | {
|
|
1649
2311
|
chainId: string;
|
|
1650
2312
|
collectionAddress: string;
|
|
1651
2313
|
collectibleId: string;
|
|
1652
|
-
filter?: {
|
|
1653
|
-
currencies?: string[] | undefined;
|
|
1654
|
-
marketplace?: MarketplaceKind[] | undefined;
|
|
1655
|
-
createdBy?: string[] | undefined;
|
|
1656
|
-
} | undefined;
|
|
1657
2314
|
page?: {
|
|
1658
2315
|
page: number;
|
|
1659
2316
|
pageSize: number;
|
|
@@ -1663,6 +2320,11 @@ declare const listListingsForCollectibleOptions: (args: UseListListingsForCollec
|
|
|
1663
2320
|
}[] | undefined;
|
|
1664
2321
|
more?: boolean | undefined;
|
|
1665
2322
|
} | undefined;
|
|
2323
|
+
filter?: {
|
|
2324
|
+
currencies?: string[] | undefined;
|
|
2325
|
+
marketplace?: MarketplaceKind[] | undefined;
|
|
2326
|
+
createdBy?: string[] | undefined;
|
|
2327
|
+
} | undefined;
|
|
1666
2328
|
})[] & {
|
|
1667
2329
|
[dataTagSymbol]: ListCollectibleListingsReturn;
|
|
1668
2330
|
[dataTagErrorSymbol]: Error;
|
|
@@ -2843,11 +3505,12 @@ type TransactionStep = {
|
|
|
2843
3505
|
execute: () => Promise<void>;
|
|
2844
3506
|
};
|
|
2845
3507
|
declare const useCancelOrder: ({ collectionAddress, chainId, onSuccess, onError, }: UseCancelOrderArgs) => {
|
|
2846
|
-
cancelOrder: (
|
|
3508
|
+
cancelOrder: (params: {
|
|
2847
3509
|
orderId: string;
|
|
2848
3510
|
marketplace: MarketplaceKind;
|
|
2849
3511
|
}) => Promise<void>;
|
|
2850
3512
|
isExecuting: boolean;
|
|
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 };
|