@0xsequence/marketplace-sdk 1.2.1 → 2.0.1

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.
Files changed (909) hide show
  1. package/.storybook/preview.tsx +4 -7
  2. package/CHANGELOG.md +179 -0
  3. package/compile-tailwind.js +1 -1
  4. package/dist/BellIcon.js +7 -4
  5. package/dist/BellIcon.js.map +1 -1
  6. package/dist/Card.js +831 -0
  7. package/dist/Card.js.map +1 -0
  8. package/dist/ShopCard.d.ts +83 -0
  9. package/dist/_internal.js +57 -1
  10. package/dist/_internal.js.map +1 -1
  11. package/dist/abi.js +24 -1
  12. package/dist/abi.js.map +1 -1
  13. package/dist/alertMessage.js +29 -0
  14. package/dist/alertMessage.js.map +1 -0
  15. package/dist/api.js +95 -108
  16. package/dist/api.js.map +1 -1
  17. package/dist/builder-api.js +17 -4
  18. package/dist/builder-api.js.map +1 -1
  19. package/dist/calendar.js +51 -0
  20. package/dist/calendar.js.map +1 -0
  21. package/dist/checkout.js +52 -0
  22. package/dist/checkout.js.map +1 -0
  23. package/dist/collectible.js +620 -0
  24. package/dist/collectible.js.map +1 -0
  25. package/dist/collection.js +396 -0
  26. package/dist/collection.js.map +1 -0
  27. package/dist/{marketplaceConfig.js → config.js} +25 -31
  28. package/dist/config.js.map +1 -0
  29. package/dist/consts.d.ts +7 -0
  30. package/dist/consts.js +8 -0
  31. package/dist/consts.js.map +1 -0
  32. package/dist/contracts.js +22 -2
  33. package/dist/contracts.js.map +1 -1
  34. package/dist/create-config.d.ts +12037 -1801
  35. package/dist/create-config.js +9 -7
  36. package/dist/create-config.js.map +1 -1
  37. package/dist/currency.js +186 -0
  38. package/dist/currency.js.map +1 -0
  39. package/dist/currencyImage.js +28 -0
  40. package/dist/currencyImage.js.map +1 -0
  41. package/dist/dist.js +2771 -0
  42. package/dist/dist.js.map +1 -0
  43. package/dist/expirationDateSelect.js +245 -0
  44. package/dist/expirationDateSelect.js.map +1 -0
  45. package/dist/filter-state.d.ts +153 -0
  46. package/dist/filters.d.ts +14 -45
  47. package/dist/hooks.js +26 -0
  48. package/dist/hooks.js.map +1 -0
  49. package/dist/hooks2.js +24 -0
  50. package/dist/hooks2.js.map +1 -0
  51. package/dist/index.d.ts +12 -8
  52. package/dist/index.js +7 -10
  53. package/dist/index10.d.ts +39 -261
  54. package/dist/index11.d.ts +461 -220
  55. package/dist/index12.d.ts +511 -85
  56. package/dist/index13.d.ts +17 -493
  57. package/dist/index14.d.ts +15 -66
  58. package/dist/index15.d.ts +25 -1
  59. package/dist/index16.d.ts +5 -47
  60. package/dist/index17.d.ts +840 -108
  61. package/dist/index18.d.ts +552 -1
  62. package/dist/index19.d.ts +317 -147
  63. package/dist/index2.d.ts +2172 -5
  64. package/dist/index21.d.ts +306 -93
  65. package/dist/index22.d.ts +230 -1
  66. package/dist/index23.d.ts +323 -797
  67. package/dist/index24.d.ts +22 -445
  68. package/dist/index25.d.ts +1 -357
  69. package/dist/index26.d.ts +20 -151
  70. package/dist/index27.d.ts +18 -794
  71. package/dist/index28.d.ts +109 -58
  72. package/dist/index29.d.ts +1 -24
  73. package/dist/index3.d.ts +2212 -51
  74. package/dist/index30.d.ts +1 -0
  75. package/dist/index31.d.ts +48 -0
  76. package/dist/index32.d.ts +1 -0
  77. package/dist/index33.d.ts +56 -0
  78. package/dist/index34.d.ts +99 -0
  79. package/dist/index35.d.ts +171 -0
  80. package/dist/index36.d.ts +131 -0
  81. package/dist/index37.d.ts +137 -0
  82. package/dist/index38.d.ts +85 -0
  83. package/dist/index39.d.ts +91 -0
  84. package/dist/index4.d.ts +2634 -17
  85. package/dist/index40.d.ts +46 -0
  86. package/dist/index5.d.ts +535 -2267
  87. package/dist/index6.d.ts +2025 -1287
  88. package/dist/index7.d.ts +1798 -116
  89. package/dist/index8.d.ts +123 -12
  90. package/dist/index9.d.ts +42 -56
  91. package/dist/inventory.d.ts +46 -0
  92. package/dist/inventory.js +58 -35
  93. package/dist/inventory.js.map +1 -1
  94. package/dist/marketplace-logos.js +1 -1
  95. package/dist/marketplace-logos.js.map +1 -1
  96. package/dist/marketplace2.js +70 -0
  97. package/dist/marketplace2.js.map +1 -0
  98. package/dist/metadata.d.ts +733 -0
  99. package/dist/network.js +1 -1
  100. package/dist/networkconfigToWagmiChain.js.map +1 -1
  101. package/dist/primary-sale-checkout-options.d.ts +29 -0
  102. package/dist/quantityInput.js +93 -0
  103. package/dist/quantityInput.js.map +1 -0
  104. package/dist/ranges.d.ts +125 -0
  105. package/dist/react/_internal/api/index.d.ts +5 -2
  106. package/dist/react/_internal/api/index.js +4 -7
  107. package/dist/react/_internal/databeat/index.d.ts +4 -1
  108. package/dist/react/_internal/databeat/index.js +4 -37
  109. package/dist/react/_internal/index.d.ts +5 -2
  110. package/dist/react/_internal/index.js +5 -10
  111. package/dist/react/_internal/wagmi/index.d.ts +4 -1
  112. package/dist/react/_internal/wagmi/index.js +1 -4
  113. package/dist/react/hooks/_deprecated/index.d.ts +47 -0
  114. package/dist/react/hooks/_deprecated/index.js +4 -0
  115. package/dist/react/hooks/checkout/index.d.ts +7 -0
  116. package/dist/react/hooks/checkout/index.js +7 -0
  117. package/dist/react/hooks/collectible/index.d.ts +7 -0
  118. package/dist/react/hooks/collectible/index.js +7 -0
  119. package/dist/react/hooks/collection/index.d.ts +11 -0
  120. package/dist/react/hooks/collection/index.js +7 -0
  121. package/dist/react/hooks/config/index.d.ts +5 -4
  122. package/dist/react/hooks/config/index.js +4 -37
  123. package/dist/react/hooks/contracts/index.d.ts +4 -7
  124. package/dist/react/hooks/contracts/index.js +3 -16
  125. package/dist/react/hooks/currency/index.d.ts +47 -0
  126. package/dist/react/hooks/currency/index.js +7 -0
  127. package/dist/react/hooks/index.d.ts +41 -31
  128. package/dist/react/hooks/index.js +14 -38
  129. package/dist/react/hooks/inventory/index.d.ts +7 -0
  130. package/dist/react/hooks/inventory/index.js +4 -0
  131. package/dist/react/hooks/token/index.d.ts +7 -0
  132. package/dist/react/hooks/token/index.js +7 -0
  133. package/dist/react/hooks/transactions/index.d.ts +5 -2
  134. package/dist/react/hooks/transactions/index.js +5 -38
  135. package/dist/react/hooks/ui/card-data/index.d.ts +8 -0
  136. package/dist/react/hooks/ui/card-data/index.js +4 -0
  137. package/dist/react/hooks/ui/index.d.ts +9 -3
  138. package/dist/react/hooks/ui/index.js +8 -38
  139. package/dist/react/hooks/ui/url-state/index.d.ts +7 -0
  140. package/dist/react/hooks/ui/url-state/index.js +4 -0
  141. package/dist/react/hooks/utils/index.d.ts +3 -34
  142. package/dist/react/hooks/utils/index.js +5 -38
  143. package/dist/react/index.d.ts +45 -35
  144. package/dist/react/index.js +19 -37
  145. package/dist/react/providers/index.d.ts +6 -0
  146. package/dist/react/providers/index.js +6 -0
  147. package/dist/react/queries/checkout/index.d.ts +7 -0
  148. package/dist/react/queries/checkout/index.js +4 -0
  149. package/dist/react/queries/collectible/index.d.ts +7 -0
  150. package/dist/react/queries/collectible/index.js +5 -0
  151. package/dist/react/queries/collection/index.d.ts +11 -0
  152. package/dist/react/queries/collection/index.js +4 -0
  153. package/dist/react/queries/currency/index.d.ts +6 -0
  154. package/dist/react/queries/currency/index.js +4 -0
  155. package/dist/react/queries/index.d.ts +20 -21
  156. package/dist/react/queries/index.js +11 -30
  157. package/dist/react/queries/inventory/index.d.ts +6 -2
  158. package/dist/react/queries/inventory/index.js +3 -21
  159. package/dist/react/queries/marketplace/index.d.ts +7 -0
  160. package/dist/react/queries/marketplace/index.js +5 -0
  161. package/dist/react/queries/token/index.d.ts +7 -0
  162. package/dist/react/queries/token/index.js +4 -0
  163. package/dist/react/ssr/index.d.ts +12 -24
  164. package/dist/react/ssr/index.js +13 -33
  165. package/dist/react/ui/components/marketplace-collectible-card/ActionButton/index.d.ts +6 -0
  166. package/dist/react/ui/components/marketplace-collectible-card/ActionButton/index.js +6 -0
  167. package/dist/react/ui/components/marketplace-collectible-card/Card/index.d.ts +10 -0
  168. package/dist/react/ui/components/marketplace-collectible-card/Card/index.js +6 -0
  169. package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +44 -4
  170. package/dist/react/ui/components/marketplace-collectible-card/index.js +6 -38
  171. package/dist/react/ui/components/marketplace-collectible-card/utils/index.d.ts +5 -2
  172. package/dist/react/ui/components/marketplace-collectible-card/utils/index.js +3 -12
  173. package/dist/react/ui/components/marketplace-logos/index.d.ts +23 -22
  174. package/dist/react/ui/hooks/index.d.ts +47 -0
  175. package/dist/react/ui/hooks/index.js +15 -0
  176. package/dist/react/ui/icons/index.d.ts +3 -1
  177. package/dist/react/ui/icons/index.js +3 -14
  178. package/dist/react/ui/index.d.ts +47 -5
  179. package/dist/react/ui/index.js +6 -38
  180. package/dist/react/ui/modals/BuyModal/index.d.ts +47 -0
  181. package/dist/react/ui/modals/BuyModal/index.js +4 -0
  182. package/dist/react/ui/modals/CreateListingModal/index.d.ts +4 -0
  183. package/dist/react/ui/modals/CreateListingModal/index.js +6 -0
  184. package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.d.ts +190 -0
  185. package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.js +4 -0
  186. package/dist/react/ui/modals/MakeOfferModal/index.d.ts +4 -0
  187. package/dist/react/ui/modals/MakeOfferModal/index.js +4 -0
  188. package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.d.ts +188 -0
  189. package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.js +3 -0
  190. package/dist/react/ui/modals/SellModal/index.d.ts +6 -0
  191. package/dist/react/ui/modals/SellModal/index.js +6 -0
  192. package/dist/react/ui/modals/TransferModal/index.d.ts +47 -0
  193. package/dist/react/ui/modals/TransferModal/index.js +6 -0
  194. package/dist/react/ui/modals/_internal/components/alertMessage/index.d.ts +14 -0
  195. package/dist/react/ui/modals/_internal/components/alertMessage/index.js +3 -0
  196. package/dist/react/ui/modals/_internal/components/baseModal/index.d.ts +144 -0
  197. package/dist/react/ui/modals/_internal/components/baseModal/index.js +6 -0
  198. package/dist/react/ui/modals/_internal/components/calendar/index.d.ts +73 -0
  199. package/dist/react/ui/modals/_internal/components/calendar/index.js +5 -0
  200. package/dist/react/ui/modals/_internal/components/calendarDropdown/index.d.ts +21 -0
  201. package/dist/react/ui/modals/_internal/components/calendarDropdown/index.js +6 -0
  202. package/dist/react/ui/modals/_internal/components/currencyImage/index.d.ts +15 -0
  203. package/dist/react/ui/modals/_internal/components/currencyImage/index.js +5 -0
  204. package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts +30 -0
  205. package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.js +6 -0
  206. package/dist/react/ui/modals/_internal/components/expirationDateSelect/index.d.ts +2 -0
  207. package/dist/react/ui/modals/_internal/components/expirationDateSelect/index.js +6 -0
  208. package/dist/react/ui/modals/_internal/components/floorPriceText/index.d.ts +24 -0
  209. package/dist/react/ui/modals/_internal/components/floorPriceText/index.js +6 -0
  210. package/dist/react/ui/modals/_internal/components/priceInput/index.d.ts +43 -0
  211. package/dist/react/ui/modals/_internal/components/priceInput/index.js +6 -0
  212. package/dist/react/ui/modals/_internal/components/quantityInput/index.d.ts +24 -0
  213. package/dist/react/ui/modals/_internal/components/quantityInput/index.js +6 -0
  214. package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts +18 -0
  215. package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.js +6 -0
  216. package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts +14 -0
  217. package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.js +6 -0
  218. package/dist/react/ui/modals/_internal/components/timeAgo/index.d.ts +12 -0
  219. package/dist/react/ui/modals/_internal/components/timeAgo/index.js +5 -0
  220. package/dist/react/ui/modals/_internal/components/tokenPreview/index.d.ts +19 -0
  221. package/dist/react/ui/modals/_internal/components/tokenPreview/index.js +6 -0
  222. package/dist/react/ui/modals/_internal/components/transaction-footer/index.d.ts +26 -0
  223. package/dist/react/ui/modals/_internal/components/transaction-footer/index.js +4 -0
  224. package/dist/react/ui/modals/_internal/components/transactionDetails/index.d.ts +28 -0
  225. package/dist/react/ui/modals/_internal/components/transactionDetails/index.js +6 -0
  226. package/dist/react/ui/modals/_internal/components/transactionHeader/index.d.ts +16 -0
  227. package/dist/react/ui/modals/_internal/components/transactionHeader/index.js +3 -0
  228. package/dist/react/ui/modals/_internal/components/transactionPreview/index.d.ts +36 -0
  229. package/dist/react/ui/modals/_internal/components/transactionPreview/index.js +6 -0
  230. package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.d.ts +27 -0
  231. package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.js +6 -0
  232. package/dist/react/utils/index.d.ts +6 -19
  233. package/dist/react/utils/index.js +3 -8
  234. package/dist/react.js +12726 -9828
  235. package/dist/react.js.map +1 -1
  236. package/dist/src.js +0 -8
  237. package/dist/ssr.js +26 -0
  238. package/dist/ssr.js.map +1 -0
  239. package/dist/steps.d.ts +85 -0
  240. package/dist/styles/index.css +2056 -376
  241. package/dist/switchChainErrorModal.js +97 -0
  242. package/dist/switchChainErrorModal.js.map +1 -0
  243. package/dist/timeAgo.js +29 -0
  244. package/dist/timeAgo.js.map +1 -0
  245. package/dist/token-balances.d.ts +359 -0
  246. package/dist/token-balances.js +62 -0
  247. package/dist/token-balances.js.map +1 -0
  248. package/dist/token2.js +247 -0
  249. package/dist/token2.js.map +1 -0
  250. package/dist/transaction-footer.js +45 -0
  251. package/dist/transaction-footer.js.map +1 -0
  252. package/dist/transaction.js +1 -7
  253. package/dist/transaction.js.map +1 -1
  254. package/dist/transactionHeader.js +32 -0
  255. package/dist/transactionHeader.js.map +1 -0
  256. package/dist/types/index.d.ts +5 -2
  257. package/dist/types/index.js +3 -4
  258. package/dist/types.d.ts +26 -16
  259. package/dist/types.js +29 -1
  260. package/dist/types.js.map +1 -1
  261. package/dist/url-state.js +170 -0
  262. package/dist/url-state.js.map +1 -0
  263. package/dist/utils/abi/index.d.ts +6 -5
  264. package/dist/utils/abi/index.js +2 -2
  265. package/dist/utils/abi/marketplace/index.d.ts +1 -1
  266. package/dist/utils/abi/primary-sale/index.d.ts +1 -1
  267. package/dist/utils/abi/token/index.d.ts +1 -1
  268. package/dist/utils/index.d.ts +9 -7
  269. package/dist/utils/index.js +5 -9
  270. package/dist/utils.js +20 -9
  271. package/dist/utils.js.map +1 -1
  272. package/dist/utils2.js +64 -106
  273. package/dist/utils2.js.map +1 -1
  274. package/dist/waas-types.d.ts +19 -0
  275. package/dist/xstate-store.cjs.d.ts +18 -0
  276. package/eslint/sequence-types.js +1069 -0
  277. package/eslint.config.mjs +337 -9
  278. package/image.d.ts +5 -0
  279. package/package.json +49 -47
  280. package/postcss.config.mjs +1 -1
  281. package/preserve-directives.ts +235 -0
  282. package/public/mockServiceWorker.js +0 -1
  283. package/src/react/_internal/api/builder-api.ts +26 -4
  284. package/src/react/_internal/api/index.ts +1 -2
  285. package/src/react/_internal/api/marketplace-api.ts +57 -25
  286. package/src/react/_internal/api/services.ts +56 -4
  287. package/src/react/_internal/api-mocks.ts +8 -0
  288. package/src/react/_internal/databeat/index.ts +4 -0
  289. package/src/react/_internal/databeat/types.ts +24 -28
  290. package/src/react/_internal/index.ts +70 -0
  291. package/src/react/_internal/query-builder.ts +203 -0
  292. package/src/react/_internal/types.ts +88 -18
  293. package/src/react/_internal/utils.ts +34 -52
  294. package/src/react/_internal/wagmi/__tests__/create-config.test.ts +11 -5
  295. package/src/react/_internal/wagmi/create-config.ts +2 -2
  296. package/src/react/_internal/wagmi/get-connectors.ts +10 -6
  297. package/src/react/hooks/_deprecated/index.ts +61 -0
  298. package/src/react/hooks/checkout/index.ts +1 -0
  299. package/src/react/hooks/{utils/useCheckoutOptionsSalesContract.test.tsx → checkout/primary-sale-checkout-options.test.tsx} +23 -23
  300. package/src/react/hooks/{utils/useCheckoutOptionsSalesContract.tsx → checkout/primary-sale-checkout-options.tsx} +35 -32
  301. package/src/react/hooks/{data/collectibles/useBalanceOfCollectible.test.tsx → collectible/balance.test.tsx} +37 -29
  302. package/src/react/hooks/{data/collectibles/useBalanceOfCollectible.tsx → collectible/balance.tsx} +11 -11
  303. package/src/react/hooks/{data/primary-sales/useErc721SalesData.tsx → collectible/erc721-sale-details.tsx} +6 -6
  304. package/src/react/hooks/collectible/index.ts +16 -0
  305. package/src/react/hooks/{data/collectibles/useCountOfCollectables.test.tsx → collectible/market-count.test.tsx} +21 -16
  306. package/src/react/hooks/{data/collectibles/useCountOfCollectables.tsx → collectible/market-count.tsx} +13 -8
  307. package/src/react/hooks/{data/orders/useHighestOffer.test.tsx → collectible/market-highest-offer.test.tsx} +35 -24
  308. package/src/react/hooks/{data/orders/useHighestOffer.tsx → collectible/market-highest-offer.tsx} +12 -10
  309. package/src/react/hooks/{data/collectibles/useListCollectiblesPaginated.test.tsx → collectible/market-list-paginated.test.tsx} +18 -18
  310. package/src/react/hooks/{data/collectibles/useListCollectiblesPaginated.tsx → collectible/market-list-paginated.tsx} +12 -10
  311. package/src/react/hooks/{data/collectibles/useListCollectibles.test.tsx → collectible/market-list.test.tsx} +51 -39
  312. package/src/react/hooks/{data/collectibles/useListCollectibles.tsx → collectible/market-list.tsx} +11 -10
  313. package/src/react/hooks/{data/orders/useCountListingsForCollectible.test.tsx → collectible/market-listings-count.test.tsx} +13 -10
  314. package/src/react/hooks/{data/orders/useCountListingsForCollectible.tsx → collectible/market-listings-count.tsx} +11 -11
  315. package/src/react/hooks/{data/orders/useListListingsForCollectible.test.tsx → collectible/market-listings.test.tsx} +19 -19
  316. package/src/react/hooks/{data/orders/useListListingsForCollectible.tsx → collectible/market-listings.tsx} +17 -19
  317. package/src/react/hooks/{data/orders/useLowestListing.test.tsx → collectible/market-lowest-listing.test.tsx} +35 -24
  318. package/src/react/hooks/{data/orders/useLowestListing.tsx → collectible/market-lowest-listing.tsx} +12 -10
  319. package/src/react/hooks/{data/orders/useCountOffersForCollectible.test.tsx → collectible/market-offers-count.test.tsx} +13 -10
  320. package/src/react/hooks/{data/orders/useCountOffersForCollectible.tsx → collectible/market-offers-count.tsx} +11 -11
  321. package/src/react/hooks/{data/orders/useListOffersForCollectible.test.tsx → collectible/market-offers.test.tsx} +17 -17
  322. package/src/react/hooks/{data/orders/useListOffersForCollectible.tsx → collectible/market-offers.tsx} +16 -17
  323. package/src/react/hooks/{data/collectibles/useCollectible.test.tsx → collectible/metadata.test.tsx} +25 -23
  324. package/src/react/hooks/{data/collectibles/useCollectible.tsx → collectible/metadata.tsx} +17 -14
  325. package/src/react/hooks/collectible/primary-sale-item.test.tsx +503 -0
  326. package/src/react/hooks/{data/primary-sales/usePrimarySaleItem.tsx → collectible/primary-sale-item.tsx} +6 -8
  327. package/src/react/hooks/collectible/primary-sale-items-count.test.tsx +154 -0
  328. package/src/react/hooks/collectible/primary-sale-items-count.tsx +22 -0
  329. package/src/react/hooks/collectible/primary-sale-items.test.tsx +259 -0
  330. package/src/react/hooks/{data/primary-sales/useListPrimarySaleItems.tsx → collectible/primary-sale-items.tsx} +9 -9
  331. package/src/react/hooks/{data/collectibles/useTokenBalances.test.tsx → collectible/token-balances.test.tsx} +52 -28
  332. package/src/react/hooks/{data/collectibles/useTokenBalances.tsx → collectible/token-balances.tsx} +10 -10
  333. package/src/react/hooks/{data/collections/__snapshots__/useListCollections.test.tsx.snap → collection/__snapshots__/list.test.tsx.snap} +20 -20
  334. package/src/react/hooks/{data/collections/useCollectionBalanceDetails.test.tsx → collection/balance-details.test.tsx} +13 -8
  335. package/src/react/hooks/{data/collections/useCollectionBalanceDetails.tsx → collection/balance-details.tsx} +3 -3
  336. package/src/react/hooks/collection/index.ts +11 -0
  337. package/src/react/hooks/{data/collections/useListCollections.test.tsx → collection/list.test.tsx} +15 -14
  338. package/src/react/hooks/{data/collections/useListCollections.tsx → collection/list.tsx} +7 -7
  339. package/src/react/hooks/collection/market-detail-polling.test.tsx +146 -0
  340. package/src/react/hooks/{data/collections/useCollectionDetailsPolling.tsx → collection/market-detail-polling.tsx} +13 -12
  341. package/src/react/hooks/collection/market-filtered-count.test.tsx +121 -0
  342. package/src/react/hooks/{data/orders/useGetCountOfFilteredOrders.tsx → collection/market-filtered-count.tsx} +6 -6
  343. package/src/react/hooks/{data/orders/useFloorOrder.test.tsx → collection/market-floor.test.tsx} +19 -15
  344. package/src/react/hooks/{data/orders/useFloorOrder.tsx → collection/market-floor.tsx} +13 -9
  345. package/src/react/hooks/collection/market-items-count.test.tsx +121 -0
  346. package/src/react/hooks/{data/orders/useCountItemsOrdersForCollection.tsx → collection/market-items-count.tsx} +9 -9
  347. package/src/react/hooks/collection/market-items-paginated.test.tsx +142 -0
  348. package/src/react/hooks/{data/orders/useListItemsOrdersForCollectionPaginated.tsx → collection/market-items-paginated.tsx} +11 -9
  349. package/src/react/hooks/collection/market-items.test.tsx +184 -0
  350. package/src/react/hooks/{data/orders/useListItemsOrdersForCollection.tsx → collection/market-items.tsx} +16 -14
  351. package/src/react/hooks/{data/collections/useCollection.test.tsx → collection/metadata.test.tsx} +18 -13
  352. package/src/react/hooks/{data/collections/useCollection.tsx → collection/metadata.tsx} +16 -7
  353. package/src/react/hooks/collection/useCollectionActiveListingsCurrencies.test.tsx +150 -0
  354. package/src/react/hooks/{data/collections → collection}/useCollectionActiveListingsCurrencies.tsx +3 -3
  355. package/src/react/hooks/collection/useCollectionActiveOffersCurrencies.test.tsx +150 -0
  356. package/src/react/hooks/{data/collections → collection}/useCollectionActiveOffersCurrencies.tsx +3 -3
  357. package/src/react/hooks/config/__snapshots__/useMarketplaceConfig.test.tsx.snap +12 -11
  358. package/src/react/hooks/config/useConnectorMetadata.tsx +1 -1
  359. package/src/react/hooks/config/useMarketplaceConfig.test.tsx +3 -1
  360. package/src/react/hooks/config/useMarketplaceConfig.tsx +1 -1
  361. package/src/react/hooks/contracts/index.ts +1 -0
  362. package/src/react/hooks/contracts/useERC721Owner.test.tsx +82 -0
  363. package/src/react/hooks/contracts/useERC721Owner.tsx +47 -0
  364. package/src/react/hooks/contracts/useSalesContractABI.ts +2 -2
  365. package/src/react/hooks/{utils/useComparePrices.test.tsx → currency/compare-prices.test.tsx} +17 -11
  366. package/src/react/hooks/{utils/useComparePrices.tsx → currency/compare-prices.tsx} +8 -6
  367. package/src/react/hooks/{utils/useConvertPriceToUSD.test.tsx → currency/convert-to-usd.test.tsx} +17 -16
  368. package/src/react/hooks/{utils/useConvertPriceToUSD.tsx → currency/convert-to-usd.tsx} +6 -6
  369. package/src/react/hooks/{data/market/useCurrency.test.tsx → currency/currency.test.tsx} +18 -14
  370. package/src/react/hooks/{data/market/useCurrency.tsx → currency/currency.tsx} +3 -3
  371. package/src/react/hooks/currency/index.ts +4 -0
  372. package/src/react/hooks/{data/market/useMarketCurrencies.test.tsx → currency/list.test.tsx} +55 -59
  373. package/src/react/hooks/{data/market/useMarketCurrencies.tsx → currency/list.tsx} +7 -7
  374. package/src/react/hooks/data/orders/useOrders.test.tsx +143 -0
  375. package/src/react/hooks/data/orders/useOrders.tsx +73 -0
  376. package/src/react/hooks/data/tokens/useCurrencyBalance.tsx +1 -1
  377. package/src/react/hooks/index.ts +9 -12
  378. package/src/react/hooks/inventory/index.ts +1 -0
  379. package/src/react/hooks/{data/inventory/useInventory.test.tsx → inventory/inventory.test.tsx} +12 -14
  380. package/src/react/hooks/inventory/inventory.tsx +17 -0
  381. package/src/react/hooks/{data/tokens/useListBalances.test.tsx → token/balances.test.tsx} +22 -11
  382. package/src/react/hooks/token/balances.tsx +59 -0
  383. package/src/react/hooks/{data/tokens/useCurrencyBalance.test.tsx → token/currency-balance.test.tsx} +6 -6
  384. package/src/react/hooks/token/currency-balance.tsx +151 -0
  385. package/src/react/hooks/token/index.ts +5 -0
  386. package/src/react/hooks/{data/tokens/useSearchTokenMetadata.test.tsx → token/metadata-search.test.tsx} +38 -30
  387. package/src/react/hooks/{data/tokens/useSearchTokenMetadata.tsx → token/metadata-search.tsx} +27 -24
  388. package/src/react/hooks/{data/tokens/useListTokenMetadata.test.tsx → token/metadata.test.tsx} +27 -24
  389. package/src/react/hooks/{data/tokens/useListTokenMetadata.tsx → token/metadata.tsx} +7 -7
  390. package/src/react/hooks/{data/tokens/useGetTokenRanges.test.tsx → token/ranges.test.tsx} +15 -14
  391. package/src/react/hooks/{data/tokens/useGetTokenRanges.tsx → token/ranges.tsx} +12 -13
  392. package/src/react/hooks/transactions/index.ts +5 -0
  393. package/src/react/hooks/transactions/useBuyTransaction.tsx +95 -0
  394. package/src/react/hooks/transactions/useCancelOrder.test.tsx +15 -35
  395. package/src/react/hooks/transactions/useCancelOrder.tsx +3 -9
  396. package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +3 -9
  397. package/src/react/hooks/transactions/useGenerateCancelTransaction.test.tsx +23 -12
  398. package/src/react/hooks/transactions/useGenerateCancelTransaction.tsx +16 -11
  399. package/src/react/hooks/transactions/useGenerateListingTransaction.test.tsx +17 -57
  400. package/src/react/hooks/transactions/useGenerateListingTransaction.tsx +17 -12
  401. package/src/react/hooks/transactions/useGenerateOfferTransaction.test.tsx +14 -15
  402. package/src/react/hooks/transactions/useGenerateOfferTransaction.tsx +11 -11
  403. package/src/react/hooks/transactions/useGenerateSellTransaction.test.tsx +28 -38
  404. package/src/react/hooks/transactions/useGenerateSellTransaction.tsx +16 -15
  405. package/src/react/hooks/transactions/useMarketTransactionSteps.test.tsx +105 -0
  406. package/src/react/hooks/transactions/useMarketTransactionSteps.tsx +129 -0
  407. package/src/react/hooks/transactions/useOrderSteps.tsx +23 -36
  408. package/src/react/hooks/transactions/usePrimarySaleTransactionSteps.ts +196 -0
  409. package/src/react/hooks/transactions/useProcessStep.test.tsx +63 -59
  410. package/src/react/hooks/transactions/useProcessStep.ts +52 -54
  411. package/src/react/hooks/transactions/useTransactionExecution.test.tsx +99 -0
  412. package/src/react/hooks/transactions/useTransactionExecution.ts +31 -0
  413. package/src/react/hooks/transactions/useTransactionType.ts +20 -0
  414. package/src/react/hooks/transactions/useTransferTokens.test.tsx +16 -16
  415. package/src/react/hooks/transactions/useTransferTokens.tsx +17 -5
  416. package/src/react/hooks/ui/card-data/index.ts +4 -0
  417. package/src/react/hooks/ui/card-data/market-card-data-paged.test.tsx +375 -0
  418. package/src/react/hooks/ui/card-data/market-card-data-paged.tsx +265 -0
  419. package/src/react/hooks/{data/market/useListMarketCardData.test.tsx → ui/card-data/market-card-data.test.tsx} +30 -28
  420. package/src/react/hooks/{data/market/useListMarketCardData.tsx → ui/card-data/market-card-data.tsx} +44 -31
  421. package/src/react/hooks/{data/primary-sales/useList1155ShopCardData.tsx → ui/card-data/primary-sale-1155-card-data.tsx} +24 -31
  422. package/src/react/hooks/{data/primary-sales/useList721ShopCardData.tsx → ui/card-data/primary-sale-721-card-data.tsx} +70 -37
  423. package/src/react/hooks/ui/index.ts +3 -1
  424. package/src/react/hooks/ui/url-state/filter-state.test.tsx +569 -0
  425. package/src/react/hooks/ui/{useFilterState.tsx → url-state/filter-state.tsx} +34 -20
  426. package/src/react/hooks/ui/url-state/index.ts +1 -0
  427. package/src/react/hooks/ui/useCollectibleCardOfferState.test.tsx +75 -0
  428. package/src/react/hooks/ui/useCollectibleCardOfferState.ts +47 -0
  429. package/src/react/hooks/ui/useFilters.test.tsx +4 -1
  430. package/src/react/hooks/ui/useFilters.tsx +2 -2
  431. package/src/react/hooks/util/optimisticCancelUpdates.test.ts +489 -0
  432. package/src/react/hooks/util/optimisticCancelUpdates.ts +21 -22
  433. package/src/react/hooks/utils/index.ts +0 -4
  434. package/src/react/hooks/utils/useAutoSelectFeeOption.test.tsx +8 -5
  435. package/src/react/hooks/utils/useAutoSelectFeeOption.tsx +33 -17
  436. package/src/react/hooks/utils/useRoyalty.test.tsx +1 -1
  437. package/src/react/hooks/utils/useRoyalty.tsx +99 -34
  438. package/src/react/hooks/utils/useWaasFeeOptions.tsx +234 -0
  439. package/src/react/hooks/utils/waasFeeOptionsStore.ts +141 -0
  440. package/src/react/index.ts +3 -0
  441. package/src/react/providers/index.tsx +3 -3
  442. package/src/react/providers/modal-provider.tsx +6 -17
  443. package/src/react/providers/provider.test.tsx +1 -1
  444. package/src/react/providers/shadow-root.tsx +1 -1
  445. package/src/react/providers/theme-provider.tsx +1 -1
  446. package/src/react/queries/checkout/index.ts +1 -0
  447. package/src/react/queries/checkout/primary-sale-checkout-options.ts +118 -0
  448. package/src/react/queries/collectible/balance.ts +113 -0
  449. package/src/react/queries/collectible/index.ts +15 -0
  450. package/src/react/queries/collectible/market-count.ts +91 -0
  451. package/src/react/queries/collectible/market-highest-offer.ts +74 -0
  452. package/src/react/queries/collectible/market-list-paginated.ts +110 -0
  453. package/src/react/queries/collectible/market-list.ts +118 -0
  454. package/src/react/queries/collectible/market-listings-count.ts +70 -0
  455. package/src/react/queries/collectible/market-listings.ts +71 -0
  456. package/src/react/queries/collectible/market-lowest-listing.ts +74 -0
  457. package/src/react/queries/collectible/market-offers-count.ts +70 -0
  458. package/src/react/queries/collectible/market-offers.ts +90 -0
  459. package/src/react/queries/collectible/metadata.ts +84 -0
  460. package/src/react/queries/collectible/primary-sale-item.ts +79 -0
  461. package/src/react/queries/collectible/primary-sale-items-count.ts +67 -0
  462. package/src/react/queries/collectible/primary-sale-items.ts +96 -0
  463. package/src/react/queries/collectible/queryKeys.ts +12 -0
  464. package/src/react/queries/collectible/token-balances.ts +83 -0
  465. package/src/react/queries/collection/activeListingsCurrencies.ts +74 -0
  466. package/src/react/queries/collection/activeOffersCurrencies.ts +74 -0
  467. package/src/react/queries/collection/balance-details.ts +103 -0
  468. package/src/react/queries/collection/index.ts +9 -0
  469. package/src/react/queries/collection/list.ts +195 -0
  470. package/src/react/queries/collection/market-detail.ts +60 -0
  471. package/src/react/queries/collection/market-filtered-count.ts +67 -0
  472. package/src/react/queries/collection/market-floor.ts +58 -0
  473. package/src/react/queries/collection/market-items-count.ts +69 -0
  474. package/src/react/queries/collection/market-items-paginated.ts +84 -0
  475. package/src/react/queries/collection/market-items.ts +72 -0
  476. package/src/react/queries/collection/metadata.ts +60 -0
  477. package/src/react/queries/collection/queryKeys.ts +12 -0
  478. package/src/react/queries/currency/compare-prices.ts +122 -0
  479. package/src/react/queries/currency/convert-to-usd.ts +99 -0
  480. package/src/react/queries/currency/currency.ts +82 -0
  481. package/src/react/queries/currency/index.ts +4 -0
  482. package/src/react/queries/currency/list.ts +103 -0
  483. package/src/react/queries/index.ts +6 -7
  484. package/src/react/queries/inventory/inventory.ts +144 -94
  485. package/src/react/queries/marketplace/config.ts +85 -0
  486. package/src/react/queries/marketplace/filters.ts +141 -0
  487. package/src/react/queries/marketplace/index.ts +2 -0
  488. package/src/react/queries/marketplace/queryKeys.ts +12 -0
  489. package/src/react/queries/orders.ts +48 -0
  490. package/src/react/queries/token/balances.ts +107 -0
  491. package/src/react/queries/token/index.ts +5 -0
  492. package/src/react/queries/token/metadata-search.ts +95 -0
  493. package/src/react/queries/token/metadata.ts +80 -0
  494. package/src/react/queries/token/queryKeys.ts +12 -0
  495. package/src/react/queries/token/ranges.ts +74 -0
  496. package/src/react/queries/token/supplies.ts +86 -0
  497. package/src/react/ssr/__tests__/__snapshots__/create-ssr-client.test.ts.snap +11 -10
  498. package/src/react/ssr/create-ssr-client.ts +1 -1
  499. package/src/react/ssr/index.ts +5 -0
  500. package/src/react/types/query.ts +8 -7
  501. package/src/react/ui/components/_internals/ErrorDisplay.tsx +87 -0
  502. package/src/react/ui/components/_internals/ErrorLogBox.tsx +8 -1
  503. package/src/react/ui/components/_internals/custom-select/CustomSelect.tsx +13 -14
  504. package/src/react/ui/components/_internals/pill/__tests__/Pill.test.tsx +9 -5
  505. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/ActionButton.stories.tsx +24 -29
  506. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/ActionButton.tsx +20 -14
  507. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/__tests__/ActionButtonBody.test.tsx +7 -5
  508. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/__tests__/NonOwnerActions.test.tsx +11 -6
  509. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/__tests__/OwnerActions.test.tsx +8 -6
  510. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/__tests__/useActionButtonLogic.test.tsx +6 -4
  511. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/components/ActionButtonBody.tsx +14 -9
  512. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/components/NonOwnerActions.tsx +26 -35
  513. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/components/OwnerActions.tsx +21 -13
  514. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/hooks/useActionButtonLogic.ts +3 -3
  515. package/src/react/ui/components/marketplace-collectible-card/ActionButton/index.ts +1 -0
  516. package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/store.ts +4 -4
  517. package/src/react/ui/components/marketplace-collectible-card/Card/card-badge.tsx +37 -0
  518. package/src/react/ui/components/marketplace-collectible-card/Card/card-content.tsx +27 -0
  519. package/src/react/ui/components/marketplace-collectible-card/Card/card-footer.tsx +38 -0
  520. package/src/react/ui/components/marketplace-collectible-card/Card/card-media.tsx +69 -0
  521. package/src/react/ui/components/marketplace-collectible-card/Card/card-price.tsx +44 -0
  522. package/src/react/ui/components/marketplace-collectible-card/Card/card-sale-details.tsx +37 -0
  523. package/src/react/ui/components/marketplace-collectible-card/Card/card-skeleton.tsx +39 -0
  524. package/src/react/ui/components/marketplace-collectible-card/Card/card-title.tsx +109 -0
  525. package/src/react/ui/components/marketplace-collectible-card/Card/card.tsx +51 -0
  526. package/src/react/ui/components/marketplace-collectible-card/Card/index.ts +30 -0
  527. package/src/react/ui/components/marketplace-collectible-card/CollectibleCardSkeleton.tsx +1 -1
  528. package/src/react/ui/components/marketplace-collectible-card/_internals/PriceDisplay.tsx +87 -0
  529. package/src/react/ui/components/marketplace-collectible-card/constants.ts +20 -0
  530. package/src/react/ui/components/marketplace-collectible-card/index.ts +6 -0
  531. package/src/react/ui/components/marketplace-collectible-card/types.ts +31 -16
  532. package/src/react/ui/components/marketplace-collectible-card/utils/determineCardAction.ts +63 -0
  533. package/src/react/ui/components/marketplace-collectible-card/utils/formatPrice.ts +71 -2
  534. package/src/react/ui/components/marketplace-collectible-card/utils/index.ts +3 -0
  535. package/src/react/ui/components/marketplace-collectible-card/utils/renderSkeleton.tsx +44 -0
  536. package/src/react/ui/components/marketplace-collectible-card/utils/shopCardState.ts +83 -0
  537. package/src/react/ui/components/marketplace-collectible-card/utils/supplyStatus.ts +5 -5
  538. package/src/react/ui/components/marketplace-collectible-card/variants/MarketCard.tsx +63 -78
  539. package/src/react/ui/components/marketplace-collectible-card/variants/MarketCardPresentation.tsx +170 -0
  540. package/src/react/ui/components/marketplace-collectible-card/variants/NonTradableInventoryCard.tsx +56 -38
  541. package/src/react/ui/components/marketplace-collectible-card/variants/ShopCard.tsx +55 -65
  542. package/src/react/ui/components/marketplace-collectible-card/variants/ShopCardPresentation.tsx +144 -0
  543. package/src/react/ui/components/marketplace-logos/marketplace-logos.tsx +1 -5
  544. package/src/react/ui/components/media/Media.tsx +1 -1
  545. package/src/react/ui/components/media/MediaSkeleton.tsx +1 -1
  546. package/src/react/ui/hooks/index.ts +2 -0
  547. package/src/react/ui/icons/BellIcon.tsx +7 -3
  548. package/src/react/ui/icons/iconVariants.ts +11 -0
  549. package/src/react/ui/icons/index.ts +0 -3
  550. package/src/react/ui/index.ts +37 -8
  551. package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +195 -0
  552. package/src/react/ui/modals/BuyModal/components/CollectibleMetadataSummary.tsx +141 -0
  553. package/src/react/ui/modals/BuyModal/components/CryptoPaymentModal.tsx +177 -0
  554. package/src/react/ui/modals/BuyModal/components/CryptoPaymentModalSkeleton.tsx +48 -0
  555. package/src/react/ui/modals/BuyModal/components/Modal.tsx +2 -2
  556. package/src/react/ui/modals/BuyModal/components/TrailsCss.ts +216 -0
  557. package/src/react/ui/modals/BuyModal/components/{ERC1155QuantityModal.tsx → sequence-checkout/ERC1155QuantityModal.tsx} +71 -82
  558. package/src/react/ui/modals/BuyModal/components/sequence-checkout/SequenceCheckoutNew.tsx +161 -0
  559. package/src/react/ui/modals/BuyModal/{hooks → components/sequence-checkout}/usePaymentModalParams.ts +73 -112
  560. package/src/react/ui/modals/BuyModal/components/types.ts +6 -5
  561. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC1155SalePaymentParams.test.tsx +2 -14
  562. package/src/react/ui/modals/BuyModal/hooks/useBuyModalData.ts +151 -0
  563. package/src/react/ui/modals/BuyModal/hooks/useERC1155SalePaymentParams.ts +15 -28
  564. package/src/react/ui/modals/BuyModal/hooks/useExecuteBundledTransactions.ts +167 -0
  565. package/src/react/ui/modals/BuyModal/hooks/useHasSufficientBalance.ts +30 -0
  566. package/src/react/ui/modals/BuyModal/hooks/useMarketPlatformFee.ts +7 -7
  567. package/src/react/ui/modals/BuyModal/index.tsx +6 -3
  568. package/src/react/ui/modals/BuyModal/internal/__tests__/determineCheckoutMode.test.ts +119 -0
  569. package/src/react/ui/modals/BuyModal/internal/buyModalContext.ts +146 -0
  570. package/src/react/ui/modals/BuyModal/internal/cryptoPaymentModalContext.tsx +399 -0
  571. package/src/react/ui/modals/BuyModal/internal/determineCheckoutMode.ts +49 -0
  572. package/src/react/ui/modals/BuyModal/store.ts +25 -94
  573. package/src/react/ui/modals/CreateListingModal/Modal.tsx +141 -308
  574. package/src/react/ui/modals/CreateListingModal/__tests__/Modal.test.tsx +35 -61
  575. package/src/react/ui/modals/CreateListingModal/index.tsx +16 -9
  576. package/src/react/ui/modals/CreateListingModal/internal/context.ts +416 -0
  577. package/src/react/ui/modals/CreateListingModal/internal/helpers/validation.ts +79 -0
  578. package/src/react/ui/modals/CreateListingModal/internal/hooks/index.ts +1 -0
  579. package/src/react/ui/modals/CreateListingModal/internal/hooks/use-collectible-approval.ts +49 -0
  580. package/src/react/ui/modals/CreateListingModal/internal/listing-mutations.ts +267 -0
  581. package/src/react/ui/modals/CreateListingModal/internal/store.ts +153 -0
  582. package/src/react/ui/modals/MakeOfferModal/Modal.tsx +130 -348
  583. package/src/react/ui/modals/MakeOfferModal/__stories__/MakeOfferModal.mock-data.ts +494 -0
  584. package/src/react/ui/modals/MakeOfferModal/__stories__/MakeOfferModal.stories.tsx +699 -0
  585. package/src/react/ui/modals/MakeOfferModal/__tests__/Modal.test.tsx +28 -155
  586. package/src/react/ui/modals/MakeOfferModal/index.tsx +17 -11
  587. package/src/react/ui/modals/MakeOfferModal/internal/context.ts +472 -0
  588. package/src/react/ui/modals/MakeOfferModal/internal/helpers/validation.ts +114 -0
  589. package/src/react/ui/modals/MakeOfferModal/internal/hooks/index.ts +1 -0
  590. package/src/react/ui/modals/MakeOfferModal/internal/hooks/use-erc20-allowance.ts +43 -0
  591. package/src/react/ui/modals/MakeOfferModal/internal/offer-mutations.ts +231 -0
  592. package/src/react/ui/modals/MakeOfferModal/internal/store.ts +153 -0
  593. package/src/react/ui/modals/SellModal/Modal.tsx +74 -213
  594. package/src/react/ui/modals/SellModal/index.tsx +5 -11
  595. package/src/react/ui/modals/SellModal/internal/context.ts +284 -0
  596. package/src/react/ui/modals/SellModal/internal/sell-mutations.ts +163 -0
  597. package/src/react/ui/modals/SellModal/internal/store.ts +79 -0
  598. package/src/react/ui/modals/SellModal/internal/use-generate-sell-transaction.ts +93 -0
  599. package/src/react/ui/modals/TransferModal/__tests__/store.test.ts +51 -345
  600. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/TokenQuantityInput.tsx +36 -34
  601. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/WalletAddressInput.tsx +19 -28
  602. package/src/react/ui/modals/TransferModal/index.tsx +98 -119
  603. package/src/react/ui/modals/TransferModal/internal/context.ts +404 -0
  604. package/src/react/ui/modals/TransferModal/internal/store.ts +118 -0
  605. package/src/react/ui/modals/_internal/components/alertMessage/index.tsx +2 -3
  606. package/src/react/ui/modals/_internal/components/baseModal/ActionModal.tsx +338 -0
  607. package/src/react/ui/modals/_internal/components/baseModal/BaseModal.tsx +51 -0
  608. package/src/react/ui/modals/_internal/components/baseModal/ErrorBoundary.tsx +83 -0
  609. package/src/react/ui/modals/_internal/components/baseModal/ErrorModal.tsx +51 -0
  610. package/src/react/ui/modals/_internal/components/baseModal/LoadingModal.tsx +35 -0
  611. package/src/react/ui/modals/_internal/components/baseModal/SmartErrorHandler.tsx +31 -0
  612. package/src/react/ui/modals/_internal/components/baseModal/__tests__/ErrorBoundary.test.tsx +390 -0
  613. package/src/react/ui/modals/_internal/components/baseModal/errors/ModalInitializationError.tsx +93 -0
  614. package/src/react/ui/modals/_internal/components/baseModal/errors/errorActionType.ts +5 -0
  615. package/src/react/ui/modals/_internal/components/baseModal/index.ts +13 -0
  616. package/src/react/ui/modals/_internal/components/calendarDropdown/TimeSelector.tsx +1 -1
  617. package/src/react/ui/modals/_internal/components/calendarDropdown/index.tsx +14 -9
  618. package/src/react/ui/modals/_internal/components/consts.ts +19 -5
  619. package/src/react/ui/modals/_internal/components/currencyImage/index.tsx +5 -7
  620. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/__tests__/index.test.tsx +6 -14
  621. package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +17 -24
  622. package/src/react/ui/modals/_internal/components/expirationDateSelect/index.tsx +1 -1
  623. package/src/react/ui/modals/_internal/components/floorPriceText/__tests__/FloorPriceText.test.tsx +61 -40
  624. package/src/react/ui/modals/_internal/components/floorPriceText/index.tsx +23 -19
  625. package/src/react/ui/modals/_internal/components/priceInput/__tests__/PriceInput.test.tsx +3 -3
  626. package/src/react/ui/modals/_internal/components/priceInput/index.tsx +68 -75
  627. package/src/react/ui/modals/_internal/components/quantityInput/__tests__/index.test.tsx +22 -137
  628. package/src/react/ui/modals/_internal/components/quantityInput/index.tsx +84 -131
  629. package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/__tests__/SelectWaasFeeOptions.test.tsx +14 -31
  630. package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/_components/ActionButtons.tsx +37 -25
  631. package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/index.tsx +13 -6
  632. package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/store.ts +9 -26
  633. package/src/react/ui/modals/_internal/components/selectWaasFeeOptions/useWaasFeeOptionManager.tsx +27 -29
  634. package/src/react/ui/modals/_internal/components/switchChainErrorModal/store.ts +2 -2
  635. package/src/react/ui/modals/_internal/components/tokenPreview/index.tsx +10 -9
  636. package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +16 -9
  637. package/src/react/ui/modals/_internal/components/transactionPreview/index.tsx +8 -7
  638. package/src/react/ui/modals/_internal/components/transactionPreview/useTransactionPreviewTitle.tsx +1 -1
  639. package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/TransactionStatusModal.test.tsx +3 -5
  640. package/src/react/ui/modals/_internal/components/transactionStatusModal/__tests__/utils.test.ts +3 -3
  641. package/src/react/ui/modals/_internal/components/transactionStatusModal/hooks/useTransactionStatus.ts +4 -15
  642. package/src/react/ui/modals/_internal/components/transactionStatusModal/index.tsx +14 -15
  643. package/src/react/ui/modals/_internal/components/transactionStatusModal/store.ts +8 -11
  644. package/src/react/ui/modals/_internal/components/waasFeeOptionsSelect/WaasFeeOptionsSelect.tsx +65 -10
  645. package/src/react/ui/modals/_internal/constants/opensea-currencies.ts +484 -0
  646. package/src/react/ui/modals/_internal/helpers/currency.ts +56 -0
  647. package/src/react/ui/modals/_internal/helpers/dnum-utils.ts +40 -0
  648. package/src/react/ui/modals/_internal/helpers/flow-state.ts +269 -0
  649. package/src/react/ui/modals/_internal/helpers/step-guards.ts +131 -0
  650. package/src/react/ui/modals/_internal/types/steps.ts +145 -0
  651. package/src/react/ui/modals/_internal/types.ts +2 -9
  652. package/src/react/utils/index.ts +2 -0
  653. package/src/react/utils/normalize-attributes.test.ts +94 -0
  654. package/src/react/utils/normalize-attributes.ts +89 -0
  655. package/src/react/utils/normalize-properties.test.ts +77 -0
  656. package/src/react/utils/normalize-properties.ts +60 -0
  657. package/src/react/utils/normalizePriceFilters.ts +25 -0
  658. package/src/react/utils/waitForTransactionReceipt.ts +2 -2
  659. package/src/styles/index.css +2 -0
  660. package/src/styles/styles.ts +2056 -376
  661. package/src/types/api-types.ts +6 -14
  662. package/src/types/buyModalErrors.ts +24 -30
  663. package/src/types/index.ts +4 -2
  664. package/src/types/sdk-config.ts +14 -1
  665. package/src/types/transactions.ts +10 -0
  666. package/src/types/types.ts +93 -14
  667. package/src/utils/__tests__/getMarketplaceDetails.test.ts +1 -1
  668. package/src/utils/_internal/error/base.ts +1 -1
  669. package/src/utils/_internal/error/transaction.ts +4 -5
  670. package/src/utils/abi/helpers.ts +38 -0
  671. package/src/utils/abi/index.ts +1 -0
  672. package/src/utils/collection.ts +19 -0
  673. package/src/utils/decode/erc20.ts +2 -2
  674. package/src/utils/errors.ts +527 -0
  675. package/src/utils/getConduitAddressForOrderbook.ts +38 -0
  676. package/src/utils/getErrorMessage.ts +37 -0
  677. package/src/utils/getMarketplaceDetails.ts +1 -1
  678. package/src/utils/getSequenceMarketRequestId.ts +3 -7
  679. package/src/utils/getWagmiErrorMessage.ts +241 -0
  680. package/src/utils/getWebRPCErrorMessage.ts +63 -0
  681. package/src/utils/index.ts +1 -0
  682. package/src/utils/networkconfigToWagmiChain.ts +2 -1
  683. package/src/utils/price.ts +12 -10
  684. package/test/const.ts +3 -3
  685. package/test/globalSetup.ts +4 -5
  686. package/test/handlers.ts +2 -2
  687. package/test/server-setup.ts +8 -8
  688. package/test/setup.ts +11 -0
  689. package/test/test-utils.tsx +23 -6
  690. package/tsconfig.json +8 -1
  691. package/tsdown.config.ts +12 -3
  692. package/dist/CartIcon.js +0 -102
  693. package/dist/CartIcon.js.map +0 -1
  694. package/dist/CollectibleCard.d.ts +0 -8
  695. package/dist/builder.gen.js +0 -300
  696. package/dist/builder.gen.js.map +0 -1
  697. package/dist/collectibles.js +0 -319
  698. package/dist/collectibles.js.map +0 -1
  699. package/dist/collections.js +0 -320
  700. package/dist/collections.js.map +0 -1
  701. package/dist/components.js +0 -117
  702. package/dist/components.js.map +0 -1
  703. package/dist/listCollectiblesPaginated.d.ts +0 -322
  704. package/dist/listCollections.d.ts +0 -821
  705. package/dist/lowestListing.d.ts +0 -465
  706. package/dist/market.js +0 -207
  707. package/dist/market.js.map +0 -1
  708. package/dist/marketCurrencies.d.ts +0 -163
  709. package/dist/marketCurrencies.js +0 -56
  710. package/dist/marketCurrencies.js.map +0 -1
  711. package/dist/marketplace.gen.js +0 -1144
  712. package/dist/marketplace.gen.js.map +0 -1
  713. package/dist/marketplaceConfig.js.map +0 -1
  714. package/dist/orders.js +0 -462
  715. package/dist/orders.js.map +0 -1
  716. package/dist/primary-sales.js +0 -152
  717. package/dist/primary-sales.js.map +0 -1
  718. package/dist/query.d.ts +0 -31
  719. package/dist/react/hooks/data/collectibles/index.d.ts +0 -5
  720. package/dist/react/hooks/data/collectibles/index.js +0 -39
  721. package/dist/react/hooks/data/collections/index.d.ts +0 -11
  722. package/dist/react/hooks/data/collections/index.js +0 -39
  723. package/dist/react/hooks/data/index.d.ts +0 -37
  724. package/dist/react/hooks/data/index.js +0 -39
  725. package/dist/react/hooks/data/inventory/index.d.ts +0 -37
  726. package/dist/react/hooks/data/inventory/index.js +0 -39
  727. package/dist/react/hooks/data/market/index.d.ts +0 -6
  728. package/dist/react/hooks/data/market/index.js +0 -39
  729. package/dist/react/hooks/data/orders/index.d.ts +0 -5
  730. package/dist/react/hooks/data/orders/index.js +0 -39
  731. package/dist/react/hooks/data/primary-sales/index.d.ts +0 -37
  732. package/dist/react/hooks/data/primary-sales/index.js +0 -39
  733. package/dist/react/hooks/data/tokens/index.d.ts +0 -5
  734. package/dist/react/hooks/data/tokens/index.js +0 -39
  735. package/dist/react/queries/collectibles/index.d.ts +0 -5
  736. package/dist/react/queries/collectibles/index.js +0 -22
  737. package/dist/react/queries/collections/index.d.ts +0 -11
  738. package/dist/react/queries/collections/index.js +0 -20
  739. package/dist/react/queries/market/index.d.ts +0 -6
  740. package/dist/react/queries/market/index.js +0 -22
  741. package/dist/react/queries/orders/index.d.ts +0 -5
  742. package/dist/react/queries/orders/index.js +0 -13
  743. package/dist/react/queries/primary-sales/index.d.ts +0 -4
  744. package/dist/react/queries/primary-sales/index.js +0 -13
  745. package/dist/react/queries/tokens/index.d.ts +0 -5
  746. package/dist/react/queries/tokens/index.js +0 -13
  747. package/dist/react/queries/utils/index.d.ts +0 -4
  748. package/dist/react/queries/utils/index.js +0 -22
  749. package/dist/react/ssr/index.js.map +0 -1
  750. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.d.ts +0 -3
  751. package/dist/react/ui/components/marketplace-collectible-card/components/footer/components/index.js +0 -22
  752. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.d.ts +0 -51
  753. package/dist/react/ui/components/marketplace-collectible-card/components/footer/index.js +0 -39
  754. package/dist/react/ui/modals/_internal/components/actionModal/index.d.ts +0 -40
  755. package/dist/react/ui/modals/_internal/components/actionModal/index.js +0 -39
  756. package/dist/src.js.map +0 -1
  757. package/dist/tokenBalances.js +0 -56
  758. package/dist/tokenBalances.js.map +0 -1
  759. package/dist/tokenSupplies.d.ts +0 -261
  760. package/dist/tokens.js +0 -219
  761. package/dist/tokens.js.map +0 -1
  762. package/dist/utils3.js +0 -43
  763. package/dist/utils3.js.map +0 -1
  764. package/dist/waitForTransactionReceipt.js +0 -25
  765. package/dist/waitForTransactionReceipt.js.map +0 -1
  766. package/src/react/_internal/api/__mocks__/builder.msw.ts +0 -239
  767. package/src/react/_internal/api/__mocks__/indexer.msw.ts +0 -216
  768. package/src/react/_internal/api/__mocks__/marketplace.msw.ts +0 -402
  769. package/src/react/_internal/api/__mocks__/metadata.msw.ts +0 -195
  770. package/src/react/_internal/api/builder.gen.ts +0 -773
  771. package/src/react/_internal/api/marketplace.gen.ts +0 -2718
  772. package/src/react/_internal/api/query-keys.ts +0 -124
  773. package/src/react/hooks/data/collectibles/index.ts +0 -6
  774. package/src/react/hooks/data/collectibles/useListCollectibleActivities.test.tsx +0 -192
  775. package/src/react/hooks/data/collectibles/useListCollectibleActivities.tsx +0 -98
  776. package/src/react/hooks/data/collections/index.ts +0 -8
  777. package/src/react/hooks/data/collections/useCollectionActiveListingsCurrencies.test.tsx +0 -112
  778. package/src/react/hooks/data/collections/useCollectionActiveOffersCurrencies.test.tsx +0 -110
  779. package/src/react/hooks/data/collections/useCollectionDetails.test.tsx +0 -83
  780. package/src/react/hooks/data/collections/useCollectionDetails.ts +0 -69
  781. package/src/react/hooks/data/collections/useCollectionDetailsPolling.test.tsx +0 -137
  782. package/src/react/hooks/data/collections/useListCollectionActivities.test.tsx +0 -227
  783. package/src/react/hooks/data/collections/useListCollectionActivities.tsx +0 -93
  784. package/src/react/hooks/data/index.ts +0 -6
  785. package/src/react/hooks/data/inventory/index.ts +0 -1
  786. package/src/react/hooks/data/inventory/useInventory.tsx +0 -12
  787. package/src/react/hooks/data/market/index.ts +0 -3
  788. package/src/react/hooks/data/orders/index.ts +0 -11
  789. package/src/react/hooks/data/primary-sales/index.ts +0 -7
  790. package/src/react/hooks/data/primary-sales/useCountOfPrimarySaleItems.tsx +0 -13
  791. package/src/react/hooks/data/primary-sales/useGetCountOfPrimarySaleItems.tsx +0 -48
  792. package/src/react/hooks/data/tokens/index.ts +0 -5
  793. package/src/react/hooks/data/tokens/useListBalances.tsx +0 -29
  794. package/src/react/hooks/data/tokens/useTokenSupplies.ts +0 -69
  795. package/src/react/hooks/utils/useCheckoutOptions.test.tsx +0 -162
  796. package/src/react/hooks/utils/useCheckoutOptions.tsx +0 -98
  797. package/src/react/queries/collectibles/balanceOfCollectible.ts +0 -90
  798. package/src/react/queries/collectibles/collectible.ts +0 -81
  799. package/src/react/queries/collectibles/countOfCollectables.ts +0 -109
  800. package/src/react/queries/collectibles/index.ts +0 -7
  801. package/src/react/queries/collectibles/listCollectibleActivities.ts +0 -121
  802. package/src/react/queries/collectibles/listCollectibles.ts +0 -115
  803. package/src/react/queries/collectibles/listCollectiblesPaginated.ts +0 -104
  804. package/src/react/queries/collectibles/tokenBalances.ts +0 -89
  805. package/src/react/queries/collections/activeListingsCurrencies.ts +0 -84
  806. package/src/react/queries/collections/activeOffersCurrencies.ts +0 -84
  807. package/src/react/queries/collections/collection.ts +0 -69
  808. package/src/react/queries/collections/collectionBalanceDetails.ts +0 -107
  809. package/src/react/queries/collections/collectionDetails.ts +0 -79
  810. package/src/react/queries/collections/index.ts +0 -7
  811. package/src/react/queries/collections/listCollectionActivities.ts +0 -117
  812. package/src/react/queries/collections/listCollections.ts +0 -175
  813. package/src/react/queries/market/checkoutOptions.ts +0 -107
  814. package/src/react/queries/market/checkoutOptionsSalesContract.ts +0 -108
  815. package/src/react/queries/market/currency.ts +0 -92
  816. package/src/react/queries/market/filters.ts +0 -152
  817. package/src/react/queries/market/index.ts +0 -6
  818. package/src/react/queries/market/marketCurrencies.ts +0 -120
  819. package/src/react/queries/market/marketplaceConfig.ts +0 -117
  820. package/src/react/queries/orders/countItemsOrdersForCollection.ts +0 -86
  821. package/src/react/queries/orders/countListingsForCollectible.ts +0 -90
  822. package/src/react/queries/orders/countOffersForCollectible.ts +0 -90
  823. package/src/react/queries/orders/floorOrder.ts +0 -74
  824. package/src/react/queries/orders/getCountOfFilteredOrders.ts +0 -88
  825. package/src/react/queries/orders/highestOffer.ts +0 -78
  826. package/src/react/queries/orders/index.ts +0 -11
  827. package/src/react/queries/orders/listItemsOrdersForCollection.ts +0 -90
  828. package/src/react/queries/orders/listItemsOrdersForCollectionPaginated.ts +0 -90
  829. package/src/react/queries/orders/listListingsForCollectible.ts +0 -97
  830. package/src/react/queries/orders/listOffersForCollectible.ts +0 -116
  831. package/src/react/queries/orders/lowestListing.ts +0 -81
  832. package/src/react/queries/primary-sales/countOfPrimarySaleItems.ts +0 -62
  833. package/src/react/queries/primary-sales/index.ts +0 -4
  834. package/src/react/queries/primary-sales/primarySaleItem.ts +0 -80
  835. package/src/react/queries/primary-sales/primarySaleItems.ts +0 -94
  836. package/src/react/queries/primary-sales/primarySaleItemsCount.ts +0 -79
  837. package/src/react/queries/tokens/getTokenRanges.ts +0 -75
  838. package/src/react/queries/tokens/index.ts +0 -5
  839. package/src/react/queries/tokens/listBalances.ts +0 -71
  840. package/src/react/queries/tokens/listTokenMetadata.ts +0 -81
  841. package/src/react/queries/tokens/searchTokenMetadata.ts +0 -101
  842. package/src/react/queries/tokens/tokenSupplies.ts +0 -84
  843. package/src/react/queries/utils/comparePrices.ts +0 -132
  844. package/src/react/queries/utils/convertPriceToUSD.ts +0 -105
  845. package/src/react/queries/utils/index.ts +0 -2
  846. package/src/react/ui/components/marketplace-collectible-card/components/ActionButtonWrapper.tsx +0 -79
  847. package/src/react/ui/components/marketplace-collectible-card/components/BaseCard.tsx +0 -68
  848. package/src/react/ui/components/marketplace-collectible-card/components/footer/Footer.tsx +0 -165
  849. package/src/react/ui/components/marketplace-collectible-card/components/footer/components/FooterName.tsx +0 -103
  850. package/src/react/ui/components/marketplace-collectible-card/components/footer/components/PriceDisplay.tsx +0 -80
  851. package/src/react/ui/components/marketplace-collectible-card/components/footer/components/SaleDetailsPill.tsx +0 -29
  852. package/src/react/ui/components/marketplace-collectible-card/components/footer/components/TokenTypeBalancePill.tsx +0 -30
  853. package/src/react/ui/components/marketplace-collectible-card/components/footer/components/index.ts +0 -4
  854. package/src/react/ui/components/marketplace-collectible-card/components/footer/index.ts +0 -2
  855. package/src/react/ui/icons/CalendarIcon.tsx +0 -37
  856. package/src/react/ui/icons/CartIcon.tsx +0 -52
  857. package/src/react/ui/icons/InfoIcon.tsx +0 -44
  858. package/src/react/ui/modals/BuyModal/__tests__/BuyModalRouter.test.tsx +0 -557
  859. package/src/react/ui/modals/BuyModal/__tests__/ERC1155ShopModal.test.tsx +0 -409
  860. package/src/react/ui/modals/BuyModal/__tests__/ERC721ShopModal.test.tsx +0 -272
  861. package/src/react/ui/modals/BuyModal/__tests__/Modal.test.tsx.bak +0 -112
  862. package/src/react/ui/modals/BuyModal/__tests__/Modal1155.test.tsx +0 -251
  863. package/src/react/ui/modals/BuyModal/__tests__/store.test.ts +0 -105
  864. package/src/react/ui/modals/BuyModal/components/BuyModalRouter.tsx +0 -157
  865. package/src/react/ui/modals/BuyModal/components/ERC1155BuyModal.tsx +0 -198
  866. package/src/react/ui/modals/BuyModal/components/ERC1155ShopModal.tsx +0 -108
  867. package/src/react/ui/modals/BuyModal/components/ERC721BuyModal.tsx +0 -116
  868. package/src/react/ui/modals/BuyModal/components/ERC721ShopModal.tsx +0 -86
  869. package/src/react/ui/modals/BuyModal/hooks/__tests__/useCheckoutOptions.test.tsx +0 -115
  870. package/src/react/ui/modals/BuyModal/hooks/__tests__/useERC721SalePaymentParams.test.tsx +0 -283
  871. package/src/react/ui/modals/BuyModal/hooks/__tests__/useMarketPlatformFee.test.tsx +0 -145
  872. package/src/react/ui/modals/BuyModal/hooks/useCheckoutOptions.ts +0 -86
  873. package/src/react/ui/modals/BuyModal/hooks/useERC721SalePaymentParams.ts +0 -216
  874. package/src/react/ui/modals/BuyModal/hooks/useLoadData.ts +0 -120
  875. package/src/react/ui/modals/CreateListingModal/hooks/useCreateListing.tsx +0 -98
  876. package/src/react/ui/modals/CreateListingModal/hooks/useGetTokenApproval.ts +0 -87
  877. package/src/react/ui/modals/CreateListingModal/hooks/useTransactionSteps.tsx +0 -246
  878. package/src/react/ui/modals/CreateListingModal/store.ts +0 -99
  879. package/src/react/ui/modals/MakeOfferModal/hooks/useGetTokenApproval.tsx +0 -90
  880. package/src/react/ui/modals/MakeOfferModal/hooks/useMakeOffer.tsx +0 -71
  881. package/src/react/ui/modals/MakeOfferModal/hooks/useTransactionSteps.tsx +0 -241
  882. package/src/react/ui/modals/MakeOfferModal/store.ts +0 -94
  883. package/src/react/ui/modals/SellModal/__tests__/Modal.test.tsx +0 -85
  884. package/src/react/ui/modals/SellModal/hooks/useGetTokenApproval.tsx +0 -79
  885. package/src/react/ui/modals/SellModal/hooks/useSell.tsx +0 -77
  886. package/src/react/ui/modals/SellModal/hooks/useTransactionSteps.tsx +0 -242
  887. package/src/react/ui/modals/SellModal/store.ts +0 -62
  888. package/src/react/ui/modals/SellModal/utils.ts +0 -38
  889. package/src/react/ui/modals/SuccessfulPurchaseModal/__tests__/Modal.test.tsx +0 -157
  890. package/src/react/ui/modals/SuccessfulPurchaseModal/index.tsx +0 -154
  891. package/src/react/ui/modals/SuccessfulPurchaseModal/store.ts +0 -71
  892. package/src/react/ui/modals/TransferModal/__tests__/__snapshots__/store.test.ts.snap +0 -17
  893. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/__tests__/useHandleTransfer.test.tsx +0 -412
  894. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/_components/TransferButton.tsx +0 -66
  895. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/index.tsx +0 -137
  896. package/src/react/ui/modals/TransferModal/_views/enterWalletAddress/useHandleTransfer.tsx +0 -97
  897. package/src/react/ui/modals/TransferModal/_views/followWalletInstructions/index.tsx +0 -31
  898. package/src/react/ui/modals/TransferModal/messages.ts +0 -14
  899. package/src/react/ui/modals/TransferModal/store.ts +0 -122
  900. package/src/react/ui/modals/_internal/components/actionModal/ActionModal.test.tsx +0 -281
  901. package/src/react/ui/modals/_internal/components/actionModal/ActionModal.tsx +0 -113
  902. package/src/react/ui/modals/_internal/components/actionModal/ErrorModal.tsx +0 -35
  903. package/src/react/ui/modals/_internal/components/actionModal/LoadingModal.tsx +0 -32
  904. package/src/react/ui/modals/_internal/components/actionModal/index.ts +0 -1
  905. package/src/types/custom.d.ts +0 -1
  906. package/src/types/messages.ts +0 -43
  907. package/src/types/new-marketplace-types.ts +0 -95
  908. /package/src/react/ui/components/{_internals/action-button → marketplace-collectible-card/ActionButton}/types.ts +0 -0
  909. /package/src/react/ui/modals/_internal/hooks/{useSelectWaasFeeOptions.ts → useSelectWaasFeeOptions.tsx} +0 -0
