@b3dotfun/sdk 0.0.1-alpha.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.
- package/README.md +345 -0
- package/constants/chains/b3Chain.js +2 -0
- package/dist/cjs/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/cjs/anyspend/abis/abi-usdc-base.js +602 -0
- package/dist/cjs/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/cjs/anyspend/abis/erc20-staking.js +301 -0
- package/dist/cjs/anyspend/constants/index.d.ts +28 -0
- package/dist/cjs/anyspend/constants/index.js +72 -0
- package/dist/cjs/anyspend/index.d.ts +13 -0
- package/dist/cjs/anyspend/index.js +35 -0
- package/dist/cjs/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/cjs/anyspend/react/components/AnySpend.js +700 -0
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +333 -0
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +399 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +31 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.js +19 -0
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +269 -0
- package/dist/cjs/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +21 -0
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/cjs/anyspend/react/components/common/HowItWorks.js +7 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetails.js +391 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistory.js +24 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistoryItem.js +38 -0
- package/dist/cjs/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/cjs/anyspend/react/components/common/OrderStatus.js +14 -0
- package/dist/cjs/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/cjs/anyspend/react/components/common/OrderToken.js +59 -0
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.js +50 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +46 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +124 -0
- package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.js +15 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOneClick.js +27 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOptions.js +7 -0
- package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.js +153 -0
- package/dist/cjs/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/PaymentVendorUI.js +23 -0
- package/dist/cjs/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/cjs/anyspend/react/components/common/TokenBalance.js +21 -0
- package/dist/cjs/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/EthIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/SolIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/USDCIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.js +21 -0
- package/dist/cjs/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/cjs/anyspend/react/hooks/index.js +29 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +83 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +68 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +37 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.js +20 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.js +52 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.js +39 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.js +18 -0
- package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.js +19 -0
- package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.js +53 -0
- package/dist/cjs/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/cjs/anyspend/react/hooks/useGetGeo.js +15 -0
- package/dist/cjs/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/cjs/anyspend/react/hooks/usePermitData.js +158 -0
- package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.js +18 -0
- package/dist/cjs/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/cjs/anyspend/react/hooks/useStripeSupport.js +20 -0
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.js +42 -0
- package/dist/cjs/anyspend/services/anyspend.d.ts +372 -0
- package/dist/cjs/anyspend/services/anyspend.js +126 -0
- package/dist/cjs/anyspend/types/chain.d.ts +26 -0
- package/dist/cjs/anyspend/types/chain.js +8 -0
- package/dist/cjs/anyspend/types/custom.d.ts +130 -0
- package/dist/cjs/anyspend/types/custom.js +19 -0
- package/dist/cjs/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/cjs/anyspend/types/globalWallet.js +10 -0
- package/dist/cjs/anyspend/types/index.d.ts +13 -0
- package/dist/cjs/anyspend/types/index.js +29 -0
- package/dist/cjs/anyspend/types/nft.d.ts +267 -0
- package/dist/cjs/anyspend/types/nft.js +36 -0
- package/dist/cjs/anyspend/types/onramp.d.ts +25 -0
- package/dist/cjs/anyspend/types/onramp.js +17 -0
- package/dist/cjs/anyspend/types/order.d.ts +1771 -0
- package/dist/cjs/anyspend/types/order.js +85 -0
- package/dist/cjs/anyspend/types/permit.d.ts +21 -0
- package/dist/cjs/anyspend/types/permit.js +11 -0
- package/dist/cjs/anyspend/types/relay.d.ts +10 -0
- package/dist/cjs/anyspend/types/relay.js +12 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.js +60 -0
- package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.js +31 -0
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.js +23 -0
- package/dist/cjs/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/cjs/anyspend/types/req-res/getOrderByCreator.js +11 -0
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +11 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.js +46 -0
- package/dist/cjs/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/cjs/anyspend/types/req-res/getTokenList.js +18 -0
- package/dist/cjs/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/cjs/anyspend/types/req-res/index.js +24 -0
- package/dist/cjs/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/cjs/anyspend/types/req-res/sendPermitData.js +11 -0
- package/dist/cjs/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/cjs/anyspend/types/req-res/stripe.js +1 -0
- package/dist/cjs/anyspend/types/swap.d.ts +119 -0
- package/dist/cjs/anyspend/types/swap.js +13 -0
- package/dist/cjs/anyspend/types/token.d.ts +34 -0
- package/dist/cjs/anyspend/types/token.js +14 -0
- package/dist/cjs/anyspend/types/tournament.d.ts +174 -0
- package/dist/cjs/anyspend/types/tournament.js +24 -0
- package/dist/cjs/anyspend/types/transaction.d.ts +84 -0
- package/dist/cjs/anyspend/types/transaction.js +34 -0
- package/dist/cjs/anyspend/utils/address.d.ts +4 -0
- package/dist/cjs/anyspend/utils/address.js +29 -0
- package/dist/cjs/anyspend/utils/chain.d.ts +25 -0
- package/dist/cjs/anyspend/utils/chain.js +294 -0
- package/dist/cjs/anyspend/utils/format.d.ts +6 -0
- package/dist/cjs/anyspend/utils/format.js +59 -0
- package/dist/cjs/anyspend/utils/index.d.ts +8 -0
- package/dist/cjs/anyspend/utils/index.js +24 -0
- package/dist/cjs/anyspend/utils/json.d.ts +1 -0
- package/dist/cjs/anyspend/utils/json.js +6 -0
- package/dist/cjs/anyspend/utils/number.d.ts +13 -0
- package/dist/cjs/anyspend/utils/number.js +90 -0
- package/dist/cjs/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/cjs/anyspend/utils/orderPayload.js +56 -0
- package/dist/cjs/anyspend/utils/string.d.ts +1 -0
- package/dist/cjs/anyspend/utils/string.js +9 -0
- package/dist/cjs/anyspend/utils/token.d.ts +7 -0
- package/dist/cjs/anyspend/utils/token.js +73 -0
- package/dist/cjs/generated/chain-networks.json +483 -0
- package/dist/cjs/global-account/app.d.ts +4 -0
- package/dist/cjs/global-account/app.js +65 -0
- package/dist/cjs/global-account/app.native.d.ts +5 -0
- package/dist/cjs/global-account/app.native.js +90 -0
- package/dist/cjs/global-account/bsmnt.d.ts +4 -0
- package/dist/cjs/global-account/bsmnt.js +69 -0
- package/dist/cjs/global-account/bsmnt.native.d.ts +5 -0
- package/dist/cjs/global-account/bsmnt.native.js +93 -0
- package/dist/cjs/global-account/index.d.ts +9 -0
- package/dist/cjs/global-account/index.js +27 -0
- package/dist/cjs/global-account/index.native.d.ts +3 -0
- package/dist/cjs/global-account/index.native.js +18 -0
- package/dist/cjs/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/cjs/global-account/react/components/AccountAssets/AccountAssets.js +13 -0
- package/dist/cjs/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/cjs/global-account/react/components/B3DynamicModal.js +92 -0
- package/dist/cjs/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/cjs/global-account/react/components/B3Provider.js +118 -0
- package/dist/cjs/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/cjs/global-account/react/components/B3Provider.native.js +76 -0
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +85 -0
- package/dist/cjs/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/cjs/global-account/react/components/MintButton/MintButton.js +51 -0
- package/dist/cjs/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/cjs/global-account/react/components/ProfileAvatar.js +127 -0
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.js +29 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.js +83 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +26 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +45 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +203 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +51 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.js +9 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/PermissionItem.js +8 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.js +9 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.js +89 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +76 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +56 -0
- package/dist/cjs/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/cjs/global-account/react/components/StyleRoot.js +10 -0
- package/dist/cjs/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/cjs/global-account/react/components/Transak/TransakModal.js +113 -0
- package/dist/cjs/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/cjs/global-account/react/components/custom/Button.js +36 -0
- package/dist/cjs/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/cjs/global-account/react/components/custom/ClientOnly.js +13 -0
- package/dist/cjs/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/cjs/global-account/react/components/custom/CopyToClipboard.js +21 -0
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.js +24 -0
- package/dist/cjs/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/cjs/global-account/react/components/custom/WalletConnectorIcon.js +27 -0
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.js +93 -0
- package/dist/cjs/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/cjs/global-account/react/components/ui/Loading.js +18 -0
- package/dist/cjs/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/cjs/global-account/react/components/ui/ShinyButton.js +29 -0
- package/dist/cjs/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/cjs/global-account/react/components/ui/TabSystem.js +86 -0
- package/dist/cjs/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/cjs/global-account/react/components/ui/Tabs.js +53 -0
- package/dist/cjs/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/cjs/global-account/react/components/ui/badge.js +24 -0
- package/dist/cjs/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ui/button.js +72 -0
- package/dist/cjs/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/cjs/global-account/react/components/ui/command.js +74 -0
- package/dist/cjs/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/cjs/global-account/react/components/ui/dialog.js +71 -0
- package/dist/cjs/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/cjs/global-account/react/components/ui/drawer.js +71 -0
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.js +146 -0
- package/dist/cjs/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/cjs/global-account/react/components/ui/glare-card.js +108 -0
- package/dist/cjs/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/cjs/global-account/react/components/ui/input.js +46 -0
- package/dist/cjs/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/cjs/global-account/react/components/ui/popover.js +52 -0
- package/dist/cjs/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/cjs/global-account/react/components/ui/scroll-area.js +47 -0
- package/dist/cjs/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/cjs/global-account/react/components/ui/skeleton.js +8 -0
- package/dist/cjs/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ui/text-loop.js +29 -0
- package/dist/cjs/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/cjs/global-account/react/components/ui/text-shimmer.js +22 -0
- package/dist/cjs/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/cjs/global-account/react/components/ui/tooltip.js +50 -0
- package/dist/cjs/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/cjs/global-account/react/components/ui/transition-panel.js +10 -0
- package/dist/cjs/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/cjs/global-account/react/hooks/useAccountAssets.js +35 -0
- package/dist/cjs/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/cjs/global-account/react/hooks/useAccountWallet.js +70 -0
- package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.js +56 -0
- package/dist/cjs/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/cjs/global-account/react/hooks/useAuthentication.js +123 -0
- package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.js +70 -0
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.js +150 -0
- package/dist/cjs/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/cjs/global-account/react/hooks/useBsmntProfile.js +13 -0
- package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.js +73 -0
- package/dist/cjs/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/cjs/global-account/react/hooks/useClaim.js +50 -0
- package/dist/cjs/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/cjs/global-account/react/hooks/useConnect.js +52 -0
- package/dist/cjs/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/cjs/global-account/react/hooks/useExchangeRate.js +30 -0
- package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.js +77 -0
- package/dist/cjs/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useGetGeo.js +20 -0
- package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.js +69 -0
- package/dist/cjs/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/cjs/global-account/react/hooks/useHasMounted.js +11 -0
- package/dist/cjs/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useIsMobile.js +8 -0
- package/dist/cjs/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useIsomorphicLayoutEffect.js +5 -0
- package/dist/cjs/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/cjs/global-account/react/hooks/useMediaQuery.js +47 -0
- package/dist/cjs/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/cjs/global-account/react/hooks/useNativeBalance.js +76 -0
- package/dist/cjs/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/cjs/global-account/react/hooks/useOnchainName.js +193 -0
- package/dist/cjs/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/cjs/global-account/react/hooks/useOneBalance.js +69 -0
- package/dist/cjs/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/cjs/global-account/react/hooks/useQueryB3.js +40 -0
- package/dist/cjs/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/cjs/global-account/react/hooks/useQueryBSMNT.js +40 -0
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.js +49 -0
- package/dist/cjs/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/cjs/global-account/react/hooks/useRouter.js +78 -0
- package/dist/cjs/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useSearchParamsSSR.js +31 -0
- package/dist/cjs/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/cjs/global-account/react/hooks/useSiwe.js +38 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalance.js +64 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.js +58 -0
- package/dist/cjs/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/cjs/global-account/react/hooks/useTokenData.js +47 -0
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +30 -0
- package/dist/cjs/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useTokenPrice.js +48 -0
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.js +34 -0
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.js +51 -0
- package/dist/cjs/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/cjs/global-account/react/hooks/useURLParams.js +38 -0
- package/dist/cjs/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/cjs/global-account/react/stores/useAuthStore.js +39 -0
- package/dist/cjs/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/cjs/global-account/react/stores/useModalStore.js +36 -0
- package/dist/cjs/global-account/server.d.ts +8 -0
- package/dist/cjs/global-account/server.js +26 -0
- package/dist/cjs/global-account/types/b3-api.d.ts +3 -0
- package/dist/cjs/global-account/types/b3-api.js +41 -0
- package/dist/cjs/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/cjs/global-account/types/b3-api.types.js +4 -0
- package/dist/cjs/global-account/types/chain-networks.d.ts +44 -0
- package/dist/cjs/global-account/types/chain-networks.js +48 -0
- package/dist/cjs/global-account/types/feature-flags.d.ts +8 -0
- package/dist/cjs/global-account/types/feature-flags.js +10 -0
- package/dist/cjs/global-account/types/permissions.d.ts +21 -0
- package/dist/cjs/global-account/types/permissions.js +2 -0
- package/dist/cjs/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/cjs/global-account/types/reservoir.types.js +2 -0
- package/dist/cjs/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/cjs/global-account/types/simplehash.types.js +2 -0
- package/dist/cjs/global-account/types.d.ts +19 -0
- package/dist/cjs/global-account/types.js +2 -0
- package/dist/cjs/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/cjs/shared/constants/chains/b3Chain.js +167 -0
- package/dist/cjs/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/cjs/shared/constants/chains/chainPlatformMap.js +47 -0
- package/dist/cjs/shared/constants/chains/supported.d.ts +53 -0
- package/dist/cjs/shared/constants/chains/supported.js +31 -0
- package/dist/cjs/shared/constants/index.d.ts +15 -0
- package/dist/cjs/shared/constants/index.js +21 -0
- package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.js +1355 -0
- package/dist/cjs/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/cjs/shared/thirdweb/generated/client.gen.js +6 -0
- package/dist/cjs/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/cjs/shared/thirdweb/generated/index.js +19 -0
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.js +1037 -0
- package/dist/cjs/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/cjs/shared/thirdweb/generated/types.gen.js +3 -0
- package/dist/cjs/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/cjs/shared/thirdweb/initiateClient.js +27 -0
- package/dist/cjs/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/cjs/shared/thirdweb/openapi-ts.config.js +8 -0
- package/dist/cjs/shared/utils/b3Ens.d.ts +5 -0
- package/dist/cjs/shared/utils/b3Ens.js +27 -0
- package/dist/cjs/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/cjs/shared/utils/centerTruncate.js +14 -0
- package/dist/cjs/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/cjs/shared/utils/chain-transformers.js +50 -0
- package/dist/cjs/shared/utils/chains.d.ts +6 -0
- package/dist/cjs/shared/utils/chains.js +38 -0
- package/dist/cjs/shared/utils/cn.d.ts +2 -0
- package/dist/cjs/shared/utils/cn.js +8 -0
- package/dist/cjs/shared/utils/colors.d.ts +2 -0
- package/dist/cjs/shared/utils/colors.js +33 -0
- package/dist/cjs/shared/utils/cookies.d.ts +3 -0
- package/dist/cjs/shared/utils/cookies.js +17 -0
- package/dist/cjs/shared/utils/debug.d.ts +4 -0
- package/dist/cjs/shared/utils/debug.js +20 -0
- package/dist/cjs/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/cjs/shared/utils/fetchBalances.js +64 -0
- package/dist/cjs/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/cjs/shared/utils/fetchBsmntProfile.js +26 -0
- package/dist/cjs/shared/utils/formatAddress.d.ts +2 -0
- package/dist/cjs/shared/utils/formatAddress.js +19 -0
- package/dist/cjs/shared/utils/formatNumber.d.ts +7 -0
- package/dist/cjs/shared/utils/formatNumber.js +49 -0
- package/dist/cjs/shared/utils/index.d.ts +2 -0
- package/dist/cjs/shared/utils/index.js +23 -0
- package/dist/cjs/shared/utils/insights.d.ts +7 -0
- package/dist/cjs/shared/utils/insights.js +388 -0
- package/dist/cjs/shared/utils/ipfs.d.ts +12 -0
- package/dist/cjs/shared/utils/ipfs.js +32 -0
- package/dist/cjs/shared/utils/number.d.ts +11 -0
- package/dist/cjs/shared/utils/number.js +110 -0
- package/dist/cjs/shared/utils/payment.utils.d.ts +5 -0
- package/dist/cjs/shared/utils/payment.utils.js +36 -0
- package/dist/cjs/shared/utils/simplehash.d.ts +12 -0
- package/dist/cjs/shared/utils/simplehash.js +308 -0
- package/dist/cjs/shared/utils/sprinter.d.ts +1 -0
- package/dist/cjs/shared/utils/sprinter.js +15 -0
- package/dist/cjs/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/cjs/shared/utils/thirdweb-insights.js +200 -0
- package/dist/cjs/shared/utils/thirdweb.d.ts +1 -0
- package/dist/cjs/shared/utils/thirdweb.js +11 -0
- package/dist/cjs/styles/index.d.ts +20 -0
- package/dist/cjs/styles/index.js +22 -0
- package/dist/esm/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/esm/anyspend/abis/abi-usdc-base.js +599 -0
- package/dist/esm/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/esm/anyspend/abis/erc20-staking.js +298 -0
- package/dist/esm/anyspend/constants/index.d.ts +28 -0
- package/dist/esm/anyspend/constants/index.js +69 -0
- package/dist/esm/anyspend/index.d.ts +13 -0
- package/dist/esm/anyspend/index.js +19 -0
- package/dist/esm/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/esm/anyspend/react/components/AnySpend.js +693 -0
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +327 -0
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +393 -0
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +25 -0
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.js +16 -0
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +263 -0
- package/dist/esm/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +15 -0
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.js +4 -0
- package/dist/esm/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/esm/anyspend/react/components/common/HowItWorks.js +4 -0
- package/dist/esm/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/esm/anyspend/react/components/common/OrderDetails.js +385 -0
- package/dist/esm/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/esm/anyspend/react/components/common/OrderHistory.js +18 -0
- package/dist/esm/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/OrderHistoryItem.js +32 -0
- package/dist/esm/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/esm/anyspend/react/components/common/OrderStatus.js +11 -0
- package/dist/esm/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/esm/anyspend/react/components/common/OrderToken.js +56 -0
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.js +47 -0
- package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/esm/anyspend/react/components/common/PanelOnramp.js +40 -0
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +118 -0
- package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.js +12 -0
- package/dist/esm/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/esm/anyspend/react/components/common/PaymentOneClick.js +21 -0
- package/dist/esm/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/esm/anyspend/react/components/common/PaymentOptions.js +4 -0
- package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.js +147 -0
- package/dist/esm/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/PaymentVendorUI.js +17 -0
- package/dist/esm/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/esm/anyspend/react/components/common/TokenBalance.js +18 -0
- package/dist/esm/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/EthIcon.js +4 -0
- package/dist/esm/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/SolIcon.js +4 -0
- package/dist/esm/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/USDCIcon.js +4 -0
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.js +15 -0
- package/dist/esm/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/esm/anyspend/react/hooks/index.js +13 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +80 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +65 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +31 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.js +17 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendQuote.js +49 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.js +36 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendTokens.js +15 -0
- package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.js +16 -0
- package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.js +50 -0
- package/dist/esm/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/esm/anyspend/react/hooks/useGetGeo.js +12 -0
- package/dist/esm/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/esm/anyspend/react/hooks/usePermitData.js +154 -0
- package/dist/esm/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/esm/anyspend/react/hooks/useStripeClientSecret.js +15 -0
- package/dist/esm/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/esm/anyspend/react/hooks/useStripeSupport.js +17 -0
- package/dist/esm/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/esm/anyspend/react/providers/AnyspendProvider.js +38 -0
- package/dist/esm/anyspend/services/anyspend.d.ts +372 -0
- package/dist/esm/anyspend/services/anyspend.js +120 -0
- package/dist/esm/anyspend/types/chain.d.ts +26 -0
- package/dist/esm/anyspend/types/chain.js +5 -0
- package/dist/esm/anyspend/types/custom.d.ts +130 -0
- package/dist/esm/anyspend/types/custom.js +13 -0
- package/dist/esm/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/esm/anyspend/types/globalWallet.js +7 -0
- package/dist/esm/anyspend/types/index.d.ts +13 -0
- package/dist/esm/anyspend/types/index.js +13 -0
- package/dist/esm/anyspend/types/nft.d.ts +267 -0
- package/dist/esm/anyspend/types/nft.js +33 -0
- package/dist/esm/anyspend/types/onramp.d.ts +25 -0
- package/dist/esm/anyspend/types/onramp.js +14 -0
- package/dist/esm/anyspend/types/order.d.ts +1771 -0
- package/dist/esm/anyspend/types/order.js +82 -0
- package/dist/esm/anyspend/types/permit.d.ts +21 -0
- package/dist/esm/anyspend/types/permit.js +8 -0
- package/dist/esm/anyspend/types/relay.d.ts +10 -0
- package/dist/esm/anyspend/types/relay.js +9 -0
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/esm/anyspend/types/req-res/createOrder.js +57 -0
- package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.js +28 -0
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.js +20 -0
- package/dist/esm/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/esm/anyspend/types/req-res/getOrderByCreator.js +8 -0
- package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/esm/anyspend/types/req-res/getOrderHistory.js +8 -0
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/esm/anyspend/types/req-res/getQuote.js +43 -0
- package/dist/esm/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/esm/anyspend/types/req-res/getTokenList.js +15 -0
- package/dist/esm/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/esm/anyspend/types/req-res/index.js +8 -0
- package/dist/esm/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/esm/anyspend/types/req-res/sendPermitData.js +8 -0
- package/dist/esm/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/esm/anyspend/types/req-res/stripe.js +1 -0
- package/dist/esm/anyspend/types/swap.d.ts +119 -0
- package/dist/esm/anyspend/types/swap.js +10 -0
- package/dist/esm/anyspend/types/token.d.ts +34 -0
- package/dist/esm/anyspend/types/token.js +11 -0
- package/dist/esm/anyspend/types/tournament.d.ts +174 -0
- package/dist/esm/anyspend/types/tournament.js +21 -0
- package/dist/esm/anyspend/types/transaction.d.ts +84 -0
- package/dist/esm/anyspend/types/transaction.js +31 -0
- package/dist/esm/anyspend/utils/address.d.ts +4 -0
- package/dist/esm/anyspend/utils/address.js +23 -0
- package/dist/esm/anyspend/utils/chain.d.ts +25 -0
- package/dist/esm/anyspend/utils/chain.js +271 -0
- package/dist/esm/anyspend/utils/format.d.ts +6 -0
- package/dist/esm/anyspend/utils/format.js +54 -0
- package/dist/esm/anyspend/utils/index.d.ts +8 -0
- package/dist/esm/anyspend/utils/index.js +8 -0
- package/dist/esm/anyspend/utils/json.d.ts +1 -0
- package/dist/esm/anyspend/utils/json.js +3 -0
- package/dist/esm/anyspend/utils/number.d.ts +13 -0
- package/dist/esm/anyspend/utils/number.js +79 -0
- package/dist/esm/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/esm/anyspend/utils/orderPayload.js +51 -0
- package/dist/esm/anyspend/utils/string.d.ts +1 -0
- package/dist/esm/anyspend/utils/string.js +5 -0
- package/dist/esm/anyspend/utils/token.d.ts +7 -0
- package/dist/esm/anyspend/utils/token.js +65 -0
- package/dist/esm/generated/chain-networks.json +483 -0
- package/dist/esm/global-account/app.d.ts +4 -0
- package/dist/esm/global-account/app.js +57 -0
- package/dist/esm/global-account/app.native.d.ts +5 -0
- package/dist/esm/global-account/app.native.js +83 -0
- package/dist/esm/global-account/bsmnt.d.ts +4 -0
- package/dist/esm/global-account/bsmnt.js +61 -0
- package/dist/esm/global-account/bsmnt.native.d.ts +5 -0
- package/dist/esm/global-account/bsmnt.native.js +86 -0
- package/dist/esm/global-account/index.d.ts +9 -0
- package/dist/esm/global-account/index.js +11 -0
- package/dist/esm/global-account/index.native.d.ts +3 -0
- package/dist/esm/global-account/index.native.js +11 -0
- package/dist/esm/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/esm/global-account/react/components/AccountAssets/AccountAssets.js +10 -0
- package/dist/esm/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/esm/global-account/react/components/B3DynamicModal.js +86 -0
- package/dist/esm/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/esm/global-account/react/components/B3Provider.js +109 -0
- package/dist/esm/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/esm/global-account/react/components/B3Provider.native.js +70 -0
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +79 -0
- package/dist/esm/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/esm/global-account/react/components/MintButton/MintButton.js +48 -0
- package/dist/esm/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/esm/global-account/react/components/ProfileAvatar.js +127 -0
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.js +26 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.js +77 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +23 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +39 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +200 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +45 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.js +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/PermissionItem.js +5 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.js +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.js +82 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +70 -0
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +50 -0
- package/dist/esm/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/esm/global-account/react/components/StyleRoot.js +7 -0
- package/dist/esm/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/esm/global-account/react/components/Transak/TransakModal.js +107 -0
- package/dist/esm/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/esm/global-account/react/components/custom/Button.js +32 -0
- package/dist/esm/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/esm/global-account/react/components/custom/ClientOnly.js +10 -0
- package/dist/esm/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/esm/global-account/react/components/custom/CopyToClipboard.js +18 -0
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.js +21 -0
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.js +24 -0
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.js +58 -0
- package/dist/esm/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/esm/global-account/react/components/ui/Loading.js +15 -0
- package/dist/esm/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/esm/global-account/react/components/ui/ShinyButton.js +24 -0
- package/dist/esm/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/esm/global-account/react/components/ui/TabSystem.js +46 -0
- package/dist/esm/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/esm/global-account/react/components/ui/Tabs.js +13 -0
- package/dist/esm/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/esm/global-account/react/components/ui/badge.js +20 -0
- package/dist/esm/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/esm/global-account/react/components/ui/button.js +35 -0
- package/dist/esm/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/esm/global-account/react/components/ui/command.js +30 -0
- package/dist/esm/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/esm/global-account/react/components/ui/dialog.js +26 -0
- package/dist/esm/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/esm/global-account/react/components/ui/drawer.js +26 -0
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.js +142 -0
- package/dist/esm/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/esm/global-account/react/components/ui/glare-card.js +104 -0
- package/dist/esm/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/esm/global-account/react/components/ui/input.js +10 -0
- package/dist/esm/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/esm/global-account/react/components/ui/popover.js +11 -0
- package/dist/esm/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/esm/global-account/react/components/ui/scroll-area.js +10 -0
- package/dist/esm/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/esm/global-account/react/components/ui/skeleton.js +6 -0
- package/dist/esm/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/esm/global-account/react/components/ui/text-loop.js +26 -0
- package/dist/esm/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/esm/global-account/react/components/ui/text-shimmer.js +19 -0
- package/dist/esm/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/esm/global-account/react/components/ui/tooltip.js +11 -0
- package/dist/esm/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/esm/global-account/react/components/ui/transition-panel.js +7 -0
- package/dist/esm/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/esm/global-account/react/hooks/useAccountAssets.js +32 -0
- package/dist/esm/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/esm/global-account/react/hooks/useAccountWallet.js +67 -0
- package/dist/esm/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/esm/global-account/react/hooks/useAddTWSessionKey.js +50 -0
- package/dist/esm/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/esm/global-account/react/hooks/useAuthentication.js +117 -0
- package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.js +67 -0
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.js +147 -0
- package/dist/esm/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/esm/global-account/react/hooks/useBsmntProfile.js +9 -0
- package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.js +70 -0
- package/dist/esm/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/esm/global-account/react/hooks/useClaim.js +46 -0
- package/dist/esm/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/esm/global-account/react/hooks/useConnect.js +49 -0
- package/dist/esm/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/esm/global-account/react/hooks/useExchangeRate.js +27 -0
- package/dist/esm/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/esm/global-account/react/hooks/useGetAllTWSigners.js +71 -0
- package/dist/esm/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useGetGeo.js +18 -0
- package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.js +66 -0
- package/dist/esm/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/esm/global-account/react/hooks/useHasMounted.js +8 -0
- package/dist/esm/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useIsMobile.js +6 -0
- package/dist/esm/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useIsomorphicLayoutEffect.js +2 -0
- package/dist/esm/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/esm/global-account/react/hooks/useMediaQuery.js +44 -0
- package/dist/esm/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/esm/global-account/react/hooks/useNativeBalance.js +72 -0
- package/dist/esm/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/esm/global-account/react/hooks/useOnchainName.js +187 -0
- package/dist/esm/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/esm/global-account/react/hooks/useOneBalance.js +65 -0
- package/dist/esm/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/esm/global-account/react/hooks/useQueryB3.js +34 -0
- package/dist/esm/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/esm/global-account/react/hooks/useQueryBSMNT.js +34 -0
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.js +43 -0
- package/dist/esm/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/esm/global-account/react/hooks/useRouter.js +75 -0
- package/dist/esm/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useSearchParamsSSR.js +27 -0
- package/dist/esm/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/esm/global-account/react/hooks/useSiwe.js +32 -0
- package/dist/esm/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/esm/global-account/react/hooks/useTokenBalance.js +61 -0
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.js +55 -0
- package/dist/esm/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/esm/global-account/react/hooks/useTokenData.js +44 -0
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +27 -0
- package/dist/esm/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useTokenPrice.js +45 -0
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.js +31 -0
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.js +45 -0
- package/dist/esm/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/esm/global-account/react/hooks/useURLParams.js +32 -0
- package/dist/esm/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/esm/global-account/react/stores/useAuthStore.js +36 -0
- package/dist/esm/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/esm/global-account/react/stores/useModalStore.js +33 -0
- package/dist/esm/global-account/server.d.ts +8 -0
- package/dist/esm/global-account/server.js +22 -0
- package/dist/esm/global-account/types/b3-api.d.ts +3 -0
- package/dist/esm/global-account/types/b3-api.js +3 -0
- package/dist/esm/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/esm/global-account/types/b3-api.types.js +3 -0
- package/dist/esm/global-account/types/chain-networks.d.ts +44 -0
- package/dist/esm/global-account/types/chain-networks.js +45 -0
- package/dist/esm/global-account/types/feature-flags.d.ts +8 -0
- package/dist/esm/global-account/types/feature-flags.js +7 -0
- package/dist/esm/global-account/types/permissions.d.ts +21 -0
- package/dist/esm/global-account/types/permissions.js +1 -0
- package/dist/esm/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/esm/global-account/types/reservoir.types.js +1 -0
- package/dist/esm/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/esm/global-account/types/simplehash.types.js +1 -0
- package/dist/esm/global-account/types.d.ts +19 -0
- package/dist/esm/global-account/types.js +1 -0
- package/dist/esm/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/esm/shared/constants/chains/b3Chain.js +161 -0
- package/dist/esm/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/esm/shared/constants/chains/chainPlatformMap.js +43 -0
- package/dist/esm/shared/constants/chains/supported.d.ts +53 -0
- package/dist/esm/shared/constants/chains/supported.js +25 -0
- package/dist/esm/shared/constants/index.d.ts +15 -0
- package/dist/esm/shared/constants/index.js +18 -0
- package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.js +1225 -0
- package/dist/esm/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/esm/shared/thirdweb/generated/client.gen.js +3 -0
- package/dist/esm/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/esm/shared/thirdweb/generated/index.js +3 -0
- package/dist/esm/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/esm/shared/thirdweb/generated/sdk.gen.js +995 -0
- package/dist/esm/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/esm/shared/thirdweb/generated/types.gen.js +2 -0
- package/dist/esm/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/esm/shared/thirdweb/initiateClient.js +25 -0
- package/dist/esm/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/esm/shared/thirdweb/openapi-ts.config.js +6 -0
- package/dist/esm/shared/utils/b3Ens.d.ts +5 -0
- package/dist/esm/shared/utils/b3Ens.js +23 -0
- package/dist/esm/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/esm/shared/utils/centerTruncate.js +11 -0
- package/dist/esm/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/esm/shared/utils/chain-transformers.js +46 -0
- package/dist/esm/shared/utils/chains.d.ts +6 -0
- package/dist/esm/shared/utils/chains.js +31 -0
- package/dist/esm/shared/utils/cn.d.ts +2 -0
- package/dist/esm/shared/utils/cn.js +5 -0
- package/dist/esm/shared/utils/colors.d.ts +2 -0
- package/dist/esm/shared/utils/colors.js +29 -0
- package/dist/esm/shared/utils/cookies.d.ts +3 -0
- package/dist/esm/shared/utils/cookies.js +12 -0
- package/dist/esm/shared/utils/debug.d.ts +4 -0
- package/dist/esm/shared/utils/debug.js +13 -0
- package/dist/esm/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/esm/shared/utils/fetchBalances.js +60 -0
- package/dist/esm/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/esm/shared/utils/fetchBsmntProfile.js +23 -0
- package/dist/esm/shared/utils/formatAddress.d.ts +2 -0
- package/dist/esm/shared/utils/formatAddress.js +14 -0
- package/dist/esm/shared/utils/formatNumber.d.ts +7 -0
- package/dist/esm/shared/utils/formatNumber.js +45 -0
- package/dist/esm/shared/utils/index.d.ts +2 -0
- package/dist/esm/shared/utils/index.js +6 -0
- package/dist/esm/shared/utils/insights.d.ts +7 -0
- package/dist/esm/shared/utils/insights.js +381 -0
- package/dist/esm/shared/utils/ipfs.d.ts +12 -0
- package/dist/esm/shared/utils/ipfs.js +29 -0
- package/dist/esm/shared/utils/number.d.ts +11 -0
- package/dist/esm/shared/utils/number.js +102 -0
- package/dist/esm/shared/utils/payment.utils.d.ts +5 -0
- package/dist/esm/shared/utils/payment.utils.js +30 -0
- package/dist/esm/shared/utils/simplehash.d.ts +12 -0
- package/dist/esm/shared/utils/simplehash.js +286 -0
- package/dist/esm/shared/utils/sprinter.d.ts +1 -0
- package/dist/esm/shared/utils/sprinter.js +11 -0
- package/dist/esm/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/esm/shared/utils/thirdweb-insights.js +192 -0
- package/dist/esm/shared/utils/thirdweb.d.ts +1 -0
- package/dist/esm/shared/utils/thirdweb.js +8 -0
- package/dist/esm/styles/index.d.ts +20 -0
- package/dist/esm/styles/index.js +20 -0
- package/dist/styles/index.css +1 -0
- package/dist/types/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/types/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/types/anyspend/constants/index.d.ts +28 -0
- package/dist/types/anyspend/index.d.ts +13 -0
- package/dist/types/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/types/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/types/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/types/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/types/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/types/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/types/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/types/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/types/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/types/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/types/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/types/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/types/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/types/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/types/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/types/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/types/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/types/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/types/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/types/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/types/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/types/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/types/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/types/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/types/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/types/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/types/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/types/anyspend/services/anyspend.d.ts +372 -0
- package/dist/types/anyspend/types/chain.d.ts +26 -0
- package/dist/types/anyspend/types/custom.d.ts +130 -0
- package/dist/types/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/types/anyspend/types/index.d.ts +13 -0
- package/dist/types/anyspend/types/nft.d.ts +267 -0
- package/dist/types/anyspend/types/onramp.d.ts +25 -0
- package/dist/types/anyspend/types/order.d.ts +1771 -0
- package/dist/types/anyspend/types/permit.d.ts +21 -0
- package/dist/types/anyspend/types/relay.d.ts +10 -0
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/types/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/types/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/types/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/types/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/types/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/types/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/types/anyspend/types/swap.d.ts +119 -0
- package/dist/types/anyspend/types/token.d.ts +34 -0
- package/dist/types/anyspend/types/tournament.d.ts +174 -0
- package/dist/types/anyspend/types/transaction.d.ts +84 -0
- package/dist/types/anyspend/utils/address.d.ts +4 -0
- package/dist/types/anyspend/utils/chain.d.ts +25 -0
- package/dist/types/anyspend/utils/format.d.ts +6 -0
- package/dist/types/anyspend/utils/index.d.ts +8 -0
- package/dist/types/anyspend/utils/json.d.ts +1 -0
- package/dist/types/anyspend/utils/number.d.ts +13 -0
- package/dist/types/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/types/anyspend/utils/string.d.ts +1 -0
- package/dist/types/anyspend/utils/token.d.ts +7 -0
- package/dist/types/global-account/app.d.ts +4 -0
- package/dist/types/global-account/app.native.d.ts +5 -0
- package/dist/types/global-account/bsmnt.d.ts +4 -0
- package/dist/types/global-account/bsmnt.native.d.ts +5 -0
- package/dist/types/global-account/index.d.ts +9 -0
- package/dist/types/global-account/index.native.d.ts +3 -0
- package/dist/types/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/types/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/types/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/types/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/types/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/types/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/types/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/types/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/types/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/types/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/types/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/types/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/types/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/types/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/types/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/types/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/types/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/types/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/types/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/types/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/types/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/types/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/types/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/types/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/types/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/types/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/types/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/types/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/types/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/types/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/types/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/types/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/types/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/types/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/types/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/types/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/types/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/types/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/types/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/types/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/types/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/types/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/types/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/types/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/types/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/types/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/types/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/types/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/types/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/types/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/types/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/types/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/types/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/types/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/types/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/types/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/types/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/types/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/types/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/types/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/types/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/types/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/types/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/types/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/types/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/types/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/types/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/types/global-account/server.d.ts +8 -0
- package/dist/types/global-account/types/b3-api.d.ts +3 -0
- package/dist/types/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/types/global-account/types/chain-networks.d.ts +44 -0
- package/dist/types/global-account/types/feature-flags.d.ts +8 -0
- package/dist/types/global-account/types/permissions.d.ts +21 -0
- package/dist/types/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/types/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/types/global-account/types.d.ts +19 -0
- package/dist/types/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/types/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/types/shared/constants/chains/supported.d.ts +53 -0
- package/dist/types/shared/constants/index.d.ts +15 -0
- package/dist/types/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/types/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/types/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/types/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/types/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/types/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/types/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/types/shared/utils/b3Ens.d.ts +5 -0
- package/dist/types/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/types/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/types/shared/utils/chains.d.ts +6 -0
- package/dist/types/shared/utils/cn.d.ts +2 -0
- package/dist/types/shared/utils/colors.d.ts +2 -0
- package/dist/types/shared/utils/cookies.d.ts +3 -0
- package/dist/types/shared/utils/debug.d.ts +4 -0
- package/dist/types/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/types/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/types/shared/utils/formatAddress.d.ts +2 -0
- package/dist/types/shared/utils/formatNumber.d.ts +7 -0
- package/dist/types/shared/utils/index.d.ts +2 -0
- package/dist/types/shared/utils/insights.d.ts +7 -0
- package/dist/types/shared/utils/ipfs.d.ts +12 -0
- package/dist/types/shared/utils/number.d.ts +11 -0
- package/dist/types/shared/utils/payment.utils.d.ts +5 -0
- package/dist/types/shared/utils/simplehash.d.ts +12 -0
- package/dist/types/shared/utils/sprinter.d.ts +1 -0
- package/dist/types/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/types/shared/utils/thirdweb.d.ts +1 -0
- package/dist/types/styles/index.d.ts +20 -0
- package/package.json +340 -0
- package/src/anyspend/abis/abi-usdc-base.ts +600 -0
- package/src/anyspend/abis/erc20-staking.ts +299 -0
- package/src/anyspend/constants/index.ts +88 -0
- package/src/anyspend/index.ts +24 -0
- package/src/anyspend/react/components/AnySpend.tsx +1144 -0
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +623 -0
- package/src/anyspend/react/components/AnySpendCustom.tsx +812 -0
- package/src/anyspend/react/components/AnySpendNFT.tsx +134 -0
- package/src/anyspend/react/components/AnySpendNFTButton.tsx +33 -0
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +491 -0
- package/src/anyspend/react/components/AnySpendTournament.tsx +109 -0
- package/src/anyspend/react/components/common/ChainTokenIcon.tsx +18 -0
- package/src/anyspend/react/components/common/HowItWorks.tsx +37 -0
- package/src/anyspend/react/components/common/OrderDetails.tsx +1195 -0
- package/src/anyspend/react/components/common/OrderHistory.tsx +64 -0
- package/src/anyspend/react/components/common/OrderHistoryItem.tsx +189 -0
- package/src/anyspend/react/components/common/OrderStatus.tsx +39 -0
- package/src/anyspend/react/components/common/OrderToken.tsx +132 -0
- package/src/anyspend/react/components/common/OrderTokenAmount.tsx +168 -0
- package/src/anyspend/react/components/common/PanelOnramp.tsx +108 -0
- package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +354 -0
- package/src/anyspend/react/components/common/PaymentMethodIcons.tsx +22 -0
- package/src/anyspend/react/components/common/PaymentOneClick.tsx +42 -0
- package/src/anyspend/react/components/common/PaymentOptions.tsx +36 -0
- package/src/anyspend/react/components/common/PaymentStripeWeb2.tsx +368 -0
- package/src/anyspend/react/components/common/PaymentVendorUI.tsx +26 -0
- package/src/anyspend/react/components/common/TokenBalance.tsx +63 -0
- package/src/anyspend/react/components/icons/EthIcon.tsx +31 -0
- package/src/anyspend/react/components/icons/SolIcon.tsx +39 -0
- package/src/anyspend/react/components/icons/USDCIcon.tsx +19 -0
- package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +50 -0
- package/src/anyspend/react/hooks/index.ts +13 -0
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +131 -0
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +102 -0
- package/src/anyspend/react/hooks/useAnyspendOrderAndTransactions.ts +36 -0
- package/src/anyspend/react/hooks/useAnyspendOrderHistory.ts +29 -0
- package/src/anyspend/react/hooks/useAnyspendQuote.ts +58 -0
- package/src/anyspend/react/hooks/useAnyspendSendPermitData.ts +38 -0
- package/src/anyspend/react/hooks/useAnyspendTokens.ts +24 -0
- package/src/anyspend/react/hooks/useCoinbaseOnrampOptions.ts +21 -0
- package/src/anyspend/react/hooks/useGeoOnrampOptions.ts +58 -0
- package/src/anyspend/react/hooks/useGetGeo.ts +31 -0
- package/src/anyspend/react/hooks/usePermitData.ts +183 -0
- package/src/anyspend/react/hooks/useStripeClientSecret.ts +20 -0
- package/src/anyspend/react/hooks/useStripeSupport.ts +22 -0
- package/src/anyspend/react/providers/AnyspendProvider.tsx +45 -0
- package/src/anyspend/services/anyspend.ts +191 -0
- package/src/anyspend/types/chain.ts +30 -0
- package/src/anyspend/types/custom.ts +17 -0
- package/src/anyspend/types/globalWallet.ts +9 -0
- package/src/anyspend/types/index.ts +14 -0
- package/src/anyspend/types/nft.ts +50 -0
- package/src/anyspend/types/onramp.ts +15 -0
- package/src/anyspend/types/order.ts +94 -0
- package/src/anyspend/types/permit.ts +10 -0
- package/src/anyspend/types/relay.ts +13 -0
- package/src/anyspend/types/req-res/createOrder.ts +66 -0
- package/src/anyspend/types/req-res/getCoinbaseOnrampOptions.ts +34 -0
- package/src/anyspend/types/req-res/getOrderAndTransactions.ts +23 -0
- package/src/anyspend/types/req-res/getOrderByCreator.ts +9 -0
- package/src/anyspend/types/req-res/getOrderHistory.ts +9 -0
- package/src/anyspend/types/req-res/getQuote.ts +60 -0
- package/src/anyspend/types/req-res/getTokenList.ts +18 -0
- package/src/anyspend/types/req-res/index.ts +8 -0
- package/src/anyspend/types/req-res/sendPermitData.ts +10 -0
- package/src/anyspend/types/req-res/stripe.ts +0 -0
- package/src/anyspend/types/swap.ts +12 -0
- package/src/anyspend/types/token.ts +13 -0
- package/src/anyspend/types/tournament.ts +26 -0
- package/src/anyspend/types/transaction.ts +39 -0
- package/src/anyspend/utils/address.ts +25 -0
- package/src/anyspend/utils/chain.ts +342 -0
- package/src/anyspend/utils/format.ts +64 -0
- package/src/anyspend/utils/index.ts +8 -0
- package/src/anyspend/utils/json.ts +3 -0
- package/src/anyspend/utils/number.ts +93 -0
- package/src/anyspend/utils/orderPayload.ts +63 -0
- package/src/anyspend/utils/string.ts +4 -0
- package/src/anyspend/utils/token.ts +72 -0
- package/src/generated/chain-networks.json +483 -0
- package/src/global-account/app.native.ts +105 -0
- package/src/global-account/app.ts +68 -0
- package/src/global-account/bsmnt.native.ts +108 -0
- package/src/global-account/bsmnt.ts +73 -0
- package/src/global-account/index.native.ts +17 -0
- package/src/global-account/index.ts +17 -0
- package/src/global-account/react/components/AccountAssets/AccountAssets.tsx +48 -0
- package/src/global-account/react/components/B3DynamicModal.tsx +118 -0
- package/src/global-account/react/components/B3Provider.native.tsx +141 -0
- package/src/global-account/react/components/B3Provider.tsx +201 -0
- package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +242 -0
- package/src/global-account/react/components/MintButton/MintButton.tsx +83 -0
- package/src/global-account/react/components/ProfileAvatar.tsx +138 -0
- package/src/global-account/react/components/RelayKitProviderWrapper.tsx +34 -0
- package/src/global-account/react/components/RequestPermissions/RequestPermissions.tsx +167 -0
- package/src/global-account/react/components/RequestPermissions/RequestPermissionsButton.tsx +51 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +93 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +255 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +60 -0
- package/src/global-account/react/components/SignInWithB3/components/AuthButton.tsx +23 -0
- package/src/global-account/react/components/SignInWithB3/components/PermissionItem.tsx +22 -0
- package/src/global-account/react/components/SignInWithB3/components/WalletRow.tsx +32 -0
- package/src/global-account/react/components/SignInWithB3/steps/LoginStep.tsx +135 -0
- package/src/global-account/react/components/SignInWithB3/steps/LoginStepCustom.tsx +148 -0
- package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +70 -0
- package/src/global-account/react/components/StyleRoot.tsx +12 -0
- package/src/global-account/react/components/Transak/TransakModal.tsx +134 -0
- package/src/global-account/react/components/custom/Button.tsx +54 -0
- package/src/global-account/react/components/custom/ClientOnly.tsx +20 -0
- package/src/global-account/react/components/custom/CopyToClipboard.tsx +47 -0
- package/src/global-account/react/components/custom/StaggeredFadeLoader.tsx +43 -0
- package/src/global-account/react/components/custom/WalletConnectorIcon.tsx +32 -0
- package/src/global-account/react/components/magicui/AnimatedLottie.tsx +106 -0
- package/src/global-account/react/components/ui/Loading.tsx +27 -0
- package/src/global-account/react/components/ui/ShinyButton.tsx +82 -0
- package/src/global-account/react/components/ui/TabSystem.tsx +157 -0
- package/src/global-account/react/components/ui/Tabs.tsx +56 -0
- package/src/global-account/react/components/ui/badge.tsx +30 -0
- package/src/global-account/react/components/ui/button.tsx +57 -0
- package/src/global-account/react/components/ui/command.tsx +140 -0
- package/src/global-account/react/components/ui/dialog.tsx +131 -0
- package/src/global-account/react/components/ui/drawer.tsx +97 -0
- package/src/global-account/react/components/ui/glare-card-rounded.tsx +182 -0
- package/src/global-account/react/components/ui/glare-card.tsx +138 -0
- package/src/global-account/react/components/ui/input.tsx +25 -0
- package/src/global-account/react/components/ui/popover.tsx +34 -0
- package/src/global-account/react/components/ui/scroll-area.tsx +40 -0
- package/src/global-account/react/components/ui/skeleton.tsx +7 -0
- package/src/global-account/react/components/ui/text-loop.tsx +61 -0
- package/src/global-account/react/components/ui/text-shimmer.tsx +47 -0
- package/src/global-account/react/components/ui/tooltip.tsx +34 -0
- package/src/global-account/react/components/ui/transition-panel.tsx +38 -0
- package/src/global-account/react/hooks/useAccountAssets.ts +34 -0
- package/src/global-account/react/hooks/useAccountWallet.tsx +110 -0
- package/src/global-account/react/hooks/useAddTWSessionKey.tsx +85 -0
- package/src/global-account/react/hooks/useAuthentication.ts +127 -0
- package/src/global-account/react/hooks/useB3BalanceFromAddresses.ts +91 -0
- package/src/global-account/react/hooks/useBestTransactionPath.tsx +202 -0
- package/src/global-account/react/hooks/useBsmntProfile.ts +14 -0
- package/src/global-account/react/hooks/useChainSwitchWithAction.ts +79 -0
- package/src/global-account/react/hooks/useClaim.tsx +66 -0
- package/src/global-account/react/hooks/useConnect.tsx +60 -0
- package/src/global-account/react/hooks/useExchangeRate.tsx +43 -0
- package/src/global-account/react/hooks/useGetAllTWSigners.tsx +139 -0
- package/src/global-account/react/hooks/useGetGeo.tsx +40 -0
- package/src/global-account/react/hooks/useHandleConnectWithPrivy.tsx +78 -0
- package/src/global-account/react/hooks/useHasMounted.ts +11 -0
- package/src/global-account/react/hooks/useIsMobile.tsx +9 -0
- package/src/global-account/react/hooks/useIsomorphicLayoutEffect.tsx +3 -0
- package/src/global-account/react/hooks/useMediaQuery.tsx +60 -0
- package/src/global-account/react/hooks/useNativeBalance.tsx +90 -0
- package/src/global-account/react/hooks/useOnchainName.tsx +198 -0
- package/src/global-account/react/hooks/useOneBalance.tsx +95 -0
- package/src/global-account/react/hooks/useQueryB3.ts +72 -0
- package/src/global-account/react/hooks/useQueryBSMNT.ts +72 -0
- package/src/global-account/react/hooks/useRemoveSessionKey.tsx +69 -0
- package/src/global-account/react/hooks/useRouter.tsx +103 -0
- package/src/global-account/react/hooks/useSearchParamsSSR.tsx +34 -0
- package/src/global-account/react/hooks/useSiwe.tsx +39 -0
- package/src/global-account/react/hooks/useTokenBalance.tsx +85 -0
- package/src/global-account/react/hooks/useTokenBalancesByChain.tsx +93 -0
- package/src/global-account/react/hooks/useTokenData.ts +56 -0
- package/src/global-account/react/hooks/useTokenFromUrl.tsx +46 -0
- package/src/global-account/react/hooks/useTokenPrice.tsx +85 -0
- package/src/global-account/react/hooks/useTokenPriceWithFallback.tsx +58 -0
- package/src/global-account/react/hooks/useTokensFromAddress.ts +118 -0
- package/src/global-account/react/hooks/useURLParams.ts +43 -0
- package/src/global-account/react/stores/useAuthStore.ts +64 -0
- package/src/global-account/react/stores/useModalStore.ts +325 -0
- package/src/global-account/server.ts +23 -0
- package/src/global-account/types/b3-api.ts +4 -0
- package/src/global-account/types/b3-api.types.ts +83 -0
- package/src/global-account/types/chain-networks.ts +54 -0
- package/src/global-account/types/feature-flags.ts +13 -0
- package/src/global-account/types/permissions.ts +24 -0
- package/src/global-account/types/react-timeago.d.ts +18 -0
- package/src/global-account/types/reservoir.types.ts +94 -0
- package/src/global-account/types/simplehash.types.ts +301 -0
- package/src/global-account/types.ts +24 -0
- package/src/shared/constants/chains/b3Chain.ts +177 -0
- package/src/shared/constants/chains/chainPlatformMap.ts +47 -0
- package/src/shared/constants/chains/supported.ts +33 -0
- package/src/shared/constants/index.ts +26 -0
- package/src/shared/thirdweb/generated/@tanstack/react-query.gen.ts +1363 -0
- package/src/shared/thirdweb/generated/client.gen.ts +16 -0
- package/src/shared/thirdweb/generated/index.ts +3 -0
- package/src/shared/thirdweb/generated/sdk.gen.ts +1051 -0
- package/src/shared/thirdweb/generated/types.gen.ts +4349 -0
- package/src/shared/thirdweb/initiateClient.ts +30 -0
- package/src/shared/thirdweb/insight-service.json +12664 -0
- package/src/shared/thirdweb/openapi-ts.config.ts +7 -0
- package/src/shared/utils/b3Ens.ts +28 -0
- package/src/shared/utils/centerTruncate.ts +12 -0
- package/src/shared/utils/chain-transformers.ts +51 -0
- package/src/shared/utils/chains.ts +38 -0
- package/src/shared/utils/cn.ts +6 -0
- package/src/shared/utils/colors.ts +33 -0
- package/src/shared/utils/cookies.ts +13 -0
- package/src/shared/utils/debug.ts +17 -0
- package/src/shared/utils/fetchBalances.ts +89 -0
- package/src/shared/utils/fetchBsmntProfile.ts +29 -0
- package/src/shared/utils/formatAddress.ts +16 -0
- package/src/shared/utils/formatNumber.ts +43 -0
- package/src/shared/utils/index.ts +7 -0
- package/src/shared/utils/insights.ts +409 -0
- package/src/shared/utils/ipfs.ts +33 -0
- package/src/shared/utils/number.ts +142 -0
- package/src/shared/utils/payment.utils.ts +34 -0
- package/src/shared/utils/simplehash.ts +372 -0
- package/src/shared/utils/sprinter.ts +14 -0
- package/src/shared/utils/thirdweb-insights.ts +338 -0
- package/src/shared/utils/thirdweb.ts +11 -0
- package/src/styles/index.css +279 -0
- package/src/styles/index.ts +24 -0
|
@@ -0,0 +1,1355 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.getV1TokensErc20ByOwnerAddressInfiniteOptions = exports.getV1TokensErc20ByOwnerAddressInfiniteQueryKey = exports.getV1TokensErc20ByOwnerAddressOptions = exports.getV1TokensErc20ByOwnerAddressQueryKey = exports.getV1TokensTransfersInfiniteOptions = exports.getV1TokensTransfersInfiniteQueryKey = exports.getV1TokensTransfersOptions = exports.getV1TokensTransfersQueryKey = exports.getV1TokensTransfersByContractAddressInfiniteOptions = exports.getV1TokensTransfersByContractAddressInfiniteQueryKey = exports.getV1TokensTransfersByContractAddressOptions = exports.getV1TokensTransfersByContractAddressQueryKey = exports.getV1TokensTransfersTransactionByTransactionHashInfiniteOptions = exports.getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey = exports.getV1TokensTransfersTransactionByTransactionHashOptions = exports.getV1TokensTransfersTransactionByTransactionHashQueryKey = exports.getV1TransactionsByContractAddressBySignatureInfiniteOptions = exports.getV1TransactionsByContractAddressBySignatureInfiniteQueryKey = exports.getV1TransactionsByContractAddressBySignatureOptions = exports.getV1TransactionsByContractAddressBySignatureQueryKey = exports.getV1TransactionsByContractAddressInfiniteOptions = exports.getV1TransactionsByContractAddressInfiniteQueryKey = exports.getV1TransactionsByContractAddressOptions = exports.getV1TransactionsByContractAddressQueryKey = exports.getV1TransactionsInfiniteOptions = exports.getV1TransactionsInfiniteQueryKey = exports.getV1TransactionsOptions = exports.getV1TransactionsQueryKey = exports.getV1EventsByContractAddressBySignatureInfiniteOptions = exports.getV1EventsByContractAddressBySignatureInfiniteQueryKey = exports.getV1EventsByContractAddressBySignatureOptions = exports.getV1EventsByContractAddressBySignatureQueryKey = exports.getV1EventsByContractAddressInfiniteOptions = exports.getV1EventsByContractAddressInfiniteQueryKey = exports.getV1EventsByContractAddressOptions = exports.getV1EventsByContractAddressQueryKey = exports.getV1EventsInfiniteOptions = exports.getV1EventsInfiniteQueryKey = exports.getV1EventsOptions = exports.getV1EventsQueryKey = exports.postV1WebhooksTestMutation = exports.postV1WebhooksTestOptions = exports.postV1WebhooksTestQueryKey = exports.patchV1WebhooksByWebhookIdMutation = exports.deleteV1WebhooksByWebhookIdMutation = exports.postV1WebhooksMutation = exports.postV1WebhooksOptions = exports.postV1WebhooksQueryKey = exports.getV1WebhooksOptions = exports.getV1WebhooksQueryKey = void 0;
|
|
5
|
+
exports.getV1NftsTransfersTransactionByTransactionHashQueryKey = exports.getV1NftsTransfersInfiniteOptions = exports.getV1NftsTransfersInfiniteQueryKey = exports.getV1NftsTransfersOptions = exports.getV1NftsTransfersQueryKey = exports.getV1NftsOwnersByContractAddressByTokenIdInfiniteOptions = exports.getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey = exports.getV1NftsOwnersByContractAddressByTokenIdOptions = exports.getV1NftsOwnersByContractAddressByTokenIdQueryKey = exports.getV1NftsOwnersByContractAddressInfiniteOptions = exports.getV1NftsOwnersByContractAddressInfiniteQueryKey = exports.getV1NftsOwnersByContractAddressOptions = exports.getV1NftsOwnersByContractAddressQueryKey = exports.getV1NftsInfiniteOptions = exports.getV1NftsInfiniteQueryKey = exports.getV1NftsOptions = exports.getV1NftsQueryKey = exports.getV1NftsCollectionsByContractAddressOptions = exports.getV1NftsCollectionsByContractAddressQueryKey = exports.getV1NftsBalanceByOwnerAddressInfiniteOptions = exports.getV1NftsBalanceByOwnerAddressInfiniteQueryKey = exports.getV1NftsBalanceByOwnerAddressOptions = exports.getV1NftsBalanceByOwnerAddressQueryKey = exports.postV1DecodeByContractAddressMutation = exports.postV1DecodeByContractAddressOptions = exports.postV1DecodeByContractAddressQueryKey = exports.getV1ContractsMetadataByContractAddressOptions = exports.getV1ContractsMetadataByContractAddressQueryKey = exports.getV1ContractsAbiByContractAddressOptions = exports.getV1ContractsAbiByContractAddressQueryKey = exports.getV1BlocksInfiniteOptions = exports.getV1BlocksInfiniteQueryKey = exports.getV1BlocksOptions = exports.getV1BlocksQueryKey = exports.getV1ResolveByInputOptions = exports.getV1ResolveByInputQueryKey = exports.getV1TokensLookupOptions = exports.getV1TokensLookupQueryKey = exports.getV1TokensPriceOptions = exports.getV1TokensPriceQueryKey = exports.getV1TokensPriceSupportedOptions = exports.getV1TokensPriceSupportedQueryKey = exports.getV1TokensErc1155ByOwnerAddressInfiniteOptions = exports.getV1TokensErc1155ByOwnerAddressInfiniteQueryKey = exports.getV1TokensErc1155ByOwnerAddressOptions = exports.getV1TokensErc1155ByOwnerAddressQueryKey = exports.getV1TokensErc721ByOwnerAddressInfiniteOptions = exports.getV1TokensErc721ByOwnerAddressInfiniteQueryKey = exports.getV1TokensErc721ByOwnerAddressOptions = exports.getV1TokensErc721ByOwnerAddressQueryKey = void 0;
|
|
6
|
+
exports.getV1WalletsByWalletAddressTransactionsInfiniteOptions = exports.getV1WalletsByWalletAddressTransactionsInfiniteQueryKey = exports.getV1WalletsByWalletAddressTransactionsOptions = exports.getV1WalletsByWalletAddressTransactionsQueryKey = exports.getV1NftsMetadataRefreshByContractAddressByTokenIdOptions = exports.getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey = exports.getV1NftsMetadataRefreshByContractAddressOptions = exports.getV1NftsMetadataRefreshByContractAddressQueryKey = exports.getV1NftsByContractAddressByTokenIdOptions = exports.getV1NftsByContractAddressByTokenIdQueryKey = exports.getV1NftsTransfersByContractAddressByTokenIdInfiniteOptions = exports.getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey = exports.getV1NftsTransfersByContractAddressByTokenIdOptions = exports.getV1NftsTransfersByContractAddressByTokenIdQueryKey = exports.getV1NftsByContractAddressInfiniteOptions = exports.getV1NftsByContractAddressInfiniteQueryKey = exports.getV1NftsByContractAddressOptions = exports.getV1NftsByContractAddressQueryKey = exports.getV1NftsTransfersByContractAddressInfiniteOptions = exports.getV1NftsTransfersByContractAddressInfiniteQueryKey = exports.getV1NftsTransfersByContractAddressOptions = exports.getV1NftsTransfersByContractAddressQueryKey = exports.getV1NftsTransfersTransactionByTransactionHashInfiniteOptions = exports.getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey = exports.getV1NftsTransfersTransactionByTransactionHashOptions = void 0;
|
|
7
|
+
const sdk_gen_1 = require("../sdk.gen");
|
|
8
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
9
|
+
const client_gen_1 = require("../client.gen");
|
|
10
|
+
const createQueryKey = (id, options, infinite) => {
|
|
11
|
+
const params = { _id: id, baseUrl: (options?.client ?? client_gen_1.client).getConfig().baseUrl };
|
|
12
|
+
if (infinite) {
|
|
13
|
+
params._infinite = infinite;
|
|
14
|
+
}
|
|
15
|
+
if (options?.body) {
|
|
16
|
+
params.body = options.body;
|
|
17
|
+
}
|
|
18
|
+
if (options?.headers) {
|
|
19
|
+
params.headers = options.headers;
|
|
20
|
+
}
|
|
21
|
+
if (options?.path) {
|
|
22
|
+
params.path = options.path;
|
|
23
|
+
}
|
|
24
|
+
if (options?.query) {
|
|
25
|
+
params.query = options.query;
|
|
26
|
+
}
|
|
27
|
+
return [
|
|
28
|
+
params
|
|
29
|
+
];
|
|
30
|
+
};
|
|
31
|
+
const getV1WebhooksQueryKey = (options) => createQueryKey('getV1Webhooks', options);
|
|
32
|
+
exports.getV1WebhooksQueryKey = getV1WebhooksQueryKey;
|
|
33
|
+
const getV1WebhooksOptions = (options) => {
|
|
34
|
+
return (0, react_query_1.queryOptions)({
|
|
35
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
36
|
+
const { data } = await (0, sdk_gen_1.getV1Webhooks)({
|
|
37
|
+
...options,
|
|
38
|
+
...queryKey[0],
|
|
39
|
+
signal,
|
|
40
|
+
throwOnError: true
|
|
41
|
+
});
|
|
42
|
+
return data;
|
|
43
|
+
},
|
|
44
|
+
queryKey: (0, exports.getV1WebhooksQueryKey)(options)
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
exports.getV1WebhooksOptions = getV1WebhooksOptions;
|
|
48
|
+
const postV1WebhooksQueryKey = (options) => createQueryKey('postV1Webhooks', options);
|
|
49
|
+
exports.postV1WebhooksQueryKey = postV1WebhooksQueryKey;
|
|
50
|
+
const postV1WebhooksOptions = (options) => {
|
|
51
|
+
return (0, react_query_1.queryOptions)({
|
|
52
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
53
|
+
const { data } = await (0, sdk_gen_1.postV1Webhooks)({
|
|
54
|
+
...options,
|
|
55
|
+
...queryKey[0],
|
|
56
|
+
signal,
|
|
57
|
+
throwOnError: true
|
|
58
|
+
});
|
|
59
|
+
return data;
|
|
60
|
+
},
|
|
61
|
+
queryKey: (0, exports.postV1WebhooksQueryKey)(options)
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
exports.postV1WebhooksOptions = postV1WebhooksOptions;
|
|
65
|
+
const postV1WebhooksMutation = (options) => {
|
|
66
|
+
const mutationOptions = {
|
|
67
|
+
mutationFn: async (localOptions) => {
|
|
68
|
+
const { data } = await (0, sdk_gen_1.postV1Webhooks)({
|
|
69
|
+
...options,
|
|
70
|
+
...localOptions,
|
|
71
|
+
throwOnError: true
|
|
72
|
+
});
|
|
73
|
+
return data;
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
return mutationOptions;
|
|
77
|
+
};
|
|
78
|
+
exports.postV1WebhooksMutation = postV1WebhooksMutation;
|
|
79
|
+
const deleteV1WebhooksByWebhookIdMutation = (options) => {
|
|
80
|
+
const mutationOptions = {
|
|
81
|
+
mutationFn: async (localOptions) => {
|
|
82
|
+
const { data } = await (0, sdk_gen_1.deleteV1WebhooksByWebhookId)({
|
|
83
|
+
...options,
|
|
84
|
+
...localOptions,
|
|
85
|
+
throwOnError: true
|
|
86
|
+
});
|
|
87
|
+
return data;
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
return mutationOptions;
|
|
91
|
+
};
|
|
92
|
+
exports.deleteV1WebhooksByWebhookIdMutation = deleteV1WebhooksByWebhookIdMutation;
|
|
93
|
+
const patchV1WebhooksByWebhookIdMutation = (options) => {
|
|
94
|
+
const mutationOptions = {
|
|
95
|
+
mutationFn: async (localOptions) => {
|
|
96
|
+
const { data } = await (0, sdk_gen_1.patchV1WebhooksByWebhookId)({
|
|
97
|
+
...options,
|
|
98
|
+
...localOptions,
|
|
99
|
+
throwOnError: true
|
|
100
|
+
});
|
|
101
|
+
return data;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
return mutationOptions;
|
|
105
|
+
};
|
|
106
|
+
exports.patchV1WebhooksByWebhookIdMutation = patchV1WebhooksByWebhookIdMutation;
|
|
107
|
+
const postV1WebhooksTestQueryKey = (options) => createQueryKey('postV1WebhooksTest', options);
|
|
108
|
+
exports.postV1WebhooksTestQueryKey = postV1WebhooksTestQueryKey;
|
|
109
|
+
const postV1WebhooksTestOptions = (options) => {
|
|
110
|
+
return (0, react_query_1.queryOptions)({
|
|
111
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
112
|
+
const { data } = await (0, sdk_gen_1.postV1WebhooksTest)({
|
|
113
|
+
...options,
|
|
114
|
+
...queryKey[0],
|
|
115
|
+
signal,
|
|
116
|
+
throwOnError: true
|
|
117
|
+
});
|
|
118
|
+
return data;
|
|
119
|
+
},
|
|
120
|
+
queryKey: (0, exports.postV1WebhooksTestQueryKey)(options)
|
|
121
|
+
});
|
|
122
|
+
};
|
|
123
|
+
exports.postV1WebhooksTestOptions = postV1WebhooksTestOptions;
|
|
124
|
+
const postV1WebhooksTestMutation = (options) => {
|
|
125
|
+
const mutationOptions = {
|
|
126
|
+
mutationFn: async (localOptions) => {
|
|
127
|
+
const { data } = await (0, sdk_gen_1.postV1WebhooksTest)({
|
|
128
|
+
...options,
|
|
129
|
+
...localOptions,
|
|
130
|
+
throwOnError: true
|
|
131
|
+
});
|
|
132
|
+
return data;
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
return mutationOptions;
|
|
136
|
+
};
|
|
137
|
+
exports.postV1WebhooksTestMutation = postV1WebhooksTestMutation;
|
|
138
|
+
const getV1EventsQueryKey = (options) => createQueryKey('getV1Events', options);
|
|
139
|
+
exports.getV1EventsQueryKey = getV1EventsQueryKey;
|
|
140
|
+
const getV1EventsOptions = (options) => {
|
|
141
|
+
return (0, react_query_1.queryOptions)({
|
|
142
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
143
|
+
const { data } = await (0, sdk_gen_1.getV1Events)({
|
|
144
|
+
...options,
|
|
145
|
+
...queryKey[0],
|
|
146
|
+
signal,
|
|
147
|
+
throwOnError: true
|
|
148
|
+
});
|
|
149
|
+
return data;
|
|
150
|
+
},
|
|
151
|
+
queryKey: (0, exports.getV1EventsQueryKey)(options)
|
|
152
|
+
});
|
|
153
|
+
};
|
|
154
|
+
exports.getV1EventsOptions = getV1EventsOptions;
|
|
155
|
+
const createInfiniteParams = (queryKey, page) => {
|
|
156
|
+
const params = queryKey[0];
|
|
157
|
+
if (page.body) {
|
|
158
|
+
params.body = {
|
|
159
|
+
...queryKey[0].body,
|
|
160
|
+
...page.body
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
if (page.headers) {
|
|
164
|
+
params.headers = {
|
|
165
|
+
...queryKey[0].headers,
|
|
166
|
+
...page.headers
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
if (page.path) {
|
|
170
|
+
params.path = {
|
|
171
|
+
...queryKey[0].path,
|
|
172
|
+
...page.path
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
if (page.query) {
|
|
176
|
+
params.query = {
|
|
177
|
+
...queryKey[0].query,
|
|
178
|
+
...page.query
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
return params;
|
|
182
|
+
};
|
|
183
|
+
const getV1EventsInfiniteQueryKey = (options) => createQueryKey('getV1Events', options, true);
|
|
184
|
+
exports.getV1EventsInfiniteQueryKey = getV1EventsInfiniteQueryKey;
|
|
185
|
+
const getV1EventsInfiniteOptions = (options) => {
|
|
186
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
187
|
+
// @ts-ignore
|
|
188
|
+
{
|
|
189
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
190
|
+
// @ts-ignore
|
|
191
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
192
|
+
query: {
|
|
193
|
+
page: pageParam
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
const params = createInfiniteParams(queryKey, page);
|
|
197
|
+
const { data } = await (0, sdk_gen_1.getV1Events)({
|
|
198
|
+
...options,
|
|
199
|
+
...params,
|
|
200
|
+
signal,
|
|
201
|
+
throwOnError: true
|
|
202
|
+
});
|
|
203
|
+
return data;
|
|
204
|
+
},
|
|
205
|
+
queryKey: (0, exports.getV1EventsInfiniteQueryKey)(options)
|
|
206
|
+
});
|
|
207
|
+
};
|
|
208
|
+
exports.getV1EventsInfiniteOptions = getV1EventsInfiniteOptions;
|
|
209
|
+
const getV1EventsByContractAddressQueryKey = (options) => createQueryKey('getV1EventsByContractAddress', options);
|
|
210
|
+
exports.getV1EventsByContractAddressQueryKey = getV1EventsByContractAddressQueryKey;
|
|
211
|
+
const getV1EventsByContractAddressOptions = (options) => {
|
|
212
|
+
return (0, react_query_1.queryOptions)({
|
|
213
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
214
|
+
const { data } = await (0, sdk_gen_1.getV1EventsByContractAddress)({
|
|
215
|
+
...options,
|
|
216
|
+
...queryKey[0],
|
|
217
|
+
signal,
|
|
218
|
+
throwOnError: true
|
|
219
|
+
});
|
|
220
|
+
return data;
|
|
221
|
+
},
|
|
222
|
+
queryKey: (0, exports.getV1EventsByContractAddressQueryKey)(options)
|
|
223
|
+
});
|
|
224
|
+
};
|
|
225
|
+
exports.getV1EventsByContractAddressOptions = getV1EventsByContractAddressOptions;
|
|
226
|
+
const getV1EventsByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1EventsByContractAddress', options, true);
|
|
227
|
+
exports.getV1EventsByContractAddressInfiniteQueryKey = getV1EventsByContractAddressInfiniteQueryKey;
|
|
228
|
+
const getV1EventsByContractAddressInfiniteOptions = (options) => {
|
|
229
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
230
|
+
// @ts-ignore
|
|
231
|
+
{
|
|
232
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
233
|
+
// @ts-ignore
|
|
234
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
235
|
+
query: {
|
|
236
|
+
page: pageParam
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
const params = createInfiniteParams(queryKey, page);
|
|
240
|
+
const { data } = await (0, sdk_gen_1.getV1EventsByContractAddress)({
|
|
241
|
+
...options,
|
|
242
|
+
...params,
|
|
243
|
+
signal,
|
|
244
|
+
throwOnError: true
|
|
245
|
+
});
|
|
246
|
+
return data;
|
|
247
|
+
},
|
|
248
|
+
queryKey: (0, exports.getV1EventsByContractAddressInfiniteQueryKey)(options)
|
|
249
|
+
});
|
|
250
|
+
};
|
|
251
|
+
exports.getV1EventsByContractAddressInfiniteOptions = getV1EventsByContractAddressInfiniteOptions;
|
|
252
|
+
const getV1EventsByContractAddressBySignatureQueryKey = (options) => createQueryKey('getV1EventsByContractAddressBySignature', options);
|
|
253
|
+
exports.getV1EventsByContractAddressBySignatureQueryKey = getV1EventsByContractAddressBySignatureQueryKey;
|
|
254
|
+
const getV1EventsByContractAddressBySignatureOptions = (options) => {
|
|
255
|
+
return (0, react_query_1.queryOptions)({
|
|
256
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
257
|
+
const { data } = await (0, sdk_gen_1.getV1EventsByContractAddressBySignature)({
|
|
258
|
+
...options,
|
|
259
|
+
...queryKey[0],
|
|
260
|
+
signal,
|
|
261
|
+
throwOnError: true
|
|
262
|
+
});
|
|
263
|
+
return data;
|
|
264
|
+
},
|
|
265
|
+
queryKey: (0, exports.getV1EventsByContractAddressBySignatureQueryKey)(options)
|
|
266
|
+
});
|
|
267
|
+
};
|
|
268
|
+
exports.getV1EventsByContractAddressBySignatureOptions = getV1EventsByContractAddressBySignatureOptions;
|
|
269
|
+
const getV1EventsByContractAddressBySignatureInfiniteQueryKey = (options) => createQueryKey('getV1EventsByContractAddressBySignature', options, true);
|
|
270
|
+
exports.getV1EventsByContractAddressBySignatureInfiniteQueryKey = getV1EventsByContractAddressBySignatureInfiniteQueryKey;
|
|
271
|
+
const getV1EventsByContractAddressBySignatureInfiniteOptions = (options) => {
|
|
272
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
273
|
+
// @ts-ignore
|
|
274
|
+
{
|
|
275
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
276
|
+
// @ts-ignore
|
|
277
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
278
|
+
query: {
|
|
279
|
+
page: pageParam
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
const params = createInfiniteParams(queryKey, page);
|
|
283
|
+
const { data } = await (0, sdk_gen_1.getV1EventsByContractAddressBySignature)({
|
|
284
|
+
...options,
|
|
285
|
+
...params,
|
|
286
|
+
signal,
|
|
287
|
+
throwOnError: true
|
|
288
|
+
});
|
|
289
|
+
return data;
|
|
290
|
+
},
|
|
291
|
+
queryKey: (0, exports.getV1EventsByContractAddressBySignatureInfiniteQueryKey)(options)
|
|
292
|
+
});
|
|
293
|
+
};
|
|
294
|
+
exports.getV1EventsByContractAddressBySignatureInfiniteOptions = getV1EventsByContractAddressBySignatureInfiniteOptions;
|
|
295
|
+
const getV1TransactionsQueryKey = (options) => createQueryKey('getV1Transactions', options);
|
|
296
|
+
exports.getV1TransactionsQueryKey = getV1TransactionsQueryKey;
|
|
297
|
+
const getV1TransactionsOptions = (options) => {
|
|
298
|
+
return (0, react_query_1.queryOptions)({
|
|
299
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
300
|
+
const { data } = await (0, sdk_gen_1.getV1Transactions)({
|
|
301
|
+
...options,
|
|
302
|
+
...queryKey[0],
|
|
303
|
+
signal,
|
|
304
|
+
throwOnError: true
|
|
305
|
+
});
|
|
306
|
+
return data;
|
|
307
|
+
},
|
|
308
|
+
queryKey: (0, exports.getV1TransactionsQueryKey)(options)
|
|
309
|
+
});
|
|
310
|
+
};
|
|
311
|
+
exports.getV1TransactionsOptions = getV1TransactionsOptions;
|
|
312
|
+
const getV1TransactionsInfiniteQueryKey = (options) => createQueryKey('getV1Transactions', options, true);
|
|
313
|
+
exports.getV1TransactionsInfiniteQueryKey = getV1TransactionsInfiniteQueryKey;
|
|
314
|
+
const getV1TransactionsInfiniteOptions = (options) => {
|
|
315
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
316
|
+
// @ts-ignore
|
|
317
|
+
{
|
|
318
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
319
|
+
// @ts-ignore
|
|
320
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
321
|
+
query: {
|
|
322
|
+
page: pageParam
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
const params = createInfiniteParams(queryKey, page);
|
|
326
|
+
const { data } = await (0, sdk_gen_1.getV1Transactions)({
|
|
327
|
+
...options,
|
|
328
|
+
...params,
|
|
329
|
+
signal,
|
|
330
|
+
throwOnError: true
|
|
331
|
+
});
|
|
332
|
+
return data;
|
|
333
|
+
},
|
|
334
|
+
queryKey: (0, exports.getV1TransactionsInfiniteQueryKey)(options)
|
|
335
|
+
});
|
|
336
|
+
};
|
|
337
|
+
exports.getV1TransactionsInfiniteOptions = getV1TransactionsInfiniteOptions;
|
|
338
|
+
const getV1TransactionsByContractAddressQueryKey = (options) => createQueryKey('getV1TransactionsByContractAddress', options);
|
|
339
|
+
exports.getV1TransactionsByContractAddressQueryKey = getV1TransactionsByContractAddressQueryKey;
|
|
340
|
+
const getV1TransactionsByContractAddressOptions = (options) => {
|
|
341
|
+
return (0, react_query_1.queryOptions)({
|
|
342
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
343
|
+
const { data } = await (0, sdk_gen_1.getV1TransactionsByContractAddress)({
|
|
344
|
+
...options,
|
|
345
|
+
...queryKey[0],
|
|
346
|
+
signal,
|
|
347
|
+
throwOnError: true
|
|
348
|
+
});
|
|
349
|
+
return data;
|
|
350
|
+
},
|
|
351
|
+
queryKey: (0, exports.getV1TransactionsByContractAddressQueryKey)(options)
|
|
352
|
+
});
|
|
353
|
+
};
|
|
354
|
+
exports.getV1TransactionsByContractAddressOptions = getV1TransactionsByContractAddressOptions;
|
|
355
|
+
const getV1TransactionsByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1TransactionsByContractAddress', options, true);
|
|
356
|
+
exports.getV1TransactionsByContractAddressInfiniteQueryKey = getV1TransactionsByContractAddressInfiniteQueryKey;
|
|
357
|
+
const getV1TransactionsByContractAddressInfiniteOptions = (options) => {
|
|
358
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
359
|
+
// @ts-ignore
|
|
360
|
+
{
|
|
361
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
362
|
+
// @ts-ignore
|
|
363
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
364
|
+
query: {
|
|
365
|
+
page: pageParam
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
const params = createInfiniteParams(queryKey, page);
|
|
369
|
+
const { data } = await (0, sdk_gen_1.getV1TransactionsByContractAddress)({
|
|
370
|
+
...options,
|
|
371
|
+
...params,
|
|
372
|
+
signal,
|
|
373
|
+
throwOnError: true
|
|
374
|
+
});
|
|
375
|
+
return data;
|
|
376
|
+
},
|
|
377
|
+
queryKey: (0, exports.getV1TransactionsByContractAddressInfiniteQueryKey)(options)
|
|
378
|
+
});
|
|
379
|
+
};
|
|
380
|
+
exports.getV1TransactionsByContractAddressInfiniteOptions = getV1TransactionsByContractAddressInfiniteOptions;
|
|
381
|
+
const getV1TransactionsByContractAddressBySignatureQueryKey = (options) => createQueryKey('getV1TransactionsByContractAddressBySignature', options);
|
|
382
|
+
exports.getV1TransactionsByContractAddressBySignatureQueryKey = getV1TransactionsByContractAddressBySignatureQueryKey;
|
|
383
|
+
const getV1TransactionsByContractAddressBySignatureOptions = (options) => {
|
|
384
|
+
return (0, react_query_1.queryOptions)({
|
|
385
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
386
|
+
const { data } = await (0, sdk_gen_1.getV1TransactionsByContractAddressBySignature)({
|
|
387
|
+
...options,
|
|
388
|
+
...queryKey[0],
|
|
389
|
+
signal,
|
|
390
|
+
throwOnError: true
|
|
391
|
+
});
|
|
392
|
+
return data;
|
|
393
|
+
},
|
|
394
|
+
queryKey: (0, exports.getV1TransactionsByContractAddressBySignatureQueryKey)(options)
|
|
395
|
+
});
|
|
396
|
+
};
|
|
397
|
+
exports.getV1TransactionsByContractAddressBySignatureOptions = getV1TransactionsByContractAddressBySignatureOptions;
|
|
398
|
+
const getV1TransactionsByContractAddressBySignatureInfiniteQueryKey = (options) => createQueryKey('getV1TransactionsByContractAddressBySignature', options, true);
|
|
399
|
+
exports.getV1TransactionsByContractAddressBySignatureInfiniteQueryKey = getV1TransactionsByContractAddressBySignatureInfiniteQueryKey;
|
|
400
|
+
const getV1TransactionsByContractAddressBySignatureInfiniteOptions = (options) => {
|
|
401
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
402
|
+
// @ts-ignore
|
|
403
|
+
{
|
|
404
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
405
|
+
// @ts-ignore
|
|
406
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
407
|
+
query: {
|
|
408
|
+
page: pageParam
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
const params = createInfiniteParams(queryKey, page);
|
|
412
|
+
const { data } = await (0, sdk_gen_1.getV1TransactionsByContractAddressBySignature)({
|
|
413
|
+
...options,
|
|
414
|
+
...params,
|
|
415
|
+
signal,
|
|
416
|
+
throwOnError: true
|
|
417
|
+
});
|
|
418
|
+
return data;
|
|
419
|
+
},
|
|
420
|
+
queryKey: (0, exports.getV1TransactionsByContractAddressBySignatureInfiniteQueryKey)(options)
|
|
421
|
+
});
|
|
422
|
+
};
|
|
423
|
+
exports.getV1TransactionsByContractAddressBySignatureInfiniteOptions = getV1TransactionsByContractAddressBySignatureInfiniteOptions;
|
|
424
|
+
const getV1TokensTransfersTransactionByTransactionHashQueryKey = (options) => createQueryKey('getV1TokensTransfersTransactionByTransactionHash', options);
|
|
425
|
+
exports.getV1TokensTransfersTransactionByTransactionHashQueryKey = getV1TokensTransfersTransactionByTransactionHashQueryKey;
|
|
426
|
+
const getV1TokensTransfersTransactionByTransactionHashOptions = (options) => {
|
|
427
|
+
return (0, react_query_1.queryOptions)({
|
|
428
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
429
|
+
const { data } = await (0, sdk_gen_1.getV1TokensTransfersTransactionByTransactionHash)({
|
|
430
|
+
...options,
|
|
431
|
+
...queryKey[0],
|
|
432
|
+
signal,
|
|
433
|
+
throwOnError: true
|
|
434
|
+
});
|
|
435
|
+
return data;
|
|
436
|
+
},
|
|
437
|
+
queryKey: (0, exports.getV1TokensTransfersTransactionByTransactionHashQueryKey)(options)
|
|
438
|
+
});
|
|
439
|
+
};
|
|
440
|
+
exports.getV1TokensTransfersTransactionByTransactionHashOptions = getV1TokensTransfersTransactionByTransactionHashOptions;
|
|
441
|
+
const getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey = (options) => createQueryKey('getV1TokensTransfersTransactionByTransactionHash', options, true);
|
|
442
|
+
exports.getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey = getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey;
|
|
443
|
+
const getV1TokensTransfersTransactionByTransactionHashInfiniteOptions = (options) => {
|
|
444
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
445
|
+
// @ts-ignore
|
|
446
|
+
{
|
|
447
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
448
|
+
// @ts-ignore
|
|
449
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
450
|
+
query: {
|
|
451
|
+
page: pageParam
|
|
452
|
+
}
|
|
453
|
+
};
|
|
454
|
+
const params = createInfiniteParams(queryKey, page);
|
|
455
|
+
const { data } = await (0, sdk_gen_1.getV1TokensTransfersTransactionByTransactionHash)({
|
|
456
|
+
...options,
|
|
457
|
+
...params,
|
|
458
|
+
signal,
|
|
459
|
+
throwOnError: true
|
|
460
|
+
});
|
|
461
|
+
return data;
|
|
462
|
+
},
|
|
463
|
+
queryKey: (0, exports.getV1TokensTransfersTransactionByTransactionHashInfiniteQueryKey)(options)
|
|
464
|
+
});
|
|
465
|
+
};
|
|
466
|
+
exports.getV1TokensTransfersTransactionByTransactionHashInfiniteOptions = getV1TokensTransfersTransactionByTransactionHashInfiniteOptions;
|
|
467
|
+
const getV1TokensTransfersByContractAddressQueryKey = (options) => createQueryKey('getV1TokensTransfersByContractAddress', options);
|
|
468
|
+
exports.getV1TokensTransfersByContractAddressQueryKey = getV1TokensTransfersByContractAddressQueryKey;
|
|
469
|
+
const getV1TokensTransfersByContractAddressOptions = (options) => {
|
|
470
|
+
return (0, react_query_1.queryOptions)({
|
|
471
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
472
|
+
const { data } = await (0, sdk_gen_1.getV1TokensTransfersByContractAddress)({
|
|
473
|
+
...options,
|
|
474
|
+
...queryKey[0],
|
|
475
|
+
signal,
|
|
476
|
+
throwOnError: true
|
|
477
|
+
});
|
|
478
|
+
return data;
|
|
479
|
+
},
|
|
480
|
+
queryKey: (0, exports.getV1TokensTransfersByContractAddressQueryKey)(options)
|
|
481
|
+
});
|
|
482
|
+
};
|
|
483
|
+
exports.getV1TokensTransfersByContractAddressOptions = getV1TokensTransfersByContractAddressOptions;
|
|
484
|
+
const getV1TokensTransfersByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1TokensTransfersByContractAddress', options, true);
|
|
485
|
+
exports.getV1TokensTransfersByContractAddressInfiniteQueryKey = getV1TokensTransfersByContractAddressInfiniteQueryKey;
|
|
486
|
+
const getV1TokensTransfersByContractAddressInfiniteOptions = (options) => {
|
|
487
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
488
|
+
// @ts-ignore
|
|
489
|
+
{
|
|
490
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
491
|
+
// @ts-ignore
|
|
492
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
493
|
+
query: {
|
|
494
|
+
page: pageParam
|
|
495
|
+
}
|
|
496
|
+
};
|
|
497
|
+
const params = createInfiniteParams(queryKey, page);
|
|
498
|
+
const { data } = await (0, sdk_gen_1.getV1TokensTransfersByContractAddress)({
|
|
499
|
+
...options,
|
|
500
|
+
...params,
|
|
501
|
+
signal,
|
|
502
|
+
throwOnError: true
|
|
503
|
+
});
|
|
504
|
+
return data;
|
|
505
|
+
},
|
|
506
|
+
queryKey: (0, exports.getV1TokensTransfersByContractAddressInfiniteQueryKey)(options)
|
|
507
|
+
});
|
|
508
|
+
};
|
|
509
|
+
exports.getV1TokensTransfersByContractAddressInfiniteOptions = getV1TokensTransfersByContractAddressInfiniteOptions;
|
|
510
|
+
const getV1TokensTransfersQueryKey = (options) => createQueryKey('getV1TokensTransfers', options);
|
|
511
|
+
exports.getV1TokensTransfersQueryKey = getV1TokensTransfersQueryKey;
|
|
512
|
+
const getV1TokensTransfersOptions = (options) => {
|
|
513
|
+
return (0, react_query_1.queryOptions)({
|
|
514
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
515
|
+
const { data } = await (0, sdk_gen_1.getV1TokensTransfers)({
|
|
516
|
+
...options,
|
|
517
|
+
...queryKey[0],
|
|
518
|
+
signal,
|
|
519
|
+
throwOnError: true
|
|
520
|
+
});
|
|
521
|
+
return data;
|
|
522
|
+
},
|
|
523
|
+
queryKey: (0, exports.getV1TokensTransfersQueryKey)(options)
|
|
524
|
+
});
|
|
525
|
+
};
|
|
526
|
+
exports.getV1TokensTransfersOptions = getV1TokensTransfersOptions;
|
|
527
|
+
const getV1TokensTransfersInfiniteQueryKey = (options) => createQueryKey('getV1TokensTransfers', options, true);
|
|
528
|
+
exports.getV1TokensTransfersInfiniteQueryKey = getV1TokensTransfersInfiniteQueryKey;
|
|
529
|
+
const getV1TokensTransfersInfiniteOptions = (options) => {
|
|
530
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
531
|
+
// @ts-ignore
|
|
532
|
+
{
|
|
533
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
534
|
+
// @ts-ignore
|
|
535
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
536
|
+
query: {
|
|
537
|
+
page: pageParam
|
|
538
|
+
}
|
|
539
|
+
};
|
|
540
|
+
const params = createInfiniteParams(queryKey, page);
|
|
541
|
+
const { data } = await (0, sdk_gen_1.getV1TokensTransfers)({
|
|
542
|
+
...options,
|
|
543
|
+
...params,
|
|
544
|
+
signal,
|
|
545
|
+
throwOnError: true
|
|
546
|
+
});
|
|
547
|
+
return data;
|
|
548
|
+
},
|
|
549
|
+
queryKey: (0, exports.getV1TokensTransfersInfiniteQueryKey)(options)
|
|
550
|
+
});
|
|
551
|
+
};
|
|
552
|
+
exports.getV1TokensTransfersInfiniteOptions = getV1TokensTransfersInfiniteOptions;
|
|
553
|
+
const getV1TokensErc20ByOwnerAddressQueryKey = (options) => createQueryKey('getV1TokensErc20ByOwnerAddress', options);
|
|
554
|
+
exports.getV1TokensErc20ByOwnerAddressQueryKey = getV1TokensErc20ByOwnerAddressQueryKey;
|
|
555
|
+
const getV1TokensErc20ByOwnerAddressOptions = (options) => {
|
|
556
|
+
return (0, react_query_1.queryOptions)({
|
|
557
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
558
|
+
const { data } = await (0, sdk_gen_1.getV1TokensErc20ByOwnerAddress)({
|
|
559
|
+
...options,
|
|
560
|
+
...queryKey[0],
|
|
561
|
+
signal,
|
|
562
|
+
throwOnError: true
|
|
563
|
+
});
|
|
564
|
+
return data;
|
|
565
|
+
},
|
|
566
|
+
queryKey: (0, exports.getV1TokensErc20ByOwnerAddressQueryKey)(options)
|
|
567
|
+
});
|
|
568
|
+
};
|
|
569
|
+
exports.getV1TokensErc20ByOwnerAddressOptions = getV1TokensErc20ByOwnerAddressOptions;
|
|
570
|
+
const getV1TokensErc20ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey('getV1TokensErc20ByOwnerAddress', options, true);
|
|
571
|
+
exports.getV1TokensErc20ByOwnerAddressInfiniteQueryKey = getV1TokensErc20ByOwnerAddressInfiniteQueryKey;
|
|
572
|
+
const getV1TokensErc20ByOwnerAddressInfiniteOptions = (options) => {
|
|
573
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
574
|
+
// @ts-ignore
|
|
575
|
+
{
|
|
576
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
577
|
+
// @ts-ignore
|
|
578
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
579
|
+
query: {
|
|
580
|
+
page: pageParam
|
|
581
|
+
}
|
|
582
|
+
};
|
|
583
|
+
const params = createInfiniteParams(queryKey, page);
|
|
584
|
+
const { data } = await (0, sdk_gen_1.getV1TokensErc20ByOwnerAddress)({
|
|
585
|
+
...options,
|
|
586
|
+
...params,
|
|
587
|
+
signal,
|
|
588
|
+
throwOnError: true
|
|
589
|
+
});
|
|
590
|
+
return data;
|
|
591
|
+
},
|
|
592
|
+
queryKey: (0, exports.getV1TokensErc20ByOwnerAddressInfiniteQueryKey)(options)
|
|
593
|
+
});
|
|
594
|
+
};
|
|
595
|
+
exports.getV1TokensErc20ByOwnerAddressInfiniteOptions = getV1TokensErc20ByOwnerAddressInfiniteOptions;
|
|
596
|
+
const getV1TokensErc721ByOwnerAddressQueryKey = (options) => createQueryKey('getV1TokensErc721ByOwnerAddress', options);
|
|
597
|
+
exports.getV1TokensErc721ByOwnerAddressQueryKey = getV1TokensErc721ByOwnerAddressQueryKey;
|
|
598
|
+
const getV1TokensErc721ByOwnerAddressOptions = (options) => {
|
|
599
|
+
return (0, react_query_1.queryOptions)({
|
|
600
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
601
|
+
const { data } = await (0, sdk_gen_1.getV1TokensErc721ByOwnerAddress)({
|
|
602
|
+
...options,
|
|
603
|
+
...queryKey[0],
|
|
604
|
+
signal,
|
|
605
|
+
throwOnError: true
|
|
606
|
+
});
|
|
607
|
+
return data;
|
|
608
|
+
},
|
|
609
|
+
queryKey: (0, exports.getV1TokensErc721ByOwnerAddressQueryKey)(options)
|
|
610
|
+
});
|
|
611
|
+
};
|
|
612
|
+
exports.getV1TokensErc721ByOwnerAddressOptions = getV1TokensErc721ByOwnerAddressOptions;
|
|
613
|
+
const getV1TokensErc721ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey('getV1TokensErc721ByOwnerAddress', options, true);
|
|
614
|
+
exports.getV1TokensErc721ByOwnerAddressInfiniteQueryKey = getV1TokensErc721ByOwnerAddressInfiniteQueryKey;
|
|
615
|
+
const getV1TokensErc721ByOwnerAddressInfiniteOptions = (options) => {
|
|
616
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
617
|
+
// @ts-ignore
|
|
618
|
+
{
|
|
619
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
620
|
+
// @ts-ignore
|
|
621
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
622
|
+
query: {
|
|
623
|
+
page: pageParam
|
|
624
|
+
}
|
|
625
|
+
};
|
|
626
|
+
const params = createInfiniteParams(queryKey, page);
|
|
627
|
+
const { data } = await (0, sdk_gen_1.getV1TokensErc721ByOwnerAddress)({
|
|
628
|
+
...options,
|
|
629
|
+
...params,
|
|
630
|
+
signal,
|
|
631
|
+
throwOnError: true
|
|
632
|
+
});
|
|
633
|
+
return data;
|
|
634
|
+
},
|
|
635
|
+
queryKey: (0, exports.getV1TokensErc721ByOwnerAddressInfiniteQueryKey)(options)
|
|
636
|
+
});
|
|
637
|
+
};
|
|
638
|
+
exports.getV1TokensErc721ByOwnerAddressInfiniteOptions = getV1TokensErc721ByOwnerAddressInfiniteOptions;
|
|
639
|
+
const getV1TokensErc1155ByOwnerAddressQueryKey = (options) => createQueryKey('getV1TokensErc1155ByOwnerAddress', options);
|
|
640
|
+
exports.getV1TokensErc1155ByOwnerAddressQueryKey = getV1TokensErc1155ByOwnerAddressQueryKey;
|
|
641
|
+
const getV1TokensErc1155ByOwnerAddressOptions = (options) => {
|
|
642
|
+
return (0, react_query_1.queryOptions)({
|
|
643
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
644
|
+
const { data } = await (0, sdk_gen_1.getV1TokensErc1155ByOwnerAddress)({
|
|
645
|
+
...options,
|
|
646
|
+
...queryKey[0],
|
|
647
|
+
signal,
|
|
648
|
+
throwOnError: true
|
|
649
|
+
});
|
|
650
|
+
return data;
|
|
651
|
+
},
|
|
652
|
+
queryKey: (0, exports.getV1TokensErc1155ByOwnerAddressQueryKey)(options)
|
|
653
|
+
});
|
|
654
|
+
};
|
|
655
|
+
exports.getV1TokensErc1155ByOwnerAddressOptions = getV1TokensErc1155ByOwnerAddressOptions;
|
|
656
|
+
const getV1TokensErc1155ByOwnerAddressInfiniteQueryKey = (options) => createQueryKey('getV1TokensErc1155ByOwnerAddress', options, true);
|
|
657
|
+
exports.getV1TokensErc1155ByOwnerAddressInfiniteQueryKey = getV1TokensErc1155ByOwnerAddressInfiniteQueryKey;
|
|
658
|
+
const getV1TokensErc1155ByOwnerAddressInfiniteOptions = (options) => {
|
|
659
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
660
|
+
// @ts-ignore
|
|
661
|
+
{
|
|
662
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
663
|
+
// @ts-ignore
|
|
664
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
665
|
+
query: {
|
|
666
|
+
page: pageParam
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
const params = createInfiniteParams(queryKey, page);
|
|
670
|
+
const { data } = await (0, sdk_gen_1.getV1TokensErc1155ByOwnerAddress)({
|
|
671
|
+
...options,
|
|
672
|
+
...params,
|
|
673
|
+
signal,
|
|
674
|
+
throwOnError: true
|
|
675
|
+
});
|
|
676
|
+
return data;
|
|
677
|
+
},
|
|
678
|
+
queryKey: (0, exports.getV1TokensErc1155ByOwnerAddressInfiniteQueryKey)(options)
|
|
679
|
+
});
|
|
680
|
+
};
|
|
681
|
+
exports.getV1TokensErc1155ByOwnerAddressInfiniteOptions = getV1TokensErc1155ByOwnerAddressInfiniteOptions;
|
|
682
|
+
const getV1TokensPriceSupportedQueryKey = (options) => createQueryKey('getV1TokensPriceSupported', options);
|
|
683
|
+
exports.getV1TokensPriceSupportedQueryKey = getV1TokensPriceSupportedQueryKey;
|
|
684
|
+
const getV1TokensPriceSupportedOptions = (options) => {
|
|
685
|
+
return (0, react_query_1.queryOptions)({
|
|
686
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
687
|
+
const { data } = await (0, sdk_gen_1.getV1TokensPriceSupported)({
|
|
688
|
+
...options,
|
|
689
|
+
...queryKey[0],
|
|
690
|
+
signal,
|
|
691
|
+
throwOnError: true
|
|
692
|
+
});
|
|
693
|
+
return data;
|
|
694
|
+
},
|
|
695
|
+
queryKey: (0, exports.getV1TokensPriceSupportedQueryKey)(options)
|
|
696
|
+
});
|
|
697
|
+
};
|
|
698
|
+
exports.getV1TokensPriceSupportedOptions = getV1TokensPriceSupportedOptions;
|
|
699
|
+
const getV1TokensPriceQueryKey = (options) => createQueryKey('getV1TokensPrice', options);
|
|
700
|
+
exports.getV1TokensPriceQueryKey = getV1TokensPriceQueryKey;
|
|
701
|
+
const getV1TokensPriceOptions = (options) => {
|
|
702
|
+
return (0, react_query_1.queryOptions)({
|
|
703
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
704
|
+
const { data } = await (0, sdk_gen_1.getV1TokensPrice)({
|
|
705
|
+
...options,
|
|
706
|
+
...queryKey[0],
|
|
707
|
+
signal,
|
|
708
|
+
throwOnError: true
|
|
709
|
+
});
|
|
710
|
+
return data;
|
|
711
|
+
},
|
|
712
|
+
queryKey: (0, exports.getV1TokensPriceQueryKey)(options)
|
|
713
|
+
});
|
|
714
|
+
};
|
|
715
|
+
exports.getV1TokensPriceOptions = getV1TokensPriceOptions;
|
|
716
|
+
const getV1TokensLookupQueryKey = (options) => createQueryKey('getV1TokensLookup', options);
|
|
717
|
+
exports.getV1TokensLookupQueryKey = getV1TokensLookupQueryKey;
|
|
718
|
+
const getV1TokensLookupOptions = (options) => {
|
|
719
|
+
return (0, react_query_1.queryOptions)({
|
|
720
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
721
|
+
const { data } = await (0, sdk_gen_1.getV1TokensLookup)({
|
|
722
|
+
...options,
|
|
723
|
+
...queryKey[0],
|
|
724
|
+
signal,
|
|
725
|
+
throwOnError: true
|
|
726
|
+
});
|
|
727
|
+
return data;
|
|
728
|
+
},
|
|
729
|
+
queryKey: (0, exports.getV1TokensLookupQueryKey)(options)
|
|
730
|
+
});
|
|
731
|
+
};
|
|
732
|
+
exports.getV1TokensLookupOptions = getV1TokensLookupOptions;
|
|
733
|
+
const getV1ResolveByInputQueryKey = (options) => createQueryKey('getV1ResolveByInput', options);
|
|
734
|
+
exports.getV1ResolveByInputQueryKey = getV1ResolveByInputQueryKey;
|
|
735
|
+
const getV1ResolveByInputOptions = (options) => {
|
|
736
|
+
return (0, react_query_1.queryOptions)({
|
|
737
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
738
|
+
const { data } = await (0, sdk_gen_1.getV1ResolveByInput)({
|
|
739
|
+
...options,
|
|
740
|
+
...queryKey[0],
|
|
741
|
+
signal,
|
|
742
|
+
throwOnError: true
|
|
743
|
+
});
|
|
744
|
+
return data;
|
|
745
|
+
},
|
|
746
|
+
queryKey: (0, exports.getV1ResolveByInputQueryKey)(options)
|
|
747
|
+
});
|
|
748
|
+
};
|
|
749
|
+
exports.getV1ResolveByInputOptions = getV1ResolveByInputOptions;
|
|
750
|
+
const getV1BlocksQueryKey = (options) => createQueryKey('getV1Blocks', options);
|
|
751
|
+
exports.getV1BlocksQueryKey = getV1BlocksQueryKey;
|
|
752
|
+
const getV1BlocksOptions = (options) => {
|
|
753
|
+
return (0, react_query_1.queryOptions)({
|
|
754
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
755
|
+
const { data } = await (0, sdk_gen_1.getV1Blocks)({
|
|
756
|
+
...options,
|
|
757
|
+
...queryKey[0],
|
|
758
|
+
signal,
|
|
759
|
+
throwOnError: true
|
|
760
|
+
});
|
|
761
|
+
return data;
|
|
762
|
+
},
|
|
763
|
+
queryKey: (0, exports.getV1BlocksQueryKey)(options)
|
|
764
|
+
});
|
|
765
|
+
};
|
|
766
|
+
exports.getV1BlocksOptions = getV1BlocksOptions;
|
|
767
|
+
const getV1BlocksInfiniteQueryKey = (options) => createQueryKey('getV1Blocks', options, true);
|
|
768
|
+
exports.getV1BlocksInfiniteQueryKey = getV1BlocksInfiniteQueryKey;
|
|
769
|
+
const getV1BlocksInfiniteOptions = (options) => {
|
|
770
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
771
|
+
// @ts-ignore
|
|
772
|
+
{
|
|
773
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
774
|
+
// @ts-ignore
|
|
775
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
776
|
+
query: {
|
|
777
|
+
page: pageParam
|
|
778
|
+
}
|
|
779
|
+
};
|
|
780
|
+
const params = createInfiniteParams(queryKey, page);
|
|
781
|
+
const { data } = await (0, sdk_gen_1.getV1Blocks)({
|
|
782
|
+
...options,
|
|
783
|
+
...params,
|
|
784
|
+
signal,
|
|
785
|
+
throwOnError: true
|
|
786
|
+
});
|
|
787
|
+
return data;
|
|
788
|
+
},
|
|
789
|
+
queryKey: (0, exports.getV1BlocksInfiniteQueryKey)(options)
|
|
790
|
+
});
|
|
791
|
+
};
|
|
792
|
+
exports.getV1BlocksInfiniteOptions = getV1BlocksInfiniteOptions;
|
|
793
|
+
const getV1ContractsAbiByContractAddressQueryKey = (options) => createQueryKey('getV1ContractsAbiByContractAddress', options);
|
|
794
|
+
exports.getV1ContractsAbiByContractAddressQueryKey = getV1ContractsAbiByContractAddressQueryKey;
|
|
795
|
+
const getV1ContractsAbiByContractAddressOptions = (options) => {
|
|
796
|
+
return (0, react_query_1.queryOptions)({
|
|
797
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
798
|
+
const { data } = await (0, sdk_gen_1.getV1ContractsAbiByContractAddress)({
|
|
799
|
+
...options,
|
|
800
|
+
...queryKey[0],
|
|
801
|
+
signal,
|
|
802
|
+
throwOnError: true
|
|
803
|
+
});
|
|
804
|
+
return data;
|
|
805
|
+
},
|
|
806
|
+
queryKey: (0, exports.getV1ContractsAbiByContractAddressQueryKey)(options)
|
|
807
|
+
});
|
|
808
|
+
};
|
|
809
|
+
exports.getV1ContractsAbiByContractAddressOptions = getV1ContractsAbiByContractAddressOptions;
|
|
810
|
+
const getV1ContractsMetadataByContractAddressQueryKey = (options) => createQueryKey('getV1ContractsMetadataByContractAddress', options);
|
|
811
|
+
exports.getV1ContractsMetadataByContractAddressQueryKey = getV1ContractsMetadataByContractAddressQueryKey;
|
|
812
|
+
const getV1ContractsMetadataByContractAddressOptions = (options) => {
|
|
813
|
+
return (0, react_query_1.queryOptions)({
|
|
814
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
815
|
+
const { data } = await (0, sdk_gen_1.getV1ContractsMetadataByContractAddress)({
|
|
816
|
+
...options,
|
|
817
|
+
...queryKey[0],
|
|
818
|
+
signal,
|
|
819
|
+
throwOnError: true
|
|
820
|
+
});
|
|
821
|
+
return data;
|
|
822
|
+
},
|
|
823
|
+
queryKey: (0, exports.getV1ContractsMetadataByContractAddressQueryKey)(options)
|
|
824
|
+
});
|
|
825
|
+
};
|
|
826
|
+
exports.getV1ContractsMetadataByContractAddressOptions = getV1ContractsMetadataByContractAddressOptions;
|
|
827
|
+
const postV1DecodeByContractAddressQueryKey = (options) => createQueryKey('postV1DecodeByContractAddress', options);
|
|
828
|
+
exports.postV1DecodeByContractAddressQueryKey = postV1DecodeByContractAddressQueryKey;
|
|
829
|
+
const postV1DecodeByContractAddressOptions = (options) => {
|
|
830
|
+
return (0, react_query_1.queryOptions)({
|
|
831
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
832
|
+
const { data } = await (0, sdk_gen_1.postV1DecodeByContractAddress)({
|
|
833
|
+
...options,
|
|
834
|
+
...queryKey[0],
|
|
835
|
+
signal,
|
|
836
|
+
throwOnError: true
|
|
837
|
+
});
|
|
838
|
+
return data;
|
|
839
|
+
},
|
|
840
|
+
queryKey: (0, exports.postV1DecodeByContractAddressQueryKey)(options)
|
|
841
|
+
});
|
|
842
|
+
};
|
|
843
|
+
exports.postV1DecodeByContractAddressOptions = postV1DecodeByContractAddressOptions;
|
|
844
|
+
const postV1DecodeByContractAddressMutation = (options) => {
|
|
845
|
+
const mutationOptions = {
|
|
846
|
+
mutationFn: async (localOptions) => {
|
|
847
|
+
const { data } = await (0, sdk_gen_1.postV1DecodeByContractAddress)({
|
|
848
|
+
...options,
|
|
849
|
+
...localOptions,
|
|
850
|
+
throwOnError: true
|
|
851
|
+
});
|
|
852
|
+
return data;
|
|
853
|
+
}
|
|
854
|
+
};
|
|
855
|
+
return mutationOptions;
|
|
856
|
+
};
|
|
857
|
+
exports.postV1DecodeByContractAddressMutation = postV1DecodeByContractAddressMutation;
|
|
858
|
+
const getV1NftsBalanceByOwnerAddressQueryKey = (options) => createQueryKey('getV1NftsBalanceByOwnerAddress', options);
|
|
859
|
+
exports.getV1NftsBalanceByOwnerAddressQueryKey = getV1NftsBalanceByOwnerAddressQueryKey;
|
|
860
|
+
const getV1NftsBalanceByOwnerAddressOptions = (options) => {
|
|
861
|
+
return (0, react_query_1.queryOptions)({
|
|
862
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
863
|
+
const { data } = await (0, sdk_gen_1.getV1NftsBalanceByOwnerAddress)({
|
|
864
|
+
...options,
|
|
865
|
+
...queryKey[0],
|
|
866
|
+
signal,
|
|
867
|
+
throwOnError: true
|
|
868
|
+
});
|
|
869
|
+
return data;
|
|
870
|
+
},
|
|
871
|
+
queryKey: (0, exports.getV1NftsBalanceByOwnerAddressQueryKey)(options)
|
|
872
|
+
});
|
|
873
|
+
};
|
|
874
|
+
exports.getV1NftsBalanceByOwnerAddressOptions = getV1NftsBalanceByOwnerAddressOptions;
|
|
875
|
+
const getV1NftsBalanceByOwnerAddressInfiniteQueryKey = (options) => createQueryKey('getV1NftsBalanceByOwnerAddress', options, true);
|
|
876
|
+
exports.getV1NftsBalanceByOwnerAddressInfiniteQueryKey = getV1NftsBalanceByOwnerAddressInfiniteQueryKey;
|
|
877
|
+
const getV1NftsBalanceByOwnerAddressInfiniteOptions = (options) => {
|
|
878
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
879
|
+
// @ts-ignore
|
|
880
|
+
{
|
|
881
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
882
|
+
// @ts-ignore
|
|
883
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
884
|
+
query: {
|
|
885
|
+
page: pageParam
|
|
886
|
+
}
|
|
887
|
+
};
|
|
888
|
+
const params = createInfiniteParams(queryKey, page);
|
|
889
|
+
const { data } = await (0, sdk_gen_1.getV1NftsBalanceByOwnerAddress)({
|
|
890
|
+
...options,
|
|
891
|
+
...params,
|
|
892
|
+
signal,
|
|
893
|
+
throwOnError: true
|
|
894
|
+
});
|
|
895
|
+
return data;
|
|
896
|
+
},
|
|
897
|
+
queryKey: (0, exports.getV1NftsBalanceByOwnerAddressInfiniteQueryKey)(options)
|
|
898
|
+
});
|
|
899
|
+
};
|
|
900
|
+
exports.getV1NftsBalanceByOwnerAddressInfiniteOptions = getV1NftsBalanceByOwnerAddressInfiniteOptions;
|
|
901
|
+
const getV1NftsCollectionsByContractAddressQueryKey = (options) => createQueryKey('getV1NftsCollectionsByContractAddress', options);
|
|
902
|
+
exports.getV1NftsCollectionsByContractAddressQueryKey = getV1NftsCollectionsByContractAddressQueryKey;
|
|
903
|
+
const getV1NftsCollectionsByContractAddressOptions = (options) => {
|
|
904
|
+
return (0, react_query_1.queryOptions)({
|
|
905
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
906
|
+
const { data } = await (0, sdk_gen_1.getV1NftsCollectionsByContractAddress)({
|
|
907
|
+
...options,
|
|
908
|
+
...queryKey[0],
|
|
909
|
+
signal,
|
|
910
|
+
throwOnError: true
|
|
911
|
+
});
|
|
912
|
+
return data;
|
|
913
|
+
},
|
|
914
|
+
queryKey: (0, exports.getV1NftsCollectionsByContractAddressQueryKey)(options)
|
|
915
|
+
});
|
|
916
|
+
};
|
|
917
|
+
exports.getV1NftsCollectionsByContractAddressOptions = getV1NftsCollectionsByContractAddressOptions;
|
|
918
|
+
const getV1NftsQueryKey = (options) => createQueryKey('getV1Nfts', options);
|
|
919
|
+
exports.getV1NftsQueryKey = getV1NftsQueryKey;
|
|
920
|
+
const getV1NftsOptions = (options) => {
|
|
921
|
+
return (0, react_query_1.queryOptions)({
|
|
922
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
923
|
+
const { data } = await (0, sdk_gen_1.getV1Nfts)({
|
|
924
|
+
...options,
|
|
925
|
+
...queryKey[0],
|
|
926
|
+
signal,
|
|
927
|
+
throwOnError: true
|
|
928
|
+
});
|
|
929
|
+
return data;
|
|
930
|
+
},
|
|
931
|
+
queryKey: (0, exports.getV1NftsQueryKey)(options)
|
|
932
|
+
});
|
|
933
|
+
};
|
|
934
|
+
exports.getV1NftsOptions = getV1NftsOptions;
|
|
935
|
+
const getV1NftsInfiniteQueryKey = (options) => createQueryKey('getV1Nfts', options, true);
|
|
936
|
+
exports.getV1NftsInfiniteQueryKey = getV1NftsInfiniteQueryKey;
|
|
937
|
+
const getV1NftsInfiniteOptions = (options) => {
|
|
938
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
939
|
+
// @ts-ignore
|
|
940
|
+
{
|
|
941
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
942
|
+
// @ts-ignore
|
|
943
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
944
|
+
query: {
|
|
945
|
+
page: pageParam
|
|
946
|
+
}
|
|
947
|
+
};
|
|
948
|
+
const params = createInfiniteParams(queryKey, page);
|
|
949
|
+
const { data } = await (0, sdk_gen_1.getV1Nfts)({
|
|
950
|
+
...options,
|
|
951
|
+
...params,
|
|
952
|
+
signal,
|
|
953
|
+
throwOnError: true
|
|
954
|
+
});
|
|
955
|
+
return data;
|
|
956
|
+
},
|
|
957
|
+
queryKey: (0, exports.getV1NftsInfiniteQueryKey)(options)
|
|
958
|
+
});
|
|
959
|
+
};
|
|
960
|
+
exports.getV1NftsInfiniteOptions = getV1NftsInfiniteOptions;
|
|
961
|
+
const getV1NftsOwnersByContractAddressQueryKey = (options) => createQueryKey('getV1NftsOwnersByContractAddress', options);
|
|
962
|
+
exports.getV1NftsOwnersByContractAddressQueryKey = getV1NftsOwnersByContractAddressQueryKey;
|
|
963
|
+
const getV1NftsOwnersByContractAddressOptions = (options) => {
|
|
964
|
+
return (0, react_query_1.queryOptions)({
|
|
965
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
966
|
+
const { data } = await (0, sdk_gen_1.getV1NftsOwnersByContractAddress)({
|
|
967
|
+
...options,
|
|
968
|
+
...queryKey[0],
|
|
969
|
+
signal,
|
|
970
|
+
throwOnError: true
|
|
971
|
+
});
|
|
972
|
+
return data;
|
|
973
|
+
},
|
|
974
|
+
queryKey: (0, exports.getV1NftsOwnersByContractAddressQueryKey)(options)
|
|
975
|
+
});
|
|
976
|
+
};
|
|
977
|
+
exports.getV1NftsOwnersByContractAddressOptions = getV1NftsOwnersByContractAddressOptions;
|
|
978
|
+
const getV1NftsOwnersByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1NftsOwnersByContractAddress', options, true);
|
|
979
|
+
exports.getV1NftsOwnersByContractAddressInfiniteQueryKey = getV1NftsOwnersByContractAddressInfiniteQueryKey;
|
|
980
|
+
const getV1NftsOwnersByContractAddressInfiniteOptions = (options) => {
|
|
981
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
982
|
+
// @ts-ignore
|
|
983
|
+
{
|
|
984
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
985
|
+
// @ts-ignore
|
|
986
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
987
|
+
query: {
|
|
988
|
+
page: pageParam
|
|
989
|
+
}
|
|
990
|
+
};
|
|
991
|
+
const params = createInfiniteParams(queryKey, page);
|
|
992
|
+
const { data } = await (0, sdk_gen_1.getV1NftsOwnersByContractAddress)({
|
|
993
|
+
...options,
|
|
994
|
+
...params,
|
|
995
|
+
signal,
|
|
996
|
+
throwOnError: true
|
|
997
|
+
});
|
|
998
|
+
return data;
|
|
999
|
+
},
|
|
1000
|
+
queryKey: (0, exports.getV1NftsOwnersByContractAddressInfiniteQueryKey)(options)
|
|
1001
|
+
});
|
|
1002
|
+
};
|
|
1003
|
+
exports.getV1NftsOwnersByContractAddressInfiniteOptions = getV1NftsOwnersByContractAddressInfiniteOptions;
|
|
1004
|
+
const getV1NftsOwnersByContractAddressByTokenIdQueryKey = (options) => createQueryKey('getV1NftsOwnersByContractAddressByTokenId', options);
|
|
1005
|
+
exports.getV1NftsOwnersByContractAddressByTokenIdQueryKey = getV1NftsOwnersByContractAddressByTokenIdQueryKey;
|
|
1006
|
+
const getV1NftsOwnersByContractAddressByTokenIdOptions = (options) => {
|
|
1007
|
+
return (0, react_query_1.queryOptions)({
|
|
1008
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1009
|
+
const { data } = await (0, sdk_gen_1.getV1NftsOwnersByContractAddressByTokenId)({
|
|
1010
|
+
...options,
|
|
1011
|
+
...queryKey[0],
|
|
1012
|
+
signal,
|
|
1013
|
+
throwOnError: true
|
|
1014
|
+
});
|
|
1015
|
+
return data;
|
|
1016
|
+
},
|
|
1017
|
+
queryKey: (0, exports.getV1NftsOwnersByContractAddressByTokenIdQueryKey)(options)
|
|
1018
|
+
});
|
|
1019
|
+
};
|
|
1020
|
+
exports.getV1NftsOwnersByContractAddressByTokenIdOptions = getV1NftsOwnersByContractAddressByTokenIdOptions;
|
|
1021
|
+
const getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey = (options) => createQueryKey('getV1NftsOwnersByContractAddressByTokenId', options, true);
|
|
1022
|
+
exports.getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey = getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey;
|
|
1023
|
+
const getV1NftsOwnersByContractAddressByTokenIdInfiniteOptions = (options) => {
|
|
1024
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
1025
|
+
// @ts-ignore
|
|
1026
|
+
{
|
|
1027
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1028
|
+
// @ts-ignore
|
|
1029
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
1030
|
+
query: {
|
|
1031
|
+
page: pageParam
|
|
1032
|
+
}
|
|
1033
|
+
};
|
|
1034
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1035
|
+
const { data } = await (0, sdk_gen_1.getV1NftsOwnersByContractAddressByTokenId)({
|
|
1036
|
+
...options,
|
|
1037
|
+
...params,
|
|
1038
|
+
signal,
|
|
1039
|
+
throwOnError: true
|
|
1040
|
+
});
|
|
1041
|
+
return data;
|
|
1042
|
+
},
|
|
1043
|
+
queryKey: (0, exports.getV1NftsOwnersByContractAddressByTokenIdInfiniteQueryKey)(options)
|
|
1044
|
+
});
|
|
1045
|
+
};
|
|
1046
|
+
exports.getV1NftsOwnersByContractAddressByTokenIdInfiniteOptions = getV1NftsOwnersByContractAddressByTokenIdInfiniteOptions;
|
|
1047
|
+
const getV1NftsTransfersQueryKey = (options) => createQueryKey('getV1NftsTransfers', options);
|
|
1048
|
+
exports.getV1NftsTransfersQueryKey = getV1NftsTransfersQueryKey;
|
|
1049
|
+
const getV1NftsTransfersOptions = (options) => {
|
|
1050
|
+
return (0, react_query_1.queryOptions)({
|
|
1051
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1052
|
+
const { data } = await (0, sdk_gen_1.getV1NftsTransfers)({
|
|
1053
|
+
...options,
|
|
1054
|
+
...queryKey[0],
|
|
1055
|
+
signal,
|
|
1056
|
+
throwOnError: true
|
|
1057
|
+
});
|
|
1058
|
+
return data;
|
|
1059
|
+
},
|
|
1060
|
+
queryKey: (0, exports.getV1NftsTransfersQueryKey)(options)
|
|
1061
|
+
});
|
|
1062
|
+
};
|
|
1063
|
+
exports.getV1NftsTransfersOptions = getV1NftsTransfersOptions;
|
|
1064
|
+
const getV1NftsTransfersInfiniteQueryKey = (options) => createQueryKey('getV1NftsTransfers', options, true);
|
|
1065
|
+
exports.getV1NftsTransfersInfiniteQueryKey = getV1NftsTransfersInfiniteQueryKey;
|
|
1066
|
+
const getV1NftsTransfersInfiniteOptions = (options) => {
|
|
1067
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
1068
|
+
// @ts-ignore
|
|
1069
|
+
{
|
|
1070
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1071
|
+
// @ts-ignore
|
|
1072
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
1073
|
+
query: {
|
|
1074
|
+
page: pageParam
|
|
1075
|
+
}
|
|
1076
|
+
};
|
|
1077
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1078
|
+
const { data } = await (0, sdk_gen_1.getV1NftsTransfers)({
|
|
1079
|
+
...options,
|
|
1080
|
+
...params,
|
|
1081
|
+
signal,
|
|
1082
|
+
throwOnError: true
|
|
1083
|
+
});
|
|
1084
|
+
return data;
|
|
1085
|
+
},
|
|
1086
|
+
queryKey: (0, exports.getV1NftsTransfersInfiniteQueryKey)(options)
|
|
1087
|
+
});
|
|
1088
|
+
};
|
|
1089
|
+
exports.getV1NftsTransfersInfiniteOptions = getV1NftsTransfersInfiniteOptions;
|
|
1090
|
+
const getV1NftsTransfersTransactionByTransactionHashQueryKey = (options) => createQueryKey('getV1NftsTransfersTransactionByTransactionHash', options);
|
|
1091
|
+
exports.getV1NftsTransfersTransactionByTransactionHashQueryKey = getV1NftsTransfersTransactionByTransactionHashQueryKey;
|
|
1092
|
+
const getV1NftsTransfersTransactionByTransactionHashOptions = (options) => {
|
|
1093
|
+
return (0, react_query_1.queryOptions)({
|
|
1094
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1095
|
+
const { data } = await (0, sdk_gen_1.getV1NftsTransfersTransactionByTransactionHash)({
|
|
1096
|
+
...options,
|
|
1097
|
+
...queryKey[0],
|
|
1098
|
+
signal,
|
|
1099
|
+
throwOnError: true
|
|
1100
|
+
});
|
|
1101
|
+
return data;
|
|
1102
|
+
},
|
|
1103
|
+
queryKey: (0, exports.getV1NftsTransfersTransactionByTransactionHashQueryKey)(options)
|
|
1104
|
+
});
|
|
1105
|
+
};
|
|
1106
|
+
exports.getV1NftsTransfersTransactionByTransactionHashOptions = getV1NftsTransfersTransactionByTransactionHashOptions;
|
|
1107
|
+
const getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey = (options) => createQueryKey('getV1NftsTransfersTransactionByTransactionHash', options, true);
|
|
1108
|
+
exports.getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey = getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey;
|
|
1109
|
+
const getV1NftsTransfersTransactionByTransactionHashInfiniteOptions = (options) => {
|
|
1110
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
1111
|
+
// @ts-ignore
|
|
1112
|
+
{
|
|
1113
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1114
|
+
// @ts-ignore
|
|
1115
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
1116
|
+
query: {
|
|
1117
|
+
page: pageParam
|
|
1118
|
+
}
|
|
1119
|
+
};
|
|
1120
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1121
|
+
const { data } = await (0, sdk_gen_1.getV1NftsTransfersTransactionByTransactionHash)({
|
|
1122
|
+
...options,
|
|
1123
|
+
...params,
|
|
1124
|
+
signal,
|
|
1125
|
+
throwOnError: true
|
|
1126
|
+
});
|
|
1127
|
+
return data;
|
|
1128
|
+
},
|
|
1129
|
+
queryKey: (0, exports.getV1NftsTransfersTransactionByTransactionHashInfiniteQueryKey)(options)
|
|
1130
|
+
});
|
|
1131
|
+
};
|
|
1132
|
+
exports.getV1NftsTransfersTransactionByTransactionHashInfiniteOptions = getV1NftsTransfersTransactionByTransactionHashInfiniteOptions;
|
|
1133
|
+
const getV1NftsTransfersByContractAddressQueryKey = (options) => createQueryKey('getV1NftsTransfersByContractAddress', options);
|
|
1134
|
+
exports.getV1NftsTransfersByContractAddressQueryKey = getV1NftsTransfersByContractAddressQueryKey;
|
|
1135
|
+
const getV1NftsTransfersByContractAddressOptions = (options) => {
|
|
1136
|
+
return (0, react_query_1.queryOptions)({
|
|
1137
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1138
|
+
const { data } = await (0, sdk_gen_1.getV1NftsTransfersByContractAddress)({
|
|
1139
|
+
...options,
|
|
1140
|
+
...queryKey[0],
|
|
1141
|
+
signal,
|
|
1142
|
+
throwOnError: true
|
|
1143
|
+
});
|
|
1144
|
+
return data;
|
|
1145
|
+
},
|
|
1146
|
+
queryKey: (0, exports.getV1NftsTransfersByContractAddressQueryKey)(options)
|
|
1147
|
+
});
|
|
1148
|
+
};
|
|
1149
|
+
exports.getV1NftsTransfersByContractAddressOptions = getV1NftsTransfersByContractAddressOptions;
|
|
1150
|
+
const getV1NftsTransfersByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1NftsTransfersByContractAddress', options, true);
|
|
1151
|
+
exports.getV1NftsTransfersByContractAddressInfiniteQueryKey = getV1NftsTransfersByContractAddressInfiniteQueryKey;
|
|
1152
|
+
const getV1NftsTransfersByContractAddressInfiniteOptions = (options) => {
|
|
1153
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
1154
|
+
// @ts-ignore
|
|
1155
|
+
{
|
|
1156
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1157
|
+
// @ts-ignore
|
|
1158
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
1159
|
+
query: {
|
|
1160
|
+
page: pageParam
|
|
1161
|
+
}
|
|
1162
|
+
};
|
|
1163
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1164
|
+
const { data } = await (0, sdk_gen_1.getV1NftsTransfersByContractAddress)({
|
|
1165
|
+
...options,
|
|
1166
|
+
...params,
|
|
1167
|
+
signal,
|
|
1168
|
+
throwOnError: true
|
|
1169
|
+
});
|
|
1170
|
+
return data;
|
|
1171
|
+
},
|
|
1172
|
+
queryKey: (0, exports.getV1NftsTransfersByContractAddressInfiniteQueryKey)(options)
|
|
1173
|
+
});
|
|
1174
|
+
};
|
|
1175
|
+
exports.getV1NftsTransfersByContractAddressInfiniteOptions = getV1NftsTransfersByContractAddressInfiniteOptions;
|
|
1176
|
+
const getV1NftsByContractAddressQueryKey = (options) => createQueryKey('getV1NftsByContractAddress', options);
|
|
1177
|
+
exports.getV1NftsByContractAddressQueryKey = getV1NftsByContractAddressQueryKey;
|
|
1178
|
+
const getV1NftsByContractAddressOptions = (options) => {
|
|
1179
|
+
return (0, react_query_1.queryOptions)({
|
|
1180
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1181
|
+
const { data } = await (0, sdk_gen_1.getV1NftsByContractAddress)({
|
|
1182
|
+
...options,
|
|
1183
|
+
...queryKey[0],
|
|
1184
|
+
signal,
|
|
1185
|
+
throwOnError: true
|
|
1186
|
+
});
|
|
1187
|
+
return data;
|
|
1188
|
+
},
|
|
1189
|
+
queryKey: (0, exports.getV1NftsByContractAddressQueryKey)(options)
|
|
1190
|
+
});
|
|
1191
|
+
};
|
|
1192
|
+
exports.getV1NftsByContractAddressOptions = getV1NftsByContractAddressOptions;
|
|
1193
|
+
const getV1NftsByContractAddressInfiniteQueryKey = (options) => createQueryKey('getV1NftsByContractAddress', options, true);
|
|
1194
|
+
exports.getV1NftsByContractAddressInfiniteQueryKey = getV1NftsByContractAddressInfiniteQueryKey;
|
|
1195
|
+
const getV1NftsByContractAddressInfiniteOptions = (options) => {
|
|
1196
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
1197
|
+
// @ts-ignore
|
|
1198
|
+
{
|
|
1199
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1200
|
+
// @ts-ignore
|
|
1201
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
1202
|
+
query: {
|
|
1203
|
+
page: pageParam
|
|
1204
|
+
}
|
|
1205
|
+
};
|
|
1206
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1207
|
+
const { data } = await (0, sdk_gen_1.getV1NftsByContractAddress)({
|
|
1208
|
+
...options,
|
|
1209
|
+
...params,
|
|
1210
|
+
signal,
|
|
1211
|
+
throwOnError: true
|
|
1212
|
+
});
|
|
1213
|
+
return data;
|
|
1214
|
+
},
|
|
1215
|
+
queryKey: (0, exports.getV1NftsByContractAddressInfiniteQueryKey)(options)
|
|
1216
|
+
});
|
|
1217
|
+
};
|
|
1218
|
+
exports.getV1NftsByContractAddressInfiniteOptions = getV1NftsByContractAddressInfiniteOptions;
|
|
1219
|
+
const getV1NftsTransfersByContractAddressByTokenIdQueryKey = (options) => createQueryKey('getV1NftsTransfersByContractAddressByTokenId', options);
|
|
1220
|
+
exports.getV1NftsTransfersByContractAddressByTokenIdQueryKey = getV1NftsTransfersByContractAddressByTokenIdQueryKey;
|
|
1221
|
+
const getV1NftsTransfersByContractAddressByTokenIdOptions = (options) => {
|
|
1222
|
+
return (0, react_query_1.queryOptions)({
|
|
1223
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1224
|
+
const { data } = await (0, sdk_gen_1.getV1NftsTransfersByContractAddressByTokenId)({
|
|
1225
|
+
...options,
|
|
1226
|
+
...queryKey[0],
|
|
1227
|
+
signal,
|
|
1228
|
+
throwOnError: true
|
|
1229
|
+
});
|
|
1230
|
+
return data;
|
|
1231
|
+
},
|
|
1232
|
+
queryKey: (0, exports.getV1NftsTransfersByContractAddressByTokenIdQueryKey)(options)
|
|
1233
|
+
});
|
|
1234
|
+
};
|
|
1235
|
+
exports.getV1NftsTransfersByContractAddressByTokenIdOptions = getV1NftsTransfersByContractAddressByTokenIdOptions;
|
|
1236
|
+
const getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey = (options) => createQueryKey('getV1NftsTransfersByContractAddressByTokenId', options, true);
|
|
1237
|
+
exports.getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey = getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey;
|
|
1238
|
+
const getV1NftsTransfersByContractAddressByTokenIdInfiniteOptions = (options) => {
|
|
1239
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
1240
|
+
// @ts-ignore
|
|
1241
|
+
{
|
|
1242
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1243
|
+
// @ts-ignore
|
|
1244
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
1245
|
+
query: {
|
|
1246
|
+
page: pageParam
|
|
1247
|
+
}
|
|
1248
|
+
};
|
|
1249
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1250
|
+
const { data } = await (0, sdk_gen_1.getV1NftsTransfersByContractAddressByTokenId)({
|
|
1251
|
+
...options,
|
|
1252
|
+
...params,
|
|
1253
|
+
signal,
|
|
1254
|
+
throwOnError: true
|
|
1255
|
+
});
|
|
1256
|
+
return data;
|
|
1257
|
+
},
|
|
1258
|
+
queryKey: (0, exports.getV1NftsTransfersByContractAddressByTokenIdInfiniteQueryKey)(options)
|
|
1259
|
+
});
|
|
1260
|
+
};
|
|
1261
|
+
exports.getV1NftsTransfersByContractAddressByTokenIdInfiniteOptions = getV1NftsTransfersByContractAddressByTokenIdInfiniteOptions;
|
|
1262
|
+
const getV1NftsByContractAddressByTokenIdQueryKey = (options) => createQueryKey('getV1NftsByContractAddressByTokenId', options);
|
|
1263
|
+
exports.getV1NftsByContractAddressByTokenIdQueryKey = getV1NftsByContractAddressByTokenIdQueryKey;
|
|
1264
|
+
const getV1NftsByContractAddressByTokenIdOptions = (options) => {
|
|
1265
|
+
return (0, react_query_1.queryOptions)({
|
|
1266
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1267
|
+
const { data } = await (0, sdk_gen_1.getV1NftsByContractAddressByTokenId)({
|
|
1268
|
+
...options,
|
|
1269
|
+
...queryKey[0],
|
|
1270
|
+
signal,
|
|
1271
|
+
throwOnError: true
|
|
1272
|
+
});
|
|
1273
|
+
return data;
|
|
1274
|
+
},
|
|
1275
|
+
queryKey: (0, exports.getV1NftsByContractAddressByTokenIdQueryKey)(options)
|
|
1276
|
+
});
|
|
1277
|
+
};
|
|
1278
|
+
exports.getV1NftsByContractAddressByTokenIdOptions = getV1NftsByContractAddressByTokenIdOptions;
|
|
1279
|
+
const getV1NftsMetadataRefreshByContractAddressQueryKey = (options) => createQueryKey('getV1NftsMetadataRefreshByContractAddress', options);
|
|
1280
|
+
exports.getV1NftsMetadataRefreshByContractAddressQueryKey = getV1NftsMetadataRefreshByContractAddressQueryKey;
|
|
1281
|
+
const getV1NftsMetadataRefreshByContractAddressOptions = (options) => {
|
|
1282
|
+
return (0, react_query_1.queryOptions)({
|
|
1283
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1284
|
+
const { data } = await (0, sdk_gen_1.getV1NftsMetadataRefreshByContractAddress)({
|
|
1285
|
+
...options,
|
|
1286
|
+
...queryKey[0],
|
|
1287
|
+
signal,
|
|
1288
|
+
throwOnError: true
|
|
1289
|
+
});
|
|
1290
|
+
return data;
|
|
1291
|
+
},
|
|
1292
|
+
queryKey: (0, exports.getV1NftsMetadataRefreshByContractAddressQueryKey)(options)
|
|
1293
|
+
});
|
|
1294
|
+
};
|
|
1295
|
+
exports.getV1NftsMetadataRefreshByContractAddressOptions = getV1NftsMetadataRefreshByContractAddressOptions;
|
|
1296
|
+
const getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey = (options) => createQueryKey('getV1NftsMetadataRefreshByContractAddressByTokenId', options);
|
|
1297
|
+
exports.getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey = getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey;
|
|
1298
|
+
const getV1NftsMetadataRefreshByContractAddressByTokenIdOptions = (options) => {
|
|
1299
|
+
return (0, react_query_1.queryOptions)({
|
|
1300
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1301
|
+
const { data } = await (0, sdk_gen_1.getV1NftsMetadataRefreshByContractAddressByTokenId)({
|
|
1302
|
+
...options,
|
|
1303
|
+
...queryKey[0],
|
|
1304
|
+
signal,
|
|
1305
|
+
throwOnError: true
|
|
1306
|
+
});
|
|
1307
|
+
return data;
|
|
1308
|
+
},
|
|
1309
|
+
queryKey: (0, exports.getV1NftsMetadataRefreshByContractAddressByTokenIdQueryKey)(options)
|
|
1310
|
+
});
|
|
1311
|
+
};
|
|
1312
|
+
exports.getV1NftsMetadataRefreshByContractAddressByTokenIdOptions = getV1NftsMetadataRefreshByContractAddressByTokenIdOptions;
|
|
1313
|
+
const getV1WalletsByWalletAddressTransactionsQueryKey = (options) => createQueryKey('getV1WalletsByWalletAddressTransactions', options);
|
|
1314
|
+
exports.getV1WalletsByWalletAddressTransactionsQueryKey = getV1WalletsByWalletAddressTransactionsQueryKey;
|
|
1315
|
+
const getV1WalletsByWalletAddressTransactionsOptions = (options) => {
|
|
1316
|
+
return (0, react_query_1.queryOptions)({
|
|
1317
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
1318
|
+
const { data } = await (0, sdk_gen_1.getV1WalletsByWalletAddressTransactions)({
|
|
1319
|
+
...options,
|
|
1320
|
+
...queryKey[0],
|
|
1321
|
+
signal,
|
|
1322
|
+
throwOnError: true
|
|
1323
|
+
});
|
|
1324
|
+
return data;
|
|
1325
|
+
},
|
|
1326
|
+
queryKey: (0, exports.getV1WalletsByWalletAddressTransactionsQueryKey)(options)
|
|
1327
|
+
});
|
|
1328
|
+
};
|
|
1329
|
+
exports.getV1WalletsByWalletAddressTransactionsOptions = getV1WalletsByWalletAddressTransactionsOptions;
|
|
1330
|
+
const getV1WalletsByWalletAddressTransactionsInfiniteQueryKey = (options) => createQueryKey('getV1WalletsByWalletAddressTransactions', options, true);
|
|
1331
|
+
exports.getV1WalletsByWalletAddressTransactionsInfiniteQueryKey = getV1WalletsByWalletAddressTransactionsInfiniteQueryKey;
|
|
1332
|
+
const getV1WalletsByWalletAddressTransactionsInfiniteOptions = (options) => {
|
|
1333
|
+
return (0, react_query_1.infiniteQueryOptions)(
|
|
1334
|
+
// @ts-ignore
|
|
1335
|
+
{
|
|
1336
|
+
queryFn: async ({ pageParam, queryKey, signal }) => {
|
|
1337
|
+
// @ts-ignore
|
|
1338
|
+
const page = typeof pageParam === 'object' ? pageParam : {
|
|
1339
|
+
query: {
|
|
1340
|
+
page: pageParam
|
|
1341
|
+
}
|
|
1342
|
+
};
|
|
1343
|
+
const params = createInfiniteParams(queryKey, page);
|
|
1344
|
+
const { data } = await (0, sdk_gen_1.getV1WalletsByWalletAddressTransactions)({
|
|
1345
|
+
...options,
|
|
1346
|
+
...params,
|
|
1347
|
+
signal,
|
|
1348
|
+
throwOnError: true
|
|
1349
|
+
});
|
|
1350
|
+
return data;
|
|
1351
|
+
},
|
|
1352
|
+
queryKey: (0, exports.getV1WalletsByWalletAddressTransactionsInfiniteQueryKey)(options)
|
|
1353
|
+
});
|
|
1354
|
+
};
|
|
1355
|
+
exports.getV1WalletsByWalletAddressTransactionsInfiniteOptions = getV1WalletsByWalletAddressTransactionsInfiniteOptions;
|