package/dist/index2.d.ts CHANGED
@@ -1,7 +1,2174 @@
1
- //#region src/consts.d.ts
2
- declare const SEQUENCE_MARKET_V1_ADDRESS = "0xB537a160472183f2150d42EB1c3DD6684A55f74c";
3
- declare const SEQUENCE_MARKET_V2_ADDRESS = "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712";
4
- declare const DEFAULT_MARKETPLACE_FEE_PERCENTAGE = 2.5;
1
+ import * as IndexerGen from "@0xsequence/indexer";
2
+ import { ContractInfo, ContractInfoExtensions, ContractType, ContractType as ContractType$2, GetNativeTokenBalanceReturn, GetTokenBalancesArgs, GetTokenBalancesByContractArgs, GetTokenBalancesByContractReturn, GetTokenBalancesDetailsArgs, GetTokenBalancesDetailsReturn, GetTokenBalancesReturn, GetTokenIDRangesArgs, GetTokenIDRangesReturn, GetTokenSuppliesArgs, GetTokenSuppliesReturn, MetadataOptions, NativeTokenBalance, Page, ResourceStatus, SequenceIndexer, TokenBalance, TokenBalancesByContractFilter, TokenBalancesFilter, TokenIDRange, TokenMetadata, TokenSupply, TransactionLog, TransactionReceipt, TransactionStatus, TransactionType } from "@0xsequence/indexer";
3
+ import { Asset, ContractInfo as ContractInfo$1, ContractInfoExtensionBridgeInfo, ContractInfoExtensions as ContractInfoExtensions$1, Filter, GetContractInfoArgs, GetContractInfoBatchArgs, GetContractInfoBatchReturn, GetContractInfoReturn, GetTokenMetadataArgs, GetTokenMetadataBatchArgs, GetTokenMetadataBatchReturn, GetTokenMetadataPropertyFiltersArgs, GetTokenMetadataPropertyFiltersReturn, GetTokenMetadataReturn, Page as Page$1, RefreshTokenMetadataArgs, RefreshTokenMetadataReturn, SearchTokenMetadataArgs, SearchTokenMetadataReturn, SequenceMetadata, TokenMetadata as TokenMetadata$1 } from "@0xsequence/metadata";
4
+ import { Address, Hash, TypedDataDomain } from "viem";
5
+
6
+ //#region ../api/dist/builder.gen.d.ts
7
+ declare namespace builder_gen_d_exports {
8
+ export { AlreadyCollaboratorError, CollectionFilterSettings, EmailTemplateExistsError, FeatureNotIncludedError, Fetch$1 as Fetch, FilterCondition, InvalidArgumentError, InvalidNetworkError, InvalidTierError, InvitationExpiredError, LookupMarketplaceArgs, LookupMarketplaceReturn, MarketCollection, Marketplace, MarketplacePage, MarketplaceService, MarketplaceSettings, MarketplaceSocials, MarketplaceWallet, MarketplaceWalletEcosystem, MarketplaceWalletEmbedded, MarketplaceWalletType, MetadataFilterRule, MethodNotFoundError, NotFoundError, OpenIdProvider, PermissionDeniedError, ProjectNotFoundError, RequestConflictError, ServiceDisabledError, SessionExpiredError, ShopCollection, SubscriptionLimitError, TimeoutError$1 as TimeoutError, UnauthorizedError, UserNotFoundError, WebrpcBadMethodError, WebrpcBadRequestError, WebrpcBadResponseError, WebrpcBadRouteError, WebrpcClientDisconnectedError, WebrpcEndpointError, WebrpcError, WebrpcErrorCodes, WebrpcHeader, WebrpcHeaderValue, WebrpcInternalErrorError, WebrpcRequestFailedError, WebrpcServerPanicError, WebrpcStreamFinishedError, WebrpcStreamLostError, errors, webrpcErrorByCode };
9
+ }
10
+ declare const WebrpcHeader = "Webrpc";
11
+ declare const WebrpcHeaderValue = "webrpc@v0.26.0;gen-typescript@v0.17.0;sequence-builder@v0.1.0";
12
+ declare enum MarketplaceWalletType {
13
+ UNIVERSAL = "UNIVERSAL",
14
+ EMBEDDED = "EMBEDDED",
15
+ ECOSYSTEM = "ECOSYSTEM",
16
+ }
17
+ declare enum FilterCondition {
18
+ ENTIRE_KEY = "ENTIRE_KEY",
19
+ SPECIFIC_VALUE = "SPECIFIC_VALUE",
20
+ }
21
+ interface LookupMarketplaceArgs {
22
+ projectId?: number;
23
+ domain?: string;
24
+ userAddress?: string;
25
+ }
26
+ interface LookupMarketplaceReturn {
27
+ marketplace: Marketplace;
28
+ marketCollections: Array<MarketCollection>;
29
+ shopCollections: Array<ShopCollection>;
30
+ }
31
+ interface Marketplace {
32
+ projectId: number;
33
+ settings: MarketplaceSettings;
34
+ market: MarketplacePage;
35
+ shop: MarketplacePage;
36
+ createdAt?: string;
37
+ updatedAt?: string;
38
+ }
39
+ interface MarketplaceSettings {
40
+ style: {
41
+ [key: string]: any;
42
+ };
43
+ publisherId: string;
44
+ title: string;
45
+ socials: MarketplaceSocials;
46
+ faviconUrl: string;
47
+ walletOptions: MarketplaceWallet;
48
+ logoUrl: string;
49
+ fontUrl: string;
50
+ accessKey?: string;
51
+ isTrailsEnabled: boolean;
52
+ }
53
+ interface MarketplacePage {
54
+ enabled: boolean;
55
+ bannerUrl: string;
56
+ ogImage: string;
57
+ private: boolean;
58
+ }
59
+ interface MarketplaceSocials {
60
+ twitter: string;
61
+ discord: string;
62
+ website: string;
63
+ tiktok: string;
64
+ instagram: string;
65
+ youtube: string;
66
+ }
67
+ interface MarketplaceWallet {
68
+ walletType: MarketplaceWalletType;
69
+ oidcIssuers: {
70
+ [key: string]: string;
71
+ };
72
+ connectors: Array<string>;
73
+ includeEIP6963Wallets: boolean;
74
+ ecosystem?: MarketplaceWalletEcosystem;
75
+ embedded?: MarketplaceWalletEmbedded;
76
+ }
77
+ interface MarketplaceWalletEcosystem {
78
+ walletUrl: string;
79
+ walletAppName: string;
80
+ logoLightUrl?: string;
81
+ logoDarkUrl?: string;
82
+ }
83
+ interface MarketplaceWalletEmbedded {
84
+ tenantKey: string;
85
+ emailEnabled: boolean;
86
+ providers: Array<OpenIdProvider>;
87
+ }
88
+ interface OpenIdProvider {
89
+ iss: string;
90
+ aud: Array<string>;
91
+ }
92
+ interface MarketCollection {
93
+ id: number;
94
+ projectId: number;
95
+ chainId: number;
96
+ itemsAddress: string;
97
+ contractType: string;
98
+ bannerUrl: string;
99
+ feePercentage: number;
100
+ currencyOptions: Array<string>;
101
+ destinationMarketplace: string;
102
+ filterSettings?: CollectionFilterSettings;
103
+ sortOrder?: number;
104
+ private: boolean;
105
+ createdAt?: string;
106
+ updatedAt?: string;
107
+ }
108
+ interface CollectionFilterSettings {
109
+ filterOrder: Array<string>;
110
+ exclusions: Array<MetadataFilterRule>;
111
+ }
112
+ interface MetadataFilterRule {
113
+ key: string;
114
+ condition: FilterCondition;
115
+ value?: string;
116
+ }
117
+ interface ShopCollection {
118
+ id: number;
119
+ projectId: number;
120
+ chainId: number;
121
+ itemsAddress: string;
122
+ saleAddress: string;
123
+ name: string;
124
+ bannerUrl: string;
125
+ tokenIds: Array<string>;
126
+ customTokenIds: Array<string>;
127
+ sortOrder?: number;
128
+ private: boolean;
129
+ createdAt?: string;
130
+ updatedAt?: string;
131
+ }
132
+ interface MarketplaceService {
133
+ /**
134
+ * Public Methods
135
+ */
136
+ lookupMarketplace(args: LookupMarketplaceArgs, headers?: object, signal?: AbortSignal): Promise<LookupMarketplaceReturn>;
137
+ }
138
+ declare class WebrpcError extends Error {
139
+ name: string;
140
+ code: number;
141
+ message: string;
142
+ status: number;
143
+ cause?: string;
144
+ /** @deprecated Use message instead of msg. Deprecated in webrpc v0.11.0. */
145
+ msg: string;
146
+ constructor(name: string, code: number, message: string, status: number, cause?: string);
147
+ static new(payload: any): WebrpcError;
148
+ }
149
+ declare class WebrpcEndpointError extends WebrpcError {
150
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
151
+ }
152
+ declare class WebrpcRequestFailedError extends WebrpcError {
153
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
154
+ }
155
+ declare class WebrpcBadRouteError extends WebrpcError {
156
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
157
+ }
158
+ declare class WebrpcBadMethodError extends WebrpcError {
159
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
160
+ }
161
+ declare class WebrpcBadRequestError extends WebrpcError {
162
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
163
+ }
164
+ declare class WebrpcBadResponseError extends WebrpcError {
165
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
166
+ }
167
+ declare class WebrpcServerPanicError extends WebrpcError {
168
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
169
+ }
170
+ declare class WebrpcInternalErrorError extends WebrpcError {
171
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
172
+ }
173
+ declare class WebrpcClientDisconnectedError extends WebrpcError {
174
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
175
+ }
176
+ declare class WebrpcStreamLostError extends WebrpcError {
177
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
178
+ }
179
+ declare class WebrpcStreamFinishedError extends WebrpcError {
180
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
181
+ }
182
+ declare class UnauthorizedError extends WebrpcError {
183
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
184
+ }
185
+ declare class PermissionDeniedError extends WebrpcError {
186
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
187
+ }
188
+ declare class SessionExpiredError extends WebrpcError {
189
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
190
+ }
191
+ declare class MethodNotFoundError extends WebrpcError {
192
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
193
+ }
194
+ declare class RequestConflictError extends WebrpcError {
195
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
196
+ }
197
+ declare class ServiceDisabledError extends WebrpcError {
198
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
199
+ }
200
+ declare class TimeoutError$1 extends WebrpcError {
201
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
202
+ }
203
+ declare class InvalidArgumentError extends WebrpcError {
204
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
205
+ }
206
+ declare class NotFoundError extends WebrpcError {
207
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
208
+ }
209
+ declare class UserNotFoundError extends WebrpcError {
210
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
211
+ }
212
+ declare class ProjectNotFoundError extends WebrpcError {
213
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
214
+ }
215
+ declare class InvalidTierError extends WebrpcError {
216
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
217
+ }
218
+ declare class EmailTemplateExistsError extends WebrpcError {
219
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
220
+ }
221
+ declare class SubscriptionLimitError extends WebrpcError {
222
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
223
+ }
224
+ declare class FeatureNotIncludedError extends WebrpcError {
225
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
226
+ }
227
+ declare class InvalidNetworkError extends WebrpcError {
228
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
229
+ }
230
+ declare class InvitationExpiredError extends WebrpcError {
231
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
232
+ }
233
+ declare class AlreadyCollaboratorError extends WebrpcError {
234
+ constructor(name?: string, code?: number, message?: string, status?: number, cause?: string);
235
+ }
236
+ declare enum errors {
237
+ WebrpcEndpoint = "WebrpcEndpoint",
238
+ WebrpcRequestFailed = "WebrpcRequestFailed",
239
+ WebrpcBadRoute = "WebrpcBadRoute",
240
+ WebrpcBadMethod = "WebrpcBadMethod",
241
+ WebrpcBadRequest = "WebrpcBadRequest",
242
+ WebrpcBadResponse = "WebrpcBadResponse",
243
+ WebrpcServerPanic = "WebrpcServerPanic",
244
+ WebrpcInternalError = "WebrpcInternalError",
245
+ WebrpcClientDisconnected = "WebrpcClientDisconnected",
246
+ WebrpcStreamLost = "WebrpcStreamLost",
247
+ WebrpcStreamFinished = "WebrpcStreamFinished",
248
+ Unauthorized = "Unauthorized",
249
+ PermissionDenied = "PermissionDenied",
250
+ SessionExpired = "SessionExpired",
251
+ MethodNotFound = "MethodNotFound",
252
+ RequestConflict = "RequestConflict",
253
+ ServiceDisabled = "ServiceDisabled",
254
+ Timeout = "Timeout",
255
+ InvalidArgument = "InvalidArgument",
256
+ NotFound = "NotFound",
257
+ UserNotFound = "UserNotFound",
258
+ ProjectNotFound = "ProjectNotFound",
259
+ InvalidTier = "InvalidTier",
260
+ EmailTemplateExists = "EmailTemplateExists",
261
+ SubscriptionLimit = "SubscriptionLimit",
262
+ FeatureNotIncluded = "FeatureNotIncluded",
263
+ InvalidNetwork = "InvalidNetwork",
264
+ InvitationExpired = "InvitationExpired",
265
+ AlreadyCollaborator = "AlreadyCollaborator",
266
+ }
267
+ declare enum WebrpcErrorCodes {
268
+ WebrpcEndpoint = 0,
269
+ WebrpcRequestFailed = -1,
270
+ WebrpcBadRoute = -2,
271
+ WebrpcBadMethod = -3,
272
+ WebrpcBadRequest = -4,
273
+ WebrpcBadResponse = -5,
274
+ WebrpcServerPanic = -6,
275
+ WebrpcInternalError = -7,
276
+ WebrpcClientDisconnected = -8,
277
+ WebrpcStreamLost = -9,
278
+ WebrpcStreamFinished = -10,
279
+ Unauthorized = 1000,
280
+ PermissionDenied = 1001,
281
+ SessionExpired = 1002,
282
+ MethodNotFound = 1003,
283
+ RequestConflict = 1004,
284
+ ServiceDisabled = 1005,
285
+ Timeout = 2000,
286
+ InvalidArgument = 2001,
287
+ NotFound = 3000,
288
+ UserNotFound = 3001,
289
+ ProjectNotFound = 3002,
290
+ InvalidTier = 3003,
291
+ EmailTemplateExists = 3004,
292
+ SubscriptionLimit = 3005,
293
+ FeatureNotIncluded = 3006,
294
+ InvalidNetwork = 3007,
295
+ InvitationExpired = 4000,
296
+ AlreadyCollaborator = 4001,
297
+ }
298
+ declare const webrpcErrorByCode: {
299
+ [code: number]: any;
300
+ };
301
+ type Fetch$1 = (input: RequestInfo, init?: RequestInit) => Promise<Response>;
302
+ declare class MarketplaceService {
303
+ protected hostname: string;
304
+ protected fetch: Fetch$1;
305
+ protected path: string;
306
+ constructor(hostname: string, fetch: Fetch$1);
307
+ private url;
308
+ lookupMarketplace: (args: LookupMarketplaceArgs, headers?: object, signal?: AbortSignal) => Promise<LookupMarketplaceReturn>;
309
+ }
5
310
  //#endregion
6
- export { SEQUENCE_MARKET_V1_ADDRESS as n, SEQUENCE_MARKET_V2_ADDRESS as r, DEFAULT_MARKETPLACE_FEE_PERCENTAGE as t };
311
+ //#endregion
312
+ //#region ../api/dist/marketplace.gen.d.ts
313
+ interface MarketplaceClient$1 {
314
+ listCurrencies(req: ListCurrenciesRequest, headers?: object, signal?: AbortSignal): Promise<ListCurrenciesResponse>;
315
+ getCollectionDetail(req: GetCollectionDetailRequest, headers?: object, signal?: AbortSignal): Promise<GetCollectionDetailResponse>;
316
+ getCollectionActiveListingsCurrencies(req: GetCollectionActiveListingsCurrenciesRequest, headers?: object, signal?: AbortSignal): Promise<GetCollectionActiveListingsCurrenciesResponse>;
317
+ getCollectionActiveOffersCurrencies(req: GetCollectionActiveOffersCurrenciesRequest, headers?: object, signal?: AbortSignal): Promise<GetCollectionActiveOffersCurrenciesResponse>;
318
+ getCollectible(req: GetCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<GetCollectibleResponse>;
319
+ getLowestPriceOfferForCollectible(req: GetLowestPriceOfferForCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<GetLowestPriceOfferForCollectibleResponse>;
320
+ getHighestPriceOfferForCollectible(req: GetHighestPriceOfferForCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<GetHighestPriceOfferForCollectibleResponse>;
321
+ getLowestPriceListingForCollectible(req: GetLowestPriceListingForCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<GetLowestPriceListingForCollectibleResponse>;
322
+ getHighestPriceListingForCollectible(req: GetHighestPriceListingForCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<GetHighestPriceListingForCollectibleResponse>;
323
+ listListingsForCollectible(req: ListListingsForCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<ListListingsForCollectibleResponse>;
324
+ listOffersForCollectible(req: ListOffersForCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<ListOffersForCollectibleResponse>;
325
+ listOrdersWithCollectibles(req: ListOrdersWithCollectiblesRequest, headers?: object, signal?: AbortSignal): Promise<ListOrdersWithCollectiblesResponse>;
326
+ getCountOfAllOrders(req: GetCountOfAllOrdersRequest, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllOrdersResponse>;
327
+ getCountOfFilteredOrders(req: GetCountOfFilteredOrdersRequest, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredOrdersResponse>;
328
+ listListings(req: ListListingsRequest, headers?: object, signal?: AbortSignal): Promise<ListListingsResponse>;
329
+ listOffers(req: ListOffersRequest, headers?: object, signal?: AbortSignal): Promise<ListOffersResponse>;
330
+ getCountOfListingsForCollectible(req: GetCountOfListingsForCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<GetCountOfListingsForCollectibleResponse>;
331
+ getCountOfOffersForCollectible(req: GetCountOfOffersForCollectibleRequest, headers?: object, signal?: AbortSignal): Promise<GetCountOfOffersForCollectibleResponse>;
332
+ /**
333
+ * @deprecated Please use GetLowestPriceOfferForCollectible instead.
334
+ */
335
+ getCollectibleLowestOffer(req: GetCollectibleLowestOfferRequest, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestOfferResponse>;
336
+ /**
337
+ * @deprecated Please use GetHighestPriceOfferForCollectible instead.
338
+ */
339
+ getCollectibleHighestOffer(req: GetCollectibleHighestOfferRequest, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestOfferResponse>;
340
+ /**
341
+ * @deprecated Please use GetLowestPriceListingForCollectible instead.
342
+ */
343
+ getCollectibleLowestListing(req: GetCollectibleLowestListingRequest, headers?: object, signal?: AbortSignal): Promise<GetCollectibleLowestListingResponse>;
344
+ /**
345
+ * @deprecated Please use GetHighestPriceListingForCollectible instead.
346
+ */
347
+ getCollectibleHighestListing(req: GetCollectibleHighestListingRequest, headers?: object, signal?: AbortSignal): Promise<GetCollectibleHighestListingResponse>;
348
+ /**
349
+ * @deprecated Please use ListListingsForCollectible instead.
350
+ */
351
+ listCollectibleListings(req: ListCollectibleListingsRequest, headers?: object, signal?: AbortSignal): Promise<ListCollectibleListingsResponse$1>;
352
+ /**
353
+ * @deprecated Please use ListOffersForCollectible instead.
354
+ */
355
+ listCollectibleOffers(req: ListCollectibleOffersRequest, headers?: object, signal?: AbortSignal): Promise<ListCollectibleOffersResponse$1>;
356
+ /**
357
+ * checkout process
358
+ */
359
+ generateBuyTransaction(req: GenerateBuyTransactionRequest, headers?: object, signal?: AbortSignal): Promise<GenerateBuyTransactionResponse>;
360
+ generateSellTransaction(req: GenerateSellTransactionRequest, headers?: object, signal?: AbortSignal): Promise<GenerateSellTransactionResponse>;
361
+ generateListingTransaction(req: GenerateListingTransactionRequest, headers?: object, signal?: AbortSignal): Promise<GenerateListingTransactionResponse>;
362
+ generateOfferTransaction(req: GenerateOfferTransactionRequest, headers?: object, signal?: AbortSignal): Promise<GenerateOfferTransactionResponse>;
363
+ generateCancelTransaction(req: GenerateCancelTransactionRequest, headers?: object, signal?: AbortSignal): Promise<GenerateCancelTransactionResponse>;
364
+ /**
365
+ * only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market, use only ExecuteInput params and leave other root inputs empty, they are depracated and kept only for backward compatibility
366
+ */
367
+ execute(req: ExecuteRequest, headers?: object, signal?: AbortSignal): Promise<ExecuteResponse>;
368
+ /**
369
+ * list of collectibles with best order for each collectible, by default this only returns collectibles with an order
370
+ */
371
+ listCollectibles(req: ListCollectiblesRequest, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesResponse>;
372
+ getCountOfAllCollectibles(req: GetCountOfAllCollectiblesRequest, headers?: object, signal?: AbortSignal): Promise<GetCountOfAllCollectiblesResponse>;
373
+ getCountOfFilteredCollectibles(req: GetCountOfFilteredCollectiblesRequest, headers?: object, signal?: AbortSignal): Promise<GetCountOfFilteredCollectiblesResponse>;
374
+ getFloorOrder(req: GetFloorOrderRequest, headers?: object, signal?: AbortSignal): Promise<GetFloorOrderResponse>;
375
+ listCollectiblesWithLowestListing(req: ListCollectiblesWithLowestListingRequest, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithLowestListingResponse>;
376
+ listCollectiblesWithHighestOffer(req: ListCollectiblesWithHighestOfferRequest, headers?: object, signal?: AbortSignal): Promise<ListCollectiblesWithHighestOfferResponse>;
377
+ syncOrder(req: SyncOrderRequest, headers?: object, signal?: AbortSignal): Promise<SyncOrderResponse>;
378
+ syncOrders(req: SyncOrdersRequest, headers?: object, signal?: AbortSignal): Promise<SyncOrdersResponse>;
379
+ getOrders(req: GetOrdersRequest, headers?: object, signal?: AbortSignal): Promise<GetOrdersResponse>;
380
+ checkoutOptionsMarketplace(req: CheckoutOptionsMarketplaceRequest, headers?: object, signal?: AbortSignal): Promise<CheckoutOptionsMarketplaceResponse>;
381
+ checkoutOptionsSalesContract(req: CheckoutOptionsSalesContractRequest, headers?: object, signal?: AbortSignal): Promise<CheckoutOptionsSalesContractResponse>;
382
+ supportedMarketplaces(req: SupportedMarketplacesRequest, headers?: object, signal?: AbortSignal): Promise<SupportedMarketplacesResponse>;
383
+ getPrimarySaleItem(req: GetPrimarySaleItemRequest, headers?: object, signal?: AbortSignal): Promise<GetPrimarySaleItemResponse>;
384
+ listPrimarySaleItems(req: ListPrimarySaleItemsRequest, headers?: object, signal?: AbortSignal): Promise<ListPrimarySaleItemsResponse>;
385
+ getCountOfPrimarySaleItems(req: GetCountOfPrimarySaleItemsRequest, headers?: object, signal?: AbortSignal): Promise<GetCountOfPrimarySaleItemsResponse>;
386
+ }
387
+ declare enum SortOrder {
388
+ ASC = "ASC",
389
+ DESC = "DESC",
390
+ }
391
+ declare enum PropertyType {
392
+ INT = "INT",
393
+ STRING = "STRING",
394
+ ARRAY = "ARRAY",
395
+ GENERIC = "GENERIC",
396
+ }
397
+ declare enum MarketplaceKind {
398
+ unknown = "unknown",
399
+ sequence_marketplace_v1 = "sequence_marketplace_v1",
400
+ sequence_marketplace_v2 = "sequence_marketplace_v2",
401
+ blur = "blur",
402
+ zerox = "zerox",
403
+ opensea = "opensea",
404
+ looks_rare = "looks_rare",
405
+ x2y2 = "x2y2",
406
+ alienswap = "alienswap",
407
+ payment_processor = "payment_processor",
408
+ mintify = "mintify",
409
+ magic_eden = "magic_eden",
410
+ }
411
+ declare enum OrderbookKind {
412
+ unknown = "unknown",
413
+ sequence_marketplace_v1 = "sequence_marketplace_v1",
414
+ sequence_marketplace_v2 = "sequence_marketplace_v2",
415
+ blur = "blur",
416
+ opensea = "opensea",
417
+ looks_rare = "looks_rare",
418
+ reservoir = "reservoir",
419
+ x2y2 = "x2y2",
420
+ magic_eden = "magic_eden",
421
+ }
422
+ declare enum OrderSide {
423
+ unknown = "unknown",
424
+ listing = "listing",
425
+ offer = "offer",
426
+ }
427
+ declare enum OfferType {
428
+ unknown = "unknown",
429
+ item = "item",
430
+ collection = "collection",
431
+ }
432
+ declare enum OrderStatus {
433
+ unknown = "unknown",
434
+ active = "active",
435
+ inactive = "inactive",
436
+ expired = "expired",
437
+ cancelled = "cancelled",
438
+ filled = "filled",
439
+ decimals_missing = "decimals_missing",
440
+ }
441
+ declare enum ContractType$1 {
442
+ UNKNOWN = "UNKNOWN",
443
+ ERC20 = "ERC20",
444
+ ERC721 = "ERC721",
445
+ ERC1155 = "ERC1155",
446
+ }
447
+ declare enum CollectionPriority {
448
+ unknown = "unknown",
449
+ low = "low",
450
+ normal = "normal",
451
+ high = "high",
452
+ }
453
+ declare enum CollectionStatus {
454
+ unknown = "unknown",
455
+ created = "created",
456
+ syncing_orders = "syncing_orders",
457
+ active = "active",
458
+ failed = "failed",
459
+ inactive = "inactive",
460
+ incompatible_type = "incompatible_type",
461
+ }
462
+ declare enum CollectibleStatus {
463
+ unknown = "unknown",
464
+ active = "active",
465
+ inactive = "inactive",
466
+ }
467
+ declare enum CollectibleSource {
468
+ unknown = "unknown",
469
+ indexer = "indexer",
470
+ manual = "manual",
471
+ }
472
+ declare enum CurrencyStatus {
473
+ unknown = "unknown",
474
+ created = "created",
475
+ syncing_metadata = "syncing_metadata",
476
+ active = "active",
477
+ failed = "failed",
478
+ }
479
+ declare enum WalletKind {
480
+ unknown = "unknown",
481
+ sequence = "sequence",
482
+ }
483
+ declare enum StepType {
484
+ unknown = "unknown",
485
+ tokenApproval = "tokenApproval",
486
+ buy = "buy",
487
+ sell = "sell",
488
+ createListing = "createListing",
489
+ createOffer = "createOffer",
490
+ signEIP712 = "signEIP712",
491
+ signEIP191 = "signEIP191",
492
+ cancel = "cancel",
493
+ }
494
+ declare enum TransactionCrypto {
495
+ none = "none",
496
+ partially = "partially",
497
+ all = "all",
498
+ }
499
+ declare enum TransactionNFTCheckoutProvider {
500
+ unknown = "unknown",
501
+ transak = "transak",
502
+ sardine = "sardine",
503
+ }
504
+ declare enum TransactionOnRampProvider {
505
+ unknown = "unknown",
506
+ transak = "transak",
507
+ sardine = "sardine",
508
+ }
509
+ declare enum TransactionSwapProvider {
510
+ unknown = "unknown",
511
+ lifi = "lifi",
512
+ }
513
+ declare enum ExecuteType {
514
+ unknown = "unknown",
515
+ order = "order",
516
+ createListing = "createListing",
517
+ createItemOffer = "createItemOffer",
518
+ createTraitOffer = "createTraitOffer",
519
+ }
520
+ declare enum PrimarySaleItemDetailType {
521
+ unknown = "unknown",
522
+ global = "global",
523
+ individual = "individual",
524
+ }
525
+ declare enum MetadataStatus {
526
+ NOT_AVAILABLE = "NOT_AVAILABLE",
527
+ REFRESHING = "REFRESHING",
528
+ AVAILABLE = "AVAILABLE",
529
+ }
530
+ interface Page$2 {
531
+ page: number;
532
+ pageSize: number;
533
+ more?: boolean;
534
+ sort?: Array<SortBy>;
535
+ }
536
+ interface SortBy {
537
+ column: string;
538
+ order: SortOrder;
539
+ }
540
+ interface PropertyFilter {
541
+ name: string;
542
+ type: PropertyType;
543
+ min?: number;
544
+ max?: number;
545
+ values?: Array<any>;
546
+ }
547
+ interface CollectiblesFilter {
548
+ includeEmpty: boolean;
549
+ searchText?: string;
550
+ properties?: Array<PropertyFilter>;
551
+ marketplaces?: Array<MarketplaceKind>;
552
+ inAccounts?: Array<string>;
553
+ notInAccounts?: Array<string>;
554
+ ordersCreatedBy?: Array<string>;
555
+ ordersNotCreatedBy?: Array<string>;
556
+ inCurrencyAddresses?: Array<string>;
557
+ notInCurrencyAddresses?: Array<string>;
558
+ prices?: Array<PriceFilter>;
559
+ }
560
+ interface OrdersFilter {
561
+ searchText?: string;
562
+ properties?: Array<PropertyFilter>;
563
+ marketplaces?: Array<MarketplaceKind>;
564
+ inAccounts?: Array<string>;
565
+ notInAccounts?: Array<string>;
566
+ ordersCreatedBy?: Array<string>;
567
+ ordersNotCreatedBy?: Array<string>;
568
+ inCurrencyAddresses?: Array<string>;
569
+ notInCurrencyAddresses?: Array<string>;
570
+ prices?: Array<PriceFilter>;
571
+ }
572
+ interface PriceFilter {
573
+ contractAddress: string;
574
+ min?: bigint;
575
+ max?: bigint;
576
+ }
577
+ interface Order {
578
+ orderId: string;
579
+ marketplace: MarketplaceKind;
580
+ side: OrderSide;
581
+ status: OrderStatus;
582
+ chainId: number;
583
+ originName: string;
584
+ slug: string;
585
+ collectionContractAddress: string;
586
+ tokenId?: bigint;
587
+ createdBy: string;
588
+ priceAmount: bigint;
589
+ priceAmountFormatted: string;
590
+ priceAmountNet: bigint;
591
+ priceAmountNetFormatted: string;
592
+ priceCurrencyAddress: string;
593
+ priceDecimals: number;
594
+ priceUSD: number;
595
+ priceUSDFormatted: string;
596
+ quantityInitial: bigint;
597
+ quantityInitialFormatted: string;
598
+ quantityRemaining: bigint;
599
+ quantityRemainingFormatted: string;
600
+ quantityAvailable: bigint;
601
+ quantityAvailableFormatted: string;
602
+ quantityDecimals: number;
603
+ feeBps: number;
604
+ feeBreakdown: Array<FeeBreakdown>;
605
+ validFrom: string;
606
+ validUntil: string;
607
+ blockNumber: number;
608
+ orderCreatedAt?: string;
609
+ orderUpdatedAt?: string;
610
+ createdAt: string;
611
+ updatedAt: string;
612
+ deletedAt?: string;
613
+ }
614
+ interface FeeBreakdown {
615
+ kind: string;
616
+ recipientAddress: string;
617
+ bps: number;
618
+ }
619
+ interface CollectibleOrder {
620
+ metadata: TokenMetadata$2;
621
+ order?: Order;
622
+ listing?: Order;
623
+ offer?: Order;
624
+ }
625
+ interface OrderFilter {
626
+ createdBy?: Array<string>;
627
+ marketplace?: Array<MarketplaceKind>;
628
+ currencies?: Array<string>;
629
+ }
630
+ interface Collection {
631
+ status: CollectionStatus;
632
+ chainId: number;
633
+ contractAddress: string;
634
+ contractType: ContractType$1;
635
+ priority: CollectionPriority;
636
+ tokenQuantityDecimals: number;
637
+ config: CollectionConfig;
638
+ createdAt: string;
639
+ updatedAt: string;
640
+ deletedAt?: string;
641
+ }
642
+ interface CollectionConfig {
643
+ lastSynced: {
644
+ [key: string]: CollectionLastSynced;
645
+ };
646
+ collectiblesSynced: string;
647
+ activitiesSynced: string;
648
+ activitiesSyncedContinuity: string;
649
+ }
650
+ interface CollectionLastSynced {
651
+ allOrders: string;
652
+ newOrders: string;
653
+ names: Array<string>;
654
+ cursors: {
655
+ [key: string]: string;
656
+ };
657
+ }
658
+ interface Collectible {
659
+ status: CollectibleStatus;
660
+ tokenId: bigint;
661
+ decimals: number;
662
+ source: CollectibleSource;
663
+ createdAt: string;
664
+ updatedAt: string;
665
+ deletedAt?: string;
666
+ }
667
+ interface Currency {
668
+ chainId: number;
669
+ contractAddress: string;
670
+ status: CurrencyStatus;
671
+ name: string;
672
+ symbol: string;
673
+ decimals: number;
674
+ imageUrl: string;
675
+ exchangeRate: number;
676
+ defaultChainCurrency: boolean;
677
+ nativeCurrency: boolean;
678
+ openseaListing: boolean;
679
+ openseaOffer: boolean;
680
+ createdAt: string;
681
+ updatedAt: string;
682
+ deletedAt?: string;
683
+ }
684
+ interface OrderData {
685
+ orderId: string;
686
+ quantity: bigint;
687
+ tokenId?: bigint;
688
+ }
689
+ interface AdditionalFee {
690
+ amount: bigint;
691
+ receiver: string;
692
+ }
693
+ interface Step {
694
+ id: StepType;
695
+ data: string;
696
+ to: string;
697
+ value: bigint;
698
+ price: bigint;
699
+ signature?: Signature;
700
+ post?: PostRequest;
701
+ executeType?: ExecuteType;
702
+ }
703
+ interface PostRequest {
704
+ endpoint: string;
705
+ method: string;
706
+ body: any;
707
+ }
708
+ interface CreateReq {
709
+ tokenId: bigint;
710
+ quantity: bigint;
711
+ expiry: string;
712
+ currencyAddress: string;
713
+ pricePerToken: bigint;
714
+ }
715
+ interface GetOrdersInput {
716
+ contractAddress: string;
717
+ orderId: string;
718
+ marketplace: MarketplaceKind;
719
+ }
720
+ interface Signature {
721
+ domain: Domain;
722
+ types: any;
723
+ primaryType: string;
724
+ value: any;
725
+ }
726
+ interface Domain {
727
+ name: string;
728
+ version: string;
729
+ chainId: number;
730
+ verifyingContract: string;
731
+ }
732
+ interface GenerateBuySellTransactionResponse {
733
+ steps: Array<Step>;
734
+ canBeUsedWithTrails: boolean;
735
+ }
736
+ interface CheckoutOptionsMarketplaceOrder {
737
+ contractAddress: string;
738
+ orderId: string;
739
+ marketplace: MarketplaceKind;
740
+ }
741
+ interface CheckoutOptionsItem {
742
+ tokenId: bigint;
743
+ quantity: bigint;
744
+ }
745
+ interface CheckoutOptions {
746
+ crypto: TransactionCrypto;
747
+ swap: Array<TransactionSwapProvider>;
748
+ nftCheckout: Array<TransactionNFTCheckoutProvider>;
749
+ onRamp: Array<TransactionOnRampProvider>;
750
+ }
751
+ interface ExecuteInput {
752
+ chainId: string;
753
+ signature: string;
754
+ method: string;
755
+ endpoint: string;
756
+ executeType: ExecuteType;
757
+ body: any;
758
+ slug?: string;
759
+ }
760
+ interface PrimarySaleItem {
761
+ itemAddress: string;
762
+ contractType: ContractType$1;
763
+ tokenId: bigint;
764
+ itemType: PrimarySaleItemDetailType;
765
+ startDate: string;
766
+ endDate: string;
767
+ currencyAddress: string;
768
+ priceDecimals: number;
769
+ priceAmount: bigint;
770
+ priceAmountFormatted: string;
771
+ priceUsd: number;
772
+ priceUsdFormatted: string;
773
+ supply: bigint;
774
+ supplyCap: bigint;
775
+ unlimitedSupply: boolean;
776
+ createdAt: string;
777
+ updatedAt: string;
778
+ deletedAt?: string;
779
+ }
780
+ interface CollectiblePrimarySaleItem {
781
+ metadata: TokenMetadata$2;
782
+ primarySaleItem: PrimarySaleItem;
783
+ }
784
+ interface PrimarySaleItemsFilter {
785
+ includeEmpty: boolean;
786
+ searchText?: string;
787
+ properties?: Array<PropertyFilter>;
788
+ detailTypes?: Array<PrimarySaleItemDetailType>;
789
+ startDateAfter?: string;
790
+ startDateBefore?: string;
791
+ endDateAfter?: string;
792
+ endDateBefore?: string;
793
+ }
794
+ interface TokenMetadata$2 {
795
+ tokenId: bigint;
796
+ name: string;
797
+ description?: string;
798
+ image?: string;
799
+ video?: string;
800
+ audio?: string;
801
+ properties?: {
802
+ [key: string]: any;
803
+ };
804
+ attributes: Array<{
805
+ [key: string]: any;
806
+ }>;
807
+ image_data?: string;
808
+ external_url?: string;
809
+ background_color?: string;
810
+ animation_url?: string;
811
+ decimals?: number;
812
+ updatedAt?: string;
813
+ assets?: Array<Asset$1>;
814
+ status: MetadataStatus;
815
+ }
816
+ interface Asset$1 {
817
+ id: number;
818
+ collectionId: number;
819
+ tokenId: bigint;
820
+ url?: string;
821
+ metadataField: string;
822
+ name?: string;
823
+ filesize?: number;
824
+ mimeType?: string;
825
+ width?: number;
826
+ height?: number;
827
+ updatedAt?: string;
828
+ }
829
+ interface ListCurrenciesRequest {
830
+ chainId: string;
831
+ }
832
+ interface ListCurrenciesResponse {
833
+ currencies: Array<Currency>;
834
+ }
835
+ interface ListCurrenciesRequest {
836
+ chainId: string;
837
+ }
838
+ interface ListCurrenciesResponse {
839
+ currencies: Array<Currency>;
840
+ }
841
+ interface GetCollectionDetailRequest {
842
+ chainId: string;
843
+ contractAddress: string;
844
+ }
845
+ interface GetCollectionDetailResponse {
846
+ collection: Collection;
847
+ }
848
+ interface GetCollectionActiveListingsCurrenciesRequest {
849
+ chainId: string;
850
+ contractAddress: string;
851
+ }
852
+ interface GetCollectionActiveListingsCurrenciesResponse {
853
+ currencies: Array<Currency>;
854
+ }
855
+ interface GetCollectionActiveOffersCurrenciesRequest {
856
+ chainId: string;
857
+ contractAddress: string;
858
+ }
859
+ interface GetCollectionActiveOffersCurrenciesResponse {
860
+ currencies: Array<Currency>;
861
+ }
862
+ interface GetCollectibleRequest {
863
+ chainId: string;
864
+ contractAddress: string;
865
+ tokenId: bigint;
866
+ }
867
+ interface GetCollectibleResponse {
868
+ metadata: TokenMetadata$2;
869
+ }
870
+ interface GetLowestPriceOfferForCollectibleRequest {
871
+ chainId: string;
872
+ contractAddress: string;
873
+ tokenId: bigint;
874
+ filter?: OrderFilter;
875
+ }
876
+ interface GetLowestPriceOfferForCollectibleResponse {
877
+ order: Order;
878
+ }
879
+ interface GetHighestPriceOfferForCollectibleRequest {
880
+ chainId: string;
881
+ contractAddress: string;
882
+ tokenId: bigint;
883
+ filter?: OrderFilter;
884
+ }
885
+ interface GetHighestPriceOfferForCollectibleResponse {
886
+ order: Order;
887
+ }
888
+ interface GetLowestPriceListingForCollectibleRequest {
889
+ chainId: string;
890
+ contractAddress: string;
891
+ tokenId: bigint;
892
+ filter?: OrderFilter;
893
+ }
894
+ interface GetLowestPriceListingForCollectibleResponse {
895
+ order: Order;
896
+ }
897
+ interface GetHighestPriceListingForCollectibleRequest {
898
+ chainId: string;
899
+ contractAddress: string;
900
+ tokenId: bigint;
901
+ filter?: OrderFilter;
902
+ }
903
+ interface GetHighestPriceListingForCollectibleResponse {
904
+ order: Order;
905
+ }
906
+ interface ListListingsForCollectibleRequest {
907
+ chainId: string;
908
+ contractAddress: string;
909
+ tokenId: bigint;
910
+ filter?: OrderFilter;
911
+ page?: Page$2;
912
+ }
913
+ interface ListListingsForCollectibleResponse {
914
+ listings: Array<Order>;
915
+ page?: Page$2;
916
+ }
917
+ interface ListOffersForCollectibleRequest {
918
+ chainId: string;
919
+ contractAddress: string;
920
+ tokenId: bigint;
921
+ filter?: OrderFilter;
922
+ page?: Page$2;
923
+ }
924
+ interface ListOffersForCollectibleResponse {
925
+ offers: Array<Order>;
926
+ page?: Page$2;
927
+ }
928
+ interface ListOrdersWithCollectiblesRequest {
929
+ chainId: string;
930
+ side: OrderSide;
931
+ contractAddress: string;
932
+ filter?: OrdersFilter;
933
+ page?: Page$2;
934
+ }
935
+ interface ListOrdersWithCollectiblesResponse {
936
+ collectibles: Array<CollectibleOrder>;
937
+ page?: Page$2;
938
+ }
939
+ interface GetCountOfAllOrdersRequest {
940
+ chainId: string;
941
+ side: OrderSide;
942
+ contractAddress: string;
943
+ }
944
+ interface GetCountOfAllOrdersResponse {
945
+ count: number;
946
+ }
947
+ interface GetCountOfFilteredOrdersRequest {
948
+ chainId: string;
949
+ side: OrderSide;
950
+ contractAddress: string;
951
+ filter?: OrdersFilter;
952
+ }
953
+ interface GetCountOfFilteredOrdersResponse {
954
+ count: number;
955
+ }
956
+ interface ListListingsRequest {
957
+ chainId: string;
958
+ contractAddress: string;
959
+ filter?: OrderFilter;
960
+ page?: Page$2;
961
+ }
962
+ interface ListListingsResponse {
963
+ listings: Array<Order>;
964
+ page?: Page$2;
965
+ }
966
+ interface ListOffersRequest {
967
+ chainId: string;
968
+ contractAddress: string;
969
+ filter?: OrderFilter;
970
+ page?: Page$2;
971
+ }
972
+ interface ListOffersResponse {
973
+ offers: Array<Order>;
974
+ page?: Page$2;
975
+ }
976
+ interface GetCountOfListingsForCollectibleRequest {
977
+ chainId: string;
978
+ contractAddress: string;
979
+ tokenId: bigint;
980
+ filter?: OrderFilter;
981
+ }
982
+ interface GetCountOfListingsForCollectibleResponse {
983
+ count: number;
984
+ }
985
+ interface GetCountOfOffersForCollectibleRequest {
986
+ chainId: string;
987
+ contractAddress: string;
988
+ tokenId: bigint;
989
+ filter?: OrderFilter;
990
+ }
991
+ interface GetCountOfOffersForCollectibleResponse {
992
+ count: number;
993
+ }
994
+ interface GetCollectibleLowestOfferRequest {
995
+ chainId: string;
996
+ contractAddress: string;
997
+ tokenId: bigint;
998
+ filter?: OrderFilter;
999
+ }
1000
+ interface GetCollectibleLowestOfferResponse {
1001
+ order?: Order;
1002
+ }
1003
+ interface GetCollectibleHighestOfferRequest {
1004
+ chainId: string;
1005
+ contractAddress: string;
1006
+ tokenId: bigint;
1007
+ filter?: OrderFilter;
1008
+ }
1009
+ interface GetCollectibleHighestOfferResponse {
1010
+ order?: Order;
1011
+ }
1012
+ interface GetCollectibleLowestListingRequest {
1013
+ chainId: string;
1014
+ contractAddress: string;
1015
+ tokenId: bigint;
1016
+ filter?: OrderFilter;
1017
+ }
1018
+ interface GetCollectibleLowestListingResponse {
1019
+ order?: Order;
1020
+ }
1021
+ interface GetCollectibleHighestListingRequest {
1022
+ chainId: string;
1023
+ contractAddress: string;
1024
+ tokenId: bigint;
1025
+ filter?: OrderFilter;
1026
+ }
1027
+ interface GetCollectibleHighestListingResponse {
1028
+ order?: Order;
1029
+ }
1030
+ interface ListCollectibleListingsRequest {
1031
+ chainId: string;
1032
+ contractAddress: string;
1033
+ tokenId: bigint;
1034
+ filter?: OrderFilter;
1035
+ page?: Page$2;
1036
+ }
1037
+ interface ListCollectibleListingsResponse$1 {
1038
+ listings: Array<Order>;
1039
+ page?: Page$2;
1040
+ }
1041
+ interface ListCollectibleOffersRequest {
1042
+ chainId: string;
1043
+ contractAddress: string;
1044
+ tokenId: bigint;
1045
+ filter?: OrderFilter;
1046
+ page?: Page$2;
1047
+ }
1048
+ interface ListCollectibleOffersResponse$1 {
1049
+ offers: Array<Order>;
1050
+ page?: Page$2;
1051
+ }
1052
+ interface GenerateBuyTransactionRequest {
1053
+ chainId: string;
1054
+ collectionAddress: string;
1055
+ buyer: string;
1056
+ marketplace: MarketplaceKind;
1057
+ ordersData: Array<OrderData>;
1058
+ additionalFees: Array<AdditionalFee>;
1059
+ walletType?: WalletKind;
1060
+ useWithTrails: boolean;
1061
+ }
1062
+ interface GenerateBuyTransactionResponse {
1063
+ resp?: GenerateBuySellTransactionResponse;
1064
+ steps: Array<Step>;
1065
+ }
1066
+ interface GenerateSellTransactionRequest {
1067
+ chainId: string;
1068
+ collectionAddress: string;
1069
+ seller: string;
1070
+ marketplace: MarketplaceKind;
1071
+ ordersData: Array<OrderData>;
1072
+ additionalFees: Array<AdditionalFee>;
1073
+ walletType?: WalletKind;
1074
+ useWithTrails: boolean;
1075
+ }
1076
+ interface GenerateSellTransactionResponse {
1077
+ resp?: GenerateBuySellTransactionResponse;
1078
+ steps: Array<Step>;
1079
+ }
1080
+ interface GenerateListingTransactionRequest {
1081
+ chainId: string;
1082
+ collectionAddress: string;
1083
+ owner: string;
1084
+ contractType: ContractType$1;
1085
+ orderbook: OrderbookKind;
1086
+ listing: CreateReq;
1087
+ additionalFees: Array<AdditionalFee>;
1088
+ walletType?: WalletKind;
1089
+ }
1090
+ interface GenerateListingTransactionResponse {
1091
+ steps: Array<Step>;
1092
+ }
1093
+ interface GenerateOfferTransactionRequest {
1094
+ chainId: string;
1095
+ collectionAddress: string;
1096
+ maker: string;
1097
+ contractType: ContractType$1;
1098
+ orderbook: OrderbookKind;
1099
+ offer: CreateReq;
1100
+ additionalFees: Array<AdditionalFee>;
1101
+ walletType?: WalletKind;
1102
+ offerType: OfferType;
1103
+ }
1104
+ interface GenerateOfferTransactionResponse {
1105
+ steps: Array<Step>;
1106
+ }
1107
+ interface GenerateCancelTransactionRequest {
1108
+ chainId: string;
1109
+ collectionAddress: string;
1110
+ maker: string;
1111
+ marketplace: MarketplaceKind;
1112
+ orderId: string;
1113
+ }
1114
+ interface GenerateCancelTransactionResponse {
1115
+ steps: Array<Step>;
1116
+ }
1117
+ interface ExecuteRequest {
1118
+ params: ExecuteInput;
1119
+ chainId?: string;
1120
+ signature?: string;
1121
+ method?: string;
1122
+ endpoint?: string;
1123
+ executeType?: ExecuteType;
1124
+ body?: any;
1125
+ }
1126
+ interface ExecuteResponse {
1127
+ orderId: string;
1128
+ }
1129
+ interface ListCollectiblesRequest {
1130
+ chainId: string;
1131
+ side: OrderSide;
1132
+ contractAddress: string;
1133
+ filter?: CollectiblesFilter;
1134
+ page?: Page$2;
1135
+ }
1136
+ interface ListCollectiblesResponse {
1137
+ collectibles: Array<CollectibleOrder>;
1138
+ page?: Page$2;
1139
+ }
1140
+ interface GetCountOfAllCollectiblesRequest {
1141
+ chainId: string;
1142
+ contractAddress: string;
1143
+ }
1144
+ interface GetCountOfAllCollectiblesResponse {
1145
+ count: number;
1146
+ }
1147
+ interface GetCountOfFilteredCollectiblesRequest {
1148
+ chainId: string;
1149
+ side: OrderSide;
1150
+ contractAddress: string;
1151
+ filter?: CollectiblesFilter;
1152
+ }
1153
+ interface GetCountOfFilteredCollectiblesResponse {
1154
+ count: number;
1155
+ }
1156
+ interface GetFloorOrderRequest {
1157
+ chainId: string;
1158
+ contractAddress: string;
1159
+ filter?: CollectiblesFilter;
1160
+ }
1161
+ interface GetFloorOrderResponse {
1162
+ collectible: CollectibleOrder;
1163
+ }
1164
+ interface ListCollectiblesWithLowestListingRequest {
1165
+ chainId: string;
1166
+ contractAddress: string;
1167
+ filter?: CollectiblesFilter;
1168
+ page?: Page$2;
1169
+ }
1170
+ interface ListCollectiblesWithLowestListingResponse {
1171
+ collectibles: Array<CollectibleOrder>;
1172
+ page?: Page$2;
1173
+ }
1174
+ interface ListCollectiblesWithHighestOfferRequest {
1175
+ chainId: string;
1176
+ contractAddress: string;
1177
+ filter?: CollectiblesFilter;
1178
+ page?: Page$2;
1179
+ }
1180
+ interface ListCollectiblesWithHighestOfferResponse {
1181
+ collectibles: Array<CollectibleOrder>;
1182
+ page?: Page$2;
1183
+ }
1184
+ interface SyncOrderRequest {
1185
+ chainId: string;
1186
+ order: Order;
1187
+ }
1188
+ interface SyncOrderResponse {}
1189
+ interface SyncOrdersRequest {
1190
+ chainId: string;
1191
+ orders: Array<Order>;
1192
+ }
1193
+ interface SyncOrdersResponse {}
1194
+ interface GetOrdersRequest {
1195
+ chainId: string;
1196
+ input: Array<GetOrdersInput>;
1197
+ page?: Page$2;
1198
+ }
1199
+ interface GetOrdersResponse {
1200
+ orders: Array<Order>;
1201
+ page?: Page$2;
1202
+ }
1203
+ interface CheckoutOptionsMarketplaceRequest {
1204
+ chainId: string;
1205
+ wallet: string;
1206
+ orders: Array<CheckoutOptionsMarketplaceOrder>;
1207
+ additionalFee: number;
1208
+ }
1209
+ interface CheckoutOptionsMarketplaceResponse {
1210
+ options: CheckoutOptions;
1211
+ }
1212
+ interface CheckoutOptionsSalesContractRequest {
1213
+ chainId: string;
1214
+ wallet: string;
1215
+ contractAddress: string;
1216
+ collectionAddress: string;
1217
+ items: Array<CheckoutOptionsItem>;
1218
+ }
1219
+ interface CheckoutOptionsSalesContractResponse {
1220
+ options: CheckoutOptions;
1221
+ }
1222
+ interface SupportedMarketplacesRequest {
1223
+ chainId: string;
1224
+ }
1225
+ interface SupportedMarketplacesResponse {
1226
+ marketplaces: Array<MarketplaceKind>;
1227
+ }
1228
+ interface GetPrimarySaleItemRequest {
1229
+ chainId: string;
1230
+ primarySaleContractAddress: string;
1231
+ tokenId: bigint;
1232
+ }
1233
+ interface GetPrimarySaleItemResponse {
1234
+ item: CollectiblePrimarySaleItem;
1235
+ }
1236
+ interface ListPrimarySaleItemsRequest {
1237
+ chainId: string;
1238
+ primarySaleContractAddress: string;
1239
+ filter?: PrimarySaleItemsFilter;
1240
+ page?: Page$2;
1241
+ }
1242
+ interface ListPrimarySaleItemsResponse {
1243
+ primarySaleItems: Array<CollectiblePrimarySaleItem>;
1244
+ page?: Page$2;
1245
+ }
1246
+ interface GetCountOfPrimarySaleItemsRequest {
1247
+ chainId: string;
1248
+ primarySaleContractAddress: string;
1249
+ filter?: PrimarySaleItemsFilter;
1250
+ }
1251
+ interface GetCountOfPrimarySaleItemsResponse {
1252
+ count: number;
1253
+ }
1254
+ declare class Marketplace$1 implements MarketplaceClient$1 {
1255
+ protected hostname: string;
1256
+ protected fetch: Fetch;
1257
+ protected path: string;
1258
+ constructor(hostname: string, fetch: Fetch);
1259
+ private url;
1260
+ queryKey: {
1261
+ listCurrencies: (req: ListCurrenciesRequest) => readonly ["Marketplace", "listCurrencies", ListCurrenciesRequest];
1262
+ getCollectionDetail: (req: GetCollectionDetailRequest) => readonly ["Marketplace", "getCollectionDetail", GetCollectionDetailRequest];
1263
+ getCollectionActiveListingsCurrencies: (req: GetCollectionActiveListingsCurrenciesRequest) => readonly ["Marketplace", "getCollectionActiveListingsCurrencies", GetCollectionActiveListingsCurrenciesRequest];
1264
+ getCollectionActiveOffersCurrencies: (req: GetCollectionActiveOffersCurrenciesRequest) => readonly ["Marketplace", "getCollectionActiveOffersCurrencies", GetCollectionActiveOffersCurrenciesRequest];
1265
+ getCollectible: (req: GetCollectibleRequest) => readonly ["Marketplace", "getCollectible", GetCollectibleRequest];
1266
+ getLowestPriceOfferForCollectible: (req: GetLowestPriceOfferForCollectibleRequest) => readonly ["Marketplace", "getLowestPriceOfferForCollectible", GetLowestPriceOfferForCollectibleRequest];
1267
+ getHighestPriceOfferForCollectible: (req: GetHighestPriceOfferForCollectibleRequest) => readonly ["Marketplace", "getHighestPriceOfferForCollectible", GetHighestPriceOfferForCollectibleRequest];
1268
+ getLowestPriceListingForCollectible: (req: GetLowestPriceListingForCollectibleRequest) => readonly ["Marketplace", "getLowestPriceListingForCollectible", GetLowestPriceListingForCollectibleRequest];
1269
+ getHighestPriceListingForCollectible: (req: GetHighestPriceListingForCollectibleRequest) => readonly ["Marketplace", "getHighestPriceListingForCollectible", GetHighestPriceListingForCollectibleRequest];
1270
+ listListingsForCollectible: (req: ListListingsForCollectibleRequest) => readonly ["Marketplace", "listListingsForCollectible", ListListingsForCollectibleRequest];
1271
+ listOffersForCollectible: (req: ListOffersForCollectibleRequest) => readonly ["Marketplace", "listOffersForCollectible", ListOffersForCollectibleRequest];
1272
+ listOrdersWithCollectibles: (req: ListOrdersWithCollectiblesRequest) => readonly ["Marketplace", "listOrdersWithCollectibles", ListOrdersWithCollectiblesRequest];
1273
+ getCountOfAllOrders: (req: GetCountOfAllOrdersRequest) => readonly ["Marketplace", "getCountOfAllOrders", GetCountOfAllOrdersRequest];
1274
+ getCountOfFilteredOrders: (req: GetCountOfFilteredOrdersRequest) => readonly ["Marketplace", "getCountOfFilteredOrders", GetCountOfFilteredOrdersRequest];
1275
+ listListings: (req: ListListingsRequest) => readonly ["Marketplace", "listListings", ListListingsRequest];
1276
+ listOffers: (req: ListOffersRequest) => readonly ["Marketplace", "listOffers", ListOffersRequest];
1277
+ getCountOfListingsForCollectible: (req: GetCountOfListingsForCollectibleRequest) => readonly ["Marketplace", "getCountOfListingsForCollectible", GetCountOfListingsForCollectibleRequest];
1278
+ getCountOfOffersForCollectible: (req: GetCountOfOffersForCollectibleRequest) => readonly ["Marketplace", "getCountOfOffersForCollectible", GetCountOfOffersForCollectibleRequest];
1279
+ getCollectibleLowestOffer: (req: GetCollectibleLowestOfferRequest) => readonly ["Marketplace", "getCollectibleLowestOffer", GetCollectibleLowestOfferRequest];
1280
+ getCollectibleHighestOffer: (req: GetCollectibleHighestOfferRequest) => readonly ["Marketplace", "getCollectibleHighestOffer", GetCollectibleHighestOfferRequest];
1281
+ getCollectibleLowestListing: (req: GetCollectibleLowestListingRequest) => readonly ["Marketplace", "getCollectibleLowestListing", GetCollectibleLowestListingRequest];
1282
+ getCollectibleHighestListing: (req: GetCollectibleHighestListingRequest) => readonly ["Marketplace", "getCollectibleHighestListing", GetCollectibleHighestListingRequest];
1283
+ listCollectibleListings: (req: ListCollectibleListingsRequest) => readonly ["Marketplace", "listCollectibleListings", ListCollectibleListingsRequest];
1284
+ listCollectibleOffers: (req: ListCollectibleOffersRequest) => readonly ["Marketplace", "listCollectibleOffers", ListCollectibleOffersRequest];
1285
+ generateBuyTransaction: (req: GenerateBuyTransactionRequest) => readonly ["Marketplace", "generateBuyTransaction", GenerateBuyTransactionRequest];
1286
+ generateSellTransaction: (req: GenerateSellTransactionRequest) => readonly ["Marketplace", "generateSellTransaction", GenerateSellTransactionRequest];
1287
+ generateListingTransaction: (req: GenerateListingTransactionRequest) => readonly ["Marketplace", "generateListingTransaction", GenerateListingTransactionRequest];
1288
+ generateOfferTransaction: (req: GenerateOfferTransactionRequest) => readonly ["Marketplace", "generateOfferTransaction", GenerateOfferTransactionRequest];
1289
+ generateCancelTransaction: (req: GenerateCancelTransactionRequest) => readonly ["Marketplace", "generateCancelTransaction", GenerateCancelTransactionRequest];
1290
+ execute: (req: ExecuteRequest) => readonly ["Marketplace", "execute", ExecuteRequest];
1291
+ listCollectibles: (req: ListCollectiblesRequest) => readonly ["Marketplace", "listCollectibles", ListCollectiblesRequest];
1292
+ getCountOfAllCollectibles: (req: GetCountOfAllCollectiblesRequest) => readonly ["Marketplace", "getCountOfAllCollectibles", GetCountOfAllCollectiblesRequest];
1293
+ getCountOfFilteredCollectibles: (req: GetCountOfFilteredCollectiblesRequest) => readonly ["Marketplace", "getCountOfFilteredCollectibles", GetCountOfFilteredCollectiblesRequest];
1294
+ getFloorOrder: (req: GetFloorOrderRequest) => readonly ["Marketplace", "getFloorOrder", GetFloorOrderRequest];
1295
+ listCollectiblesWithLowestListing: (req: ListCollectiblesWithLowestListingRequest) => readonly ["Marketplace", "listCollectiblesWithLowestListing", ListCollectiblesWithLowestListingRequest];
1296
+ listCollectiblesWithHighestOffer: (req: ListCollectiblesWithHighestOfferRequest) => readonly ["Marketplace", "listCollectiblesWithHighestOffer", ListCollectiblesWithHighestOfferRequest];
1297
+ syncOrder: (req: SyncOrderRequest) => readonly ["Marketplace", "syncOrder", SyncOrderRequest];
1298
+ syncOrders: (req: SyncOrdersRequest) => readonly ["Marketplace", "syncOrders", SyncOrdersRequest];
1299
+ getOrders: (req: GetOrdersRequest) => readonly ["Marketplace", "getOrders", GetOrdersRequest];
1300
+ checkoutOptionsMarketplace: (req: CheckoutOptionsMarketplaceRequest) => readonly ["Marketplace", "checkoutOptionsMarketplace", CheckoutOptionsMarketplaceRequest];
1301
+ checkoutOptionsSalesContract: (req: CheckoutOptionsSalesContractRequest) => readonly ["Marketplace", "checkoutOptionsSalesContract", CheckoutOptionsSalesContractRequest];
1302
+ supportedMarketplaces: (req: SupportedMarketplacesRequest) => readonly ["Marketplace", "supportedMarketplaces", SupportedMarketplacesRequest];
1303
+ getPrimarySaleItem: (req: GetPrimarySaleItemRequest) => readonly ["Marketplace", "getPrimarySaleItem", GetPrimarySaleItemRequest];
1304
+ listPrimarySaleItems: (req: ListPrimarySaleItemsRequest) => readonly ["Marketplace", "listPrimarySaleItems", ListPrimarySaleItemsRequest];
1305
+ getCountOfPrimarySaleItems: (req: GetCountOfPrimarySaleItemsRequest) => readonly ["Marketplace", "getCountOfPrimarySaleItems", GetCountOfPrimarySaleItemsRequest];
1306
+ };
1307
+ listCurrencies: (req: ListCurrenciesRequest, headers?: object, signal?: AbortSignal) => Promise<ListCurrenciesResponse>;
1308
+ getCollectionDetail: (req: GetCollectionDetailRequest, headers?: object, signal?: AbortSignal) => Promise<GetCollectionDetailResponse>;
1309
+ getCollectionActiveListingsCurrencies: (req: GetCollectionActiveListingsCurrenciesRequest, headers?: object, signal?: AbortSignal) => Promise<GetCollectionActiveListingsCurrenciesResponse>;
1310
+ getCollectionActiveOffersCurrencies: (req: GetCollectionActiveOffersCurrenciesRequest, headers?: object, signal?: AbortSignal) => Promise<GetCollectionActiveOffersCurrenciesResponse>;
1311
+ getCollectible: (req: GetCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<GetCollectibleResponse>;
1312
+ getLowestPriceOfferForCollectible: (req: GetLowestPriceOfferForCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<GetLowestPriceOfferForCollectibleResponse>;
1313
+ getHighestPriceOfferForCollectible: (req: GetHighestPriceOfferForCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<GetHighestPriceOfferForCollectibleResponse>;
1314
+ getLowestPriceListingForCollectible: (req: GetLowestPriceListingForCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<GetLowestPriceListingForCollectibleResponse>;
1315
+ getHighestPriceListingForCollectible: (req: GetHighestPriceListingForCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<GetHighestPriceListingForCollectibleResponse>;
1316
+ listListingsForCollectible: (req: ListListingsForCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<ListListingsForCollectibleResponse>;
1317
+ listOffersForCollectible: (req: ListOffersForCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<ListOffersForCollectibleResponse>;
1318
+ listOrdersWithCollectibles: (req: ListOrdersWithCollectiblesRequest, headers?: object, signal?: AbortSignal) => Promise<ListOrdersWithCollectiblesResponse>;
1319
+ getCountOfAllOrders: (req: GetCountOfAllOrdersRequest, headers?: object, signal?: AbortSignal) => Promise<GetCountOfAllOrdersResponse>;
1320
+ getCountOfFilteredOrders: (req: GetCountOfFilteredOrdersRequest, headers?: object, signal?: AbortSignal) => Promise<GetCountOfFilteredOrdersResponse>;
1321
+ listListings: (req: ListListingsRequest, headers?: object, signal?: AbortSignal) => Promise<ListListingsResponse>;
1322
+ listOffers: (req: ListOffersRequest, headers?: object, signal?: AbortSignal) => Promise<ListOffersResponse>;
1323
+ getCountOfListingsForCollectible: (req: GetCountOfListingsForCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<GetCountOfListingsForCollectibleResponse>;
1324
+ getCountOfOffersForCollectible: (req: GetCountOfOffersForCollectibleRequest, headers?: object, signal?: AbortSignal) => Promise<GetCountOfOffersForCollectibleResponse>;
1325
+ getCollectibleLowestOffer: (req: GetCollectibleLowestOfferRequest, headers?: object, signal?: AbortSignal) => Promise<GetCollectibleLowestOfferResponse>;
1326
+ getCollectibleHighestOffer: (req: GetCollectibleHighestOfferRequest, headers?: object, signal?: AbortSignal) => Promise<GetCollectibleHighestOfferResponse>;
1327
+ getCollectibleLowestListing: (req: GetCollectibleLowestListingRequest, headers?: object, signal?: AbortSignal) => Promise<GetCollectibleLowestListingResponse>;
1328
+ getCollectibleHighestListing: (req: GetCollectibleHighestListingRequest, headers?: object, signal?: AbortSignal) => Promise<GetCollectibleHighestListingResponse>;
1329
+ listCollectibleListings: (req: ListCollectibleListingsRequest, headers?: object, signal?: AbortSignal) => Promise<ListCollectibleListingsResponse$1>;
1330
+ listCollectibleOffers: (req: ListCollectibleOffersRequest, headers?: object, signal?: AbortSignal) => Promise<ListCollectibleOffersResponse$1>;
1331
+ generateBuyTransaction: (req: GenerateBuyTransactionRequest, headers?: object, signal?: AbortSignal) => Promise<GenerateBuyTransactionResponse>;
1332
+ generateSellTransaction: (req: GenerateSellTransactionRequest, headers?: object, signal?: AbortSignal) => Promise<GenerateSellTransactionResponse>;
1333
+ generateListingTransaction: (req: GenerateListingTransactionRequest, headers?: object, signal?: AbortSignal) => Promise<GenerateListingTransactionResponse>;
1334
+ generateOfferTransaction: (req: GenerateOfferTransactionRequest, headers?: object, signal?: AbortSignal) => Promise<GenerateOfferTransactionResponse>;
1335
+ generateCancelTransaction: (req: GenerateCancelTransactionRequest, headers?: object, signal?: AbortSignal) => Promise<GenerateCancelTransactionResponse>;
1336
+ execute: (req: ExecuteRequest, headers?: object, signal?: AbortSignal) => Promise<ExecuteResponse>;
1337
+ listCollectibles: (req: ListCollectiblesRequest, headers?: object, signal?: AbortSignal) => Promise<ListCollectiblesResponse>;
1338
+ getCountOfAllCollectibles: (req: GetCountOfAllCollectiblesRequest, headers?: object, signal?: AbortSignal) => Promise<GetCountOfAllCollectiblesResponse>;
1339
+ getCountOfFilteredCollectibles: (req: GetCountOfFilteredCollectiblesRequest, headers?: object, signal?: AbortSignal) => Promise<GetCountOfFilteredCollectiblesResponse>;
1340
+ getFloorOrder: (req: GetFloorOrderRequest, headers?: object, signal?: AbortSignal) => Promise<GetFloorOrderResponse>;
1341
+ listCollectiblesWithLowestListing: (req: ListCollectiblesWithLowestListingRequest, headers?: object, signal?: AbortSignal) => Promise<ListCollectiblesWithLowestListingResponse>;
1342
+ listCollectiblesWithHighestOffer: (req: ListCollectiblesWithHighestOfferRequest, headers?: object, signal?: AbortSignal) => Promise<ListCollectiblesWithHighestOfferResponse>;
1343
+ syncOrder: (req: SyncOrderRequest, headers?: object, signal?: AbortSignal) => Promise<SyncOrderResponse>;
1344
+ syncOrders: (req: SyncOrdersRequest, headers?: object, signal?: AbortSignal) => Promise<SyncOrdersResponse>;
1345
+ getOrders: (req: GetOrdersRequest, headers?: object, signal?: AbortSignal) => Promise<GetOrdersResponse>;
1346
+ checkoutOptionsMarketplace: (req: CheckoutOptionsMarketplaceRequest, headers?: object, signal?: AbortSignal) => Promise<CheckoutOptionsMarketplaceResponse>;
1347
+ checkoutOptionsSalesContract: (req: CheckoutOptionsSalesContractRequest, headers?: object, signal?: AbortSignal) => Promise<CheckoutOptionsSalesContractResponse>;
1348
+ supportedMarketplaces: (req: SupportedMarketplacesRequest, headers?: object, signal?: AbortSignal) => Promise<SupportedMarketplacesResponse>;
1349
+ getPrimarySaleItem: (req: GetPrimarySaleItemRequest, headers?: object, signal?: AbortSignal) => Promise<GetPrimarySaleItemResponse>;
1350
+ listPrimarySaleItems: (req: ListPrimarySaleItemsRequest, headers?: object, signal?: AbortSignal) => Promise<ListPrimarySaleItemsResponse>;
1351
+ getCountOfPrimarySaleItems: (req: GetCountOfPrimarySaleItemsRequest, headers?: object, signal?: AbortSignal) => Promise<GetCountOfPrimarySaleItemsResponse>;
1352
+ }
1353
+ type Fetch = (input: RequestInfo, init?: RequestInit) => Promise<Response>;
1354
+ //#endregion
1355
+ //#region ../api/dist/primitives.d.ts
1356
+ //#region src/types/primitives.d.ts
1357
+
1358
+ /**
1359
+ * Universal chain identifier as number
1360
+ * Replaces: chainID (number), chainID (string)
1361
+ */
1362
+ type ChainId = number;
1363
+ /**
1364
+ * Universal token identifier as bigint
1365
+ * Replaces: tokenId (string), tokenID (string)
1366
+ */
1367
+ type TokenId = bigint;
1368
+ /**
1369
+ * Universal address type (viem compatible)
1370
+ */
1371
+ type Address$1 = Address;
1372
+ /**
1373
+ * Universal contract address
1374
+ */
1375
+
1376
+ /**
1377
+ * Universal amount/balance type (wei)
1378
+ */
1379
+ type Amount = bigint;
1380
+ /**
1381
+ * Universal quantity type
1382
+ */
1383
+
1384
+ /**
1385
+ * Universal hash type (transaction, block, etc)
1386
+ */
1387
+ type Hash$1 = Hash;
1388
+ /**
1389
+ * Universal project identifier as number
1390
+ */
1391
+ type ProjectId = number;
1392
+ //#endregion
1393
+ //#endregion
1394
+ //#region ../api/dist/types.d.ts
1395
+ //#region src/adapters/indexer/types.d.ts
1396
+ type ContractInfoExtensions$1$1 = Omit<ContractInfoExtensions, 'originChainId' | 'originAddress'> & {
1397
+ originChainId?: ChainId;
1398
+ originAddress?: Address$1;
1399
+ };
1400
+ type ContractInfo$1$1 = Omit<ContractInfo, 'chainId' | 'address' | 'extensions'> & {
1401
+ chainId: ChainId;
1402
+ address: Address$1;
1403
+ extensions: ContractInfoExtensions$1$1;
1404
+ };
1405
+ type TokenMetadata$1$1 = Omit<TokenMetadata, 'tokenId'> & {
1406
+ tokenId: TokenId;
1407
+ };
1408
+ type TokenBalance$1 = Omit<TokenBalance, 'tokenID' | 'balance' | 'chainId' | 'contractAddress' | 'accountAddress' | 'uniqueCollectibles' | 'contractInfo' | 'tokenMetadata'> & {
1409
+ tokenId: TokenId;
1410
+ balance: Amount;
1411
+ chainId: ChainId;
1412
+ contractAddress: Address$1;
1413
+ accountAddress: Address$1;
1414
+ uniqueCollectibles?: Amount;
1415
+ contractInfo?: ContractInfo$1$1;
1416
+ tokenMetadata?: TokenMetadata$1$1;
1417
+ };
1418
+ type TokenSupply$1 = Omit<TokenSupply, 'tokenID' | 'supply' | 'chainId' | 'contractInfo' | 'tokenMetadata'> & {
1419
+ tokenId: TokenId;
1420
+ supply: Amount;
1421
+ chainId: ChainId;
1422
+ contractAddress?: Address$1;
1423
+ contractInfo?: ContractInfo$1$1;
1424
+ tokenMetadata?: TokenMetadata$1$1;
1425
+ };
1426
+ type TransactionLog$1 = Omit<TransactionLog, 'contractAddress' | 'index'> & {
1427
+ address: Address$1;
1428
+ logIndex: number;
1429
+ };
1430
+ type TransactionReceipt$1 = Omit<TransactionReceipt, 'effectiveGasPrice' | 'from' | 'to' | 'logs'> & {
1431
+ chainId?: ChainId;
1432
+ from?: Address$1;
1433
+ to?: Address$1;
1434
+ effectiveGasPrice: Amount;
1435
+ logs: TransactionLog$1[];
1436
+ };
1437
+ type TokenIDRange$1 = Omit<TokenIDRange, 'start' | 'end'> & {
1438
+ startTokenId: TokenId;
1439
+ endTokenId: TokenId;
1440
+ };
1441
+ type Page$1$1 = Page;
1442
+ type MetadataOptions$1 = Omit<MetadataOptions, 'includeContracts'> & {
1443
+ includeContracts?: Array<Address$1>;
1444
+ };
1445
+ type GetTokenBalancesRequest = Omit<GetTokenBalancesArgs, 'accountAddress' | 'contractAddress' | 'tokenID' | 'page' | 'metadataOptions'> & {
1446
+ tokenId?: TokenId;
1447
+ metadataOptions?: MetadataOptions$1;
1448
+ page?: Page$1$1;
1449
+ } & ({
1450
+ accountAddress: Address$1;
1451
+ userAddress?: never;
1452
+ } | {
1453
+ userAddress: Address$1;
1454
+ accountAddress?: never;
1455
+ }) & ({
1456
+ contractAddress?: Address$1;
1457
+ collectionAddress?: never;
1458
+ } | {
1459
+ collectionAddress?: Address$1;
1460
+ contractAddress?: never;
1461
+ });
1462
+ type GetTokenBalancesResponse = Omit<GetTokenBalancesReturn, 'balances' | 'page'> & {
1463
+ balances: TokenBalance$1[];
1464
+ page: Page$1$1;
1465
+ };
1466
+ type GetTokenSuppliesRequest = Omit<GetTokenSuppliesArgs, 'contractAddress' | 'page' | 'metadataOptions'> & {
1467
+ metadataOptions?: MetadataOptions$1;
1468
+ page?: Page$1$1;
1469
+ } & ({
1470
+ contractAddress: Address$1;
1471
+ collectionAddress?: never;
1472
+ } | {
1473
+ collectionAddress: Address$1;
1474
+ contractAddress?: never;
1475
+ });
1476
+ type GetTokenSuppliesResponse = Omit<GetTokenSuppliesReturn, 'page' | 'tokenIDs'> & {
1477
+ contractAddress: Address$1;
1478
+ tokenIDs: TokenSupply$1[];
1479
+ supplies: TokenSupply$1[];
1480
+ page: Page$1$1;
1481
+ };
1482
+ type GetTokenIDRangesRequest = Omit<GetTokenIDRangesArgs, 'contractAddress'> & ({
1483
+ contractAddress: Address$1;
1484
+ collectionAddress?: never;
1485
+ } | {
1486
+ collectionAddress: Address$1;
1487
+ contractAddress?: never;
1488
+ });
1489
+ type GetTokenIDRangesResponse = Omit<GetTokenIDRangesReturn, 'tokenIDRanges'> & {
1490
+ contractAddress: Address$1;
1491
+ tokenIDRanges: TokenIDRange$1[];
1492
+ ranges: TokenIDRange$1[];
1493
+ };
1494
+ type NativeTokenBalance$1 = Omit<NativeTokenBalance, 'accountAddress' | 'chainId' | 'balance'> & {
1495
+ accountAddress: Address$1;
1496
+ chainId: ChainId;
1497
+ balance: Amount;
1498
+ };
1499
+ type GetTokenBalancesDetailsResponse = Omit<GetTokenBalancesDetailsReturn, 'page' | 'nativeBalances' | 'balances'> & {
1500
+ page: Page$1$1;
1501
+ nativeBalances: NativeTokenBalance$1[];
1502
+ balances: TokenBalance$1[];
1503
+ };
1504
+ type GetTokenBalancesByContractResponse = Omit<GetTokenBalancesByContractReturn, 'page' | 'balances'> & {
1505
+ page: Page$1$1;
1506
+ balances: TokenBalance$1[];
1507
+ };
1508
+ type TokenBalancesByContractFilter$1 = Omit<TokenBalancesByContractFilter, 'contractAddresses' | 'accountAddresses'> & {
1509
+ contractAddresses: Array<Address$1>;
1510
+ accountAddresses?: Array<Address$1>;
1511
+ };
1512
+ type GetTokenBalancesByContractRequest = Omit<GetTokenBalancesByContractArgs, 'filter'> & {
1513
+ filter: TokenBalancesByContractFilter$1;
1514
+ };
1515
+ type GetUserCollectionBalancesRequest = Pick<GetTokenBalancesByContractArgs, 'omitMetadata'> & {
1516
+ userAddress: Address$1;
1517
+ collectionAddress: Address$1;
1518
+ includeMetadata?: boolean;
1519
+ };
1520
+ type TokenBalancesFilter$1 = Omit<TokenBalancesFilter, 'accountAddresses' | 'contractWhitelist' | 'contractBlacklist'> & {
1521
+ accountAddresses: Array<Address$1>;
1522
+ contractWhitelist?: Array<Address$1>;
1523
+ contractBlacklist?: Array<Address$1>;
1524
+ };
1525
+ type GetTokenBalancesDetailsRequest = Omit<GetTokenBalancesDetailsArgs, 'filter'> & {
1526
+ filter: TokenBalancesFilter$1;
1527
+ };
1528
+ type GetNativeTokenBalanceResponse = Omit<GetNativeTokenBalanceReturn, 'balance'> & {
1529
+ balance: NativeTokenBalance$1;
1530
+ };
1531
+ type GetBalanceOfCollectibleRequest = Omit<GetTokenBalancesRequest, 'page' | 'contractAddress' | 'collectionAddress' | 'userAddress' | 'accountAddress'> & {
1532
+ chainId: ChainId;
1533
+ collectionAddress?: Address$1;
1534
+ contractAddress?: Address$1;
1535
+ userAddress?: Address$1;
1536
+ accountAddress?: Address$1;
1537
+ };
1538
+ type GetTokenBalancesSdkRequest = Omit<GetTokenBalancesRequest, 'contractAddress' | 'collectionAddress' | 'userAddress' | 'accountAddress'> & {
1539
+ chainId: ChainId;
1540
+ collectionAddress?: Address$1;
1541
+ contractAddress?: Address$1;
1542
+ userAddress?: Address$1;
1543
+ accountAddress?: Address$1;
1544
+ };
1545
+ //#endregion
1546
+ //#endregion
1547
+ //#region ../api/dist/types2.d.ts
1548
+ //#region src/adapters/metadata/types.d.ts
1549
+ type ContractInfoExtensionBridgeInfo$1 = Omit<ContractInfoExtensionBridgeInfo, 'tokenAddress'> & {
1550
+ tokenAddress: Address$1;
1551
+ };
1552
+ type ContractInfoExtensions$1$2 = Omit<ContractInfoExtensions$1, 'originChainId' | 'originAddress' | 'bridgeInfo'> & {
1553
+ originChainId?: ChainId;
1554
+ originAddress?: Address$1;
1555
+ bridgeInfo?: {
1556
+ [key: string]: ContractInfoExtensionBridgeInfo$1;
1557
+ };
1558
+ };
1559
+ type ContractInfo$1$2 = Omit<ContractInfo$1, 'chainId' | 'address' | 'extensions'> & {
1560
+ chainId: ChainId;
1561
+ address: Address$1;
1562
+ extensions: ContractInfoExtensions$1$2;
1563
+ };
1564
+ type Asset$1$1 = Omit<Asset, 'tokenId'> & {
1565
+ tokenId?: TokenId;
1566
+ };
1567
+ type TokenMetadata$1$2 = Omit<TokenMetadata$1, 'chainId' | 'contractAddress' | 'tokenId' | 'assets'> & {
1568
+ chainId?: ChainId;
1569
+ contractAddress?: Address$1;
1570
+ tokenId: TokenId;
1571
+ assets?: Asset$1$1[];
1572
+ };
1573
+ type Page$1$2 = Page$1;
1574
+ type GetContractInfoArgs$1 = Omit<GetContractInfoArgs, 'chainID' | 'contractAddress'> & {
1575
+ chainId: ChainId;
1576
+ } & ({
1577
+ contractAddress: string;
1578
+ collectionAddress?: never;
1579
+ } | {
1580
+ collectionAddress: string;
1581
+ contractAddress?: never;
1582
+ });
1583
+ type GetContractInfoReturn$1 = Omit<GetContractInfoReturn, 'contractInfo'> & {
1584
+ contractInfo: ContractInfo$1$2;
1585
+ taskID?: number;
1586
+ };
1587
+ type GetContractInfoBatchArgs$1 = Omit<GetContractInfoBatchArgs, 'chainID'> & {
1588
+ chainId: ChainId;
1589
+ };
1590
+ type GetContractInfoBatchReturn$1 = Omit<GetContractInfoBatchReturn, 'contractInfoMap'> & {
1591
+ contractInfoMap: {
1592
+ [key: string]: ContractInfo$1$2;
1593
+ };
1594
+ taskID?: number;
1595
+ };
1596
+ type GetTokenMetadataArgs$1 = Omit<GetTokenMetadataArgs, 'chainID' | 'contractAddress' | 'tokenIDs'> & {
1597
+ chainId: ChainId;
1598
+ tokenIds: TokenId[];
1599
+ } & ({
1600
+ contractAddress: string;
1601
+ collectionAddress?: never;
1602
+ } | {
1603
+ collectionAddress: string;
1604
+ contractAddress?: never;
1605
+ });
1606
+ type GetTokenMetadataReturn$1 = Omit<GetTokenMetadataReturn, 'tokenMetadata'> & {
1607
+ tokenMetadata: TokenMetadata$1$2[];
1608
+ taskID?: number;
1609
+ };
1610
+ type GetTokenMetadataBatchArgs$1 = Omit<GetTokenMetadataBatchArgs, 'chainID' | 'contractTokenMap'> & {
1611
+ chainId: ChainId;
1612
+ contractTokenMap: {
1613
+ [key: string]: TokenId[];
1614
+ };
1615
+ };
1616
+ type GetTokenMetadataBatchReturn$1 = Omit<GetTokenMetadataBatchReturn, 'contractTokenMetadata'> & {
1617
+ contractTokenMetadata: {
1618
+ [key: string]: TokenMetadata$1$2[];
1619
+ };
1620
+ taskID?: number;
1621
+ };
1622
+ type RefreshTokenMetadataArgs$1 = Omit<RefreshTokenMetadataArgs, 'chainID' | 'contractAddress' | 'tokenIDs'> & {
1623
+ chainId: ChainId;
1624
+ tokenIds?: TokenId[];
1625
+ refreshAll?: boolean;
1626
+ } & ({
1627
+ contractAddress: string;
1628
+ collectionAddress?: never;
1629
+ } | {
1630
+ collectionAddress: string;
1631
+ contractAddress?: never;
1632
+ });
1633
+ type RefreshTokenMetadataReturn$1 = RefreshTokenMetadataReturn;
1634
+ type SearchTokenMetadataArgs$1 = Omit<SearchTokenMetadataArgs, 'chainID' | 'contractAddress'> & {
1635
+ chainId: ChainId;
1636
+ } & ({
1637
+ contractAddress: string;
1638
+ collectionAddress?: never;
1639
+ } | {
1640
+ collectionAddress: string;
1641
+ contractAddress?: never;
1642
+ });
1643
+ type SearchTokenMetadataReturn$1 = Omit<SearchTokenMetadataReturn, 'tokenMetadata'> & {
1644
+ page: Page$1$2;
1645
+ tokenMetadata: TokenMetadata$1$2[];
1646
+ };
1647
+ type GetTokenMetadataPropertyFiltersArgs$1 = Omit<GetTokenMetadataPropertyFiltersArgs, 'chainID' | 'contractAddress'> & {
1648
+ chainId: ChainId;
1649
+ } & ({
1650
+ contractAddress: string;
1651
+ collectionAddress?: never;
1652
+ } | {
1653
+ collectionAddress: string;
1654
+ contractAddress?: never;
1655
+ });
1656
+ type GetTokenMetadataPropertyFiltersReturn$1 = GetTokenMetadataPropertyFiltersReturn;
1657
+ type GetSingleTokenMetadataArgs = Omit<GetTokenMetadataArgs$1, 'tokenIds' | 'contractAddress' | 'collectionAddress'> & {
1658
+ contractAddress?: Address$1;
1659
+ collectionAddress?: Address$1;
1660
+ tokenId: TokenId;
1661
+ };
1662
+ type GetFiltersArgs = Omit<GetTokenMetadataPropertyFiltersArgs$1, 'excludeProperties' | 'contractAddress' | 'collectionAddress'> & {
1663
+ contractAddress?: Address$1;
1664
+ collectionAddress?: Address$1;
1665
+ showAllFilters?: boolean;
1666
+ };
1667
+ type GetContractInfoSdkArgs = Omit<GetContractInfoArgs$1, 'contractAddress' | 'collectionAddress'> & {
1668
+ contractAddress?: Address$1;
1669
+ collectionAddress?: Address$1;
1670
+ };
1671
+ type GetTokenMetadataSdkArgs = Omit<GetTokenMetadataArgs$1, 'contractAddress' | 'collectionAddress'> & {
1672
+ contractAddress?: Address$1;
1673
+ collectionAddress?: Address$1;
1674
+ };
1675
+ type SearchTokenMetadataSdkArgs = Omit<SearchTokenMetadataArgs$1, 'contractAddress' | 'collectionAddress'> & {
1676
+ contractAddress?: Address$1;
1677
+ collectionAddress?: Address$1;
1678
+ };
1679
+ //#endregion
1680
+ //#endregion
1681
+ //#region ../api/dist/index.d.ts
1682
+ //#region src/adapters/marketplace/types.d.ts
1683
+ type Currency$1 = Omit<Currency, 'contractAddress'> & {
1684
+ contractAddress: Address;
1685
+ };
1686
+ type PrimarySaleItem$1 = Omit<PrimarySaleItem, 'currencyAddress' | 'itemAddress'> & {
1687
+ currencyAddress: Address;
1688
+ itemAddress: Address;
1689
+ };
1690
+ type CollectiblePrimarySaleItem$1 = Omit<CollectiblePrimarySaleItem, 'primarySaleItem'> & {
1691
+ primarySaleItem: PrimarySaleItem$1;
1692
+ };
1693
+ type Order$1 = Omit<Order, 'priceCurrencyAddress'> & {
1694
+ priceCurrencyAddress: Address;
1695
+ };
1696
+ type CollectibleOrder$1 = Omit<CollectibleOrder, 'order' | 'listing' | 'offer'> & {
1697
+ order?: Order$1;
1698
+ listing?: Order$1;
1699
+ offer?: Order$1;
1700
+ };
1701
+ type StepBase = Omit<Step, 'to'> & {
1702
+ to: Address;
1703
+ };
1704
+ type Signature$1 = Omit<Signature, 'domain'> & {
1705
+ domain: TypedDataDomain;
1706
+ };
1707
+ type SignatureStep = (Omit<StepBase, 'signature'> & {
1708
+ id: StepType.signEIP191;
1709
+ post: PostRequest;
1710
+ signature?: never;
1711
+ }) | (Omit<StepBase, 'signature'> & {
1712
+ id: StepType.signEIP712;
1713
+ post: PostRequest;
1714
+ signature: Signature$1;
1715
+ });
1716
+ type TransactionStep = Omit<StepBase, 'data'> & {
1717
+ id: StepType.tokenApproval | StepType.buy | StepType.sell | StepType.cancel | StepType.createOffer | StepType.createListing;
1718
+ data: Hash;
1719
+ };
1720
+ type ApprovalStep = TransactionStep & {
1721
+ id: StepType.tokenApproval;
1722
+ };
1723
+ type UnknownStep = StepBase & {
1724
+ id: StepType.unknown;
1725
+ };
1726
+ type Step$1 = SignatureStep | TransactionStep | UnknownStep;
1727
+ declare function isSignatureStep(step: Step$1): step is SignatureStep;
1728
+ declare function isTransactionStep(step: Step$1): step is TransactionStep;
1729
+ type GetPrimarySaleCheckoutOptionsRequest = Omit<CheckoutOptionsSalesContractRequest, 'chainId' | 'wallet' | 'contractAddress' | 'collectionAddress'> & {
1730
+ chainId: ChainId;
1731
+ walletAddress: Address;
1732
+ contractAddress: Address;
1733
+ collectionAddress: Address;
1734
+ };
1735
+ //#endregion
1736
+ //#region src/adapters/marketplace/client.d.ts
1737
+ type CheckoutOptionsItem$1 = Omit<CheckoutOptionsItem, 'tokenId'> & {
1738
+ tokenId: TokenId;
1739
+ };
1740
+ type CreateReq$1 = Omit<CreateReq, 'currencyAddress' | 'tokenId'> & {
1741
+ currencyAddress: Address$1;
1742
+ tokenId: TokenId;
1743
+ };
1744
+ type GenerateListingTransactionResponse$1 = Omit<GenerateListingTransactionResponse, 'steps'> & {
1745
+ steps: Step$1[];
1746
+ };
1747
+ type GenerateOfferTransactionResponse$1 = Omit<GenerateOfferTransactionResponse, 'steps'> & {
1748
+ steps: Step$1[];
1749
+ };
1750
+ type GenerateSellTransactionResponse$1 = Omit<GenerateSellTransactionResponse, 'steps'> & {
1751
+ steps: Step$1[];
1752
+ };
1753
+ type GenerateCancelTransactionResponse$1 = Omit<GenerateCancelTransactionResponse, 'steps'> & {
1754
+ steps: Step$1[];
1755
+ };
1756
+ type GenerateBuyTransactionResponse$1 = Omit<GenerateBuyTransactionResponse, 'steps'> & {
1757
+ steps: Step$1[];
1758
+ };
1759
+ type ListCollectibleListingsResponse = Omit<ListListingsForCollectibleResponse, 'listings'> & {
1760
+ listings: Order$1[];
1761
+ };
1762
+ type ListListingsForCollectibleResponse$1 = ListCollectibleListingsResponse;
1763
+ type ListCollectibleOffersResponse = Omit<ListOffersForCollectibleResponse, 'offers'> & {
1764
+ offers: Order$1[];
1765
+ };
1766
+ /**
1767
+ * Alias for ListCollectibleOffersResponse
1768
+ * Both names refer to the same normalized type
1769
+ */
1770
+ type ListOffersForCollectibleResponse$1 = ListCollectibleOffersResponse;
1771
+ type ListOrdersWithCollectiblesResponse$1 = Omit<ListOrdersWithCollectiblesResponse, 'collectibles'> & {
1772
+ collectibles: CollectibleOrder$1[];
1773
+ };
1774
+ type ListCollectiblesResponse$1 = Omit<ListCollectiblesResponse, 'collectibles'> & {
1775
+ collectibles: CollectibleOrder$1[];
1776
+ };
1777
+ type ListCurrenciesResponse$1 = Omit<ListCurrenciesResponse, 'currencies'> & {
1778
+ currencies: Currency$1[];
1779
+ };
1780
+ type ListPrimarySaleItemsResponse$1 = Omit<ListPrimarySaleItemsResponse, 'primarySaleItems'> & {
1781
+ primarySaleItems: Array<CollectiblePrimarySaleItem$1>;
1782
+ };
1783
+ type GetCollectibleLowestListingResponse$1 = Omit<GetCollectibleLowestListingResponse, 'order'> & {
1784
+ order?: Order$1;
1785
+ };
1786
+ type GetCollectibleHighestOfferResponse$1 = Omit<GetCollectibleHighestOfferResponse, 'order'> & {
1787
+ order?: Order$1;
1788
+ };
1789
+ type GetFloorOrderResponse$1 = Omit<GetFloorOrderResponse, 'collectible'> & {
1790
+ collectible: CollectibleOrder$1;
1791
+ };
1792
+ type GetOrdersResponse$1 = Omit<GetOrdersResponse, 'orders'> & {
1793
+ orders: Order$1[];
1794
+ };
1795
+ type GenerateListingTransactionRequest$1 = Omit<GenerateListingTransactionRequest, 'chainId' | 'contractType' | 'listing'> & {
1796
+ chainId: ChainId;
1797
+ contractType: ContractType;
1798
+ listing: CreateReq$1;
1799
+ };
1800
+ type GenerateOfferTransactionRequest$1 = Omit<GenerateOfferTransactionRequest, 'chainId' | 'contractType' | 'offer'> & {
1801
+ chainId: ChainId;
1802
+ contractType: ContractType;
1803
+ offer: CreateReq$1;
1804
+ };
1805
+ /**
1806
+ * SDK-facing OrderData type with bigint quantity
1807
+ */
1808
+ type OrderData$1 = Omit<OrderData, 'tokenId'> & {
1809
+ tokenId?: TokenId;
1810
+ };
1811
+ type GenerateSellTransactionRequest$1 = Omit<GenerateSellTransactionRequest, 'chainId' | 'ordersData'> & {
1812
+ chainId: ChainId;
1813
+ ordersData: Array<OrderData$1>;
1814
+ };
1815
+ type GenerateCancelTransactionRequest$1 = Omit<GenerateCancelTransactionRequest, 'chainId'> & {
1816
+ chainId: ChainId;
1817
+ };
1818
+ type GenerateBuyTransactionRequest$1 = Omit<GenerateBuyTransactionRequest, 'chainId' | 'ordersData'> & {
1819
+ chainId: ChainId;
1820
+ ordersData: Array<OrderData$1>;
1821
+ };
1822
+ type GetCollectionDetailRequest$1 = Omit<GetCollectionDetailRequest, 'chainId' | 'contractAddress'> & {
1823
+ chainId: ChainId;
1824
+ collectionAddress: Address$1;
1825
+ };
1826
+ type ListCurrenciesRequest$1 = Omit<ListCurrenciesRequest, 'chainId'> & {
1827
+ chainId: ChainId;
1828
+ };
1829
+ type GetCollectibleRequest$1 = Omit<GetCollectibleRequest, 'chainId' | 'contractAddress'> & {
1830
+ chainId: ChainId;
1831
+ collectionAddress: Address$1;
1832
+ };
1833
+ type GetLowestPriceListingForCollectibleRequest$1 = Omit<GetLowestPriceListingForCollectibleRequest, 'chainId' | 'contractAddress' | 'tokenId'> & {
1834
+ chainId: ChainId;
1835
+ collectionAddress: Address$1;
1836
+ tokenId: TokenId;
1837
+ };
1838
+ type GetHighestPriceOfferForCollectibleRequest$1 = Omit<GetHighestPriceOfferForCollectibleRequest, 'chainId' | 'contractAddress' | 'tokenId'> & {
1839
+ chainId: ChainId;
1840
+ collectionAddress: Address$1;
1841
+ tokenId: TokenId;
1842
+ };
1843
+ type ListListingsForCollectibleRequest$1 = Omit<ListListingsForCollectibleRequest, 'chainId' | 'contractAddress' | 'tokenId'> & {
1844
+ chainId: ChainId;
1845
+ collectionAddress: Address$1;
1846
+ tokenId: TokenId;
1847
+ };
1848
+ type ListOffersForCollectibleRequest$1 = Omit<ListOffersForCollectibleRequest, 'chainId' | 'contractAddress' | 'tokenId'> & {
1849
+ chainId: ChainId;
1850
+ collectionAddress: Address$1;
1851
+ tokenId: TokenId;
1852
+ };
1853
+ type ListOrdersWithCollectiblesRequest$1 = Omit<ListOrdersWithCollectiblesRequest, 'chainId' | 'contractAddress'> & {
1854
+ chainId: ChainId;
1855
+ collectionAddress: Address$1;
1856
+ };
1857
+ type GetFloorOrderRequest$1 = Omit<GetFloorOrderRequest, 'chainId' | 'contractAddress'> & {
1858
+ chainId: ChainId;
1859
+ collectionAddress: Address$1;
1860
+ };
1861
+ type ListCollectiblesRequest$1 = Omit<ListCollectiblesRequest, 'chainId' | 'contractAddress'> & {
1862
+ chainId: ChainId;
1863
+ collectionAddress: Address$1;
1864
+ };
1865
+ type ListPrimarySaleItemsRequest$1 = Omit<ListPrimarySaleItemsRequest, 'chainId'> & {
1866
+ chainId: ChainId;
1867
+ };
1868
+ type GetPrimarySaleItemRequest$1 = Omit<GetPrimarySaleItemRequest, 'chainId'> & {
1869
+ chainId: ChainId;
1870
+ };
1871
+ type GetPrimarySaleItemResponse$1 = Omit<GetPrimarySaleItemResponse, 'item'> & {
1872
+ item: CollectiblePrimarySaleItem$1;
1873
+ };
1874
+ type GetCountOfPrimarySaleItemsRequest$1 = Omit<GetCountOfPrimarySaleItemsRequest, 'chainId'> & {
1875
+ chainId: ChainId;
1876
+ };
1877
+ type CheckoutOptionsMarketplaceRequest$1 = Omit<CheckoutOptionsMarketplaceRequest, 'chainId' | 'wallet'> & {
1878
+ chainId: ChainId;
1879
+ } & ({
1880
+ wallet: string;
1881
+ walletAddress?: never;
1882
+ } | {
1883
+ walletAddress: string;
1884
+ wallet?: never;
1885
+ });
1886
+ type GetCountOfFilteredCollectiblesRequest$1 = Omit<GetCountOfFilteredCollectiblesRequest, 'chainId' | 'contractAddress'> & {
1887
+ chainId: ChainId;
1888
+ collectionAddress: Address$1;
1889
+ };
1890
+ type GetCountOfAllCollectiblesRequest$1 = Omit<GetCountOfAllCollectiblesRequest, 'chainId' | 'contractAddress'> & {
1891
+ chainId: ChainId;
1892
+ collectionAddress: Address$1;
1893
+ };
1894
+ type GetCountOfListingsForCollectibleRequest$1 = Omit<GetCountOfListingsForCollectibleRequest, 'chainId' | 'contractAddress' | 'tokenId'> & {
1895
+ chainId: ChainId;
1896
+ collectionAddress: Address$1;
1897
+ tokenId: TokenId;
1898
+ };
1899
+ type GetCountOfOffersForCollectibleRequest$1 = Omit<GetCountOfOffersForCollectibleRequest, 'chainId' | 'contractAddress' | 'tokenId'> & {
1900
+ chainId: ChainId;
1901
+ collectionAddress: Address$1;
1902
+ tokenId: TokenId;
1903
+ };
1904
+ type GetCountOfFilteredOrdersRequest$1 = Omit<GetCountOfFilteredOrdersRequest, 'chainId' | 'contractAddress'> & {
1905
+ chainId: ChainId;
1906
+ collectionAddress: Address$1;
1907
+ };
1908
+ type GetCountOfAllOrdersRequest$1 = Omit<GetCountOfAllOrdersRequest, 'chainId' | 'contractAddress'> & {
1909
+ chainId: ChainId;
1910
+ collectionAddress: Address$1;
1911
+ };
1912
+ type CheckoutOptionsSalesContractRequest$1 = Omit<CheckoutOptionsSalesContractRequest, 'chainId' | 'items'> & {
1913
+ chainId: ChainId;
1914
+ items: Array<CheckoutOptionsItem$1>;
1915
+ };
1916
+ type GetOrdersRequest$1 = Omit<GetOrdersRequest, 'chainId'> & {
1917
+ chainId: ChainId;
1918
+ };
1919
+ /**
1920
+ * Wrapped Marketplace Client
1921
+ *
1922
+ * Wraps the raw Marketplace client with methods that accept normalized types (number chainId).
1923
+ * Uses proxy utilities to automatically convert chainId from number to string for API calls.
1924
+ * Methods are created using wrapper functions to eliminate repetitive conversion code.
1925
+ */
1926
+ declare class MarketplaceClient {
1927
+ private client;
1928
+ queryKey: Marketplace$1['queryKey'];
1929
+ readonly generateListingTransaction: (req: GenerateListingTransactionRequest$1) => Promise<GenerateListingTransactionResponse$1>;
1930
+ readonly generateOfferTransaction: (req: GenerateOfferTransactionRequest$1) => Promise<GenerateOfferTransactionResponse$1>;
1931
+ readonly generateSellTransaction: (req: GenerateSellTransactionRequest$1) => Promise<GenerateSellTransactionResponse$1>;
1932
+ readonly generateCancelTransaction: (req: GenerateCancelTransactionRequest$1) => Promise<GenerateCancelTransactionResponse$1>;
1933
+ readonly generateBuyTransaction: (req: GenerateBuyTransactionRequest$1) => Promise<GenerateBuyTransactionResponse$1>;
1934
+ readonly getCollectionDetail: (req: GetCollectionDetailRequest$1) => Promise<GetCollectionDetailResponse>;
1935
+ readonly listCurrencies: (req: ListCurrenciesRequest$1) => Promise<ListCurrenciesResponse$1>;
1936
+ readonly getCollectionActiveListingsCurrencies: (req: GetCollectionActiveListingsCurrenciesRequest) => Promise<ListCurrenciesResponse$1>;
1937
+ readonly getCollectionActiveOffersCurrencies: (req: GetCollectionActiveOffersCurrenciesRequest) => Promise<ListCurrenciesResponse$1>;
1938
+ readonly getCollectible: (req: GetCollectibleRequest$1) => Promise<GetCollectibleResponse>;
1939
+ readonly getLowestPriceListingForCollectible: (req: GetLowestPriceListingForCollectibleRequest$1) => Promise<GetCollectibleLowestListingResponse$1>;
1940
+ readonly getHighestPriceOfferForCollectible: (req: GetHighestPriceOfferForCollectibleRequest$1) => Promise<GetCollectibleHighestOfferResponse$1>;
1941
+ readonly listListingsForCollectible: (req: ListListingsForCollectibleRequest$1) => Promise<ListCollectibleListingsResponse>;
1942
+ readonly listOffersForCollectible: (req: ListOffersForCollectibleRequest$1) => Promise<ListCollectibleOffersResponse>;
1943
+ readonly listOrdersWithCollectibles: (req: ListOrdersWithCollectiblesRequest$1) => Promise<ListOrdersWithCollectiblesResponse$1>;
1944
+ readonly getFloorOrder: (req: GetFloorOrderRequest$1) => Promise<GetFloorOrderResponse$1>;
1945
+ readonly getOrders: (req: GetOrdersRequest$1) => Promise<GetOrdersResponse$1>;
1946
+ readonly listCollectibles: (req: ListCollectiblesRequest$1) => Promise<ListCollectiblesResponse$1>;
1947
+ readonly listPrimarySaleItems: (req: ListPrimarySaleItemsRequest$1) => Promise<ListPrimarySaleItemsResponse$1>;
1948
+ readonly getPrimarySaleItem: (req: GetPrimarySaleItemRequest$1) => Promise<GetPrimarySaleItemResponse$1>;
1949
+ readonly getCountOfPrimarySaleItems: (req: GetCountOfPrimarySaleItemsRequest$1) => Promise<GetCountOfPrimarySaleItemsResponse>;
1950
+ readonly getCountOfFilteredCollectibles: (req: GetCountOfFilteredCollectiblesRequest$1) => Promise<GetCountOfFilteredCollectiblesResponse>;
1951
+ readonly getCountOfAllCollectibles: (req: GetCountOfAllCollectiblesRequest$1) => Promise<GetCountOfAllCollectiblesResponse>;
1952
+ readonly getCountOfListingsForCollectible: (req: GetCountOfListingsForCollectibleRequest$1) => Promise<GetCountOfListingsForCollectibleResponse>;
1953
+ readonly getCountOfOffersForCollectible: (req: GetCountOfOffersForCollectibleRequest$1) => Promise<GetCountOfOffersForCollectibleResponse>;
1954
+ readonly getCountOfFilteredOrders: (req: GetCountOfFilteredOrdersRequest$1) => Promise<GetCountOfFilteredOrdersResponse>;
1955
+ readonly getCountOfAllOrders: (req: GetCountOfAllOrdersRequest$1) => Promise<GetCountOfAllOrdersResponse>;
1956
+ readonly checkoutOptionsMarketplace: (req: CheckoutOptionsMarketplaceRequest$1) => Promise<CheckoutOptionsMarketplaceResponse>;
1957
+ readonly checkoutOptionsSalesContract: (req: CheckoutOptionsSalesContractRequest$1) => Promise<CheckoutOptionsSalesContractResponse>;
1958
+ readonly execute: (req: ExecuteRequest) => Promise<ExecuteResponse>;
1959
+ constructor(hostname: string, fetch: typeof globalThis.fetch);
1960
+ /**
1961
+ * Access the underlying raw client for any methods not wrapped
1962
+ */
1963
+ get raw(): Marketplace$1;
1964
+ }
1965
+ //#endregion
1966
+ //#region src/adapters/builder/types.d.ts
1967
+ type LookupMarketplaceArgs$1 = Omit<LookupMarketplaceArgs, 'projectId' | 'userAddress'> & {
1968
+ projectId?: ProjectId;
1969
+ userAddress?: Address$1;
1970
+ };
1971
+ type LookupMarketplaceReturn$1 = Omit<LookupMarketplaceReturn, 'marketplace' | 'marketCollections' | 'shopCollections'> & {
1972
+ marketplace: Marketplace$2;
1973
+ marketCollections: MarketCollection$1[];
1974
+ shopCollections: ShopCollection$1[];
1975
+ };
1976
+ type Marketplace$2 = Omit<Marketplace, 'projectId' | 'market' | 'shop'> & {
1977
+ projectId: ProjectId;
1978
+ market: MarketPage;
1979
+ shop: ShopPage;
1980
+ };
1981
+ type MarketplaceSettings$1 = Omit<MarketplaceSettings, 'style' | 'walletOptions'> & {
1982
+ style: Record<string, unknown>;
1983
+ walletOptions: MarketplaceWallet$1;
1984
+ };
1985
+ type MarketplacePage$1 = MarketplacePage;
1986
+ type MarketPage = MarketplacePage$1 & {
1987
+ collections: MarketCollection$1[];
1988
+ };
1989
+ type ShopPage = MarketplacePage$1 & {
1990
+ collections: ShopCollection$1[];
1991
+ };
1992
+ type MarketplaceSocials$1 = MarketplaceSocials;
1993
+ type MarketplaceWallet$1 = Omit<MarketplaceWallet, 'ecosystem' | 'embedded'> & {
1994
+ ecosystem?: MarketplaceWalletEcosystem$1;
1995
+ embedded?: MarketplaceWalletEmbedded$1;
1996
+ };
1997
+ type MarketplaceWalletEcosystem$1 = MarketplaceWalletEcosystem;
1998
+ type MarketplaceWalletEmbedded$1 = Omit<MarketplaceWalletEmbedded, 'providers'> & {
1999
+ providers: OpenIdProvider$1[];
2000
+ };
2001
+ type OpenIdProvider$1 = OpenIdProvider;
2002
+ type CollectionFilterSettings$1 = Omit<CollectionFilterSettings, 'exclusions'> & {
2003
+ exclusions: MetadataFilterRule$1[];
2004
+ };
2005
+ type MetadataFilterRule$1 = Omit<MetadataFilterRule, 'condition'> & {
2006
+ condition: FilterCondition;
2007
+ };
2008
+ type MarketCollection$1 = Omit<MarketCollection, 'projectId' | 'chainId' | 'itemsAddress' | 'contractType' | 'destinationMarketplace' | 'filterSettings'> & {
2009
+ marketplaceCollectionType: 'market';
2010
+ projectId: ProjectId;
2011
+ chainId: ChainId;
2012
+ itemsAddress: Address$1;
2013
+ contractType: ContractType;
2014
+ destinationMarketplace: OrderbookKind;
2015
+ filterSettings?: CollectionFilterSettings$1;
2016
+ };
2017
+ type ShopCollection$1 = Omit<ShopCollection, 'projectId' | 'chainId' | 'itemsAddress' | 'saleAddress' | 'tokenIds' | 'customTokenIds'> & {
2018
+ marketplaceCollectionType: 'shop';
2019
+ projectId: ProjectId;
2020
+ chainId: ChainId;
2021
+ itemsAddress: Address$1;
2022
+ saleAddress: Address$1;
2023
+ tokenIds: TokenId[];
2024
+ customTokenIds: TokenId[];
2025
+ };
2026
+ type MarketplaceCollection = MarketCollection$1 | ShopCollection$1;
2027
+ type MarketplaceService$1 = MarketplaceService;
2028
+ //#endregion
2029
+ //#region src/adapters/builder/transforms.d.ts
2030
+ declare function toLookupMarketplaceReturn(data: LookupMarketplaceReturn): LookupMarketplaceReturn$1;
2031
+ declare function toMarketCollection(data: MarketCollection): MarketCollection$1;
2032
+ declare function toShopCollection(data: ShopCollection): ShopCollection$1;
2033
+ declare function fromLookupMarketplaceReturn(data: LookupMarketplaceReturn$1): LookupMarketplaceReturn;
2034
+ declare function fromMarketCollection(data: MarketCollection$1): MarketCollection;
2035
+ declare function fromShopCollection(data: ShopCollection$1): ShopCollection;
2036
+ declare namespace index_d_exports {
2037
+ export { builder_gen_d_exports as BuilderAPI, CollectionFilterSettings$1 as CollectionFilterSettings, FilterCondition, LookupMarketplaceArgs$1 as LookupMarketplaceArgs, LookupMarketplaceReturn$1 as LookupMarketplaceReturn, MarketCollection$1 as MarketCollection, MarketPage, Marketplace$2 as Marketplace, MarketplaceCollection, MarketplacePage$1 as MarketplacePage, MarketplaceService$1 as MarketplaceService, MarketplaceSettings$1 as MarketplaceSettings, MarketplaceSocials$1 as MarketplaceSocials, MarketplaceWallet$1 as MarketplaceWallet, MarketplaceWalletEcosystem$1 as MarketplaceWalletEcosystem, MarketplaceWalletEmbedded$1 as MarketplaceWalletEmbedded, MarketplaceWalletType, MetadataFilterRule$1 as MetadataFilterRule, OpenIdProvider$1 as OpenIdProvider, ShopCollection$1 as ShopCollection, ShopPage, WebrpcBadMethodError, WebrpcBadRequestError, WebrpcBadResponseError, WebrpcBadRouteError, WebrpcClientDisconnectedError, WebrpcEndpointError, WebrpcError, WebrpcInternalErrorError, WebrpcRequestFailedError, WebrpcServerPanicError, WebrpcStreamFinishedError, WebrpcStreamLostError, fromLookupMarketplaceReturn, fromMarketCollection, fromShopCollection, toLookupMarketplaceReturn, toMarketCollection, toShopCollection };
2038
+ }
2039
+ //#endregion
2040
+ //#region src/adapters/indexer/client.d.ts
2041
+ /**
2042
+ * Wrapped Indexer Client
2043
+ *
2044
+ * Wraps the raw SequenceIndexer with methods that return normalized types.
2045
+ * Uses composition rather than inheritance to avoid type conflicts.
2046
+ */
2047
+ declare class IndexerClient {
2048
+ private client;
2049
+ constructor(hostname: string, projectAccessKey?: string, jwtAuth?: string);
2050
+ /**
2051
+ * Get token balances for an account with normalized types (bigint)
2052
+ * Accepts tokenId as bigint, transforms to tokenID string for API
2053
+ */
2054
+ getTokenBalances(args: GetTokenBalancesRequest): Promise<GetTokenBalancesResponse>;
2055
+ /**
2056
+ * Get token supplies for a contract with normalized types (bigint)
2057
+ */
2058
+ getTokenSupplies(args: GetTokenSuppliesRequest): Promise<GetTokenSuppliesResponse>;
2059
+ /**
2060
+ * Get token ID ranges for a contract with normalized types (bigint)
2061
+ */
2062
+ getTokenIDRanges(args: GetTokenIDRangesRequest): Promise<GetTokenIDRangesResponse>;
2063
+ /**
2064
+ * Get token balance details with normalized types (bigint)
2065
+ */
2066
+ getTokenBalancesDetails(args: IndexerGen.GetTokenBalancesDetailsArgs): Promise<GetTokenBalancesDetailsResponse>;
2067
+ /**
2068
+ * Get token balances by contract with normalized types (bigint)
2069
+ */
2070
+ getTokenBalancesByContract(args: IndexerGen.GetTokenBalancesByContractArgs): Promise<GetTokenBalancesByContractResponse>;
2071
+ /**
2072
+ * Get token balances for a user in a specific collection
2073
+ * Convenience method with user-friendly parameter names
2074
+ */
2075
+ getUserCollectionBalances(args: GetUserCollectionBalancesRequest): Promise<TokenBalance$1[]>;
2076
+ /**
2077
+ * Get native token balance with normalized types (bigint)
2078
+ */
2079
+ getNativeTokenBalance(args: IndexerGen.GetNativeTokenBalanceArgs): Promise<GetNativeTokenBalanceResponse>;
2080
+ /**
2081
+ * Fetch transaction receipt with normalized types (bigint)
2082
+ */
2083
+ fetchTransactionReceipt(args: {
2084
+ txnHash: string;
2085
+ maxBlockWait?: number;
2086
+ }): Promise<{
2087
+ receipt: TransactionReceipt$1;
2088
+ }>;
2089
+ /**
2090
+ * Access the underlying raw client for any methods not wrapped
2091
+ */
2092
+ get raw(): SequenceIndexer;
2093
+ }
2094
+ //#endregion
2095
+ //#region src/adapters/indexer/transforms.d.ts
2096
+ declare function toContractInfo$1(raw: IndexerGen.ContractInfo): ContractInfo$1$1 | undefined;
2097
+ declare function toTokenMetadata$1(raw: IndexerGen.TokenMetadata): TokenMetadata$1$1;
2098
+ declare function toNativeTokenBalance(raw: IndexerGen.NativeTokenBalance): NativeTokenBalance$1;
2099
+ declare function toTokenBalance(raw: IndexerGen.TokenBalance): TokenBalance$1;
2100
+ declare function toTokenSupply(raw: IndexerGen.TokenSupply, contractAddress?: Address$1): TokenSupply$1;
2101
+ declare function toTransactionReceipt(raw: IndexerGen.TransactionReceipt): TransactionReceipt$1;
2102
+ declare function toTokenIDRange(raw: IndexerGen.TokenIDRange): TokenIDRange$1;
2103
+ declare function toPage(raw: IndexerGen.Page | undefined): Page$1$1;
2104
+ declare function toGetTokenBalancesResponse(raw: IndexerGen.GetTokenBalancesReturn): GetTokenBalancesResponse;
2105
+ declare function toGetTokenSuppliesResponse(raw: IndexerGen.GetTokenSuppliesReturn, contractAddress: Address$1): GetTokenSuppliesResponse;
2106
+ declare function toGetTokenIDRangesResponse(raw: IndexerGen.GetTokenIDRangesReturn, contractAddress: Address$1): GetTokenIDRangesResponse;
2107
+ declare function toGetTokenBalancesDetailsResponse(raw: IndexerGen.GetTokenBalancesDetailsReturn): GetTokenBalancesDetailsResponse;
2108
+ declare function toGetTokenBalancesByContractResponse(raw: IndexerGen.GetTokenBalancesByContractReturn): GetTokenBalancesByContractResponse;
2109
+ declare function toGetNativeTokenBalanceResponse(raw: IndexerGen.GetNativeTokenBalanceReturn): GetNativeTokenBalanceResponse;
2110
+ declare function toGetTokenBalancesArgs(req: GetTokenBalancesRequest): IndexerGen.GetTokenBalancesArgs;
2111
+ declare function toGetTokenSuppliesArgs(req: GetTokenSuppliesRequest): IndexerGen.GetTokenSuppliesArgs;
2112
+ declare function toGetTokenIDRangesArgs(req: GetTokenIDRangesRequest): IndexerGen.GetTokenIDRangesArgs;
2113
+ declare function toGetUserCollectionBalancesArgs(req: GetUserCollectionBalancesRequest): IndexerGen.GetTokenBalancesByContractArgs;
2114
+ declare namespace index_d_exports$1 {
2115
+ export { ContractInfo$1$1 as ContractInfo, ContractInfoExtensions$1$1 as ContractInfoExtensions, ContractType, GetBalanceOfCollectibleRequest, GetNativeTokenBalanceResponse, GetTokenBalancesByContractRequest, GetTokenBalancesByContractResponse, GetTokenBalancesDetailsRequest, GetTokenBalancesDetailsResponse, GetTokenBalancesRequest, GetTokenBalancesResponse, GetTokenBalancesSdkRequest, GetTokenIDRangesRequest, GetTokenIDRangesResponse, GetTokenSuppliesRequest, GetTokenSuppliesResponse, GetUserCollectionBalancesRequest, IndexerGen as IndexerAPI, IndexerClient, MetadataOptions$1 as MetadataOptions, NativeTokenBalance$1 as NativeTokenBalance, Page$1$1 as Page, ResourceStatus, TokenBalance$1 as TokenBalance, TokenBalancesByContractFilter$1 as TokenBalancesByContractFilter, TokenBalancesFilter$1 as TokenBalancesFilter, TokenIDRange$1 as TokenIDRange, TokenMetadata$1$1 as TokenMetadata, TokenSupply$1 as TokenSupply, TransactionLog$1 as TransactionLog, TransactionReceipt$1 as TransactionReceipt, TransactionStatus, TransactionType, toContractInfo$1 as toContractInfo, toGetNativeTokenBalanceResponse, toGetTokenBalancesArgs, toGetTokenBalancesByContractResponse, toGetTokenBalancesDetailsResponse, toGetTokenBalancesResponse, toGetTokenIDRangesArgs, toGetTokenIDRangesResponse, toGetTokenSuppliesArgs, toGetTokenSuppliesResponse, toGetUserCollectionBalancesArgs, toNativeTokenBalance, toPage, toTokenBalance, toTokenIDRange, toTokenMetadata$1 as toTokenMetadata, toTokenSupply, toTransactionReceipt };
2116
+ }
2117
+ //#endregion
2118
+ //#region src/adapters/metadata/client.d.ts
2119
+ /**
2120
+ * Wrapped Metadata Client
2121
+ *
2122
+ * This client accepts SDK-friendly types (number for chainId, bigint for tokenId)
2123
+ * and handles conversion to/from the raw API types internally.
2124
+ */
2125
+ declare class MetadataClient {
2126
+ private client;
2127
+ constructor(hostname: string, projectAccessKey?: string, jwtAuth?: string);
2128
+ /**
2129
+ * Get contract info
2130
+ * Accepts normalized types (chainId: number)
2131
+ */
2132
+ getContractInfo(args: GetContractInfoArgs$1): Promise<GetContractInfoReturn$1>;
2133
+ /**
2134
+ * Get contract info batch
2135
+ * Accepts normalized types (chainId: number)
2136
+ */
2137
+ getContractInfoBatch(args: GetContractInfoBatchArgs$1): Promise<GetContractInfoBatchReturn$1>;
2138
+ /**
2139
+ * Get token metadata
2140
+ * Accepts normalized types (chainId: number, tokenIds: bigint[])
2141
+ */
2142
+ getTokenMetadata(args: GetTokenMetadataArgs$1): Promise<GetTokenMetadataReturn$1>;
2143
+ /**
2144
+ * Get token metadata batch
2145
+ * Accepts normalized types (chainId: number, tokenIds: bigint[])
2146
+ */
2147
+ getTokenMetadataBatch(args: GetTokenMetadataBatchArgs$1): Promise<GetTokenMetadataBatchReturn$1>;
2148
+ /**
2149
+ * Refresh token metadata
2150
+ * Accepts normalized types (chainId: number, tokenIds: bigint[])
2151
+ */
2152
+ refreshTokenMetadata(args: RefreshTokenMetadataArgs$1): Promise<RefreshTokenMetadataReturn$1>;
2153
+ /**
2154
+ * Search token metadata
2155
+ * Accepts normalized types (chainId: number)
2156
+ */
2157
+ searchTokenMetadata(args: SearchTokenMetadataArgs$1): Promise<SearchTokenMetadataReturn$1>;
2158
+ /**
2159
+ * Get token metadata property filters
2160
+ * Accepts normalized types (chainId: number)
2161
+ */
2162
+ getTokenMetadataPropertyFilters(args: GetTokenMetadataPropertyFiltersArgs$1): Promise<GetTokenMetadataPropertyFiltersReturn$1>;
2163
+ /**
2164
+ * Access the underlying raw client if needed
2165
+ * (for advanced use cases or methods not yet wrapped)
2166
+ */
2167
+ get raw(): SequenceMetadata;
2168
+ }
2169
+ //#endregion
2170
+ //#region src/adapters/metadata/transforms.d.ts
2171
+
2172
+ //#endregion
2173
+ export { PrimarySaleItem$1 as $, GetCollectionActiveOffersCurrenciesRequest as $t, ListCollectibleOffersResponse as A, MetadataOptions$1 as At, ListPrimarySaleItemsRequest$1 as B, AdditionalFee as Bt, GetHighestPriceOfferForCollectibleRequest$1 as C, TransactionOnRampProvider as Cn, GetTokenBalancesResponse as Ct, GetPrimarySaleItemResponse$1 as D, GetTokenSuppliesRequest as Dt, GetPrimarySaleItemRequest$1 as E, MarketplaceWalletType as En, GetTokenIDRangesResponse as Et, ListListingsForCollectibleResponse$1 as F, Address$1 as Ft, MarketplaceClient as G, CollectiblesFilter as Gt, LookupMarketplaceReturn$1 as H, CheckoutOptions as Ht, ListOffersForCollectibleRequest$1 as I, ChainId as It, MarketplaceWallet$1 as J, CurrencyStatus as Jt, MarketplaceCollection as K, Collection as Kt, ListOffersForCollectibleResponse$1 as L, Hash$1 as Lt, ListCollectiblesResponse$1 as M, TokenBalance$1 as Mt, ListCurrenciesRequest$1 as N, TokenBalancesFilter$1 as Nt, IndexerClient as O, GetTokenSuppliesResponse as Ot, ListListingsForCollectibleRequest$1 as P, TokenMetadata$1$1 as Pt, OrderData$1 as Q, GetCollectionActiveListingsCurrenciesRequest as Qt, ListOrdersWithCollectiblesRequest$1 as R, ProjectId as Rt, GetFloorOrderRequest$1 as S, TransactionCrypto as Sn, GetTokenBalancesDetailsResponse as St, GetPrimarySaleCheckoutOptionsRequest as T, FilterCondition as Tn, GetTokenIDRangesRequest as Tt, MarketCollection$1 as U, CheckoutOptionsSalesContractResponse as Ut, ListPrimarySaleItemsResponse$1 as V, Asset$1 as Vt, MarketPage as W, Collectible as Wt, OpenIdProvider$1 as X, GetCollectibleHighestOfferRequest as Xt, MetadataClient as Y, ExecuteType as Yt, Order$1 as Z, GetCollectibleHighestOfferResponse as Zt, GetCountOfFilteredCollectiblesRequest$1 as _, PropertyType as _n, SearchTokenMetadataReturn$1 as _t, CollectiblePrimarySaleItem$1 as a, MetadataStatus as an, TransactionStep as at, GetCountOfOffersForCollectibleRequest$1 as b, StepType as bn, GetBalanceOfCollectibleRequest as bt, CreateReq$1 as c, OrderSide as cn, isSignatureStep as ct, GenerateListingTransactionRequest$1 as d, OrdersFilter as dn, ContractInfoExtensions$1$2 as dt, GetCountOfListingsForCollectibleResponse as en, ShopCollection$1 as et, GenerateOfferTransactionRequest$1 as f, Page$2 as fn, Filter as ft, GetCountOfAllOrdersRequest$1 as g, PropertyFilter as gn, GetTokenMetadataSdkArgs as gt, GetCountOfAllCollectiblesRequest$1 as h, PrimarySaleItemsFilter as hn, GetSingleTokenMetadataArgs as ht, CollectibleOrder$1 as i, MarketplaceKind as in, Step$1 as it, ListCollectiblesRequest$1 as j, Page$1$1 as jt, ListCollectibleListingsResponse as k, GetUserCollectionBalancesRequest as kt, Currency$1 as l, OrderStatus as ln, isTransactionStep as lt, GetCollectionDetailRequest$1 as m, PriceFilter as mn, GetFiltersArgs as mt, CheckoutOptionsItem$1 as n, GetCountOfPrimarySaleItemsResponse as nn, Signature$1 as nt, CollectionFilterSettings$1 as o, OfferType as on, index_d_exports as ot, GenerateSellTransactionRequest$1 as p, PostRequest as pn, GetContractInfoSdkArgs as pt, MarketplaceSettings$1 as q, CollectionStatus as qt, CheckoutOptionsMarketplaceRequest$1 as r, ListCollectibleListingsRequest as rn, SignatureStep as rt, ContractType$2 as s, OrderFilter as sn, index_d_exports$1 as st, ApprovalStep as t, GetCountOfOffersForCollectibleResponse as tn, ShopPage as tt, GenerateCancelTransactionRequest$1 as u, OrderbookKind as un, ContractInfo$1$2 as ut, GetCountOfFilteredOrdersRequest$1 as v, SortBy as vn, SearchTokenMetadataSdkArgs as vt, GetLowestPriceListingForCollectibleRequest$1 as w, WalletKind as wn, GetTokenBalancesSdkRequest as wt, GetCountOfPrimarySaleItemsRequest$1 as x, TokenMetadata$2 as xn, GetTokenBalancesDetailsRequest as xt, GetCountOfListingsForCollectibleRequest$1 as y, SortOrder as yn, TokenMetadata$1$2 as yt, ListOrdersWithCollectiblesResponse$1 as z, TokenId as zt };
7
2174
  //# sourceMappingURL=index2.d.ts.map