From 173cba15aadc61ea7d4fcad367a735a95accdae9 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Tue, 17 Oct 2023 08:10:04 -0400 Subject: [PATCH 01/19] added linter --- packages/react-native/.eslintrc.cjs | 4 ++++ packages/react-native/package.json | 11 ++++++----- packages/react-native/src/evm/i18n/strings.ts | 1 + pnpm-lock.yaml | 18 +++++++++++++++++- 4 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 packages/react-native/src/evm/i18n/strings.ts diff --git a/packages/react-native/.eslintrc.cjs b/packages/react-native/.eslintrc.cjs index 2f26ccaad08..327d073e170 100644 --- a/packages/react-native/.eslintrc.cjs +++ b/packages/react-native/.eslintrc.cjs @@ -1,6 +1,10 @@ module.exports = { root: true, extends: ["thirdweb"], + plugins: ["i18next"], + rules: { + "i18next/no-literal-string": 2, + }, settings: { // https://github.com/facebook/react-native/issues/28549 "import/ignore": ["react-native"], diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 9d4d58eeb4f..7490e78b248 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -65,6 +65,7 @@ "eslint": "^8.45.0", "eslint-config-prettier": "^8.9.0", "eslint-config-thirdweb": "workspace:*", + "eslint-plugin-i18next": "^6.0.3", "eslint-plugin-import": "^2.26.0", "eslint-plugin-inclusive-language": "^2.2.0", "eslint-plugin-prettier": "^5.0.0", @@ -82,15 +83,15 @@ "typescript": "^5.1.6" }, "optionalDependencies": { + "amazon-cognito-identity-js": "^6.3.3", + "react-native-aes-gcm-crypto": "^0.2.2", "react-native-camera": "^4.2.1", "react-native-device-info": "10.6.0", - "react-native-safe-area-context": "4.5.3", - "react-native-webview": "12.1.0", - "amazon-cognito-identity-js": "^6.3.3", + "react-native-inappbrowser-reborn": "^3.7.0", "react-native-quick-base64": "^2.0.7", "react-native-quick-crypto": "^0.6.1", - "react-native-aes-gcm-crypto": "^0.2.2", - "react-native-inappbrowser-reborn": "^3.7.0" + "react-native-safe-area-context": "4.5.3", + "react-native-webview": "12.1.0" }, "peerDependencies": { "ethers": ">=5.5.1 <6", diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts new file mode 100644 index 00000000000..34a51f2fefe --- /dev/null +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -0,0 +1 @@ +export const strings = {}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index accdb1f722e..4431f8aef5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -629,7 +629,7 @@ importers: dependencies: '@tanstack/react-query': specifier: ^4.33.0 - version: 4.33.0(react-native@0.71.11)(react@18.2.0) + version: 4.33.0(react-dom@18.2.0)(react@18.2.0) '@thirdweb-dev/auth': specifier: workspace:* version: link:../auth @@ -885,6 +885,9 @@ importers: eslint-config-thirdweb: specifier: workspace:* version: link:../eslint-config-thirdweb + eslint-plugin-i18next: + specifier: ^6.0.3 + version: 6.0.3 eslint-plugin-import: specifier: ^2.26.0 version: 2.27.5(@typescript-eslint/parser@6.2.0)(eslint@8.45.0) @@ -17521,6 +17524,14 @@ packages: string-natural-compare: 3.0.1 dev: true + /eslint-plugin-i18next@6.0.3: + resolution: {integrity: sha512-RtQXYfg6PZCjejIQ/YG+dUj/x15jPhufJ9hUDGH0kCpJ6CkVMAWOQ9exU1CrbPmzeykxLjrXkjAaOZF/V7+DOA==} + engines: {node: '>=0.10.0'} + dependencies: + lodash: 4.17.21 + requireindex: 1.1.0 + dev: true + /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.60.1)(eslint@8.45.0): resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} @@ -26541,6 +26552,11 @@ packages: rc: 1.2.8 resolve: 1.7.1 + /requireindex@1.1.0: + resolution: {integrity: sha512-LBnkqsDE7BZKvqylbmn7lTIVdpx4K/QCduRATpO5R+wtPmky/a8pN1bO2D6wXppn1497AJF9mNjqAXr6bdl9jg==} + engines: {node: '>=0.10.5'} + dev: true + /requires-port@1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} From f833e6de02ee56d09fd145604f9062b4b8fadf11 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Wed, 18 Oct 2023 14:05:48 -0400 Subject: [PATCH 02/19] extract strings --- packages/react-native/src/evm/i18n/strings.ts | 66 ++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts index 34a51f2fefe..6b42b8b3bf1 100644 --- a/packages/react-native/src/evm/i18n/strings.ts +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -1 +1,65 @@ -export const strings = {}; +export const en = { + connect_wallet: { + label: "Connect Wallet", + }, + connect_wallet_details: { + additional_actions: "Additional Actions", + backup_wallet: "Backup Wallet", + import_wallet: "Import Wallet", + connected_to_smart_wallet: "Connected to a Smart Wallet", + current_network: "Current Network", + wallet_address: "Wallet Address", + backup: "Backup", + connect_to_app: "Connect to App", + guest: "Guest", + connect: "Connect", + new_to_wallets: "New to wallets?", + get_started: "Get started", + connect_a_wallet: "Connect a wallet", + continue_as_guest: "Continue as guest", + tos_intro: "By connecting, you agree to the", + tos: "Terms of Service", + privacy_policy: "Privacy Policy", + copy_address_or_scan: + "Copy the wallet address or scan the QR code to send funds to this wallet.", + your_address: "Your address", + qr_code: "QR Code", + select_token: "Select Token", + send_to: "Send to", + no_tokens_found: "No Tokens found", + confirm_in_wallet: "Confirm in your wallet", + select_network: "Select Network", + no_supported_chains_detected: "No supported chains detected", + recommended: "Recommended", + }, + connecting_wallet: { + local_wallet_message: + "Creating, encrypting and securing your device wallet.", + connecting_your_wallet: "Connecting your wallet", + }, + local_wallet: { + create_new_wallet: "Create new wallet", + private_key_mnemonic: "Or Private key or Mnemonic", + }, + embedded_wallet: { + request_new_code: "Request new code", + sign_in: "Sign In", + }, + wallet_connect: { + no_results_found: "No results found", + }, + common: { + password: "Password", + reject: "Reject", + approve: "Approve", + switch_network: "Switch Network", + import: "Import", + username: "Username", + amount: "Amount", + send: "Send", + continue: "Continue", + error_switching_network: "Error switching network", + }, +}; + +export const fr = {}; From 11a01f34ec25ddbdd70ddaa41deea1157a9d7781 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Wed, 18 Oct 2023 20:09:23 -0400 Subject: [PATCH 03/19] locale --- packages/react-native/src/evm/i18n/strings.ts | 88 +- packages/react-native/src/evm/i18n/types.ts | 131 + packages/react-native/src/evm/index.ts | 2 + .../src/evm/providers/thirdweb-provider.tsx | 44 +- .../src/evm/providers/ui-context-provider.tsx | 24 +- packages/react/typedoc/.nojekyll | 1 + packages/react/typedoc/assets/highlight.css | 127 + packages/react/typedoc/assets/main.js | 59 + packages/react/typedoc/assets/navigation.js | 1 + packages/react/typedoc/assets/search.js | 1 + packages/react/typedoc/assets/style.css | 1383 + packages/react/typedoc/documentation.json | 51376 ++++++++++++++++ .../typedoc/functions/ConnectModalInline.html | 72 + .../typedoc/functions/ConnectWallet.html | 78 + .../typedoc/functions/MediaRenderer.html | 84 + .../typedoc/functions/NetworkSelector.html | 74 + .../functions/ThirdwebAuthProvider.html | 74 + .../functions/ThirdwebConfigProvider.html | 74 + .../ThirdwebConnectedWalletProvider.html | 74 + .../typedoc/functions/ThirdwebNftMedia.html | 81 + .../typedoc/functions/ThirdwebProvider.html | 85 + .../functions/ThirdwebProviderCore.html | 77 + .../functions/ThirdwebSDKProvider.html | 83 + .../react/typedoc/functions/Web3Button.html | 84 + .../react/typedoc/functions/bloctoWallet.html | 72 + .../typedoc/functions/coinbaseWallet.html | 72 + .../react/typedoc/functions/darkTheme.html | 72 + .../typedoc/functions/embeddedWallet.html | 72 + .../react/typedoc/functions/frameWallet.html | 72 + .../react/typedoc/functions/getErc1155.html | 72 + .../react/typedoc/functions/getErc20.html | 72 + .../react/typedoc/functions/getErc721.html | 72 + packages/react/typedoc/functions/getErcs.html | 79 + .../react/typedoc/functions/lightTheme.html | 72 + .../react/typedoc/functions/localWallet.html | 72 + .../react/typedoc/functions/magicLink.html | 72 + .../typedoc/functions/metamaskWallet.html | 72 + .../react/typedoc/functions/paperWallet.html | 72 + .../typedoc/functions/phantomWallet.html | 72 + .../typedoc/functions/rainbowWallet.html | 72 + .../typedoc/functions/resolveMimeType.html | 72 + .../react/typedoc/functions/safeWallet.html | 72 + .../functions/shouldNeverPersistQuery.html | 77 + .../react/typedoc/functions/smartWallet.html | 74 + .../react/typedoc/functions/trustWallet.html | 72 + .../useAcceptDirectListingOffer.html | 86 + .../typedoc/functions/useAccountAdmins.html | 86 + .../functions/useAccountAdminsAndSigners.html | 86 + .../typedoc/functions/useAccountSigners.html | 86 + .../react/typedoc/functions/useAccounts.html | 86 + .../functions/useAccountsForAddress.html | 88 + .../typedoc/functions/useActiveChain.html | 71 + .../functions/useActiveClaimCondition.html | 93 + .../useActiveClaimConditionForWallet.html | 96 + .../typedoc/functions/useActiveListings.html | 89 + .../react/typedoc/functions/useAddAdmin.html | 75 + .../react/typedoc/functions/useAddress.html | 79 + .../typedoc/functions/useAirdropNFT.html | 86 + .../typedoc/functions/useAllRoleMembers.html | 91 + .../react/typedoc/functions/useAppURI.html | 89 + .../typedoc/functions/useAuctionWinner.html | 91 + packages/react/typedoc/functions/useAuth.html | 67 + .../react/typedoc/functions/useBalance.html | 79 + .../typedoc/functions/useBatchesToReveal.html | 88 + .../react/typedoc/functions/useBidBuffer.html | 91 + .../typedoc/functions/useBloctoWallet.html | 78 + .../react/typedoc/functions/useBurnNFT.html | 91 + .../react/typedoc/functions/useBurnToken.html | 86 + .../functions/useBuyDirectListing.html | 84 + .../react/typedoc/functions/useBuyNow.html | 84 + .../functions/useCancelDirectListing.html | 86 + .../functions/useCancelEnglishAuction.html | 86 + .../typedoc/functions/useCancelListing.html | 84 + .../react/typedoc/functions/useChain.html | 78 + .../react/typedoc/functions/useChainId.html | 78 + .../typedoc/functions/useClaimConditions.html | 93 + .../useClaimIneligibilityReasons.html | 93 + .../react/typedoc/functions/useClaimNFT.html | 91 + .../typedoc/functions/useClaimToken.html | 86 + .../functions/useClaimedNFTSupply.html | 83 + .../typedoc/functions/useClaimedNFTs.html | 94 + .../typedoc/functions/useClaimerProofs.html | 101 + .../typedoc/functions/useCoinbaseWallet.html | 81 + .../functions/useCompilerMetadata.html | 72 + .../react/typedoc/functions/useConnect.html | 85 + .../functions/useConnectionStatus.html | 76 + .../react/typedoc/functions/useContract.html | 158 + .../typedoc/functions/useContractEvents.html | 99 + .../functions/useContractMetadata.html | 89 + .../functions/useContractMetadataUpdate.html | 84 + .../typedoc/functions/useContractRead.html | 111 + .../typedoc/functions/useContractType.html | 72 + .../typedoc/functions/useContractWrite.html | 102 + .../typedoc/functions/useCreateAccount.html | 86 + .../functions/useCreateAuctionListing.html | 91 + .../functions/useCreateDirectListing.html | 91 + .../functions/useCreateSessionKey.html | 75 + .../functions/useCreateWalletInstance.html | 85 + .../functions/useDelayedRevealLazyMint.html | 107 + .../typedoc/functions/useDirectListing.html | 91 + .../typedoc/functions/useDirectListings.html | 91 + .../functions/useDirectListingsCount.html | 86 + .../typedoc/functions/useDisconnect.html | 75 + packages/react/typedoc/functions/useENS.html | 67 + .../react/typedoc/functions/useEdition.html | 85 + .../typedoc/functions/useEditionDrop.html | 85 + .../typedoc/functions/useEnglishAuction.html | 91 + .../useEnglishAuctionWinningBid.html | 91 + .../typedoc/functions/useEnglishAuctions.html | 91 + .../functions/useEnglishAuctionsCount.html | 86 + .../functions/useExecuteAuctionSale.html | 84 + .../typedoc/functions/useFrameWallet.html | 81 + .../react/typedoc/functions/useGrantRole.html | 91 + .../functions/useInstalledWallets.html | 76 + .../functions/useIsAccountDeployed.html | 90 + .../typedoc/functions/useIsAddressRole.html | 101 + .../functions/useIsWalletModalOpen.html | 67 + .../react/typedoc/functions/useLazyMint.html | 107 + .../react/typedoc/functions/useListing.html | 89 + .../react/typedoc/functions/useListings.html | 89 + .../typedoc/functions/useListingsCount.html | 84 + .../react/typedoc/functions/useLogin.html | 87 + .../react/typedoc/functions/useLogout.html | 81 + .../react/typedoc/functions/useMagic.html | 78 + .../react/typedoc/functions/useMakeBid.html | 84 + .../react/typedoc/functions/useMakeOffer.html | 84 + .../typedoc/functions/useMarketplace.html | 85 + .../react/typedoc/functions/useMetadata.html | 84 + .../react/typedoc/functions/useMetamask.html | 81 + .../typedoc/functions/useMinimumNextBid.html | 91 + .../react/typedoc/functions/useMintNFT.html | 91 + .../typedoc/functions/useMintNFTSupply.html | 86 + .../react/typedoc/functions/useMintToken.html | 86 + .../react/typedoc/functions/useMultiwrap.html | 85 + packages/react/typedoc/functions/useNFT.html | 96 + .../typedoc/functions/useNFTBalance.html | 96 + .../typedoc/functions/useNFTCollection.html | 85 + .../react/typedoc/functions/useNFTDrop.html | 85 + packages/react/typedoc/functions/useNFTs.html | 97 + .../react/typedoc/functions/useNetwork.html | 78 + .../typedoc/functions/useNetworkMismatch.html | 80 + .../react/typedoc/functions/useOffers.html | 90 + .../react/typedoc/functions/useOwnedNFTs.html | 102 + packages/react/typedoc/functions/usePack.html | 85 + .../typedoc/functions/usePaperWallet.html | 78 + .../functions/usePaperWalletUserEmail.html | 67 + .../typedoc/functions/usePlatformFees.html | 86 + .../functions/usePrimarySaleRecipient.html | 87 + .../typedoc/functions/useRainbowWallet.html | 81 + .../typedoc/functions/useRemoveAdmin.html | 75 + .../functions/useResetClaimConditions.html | 86 + .../functions/useResolvedMediaType.html | 93 + .../typedoc/functions/useRevealLazyMint.html | 91 + .../typedoc/functions/useRevokeRole.html | 91 + .../functions/useRevokeSessionKey.html | 75 + .../typedoc/functions/useRoleMembers.html | 96 + .../typedoc/functions/useRoyaltySettings.html | 86 + packages/react/typedoc/functions/useSDK.html | 74 + packages/react/typedoc/functions/useSafe.html | 78 + .../functions/useSetAllRoleMembers.html | 89 + .../react/typedoc/functions/useSetAppURI.html | 84 + .../functions/useSetClaimConditions.html | 88 + .../functions/useSetConnectedWallet.html | 82 + .../functions/useSetConnectionStatus.html | 80 + .../functions/useSetIsWalletModalOpen.html | 67 + .../functions/useSetSharedMetadata.html | 81 + .../typedoc/functions/useSharedMetadata.html | 86 + .../typedoc/functions/useSignatureDrop.html | 85 + .../typedoc/functions/useSmartWallet.html | 80 + .../react/typedoc/functions/useSplit.html | 85 + .../react/typedoc/functions/useStorage.html | 73 + .../typedoc/functions/useStorageUpload.html | 87 + .../typedoc/functions/useSupportedChains.html | 67 + .../typedoc/functions/useSupportedWallet.html | 72 + .../typedoc/functions/useSwitchAccount.html | 80 + .../typedoc/functions/useSwitchChain.html | 80 + .../functions/useThirdwebAuthContext.html | 67 + .../functions/useThirdwebConfigContext.html | 67 + .../useThirdwebConnectedWalletContext.html | 67 + .../react/typedoc/functions/useToken.html | 85 + .../typedoc/functions/useTokenBalance.html | 88 + .../typedoc/functions/useTokenDecimals.html | 86 + .../react/typedoc/functions/useTokenDrop.html | 85 + .../typedoc/functions/useTokenSupply.html | 86 + .../functions/useTotalCirculatingSupply.html | 91 + .../typedoc/functions/useTotalCount.html | 91 + .../functions/useTransferBatchToken.html | 86 + .../typedoc/functions/useTransferNFT.html | 91 + .../typedoc/functions/useTransferToken.html | 86 + .../typedoc/functions/useTrustWallet.html | 81 + .../functions/useUnclaimedNFTSupply.html | 81 + .../typedoc/functions/useUnclaimedNFTs.html | 92 + .../typedoc/functions/useUpdateMetadata.html | 84 + .../functions/useUpdatePlatformFees.html | 86 + .../useUpdatePrimarySaleRecipient.html | 86 + .../functions/useUpdateRoyaltySettings.html | 86 + packages/react/typedoc/functions/useUser.html | 89 + .../functions/useValidDirectListings.html | 91 + .../functions/useValidEnglishAuctions.html | 91 + packages/react/typedoc/functions/useVote.html | 85 + .../react/typedoc/functions/useWallet.html | 84 + .../typedoc/functions/useWalletConfig.html | 69 + .../typedoc/functions/useWalletConnect.html | 85 + .../typedoc/functions/useWalletConnectV1.html | 81 + .../typedoc/functions/useWalletContext.html | 67 + .../react/typedoc/functions/useWallets.html | 69 + .../functions/useWatchTransactions.html | 81 + .../typedoc/functions/useWinningBid.html | 89 + .../typedoc/functions/walletConnect.html | 72 + .../typedoc/functions/walletConnectV1.html | 77 + .../react/typedoc/functions/zerionWallet.html | 72 + packages/react/typedoc/index.html | 520 + .../typedoc/interfaces/ISecureStorage.html | 127 + .../interfaces/MediaRendererProps.html | 196 + .../react/typedoc/interfaces/MediaType.html | 94 + .../interfaces/ThirdwebAuthConfig.html | 120 + .../interfaces/ThirdwebNftMediaProps.html | 169 + .../interfaces/ThirdwebProviderCoreProps.html | 253 + .../interfaces/ThirdwebSDKProviderProps.html | 168 + .../typedoc/interfaces/UserWithData.html | 112 + packages/react/typedoc/modules.html | 326 + .../typedoc/types/AcceptDirectOffer.html | 70 + .../react/typedoc/types/AirdropNFTParams.html | 73 + .../react/typedoc/types/BurnNFTParams.html | 73 + .../react/typedoc/types/BuyNowParams.html | 68 + packages/react/typedoc/types/Chain.html | 78 + .../types/ClaimIneligibilityParams.html | 73 + .../react/typedoc/types/ClaimNFTParams.html | 80 + .../typedoc/types/ClaimNFTReturnType.html | 66 + .../react/typedoc/types/ClaimTokenParams.html | 72 + .../react/typedoc/types/ConnectUIProps.html | 199 + .../typedoc/types/ConnectWalletProps.html | 188 + .../types/DelayedRevealLazyMintInput.html | 75 + .../react/typedoc/types/DropContract.html | 66 + .../react/typedoc/types/Erc721OrErc1155.html | 66 + .../typedoc/types/ExecuteAuctionSale.html | 68 + .../typedoc/types/ExtraCoreWalletOptions.html | 68 + .../react/typedoc/types/MakeBidParams.html | 70 + .../react/typedoc/types/MakeOfferParams.html | 72 + .../react/typedoc/types/MintNFTParams.html | 75 + .../typedoc/types/MintNFTReturnType.html | 71 + .../typedoc/types/MintNFTSupplyParams.html | 75 + packages/react/typedoc/types/NFTContract.html | 69 + .../typedoc/types/NetworkSelectorProps.html | 107 + .../react/typedoc/types/RequiredParam.html | 71 + .../typedoc/types/RevealLazyMintInput.html | 73 + .../typedoc/types/RevealableContract.html | 66 + .../react/typedoc/types/SelectUIProps.html | 114 + .../types/SetClaimConditionsParams.html | 73 + packages/react/typedoc/types/Theme.html | 63 + .../react/typedoc/types/ThemeOverrides.html | 63 + .../react/typedoc/types/TokenBurnParams.html | 71 + .../react/typedoc/types/TokenContract.html | 69 + packages/react/typedoc/types/TokenParams.html | 73 + .../typedoc/types/TransferNFTParams.html | 75 + .../typedoc/types/UseContractResult.html | 73 + .../types/UseWatchTransactionsParams.html | 68 + .../react/typedoc/types/WalletAddress.html | 66 + packages/react/typedoc/types/WalletClass.html | 85 + .../react/typedoc/types/WalletConfig.html | 135 + .../react/typedoc/types/WalletInstance.html | 63 + .../react/typedoc/types/WalletOptions.html | 63 + .../variables/ThirdwebThemeContext.html | 63 + packages/react/typedoc/variables/__DEV__.html | 63 + .../typedoc/variables/compilerMetadata.html | 85 + .../react/typedoc/variables/contractType.html | 85 + .../typedoc/variables/defaultTokens.html | 63 + .../typedoc/variables/defaultWallets.html | 63 + 268 files changed, 75551 insertions(+), 67 deletions(-) create mode 100644 packages/react-native/src/evm/i18n/types.ts create mode 100644 packages/react/typedoc/.nojekyll create mode 100644 packages/react/typedoc/assets/highlight.css create mode 100644 packages/react/typedoc/assets/main.js create mode 100644 packages/react/typedoc/assets/navigation.js create mode 100644 packages/react/typedoc/assets/search.js create mode 100644 packages/react/typedoc/assets/style.css create mode 100644 packages/react/typedoc/documentation.json create mode 100644 packages/react/typedoc/functions/ConnectModalInline.html create mode 100644 packages/react/typedoc/functions/ConnectWallet.html create mode 100644 packages/react/typedoc/functions/MediaRenderer.html create mode 100644 packages/react/typedoc/functions/NetworkSelector.html create mode 100644 packages/react/typedoc/functions/ThirdwebAuthProvider.html create mode 100644 packages/react/typedoc/functions/ThirdwebConfigProvider.html create mode 100644 packages/react/typedoc/functions/ThirdwebConnectedWalletProvider.html create mode 100644 packages/react/typedoc/functions/ThirdwebNftMedia.html create mode 100644 packages/react/typedoc/functions/ThirdwebProvider.html create mode 100644 packages/react/typedoc/functions/ThirdwebProviderCore.html create mode 100644 packages/react/typedoc/functions/ThirdwebSDKProvider.html create mode 100644 packages/react/typedoc/functions/Web3Button.html create mode 100644 packages/react/typedoc/functions/bloctoWallet.html create mode 100644 packages/react/typedoc/functions/coinbaseWallet.html create mode 100644 packages/react/typedoc/functions/darkTheme.html create mode 100644 packages/react/typedoc/functions/embeddedWallet.html create mode 100644 packages/react/typedoc/functions/frameWallet.html create mode 100644 packages/react/typedoc/functions/getErc1155.html create mode 100644 packages/react/typedoc/functions/getErc20.html create mode 100644 packages/react/typedoc/functions/getErc721.html create mode 100644 packages/react/typedoc/functions/getErcs.html create mode 100644 packages/react/typedoc/functions/lightTheme.html create mode 100644 packages/react/typedoc/functions/localWallet.html create mode 100644 packages/react/typedoc/functions/magicLink.html create mode 100644 packages/react/typedoc/functions/metamaskWallet.html create mode 100644 packages/react/typedoc/functions/paperWallet.html create mode 100644 packages/react/typedoc/functions/phantomWallet.html create mode 100644 packages/react/typedoc/functions/rainbowWallet.html create mode 100644 packages/react/typedoc/functions/resolveMimeType.html create mode 100644 packages/react/typedoc/functions/safeWallet.html create mode 100644 packages/react/typedoc/functions/shouldNeverPersistQuery.html create mode 100644 packages/react/typedoc/functions/smartWallet.html create mode 100644 packages/react/typedoc/functions/trustWallet.html create mode 100644 packages/react/typedoc/functions/useAcceptDirectListingOffer.html create mode 100644 packages/react/typedoc/functions/useAccountAdmins.html create mode 100644 packages/react/typedoc/functions/useAccountAdminsAndSigners.html create mode 100644 packages/react/typedoc/functions/useAccountSigners.html create mode 100644 packages/react/typedoc/functions/useAccounts.html create mode 100644 packages/react/typedoc/functions/useAccountsForAddress.html create mode 100644 packages/react/typedoc/functions/useActiveChain.html create mode 100644 packages/react/typedoc/functions/useActiveClaimCondition.html create mode 100644 packages/react/typedoc/functions/useActiveClaimConditionForWallet.html create mode 100644 packages/react/typedoc/functions/useActiveListings.html create mode 100644 packages/react/typedoc/functions/useAddAdmin.html create mode 100644 packages/react/typedoc/functions/useAddress.html create mode 100644 packages/react/typedoc/functions/useAirdropNFT.html create mode 100644 packages/react/typedoc/functions/useAllRoleMembers.html create mode 100644 packages/react/typedoc/functions/useAppURI.html create mode 100644 packages/react/typedoc/functions/useAuctionWinner.html create mode 100644 packages/react/typedoc/functions/useAuth.html create mode 100644 packages/react/typedoc/functions/useBalance.html create mode 100644 packages/react/typedoc/functions/useBatchesToReveal.html create mode 100644 packages/react/typedoc/functions/useBidBuffer.html create mode 100644 packages/react/typedoc/functions/useBloctoWallet.html create mode 100644 packages/react/typedoc/functions/useBurnNFT.html create mode 100644 packages/react/typedoc/functions/useBurnToken.html create mode 100644 packages/react/typedoc/functions/useBuyDirectListing.html create mode 100644 packages/react/typedoc/functions/useBuyNow.html create mode 100644 packages/react/typedoc/functions/useCancelDirectListing.html create mode 100644 packages/react/typedoc/functions/useCancelEnglishAuction.html create mode 100644 packages/react/typedoc/functions/useCancelListing.html create mode 100644 packages/react/typedoc/functions/useChain.html create mode 100644 packages/react/typedoc/functions/useChainId.html create mode 100644 packages/react/typedoc/functions/useClaimConditions.html create mode 100644 packages/react/typedoc/functions/useClaimIneligibilityReasons.html create mode 100644 packages/react/typedoc/functions/useClaimNFT.html create mode 100644 packages/react/typedoc/functions/useClaimToken.html create mode 100644 packages/react/typedoc/functions/useClaimedNFTSupply.html create mode 100644 packages/react/typedoc/functions/useClaimedNFTs.html create mode 100644 packages/react/typedoc/functions/useClaimerProofs.html create mode 100644 packages/react/typedoc/functions/useCoinbaseWallet.html create mode 100644 packages/react/typedoc/functions/useCompilerMetadata.html create mode 100644 packages/react/typedoc/functions/useConnect.html create mode 100644 packages/react/typedoc/functions/useConnectionStatus.html create mode 100644 packages/react/typedoc/functions/useContract.html create mode 100644 packages/react/typedoc/functions/useContractEvents.html create mode 100644 packages/react/typedoc/functions/useContractMetadata.html create mode 100644 packages/react/typedoc/functions/useContractMetadataUpdate.html create mode 100644 packages/react/typedoc/functions/useContractRead.html create mode 100644 packages/react/typedoc/functions/useContractType.html create mode 100644 packages/react/typedoc/functions/useContractWrite.html create mode 100644 packages/react/typedoc/functions/useCreateAccount.html create mode 100644 packages/react/typedoc/functions/useCreateAuctionListing.html create mode 100644 packages/react/typedoc/functions/useCreateDirectListing.html create mode 100644 packages/react/typedoc/functions/useCreateSessionKey.html create mode 100644 packages/react/typedoc/functions/useCreateWalletInstance.html create mode 100644 packages/react/typedoc/functions/useDelayedRevealLazyMint.html create mode 100644 packages/react/typedoc/functions/useDirectListing.html create mode 100644 packages/react/typedoc/functions/useDirectListings.html create mode 100644 packages/react/typedoc/functions/useDirectListingsCount.html create mode 100644 packages/react/typedoc/functions/useDisconnect.html create mode 100644 packages/react/typedoc/functions/useENS.html create mode 100644 packages/react/typedoc/functions/useEdition.html create mode 100644 packages/react/typedoc/functions/useEditionDrop.html create mode 100644 packages/react/typedoc/functions/useEnglishAuction.html create mode 100644 packages/react/typedoc/functions/useEnglishAuctionWinningBid.html create mode 100644 packages/react/typedoc/functions/useEnglishAuctions.html create mode 100644 packages/react/typedoc/functions/useEnglishAuctionsCount.html create mode 100644 packages/react/typedoc/functions/useExecuteAuctionSale.html create mode 100644 packages/react/typedoc/functions/useFrameWallet.html create mode 100644 packages/react/typedoc/functions/useGrantRole.html create mode 100644 packages/react/typedoc/functions/useInstalledWallets.html create mode 100644 packages/react/typedoc/functions/useIsAccountDeployed.html create mode 100644 packages/react/typedoc/functions/useIsAddressRole.html create mode 100644 packages/react/typedoc/functions/useIsWalletModalOpen.html create mode 100644 packages/react/typedoc/functions/useLazyMint.html create mode 100644 packages/react/typedoc/functions/useListing.html create mode 100644 packages/react/typedoc/functions/useListings.html create mode 100644 packages/react/typedoc/functions/useListingsCount.html create mode 100644 packages/react/typedoc/functions/useLogin.html create mode 100644 packages/react/typedoc/functions/useLogout.html create mode 100644 packages/react/typedoc/functions/useMagic.html create mode 100644 packages/react/typedoc/functions/useMakeBid.html create mode 100644 packages/react/typedoc/functions/useMakeOffer.html create mode 100644 packages/react/typedoc/functions/useMarketplace.html create mode 100644 packages/react/typedoc/functions/useMetadata.html create mode 100644 packages/react/typedoc/functions/useMetamask.html create mode 100644 packages/react/typedoc/functions/useMinimumNextBid.html create mode 100644 packages/react/typedoc/functions/useMintNFT.html create mode 100644 packages/react/typedoc/functions/useMintNFTSupply.html create mode 100644 packages/react/typedoc/functions/useMintToken.html create mode 100644 packages/react/typedoc/functions/useMultiwrap.html create mode 100644 packages/react/typedoc/functions/useNFT.html create mode 100644 packages/react/typedoc/functions/useNFTBalance.html create mode 100644 packages/react/typedoc/functions/useNFTCollection.html create mode 100644 packages/react/typedoc/functions/useNFTDrop.html create mode 100644 packages/react/typedoc/functions/useNFTs.html create mode 100644 packages/react/typedoc/functions/useNetwork.html create mode 100644 packages/react/typedoc/functions/useNetworkMismatch.html create mode 100644 packages/react/typedoc/functions/useOffers.html create mode 100644 packages/react/typedoc/functions/useOwnedNFTs.html create mode 100644 packages/react/typedoc/functions/usePack.html create mode 100644 packages/react/typedoc/functions/usePaperWallet.html create mode 100644 packages/react/typedoc/functions/usePaperWalletUserEmail.html create mode 100644 packages/react/typedoc/functions/usePlatformFees.html create mode 100644 packages/react/typedoc/functions/usePrimarySaleRecipient.html create mode 100644 packages/react/typedoc/functions/useRainbowWallet.html create mode 100644 packages/react/typedoc/functions/useRemoveAdmin.html create mode 100644 packages/react/typedoc/functions/useResetClaimConditions.html create mode 100644 packages/react/typedoc/functions/useResolvedMediaType.html create mode 100644 packages/react/typedoc/functions/useRevealLazyMint.html create mode 100644 packages/react/typedoc/functions/useRevokeRole.html create mode 100644 packages/react/typedoc/functions/useRevokeSessionKey.html create mode 100644 packages/react/typedoc/functions/useRoleMembers.html create mode 100644 packages/react/typedoc/functions/useRoyaltySettings.html create mode 100644 packages/react/typedoc/functions/useSDK.html create mode 100644 packages/react/typedoc/functions/useSafe.html create mode 100644 packages/react/typedoc/functions/useSetAllRoleMembers.html create mode 100644 packages/react/typedoc/functions/useSetAppURI.html create mode 100644 packages/react/typedoc/functions/useSetClaimConditions.html create mode 100644 packages/react/typedoc/functions/useSetConnectedWallet.html create mode 100644 packages/react/typedoc/functions/useSetConnectionStatus.html create mode 100644 packages/react/typedoc/functions/useSetIsWalletModalOpen.html create mode 100644 packages/react/typedoc/functions/useSetSharedMetadata.html create mode 100644 packages/react/typedoc/functions/useSharedMetadata.html create mode 100644 packages/react/typedoc/functions/useSignatureDrop.html create mode 100644 packages/react/typedoc/functions/useSmartWallet.html create mode 100644 packages/react/typedoc/functions/useSplit.html create mode 100644 packages/react/typedoc/functions/useStorage.html create mode 100644 packages/react/typedoc/functions/useStorageUpload.html create mode 100644 packages/react/typedoc/functions/useSupportedChains.html create mode 100644 packages/react/typedoc/functions/useSupportedWallet.html create mode 100644 packages/react/typedoc/functions/useSwitchAccount.html create mode 100644 packages/react/typedoc/functions/useSwitchChain.html create mode 100644 packages/react/typedoc/functions/useThirdwebAuthContext.html create mode 100644 packages/react/typedoc/functions/useThirdwebConfigContext.html create mode 100644 packages/react/typedoc/functions/useThirdwebConnectedWalletContext.html create mode 100644 packages/react/typedoc/functions/useToken.html create mode 100644 packages/react/typedoc/functions/useTokenBalance.html create mode 100644 packages/react/typedoc/functions/useTokenDecimals.html create mode 100644 packages/react/typedoc/functions/useTokenDrop.html create mode 100644 packages/react/typedoc/functions/useTokenSupply.html create mode 100644 packages/react/typedoc/functions/useTotalCirculatingSupply.html create mode 100644 packages/react/typedoc/functions/useTotalCount.html create mode 100644 packages/react/typedoc/functions/useTransferBatchToken.html create mode 100644 packages/react/typedoc/functions/useTransferNFT.html create mode 100644 packages/react/typedoc/functions/useTransferToken.html create mode 100644 packages/react/typedoc/functions/useTrustWallet.html create mode 100644 packages/react/typedoc/functions/useUnclaimedNFTSupply.html create mode 100644 packages/react/typedoc/functions/useUnclaimedNFTs.html create mode 100644 packages/react/typedoc/functions/useUpdateMetadata.html create mode 100644 packages/react/typedoc/functions/useUpdatePlatformFees.html create mode 100644 packages/react/typedoc/functions/useUpdatePrimarySaleRecipient.html create mode 100644 packages/react/typedoc/functions/useUpdateRoyaltySettings.html create mode 100644 packages/react/typedoc/functions/useUser.html create mode 100644 packages/react/typedoc/functions/useValidDirectListings.html create mode 100644 packages/react/typedoc/functions/useValidEnglishAuctions.html create mode 100644 packages/react/typedoc/functions/useVote.html create mode 100644 packages/react/typedoc/functions/useWallet.html create mode 100644 packages/react/typedoc/functions/useWalletConfig.html create mode 100644 packages/react/typedoc/functions/useWalletConnect.html create mode 100644 packages/react/typedoc/functions/useWalletConnectV1.html create mode 100644 packages/react/typedoc/functions/useWalletContext.html create mode 100644 packages/react/typedoc/functions/useWallets.html create mode 100644 packages/react/typedoc/functions/useWatchTransactions.html create mode 100644 packages/react/typedoc/functions/useWinningBid.html create mode 100644 packages/react/typedoc/functions/walletConnect.html create mode 100644 packages/react/typedoc/functions/walletConnectV1.html create mode 100644 packages/react/typedoc/functions/zerionWallet.html create mode 100644 packages/react/typedoc/index.html create mode 100644 packages/react/typedoc/interfaces/ISecureStorage.html create mode 100644 packages/react/typedoc/interfaces/MediaRendererProps.html create mode 100644 packages/react/typedoc/interfaces/MediaType.html create mode 100644 packages/react/typedoc/interfaces/ThirdwebAuthConfig.html create mode 100644 packages/react/typedoc/interfaces/ThirdwebNftMediaProps.html create mode 100644 packages/react/typedoc/interfaces/ThirdwebProviderCoreProps.html create mode 100644 packages/react/typedoc/interfaces/ThirdwebSDKProviderProps.html create mode 100644 packages/react/typedoc/interfaces/UserWithData.html create mode 100644 packages/react/typedoc/modules.html create mode 100644 packages/react/typedoc/types/AcceptDirectOffer.html create mode 100644 packages/react/typedoc/types/AirdropNFTParams.html create mode 100644 packages/react/typedoc/types/BurnNFTParams.html create mode 100644 packages/react/typedoc/types/BuyNowParams.html create mode 100644 packages/react/typedoc/types/Chain.html create mode 100644 packages/react/typedoc/types/ClaimIneligibilityParams.html create mode 100644 packages/react/typedoc/types/ClaimNFTParams.html create mode 100644 packages/react/typedoc/types/ClaimNFTReturnType.html create mode 100644 packages/react/typedoc/types/ClaimTokenParams.html create mode 100644 packages/react/typedoc/types/ConnectUIProps.html create mode 100644 packages/react/typedoc/types/ConnectWalletProps.html create mode 100644 packages/react/typedoc/types/DelayedRevealLazyMintInput.html create mode 100644 packages/react/typedoc/types/DropContract.html create mode 100644 packages/react/typedoc/types/Erc721OrErc1155.html create mode 100644 packages/react/typedoc/types/ExecuteAuctionSale.html create mode 100644 packages/react/typedoc/types/ExtraCoreWalletOptions.html create mode 100644 packages/react/typedoc/types/MakeBidParams.html create mode 100644 packages/react/typedoc/types/MakeOfferParams.html create mode 100644 packages/react/typedoc/types/MintNFTParams.html create mode 100644 packages/react/typedoc/types/MintNFTReturnType.html create mode 100644 packages/react/typedoc/types/MintNFTSupplyParams.html create mode 100644 packages/react/typedoc/types/NFTContract.html create mode 100644 packages/react/typedoc/types/NetworkSelectorProps.html create mode 100644 packages/react/typedoc/types/RequiredParam.html create mode 100644 packages/react/typedoc/types/RevealLazyMintInput.html create mode 100644 packages/react/typedoc/types/RevealableContract.html create mode 100644 packages/react/typedoc/types/SelectUIProps.html create mode 100644 packages/react/typedoc/types/SetClaimConditionsParams.html create mode 100644 packages/react/typedoc/types/Theme.html create mode 100644 packages/react/typedoc/types/ThemeOverrides.html create mode 100644 packages/react/typedoc/types/TokenBurnParams.html create mode 100644 packages/react/typedoc/types/TokenContract.html create mode 100644 packages/react/typedoc/types/TokenParams.html create mode 100644 packages/react/typedoc/types/TransferNFTParams.html create mode 100644 packages/react/typedoc/types/UseContractResult.html create mode 100644 packages/react/typedoc/types/UseWatchTransactionsParams.html create mode 100644 packages/react/typedoc/types/WalletAddress.html create mode 100644 packages/react/typedoc/types/WalletClass.html create mode 100644 packages/react/typedoc/types/WalletConfig.html create mode 100644 packages/react/typedoc/types/WalletInstance.html create mode 100644 packages/react/typedoc/types/WalletOptions.html create mode 100644 packages/react/typedoc/variables/ThirdwebThemeContext.html create mode 100644 packages/react/typedoc/variables/__DEV__.html create mode 100644 packages/react/typedoc/variables/compilerMetadata.html create mode 100644 packages/react/typedoc/variables/contractType.html create mode 100644 packages/react/typedoc/variables/defaultTokens.html create mode 100644 packages/react/typedoc/variables/defaultWallets.html diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts index 6b42b8b3bf1..d269865e16a 100644 --- a/packages/react-native/src/evm/i18n/strings.ts +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -1,65 +1,27 @@ -export const en = { - connect_wallet: { - label: "Connect Wallet", - }, - connect_wallet_details: { - additional_actions: "Additional Actions", - backup_wallet: "Backup Wallet", - import_wallet: "Import Wallet", - connected_to_smart_wallet: "Connected to a Smart Wallet", - current_network: "Current Network", - wallet_address: "Wallet Address", - backup: "Backup", - connect_to_app: "Connect to App", - guest: "Guest", - connect: "Connect", - new_to_wallets: "New to wallets?", - get_started: "Get started", - connect_a_wallet: "Connect a wallet", - continue_as_guest: "Continue as guest", - tos_intro: "By connecting, you agree to the", - tos: "Terms of Service", - privacy_policy: "Privacy Policy", - copy_address_or_scan: - "Copy the wallet address or scan the QR code to send funds to this wallet.", - your_address: "Your address", - qr_code: "QR Code", - select_token: "Select Token", - send_to: "Send to", - no_tokens_found: "No Tokens found", - confirm_in_wallet: "Confirm in your wallet", - select_network: "Select Network", - no_supported_chains_detected: "No supported chains detected", - recommended: "Recommended", - }, - connecting_wallet: { - local_wallet_message: - "Creating, encrypting and securing your device wallet.", - connecting_your_wallet: "Connecting your wallet", - }, - local_wallet: { - create_new_wallet: "Create new wallet", - private_key_mnemonic: "Or Private key or Mnemonic", - }, - embedded_wallet: { - request_new_code: "Request new code", - sign_in: "Sign In", - }, - wallet_connect: { - no_results_found: "No results found", - }, - common: { - password: "Password", - reject: "Reject", - approve: "Approve", - switch_network: "Switch Network", - import: "Import", - username: "Username", - amount: "Amount", - send: "Send", - continue: "Continue", - error_switching_network: "Error switching network", - }, +import { DeepPartial } from "../types/deepPartial"; +import { Locale, LocaleType, _en, _es } from "./types"; + +export const setLocale = (locale: Locale): LocaleType => { + if (typeof locale === "string") { + if (locale === "es") { + return es(); + } else if (locale === "en") { + return en(); + } + } + return locale; +}; + +export const en = (locale?: DeepPartial): LocaleType => { + return { + ..._en, + ...locale, + } as LocaleType; }; -export const fr = {}; +export const es = (locale?: DeepPartial): LocaleType => { + return { + ..._es, + ...locale, + } as LocaleType; +}; diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts new file mode 100644 index 00000000000..3b98996e130 --- /dev/null +++ b/packages/react-native/src/evm/i18n/types.ts @@ -0,0 +1,131 @@ +export type Locale = LocaleType | "en" | "es"; + +export type LocaleType = typeof _en; + +export const _en = { + connect_wallet: { + label: "Connect Wallet", + }, + connect_wallet_details: { + additional_actions: "Additional Actions", + backup_wallet: "Backup Wallet", + import_wallet: "Import Wallet", + connected_to_smart_wallet: "Connected to a Smart Wallet", + current_network: "Current Network", + wallet_address: "Wallet Address", + backup: "Backup", + connect_to_app: "Connect to App", + guest: "Guest", + connect: "Connect", + new_to_wallets: "New to wallets?", + get_started: "Get started", + connect_a_wallet: "Connect a wallet", + continue_as_guest: "Continue as guest", + tos_intro: "By connecting, you agree to the", + tos: "Terms of Service", + privacy_policy: "Privacy Policy", + copy_address_or_scan: + "Copy the wallet address or scan the QR code to send funds to this wallet.", + your_address: "Your address", + qr_code: "QR Code", + select_token: "Select Token", + send_to: "Send to", + no_tokens_found: "No Tokens found", + confirm_in_wallet: "Confirm in your wallet", + select_network: "Select Network", + no_supported_chains_detected: "No supported chains detected", + recommended: "Recommended", + }, + connecting_wallet: { + local_wallet_message: + "Creating, encrypting and securing your device wallet.", + connecting_your_wallet: "Connecting your wallet", + }, + local_wallet: { + create_new_wallet: "Create new wallet", + private_key_mnemonic: "Or Private key or Mnemonic", + }, + embedded_wallet: { + request_new_code: "Request new code", + sign_in: "Sign In", + }, + wallet_connect: { + no_results_found: "No results found", + }, + common: { + password: "Password", + reject: "Reject", + approve: "Approve", + switch_network: "Switch Network", + import: "Import", + username: "Username", + amount: "Amount", + send: "Send", + continue: "Continue", + error_switching_network: "Error switching network", + }, +}; + +export const _es = { + connect_wallet: { + label: "Conectar Cartera", + }, + connect_wallet_details: { + additional_actions: "Acciones Adicionales", + backup_wallet: "Respaldar Cartera", + import_wallet: "Importar Cartera", + connected_to_smart_wallet: "Conectado a una Cartera Inteligente", + current_network: "Red Actual", + wallet_address: "Dirección de Cartera", + backup: "Respaldo", + connect_to_app: "Conectar a la App", + guest: "Invitado", + connect: "Conectar", + new_to_wallets: "¿Nuevo en carteras?", + get_started: "Comenzar", + connect_a_wallet: "Conectar una cartera", + continue_as_guest: "Continuar como invitado", + tos_intro: "Al conectar, aceptas los", + tos: "Términos de Servicio", + privacy_policy: "Política de Privacidad", + copy_address_or_scan: + "Copia la dirección de la cartera o escanea el código QR para enviar fondos a esta cartera.", + your_address: "Tu dirección", + qr_code: "Código QR", + select_token: "Seleccionar Token", + send_to: "Enviar a", + no_tokens_found: "No se encontraron tokens", + confirm_in_wallet: "Confirma en tu cartera", + select_network: "Seleccionar Red", + no_supported_chains_detected: "No se detectaron cadenas compatibles", + recommended: "Recomendado", + }, + connecting_wallet: { + local_wallet_message: + "Creando, cifrando y asegurando tu cartera de dispositivo.", + connecting_your_wallet: "Conectando tu cartera", + }, + local_wallet: { + create_new_wallet: "Crear nueva cartera", + private_key_mnemonic: "O Clave Privada o Mnemónico", + }, + embedded_wallet: { + request_new_code: "Solicitar nuevo código", + sign_in: "Iniciar Sesión", + }, + wallet_connect: { + no_results_found: "No se encontraron resultados", + }, + common: { + password: "Contraseña", + reject: "Rechazar", + approve: "Aprobar", + switch_network: "Cambiar Red", + import: "Importar", + username: "Nombre de usuario", + amount: "Cantidad", + send: "Enviar", + continue: "Continuar", + error_switching_network: "Error al cambiar de red", + }, +}; diff --git a/packages/react-native/src/evm/index.ts b/packages/react-native/src/evm/index.ts index ed914c8a4c7..ab69ece835a 100644 --- a/packages/react-native/src/evm/index.ts +++ b/packages/react-native/src/evm/index.ts @@ -42,6 +42,8 @@ export { createAsyncLocalStorage } from "../core/AsyncStorage"; export { createSecureStorage } from "../core/SecureStorage"; export { ThirdwebStorage } from "../core/storage/storage"; +export * from "./i18n/strings"; + // ui components export * from "./components/base"; export { ConnectWalletHeader } from "./components/ConnectWalletFlow/ConnectingWallet/ConnectingWalletHeader"; diff --git a/packages/react-native/src/evm/providers/thirdweb-provider.tsx b/packages/react-native/src/evm/providers/thirdweb-provider.tsx index 2e2f90fcb75..afc6aacd319 100644 --- a/packages/react-native/src/evm/providers/thirdweb-provider.tsx +++ b/packages/react-native/src/evm/providers/thirdweb-provider.tsx @@ -17,6 +17,7 @@ import { SafeAreaProvider } from "react-native-safe-area-context"; import { walletIds } from "@thirdweb-dev/wallets"; import { ThirdwebStorage } from "../../core/storage/storage"; import { useColorScheme } from "react-native"; +import type { Locale } from "../i18n/types"; interface ThirdwebProviderProps extends Omit< @@ -29,7 +30,7 @@ interface ThirdwebProviderProps * * @example * ```jsx - * import { MetaMaskWallet, CoinbaseWallet } from "@thirdweb-dev/react"; + * import { MetaMaskWallet, CoinbaseWallet } from "@thirdweb-dev/react-native"; * * * ``` */ supportedWallets?: WalletConfig[]; + + /** + * Locale that the app will be displayed in + * @defaultValue en() + * + * @example + * ```jsx + * import { en } from "@thirdweb-dev/react-native"; + * + * + * ``` + * + * * ```jsx + * import { en } from "@thirdweb-dev/react-native"; + * + * + * ``` + * + * Note that you can override the locales by passing in a custom locale object of type `Locale` + * ```jsx + * import { en } from "@thirdweb-dev/react-native"; + * + * const customLocale = { + * ...en(), + * "connect_wallet": "Connect Wallet" + * } + * + * + * ``` + * + */ + locale: Locale; } /** @@ -69,6 +108,7 @@ export const ThirdwebProvider = < storageInterface, clientId, sdkOptions, + locale = "en", ...restProps }: PropsWithChildren>) => { const colorScheme = useColorScheme(); @@ -114,7 +154,7 @@ export const ThirdwebProvider = < - + {hasMagicConfig ? ( diff --git a/packages/react-native/src/evm/providers/ui-context-provider.tsx b/packages/react-native/src/evm/providers/ui-context-provider.tsx index f773279bc06..6a54876f2f0 100644 --- a/packages/react-native/src/evm/providers/ui-context-provider.tsx +++ b/packages/react-native/src/evm/providers/ui-context-provider.tsx @@ -5,12 +5,15 @@ import { Theme, _darkTheme, _lightTheme } from "../styles/theme"; import { useAppTheme } from "../styles/hooks"; import { useTheme } from "@shopify/restyle"; import { PropsWithChildren } from "react"; +import { Locale } from "../i18n/types"; +import { setLocale } from "../i18n/strings"; type UIContextType = { modalState: ModalState; setModalState: (modalState: ModalState) => void; theme: ThemeProviderProps["theme"]; setTheme: (theme: ThemeProviderProps["theme"]) => void; + locale: Locale; }; const UIContext = createContext({ @@ -24,9 +27,12 @@ const UIContext = createContext({ setModalState: () => undefined, theme: "light", setTheme: () => undefined, + locale: "en", }); -export const UIContextProvider = (props: PropsWithChildren) => { +export const UIContextProvider = ( + props: { locale: Locale } & PropsWithChildren, +) => { const [modalState, setModalState] = useState({ view: "Closed", data: {}, @@ -41,7 +47,15 @@ export const UIContextProvider = (props: PropsWithChildren) => { useState(providerTheme); return ( - + {props.children} ); @@ -63,6 +77,12 @@ export const useModalState = (): { }; }; +export const useLocale = () => { + const context = useContext(UIContext); + + return setLocale(context.locale); +}; + const getThemeObj = (theme?: ThemeProviderProps["theme"]) => { if (theme === "dark" || !theme) { return _darkTheme; diff --git a/packages/react/typedoc/.nojekyll b/packages/react/typedoc/.nojekyll new file mode 100644 index 00000000000..e2ac6616add --- /dev/null +++ b/packages/react/typedoc/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/packages/react/typedoc/assets/highlight.css b/packages/react/typedoc/assets/highlight.css new file mode 100644 index 00000000000..e69082b7c00 --- /dev/null +++ b/packages/react/typedoc/assets/highlight.css @@ -0,0 +1,127 @@ +:root { + --light-hl-0: #795E26; + --dark-hl-0: #DCDCAA; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #A31515; + --dark-hl-2: #CE9178; + --light-hl-3: #0000FF; + --dark-hl-3: #569CD6; + --light-hl-4: #AF00DB; + --dark-hl-4: #C586C0; + --light-hl-5: #001080; + --dark-hl-5: #9CDCFE; + --light-hl-6: #800000; + --dark-hl-6: #808080; + --light-hl-7: #267F99; + --dark-hl-7: #4EC9B0; + --light-hl-8: #E50000; + --dark-hl-8: #9CDCFE; + --light-hl-9: #000000FF; + --dark-hl-9: #D4D4D4; + --light-hl-10: #0070C1; + --dark-hl-10: #4FC1FF; + --light-hl-11: #800000; + --dark-hl-11: #569CD6; + --light-hl-12: #008000; + --dark-hl-12: #6A9955; + --light-hl-13: #098658; + --dark-hl-13: #B5CEA8; + --light-hl-14: #CD3131; + --dark-hl-14: #F44747; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --hl-11: var(--light-hl-11); + --hl-12: var(--light-hl-12); + --hl-13: var(--light-hl-13); + --hl-14: var(--light-hl-14); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --hl-11: var(--dark-hl-11); + --hl-12: var(--dark-hl-12); + --hl-13: var(--dark-hl-13); + --hl-14: var(--dark-hl-14); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --hl-8: var(--light-hl-8); + --hl-9: var(--light-hl-9); + --hl-10: var(--light-hl-10); + --hl-11: var(--light-hl-11); + --hl-12: var(--light-hl-12); + --hl-13: var(--light-hl-13); + --hl-14: var(--light-hl-14); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --hl-8: var(--dark-hl-8); + --hl-9: var(--dark-hl-9); + --hl-10: var(--dark-hl-10); + --hl-11: var(--dark-hl-11); + --hl-12: var(--dark-hl-12); + --hl-13: var(--dark-hl-13); + --hl-14: var(--dark-hl-14); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +.hl-8 { color: var(--hl-8); } +.hl-9 { color: var(--hl-9); } +.hl-10 { color: var(--hl-10); } +.hl-11 { color: var(--hl-11); } +.hl-12 { color: var(--hl-12); } +.hl-13 { color: var(--hl-13); } +.hl-14 { color: var(--hl-14); } +pre, code { background: var(--code-background); } diff --git a/packages/react/typedoc/assets/main.js b/packages/react/typedoc/assets/main.js new file mode 100644 index 00000000000..d0aa8d5f9ad --- /dev/null +++ b/packages/react/typedoc/assets/main.js @@ -0,0 +1,59 @@ +"use strict"; +"use strict";(()=>{var Pe=Object.create;var ne=Object.defineProperty;var Ie=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Ie(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Pe(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ne(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` + ${ce(l.parent,i)}.${d}`);let v=document.createElement("li");v.classList.value=l.classes??"";let f=document.createElement("a");f.href=r.base+l.url,f.innerHTML=u+d,v.append(f),e.appendChild(v)}}function ue(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var Be={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Be[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",B="mouseup",J={x:0,y:0},fe=!1,ee=!1,He=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(He=!0,F="touchstart",pe="touchmove",B="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(pe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){D||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!D&&this.active&&n.target.closest(".col-sidebar")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var Z=class extends C{constructor(n){super(n);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let r=Q.getItem(this.key);this.el.open=r?r==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let i=this.summary.querySelector("a");i&&i.addEventListener("click",()=>{location.assign(i.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.ensureActivePageVisible()}function we(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.href===r.href&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/packages/react/typedoc/assets/navigation.js b/packages/react/typedoc/assets/navigation.js new file mode 100644 index 00000000000..d254fb70a2f --- /dev/null +++ b/packages/react/typedoc/assets/navigation.js @@ -0,0 +1 @@ +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE52cW3PbuBlA/4ufs03sbTbTffMtHU8i25Xs+KHTycAkJGEMXgqC1mp3+t8LkpJIXL6L9LI74+/gAARxB5V//3Vm5R/27Pezu4XMWiMXtjJiJc8+nNXCrt3fVWmlWYpMNh995G9rW2jHvakyP/v94vNv//twkM1krsRclrk00jyaqm6SwhgjpU/bOl24QxRTPK2VyTfy9bK16+uqXKpV0hVjHOn90vaFgJ83SXLUDnxXrpauKyNpfURzsljcfNuno3MIYSyD50aaF2XXN8KKpHQKYKLLLJO1vVFGZvZhuZRmtFn33puPERDYPv3jy/nni6nRPY0r/v3Xp0dhRNFEwiBO+a5aU4IyL0ibtvfVBhKNMcpzvRaqDAX9H8mUWqjirpRardSr0spu06WBOJYfrCw/ynXNpXWV7A8Rvm8kWM6n6k2WSAkncdJXlaVrl893Qe/a2bwo0/UitJYW800IynkjtdjKfC7fpdDfxZ/bmeuid2Xd2tANk2QeriCuZNaILLZOYpTn1mRfLs4fjPv/+fnnz6EqCJO2P9y0ZuVlm1lVlQuho9YTE7TTPUg3/g5v4KHuEkZvKU1R7pl4k1cqTzdLL8gx9QMl7JqESZtrBmCH9oJME9ydI4BpXLR1rYGBLIFQVodDzXkSIi3SbirztpDa9dgqnH13ugRDeefyv62bC4e2EAq9IG0iB4UTRoMhiXjVEqrEmKCcQwUBg6wXpE22H+Jdzrnq+2W62UAc5X9ayyJq1/0fWSkf3qUxbv0VlcePkq5uAutWJumHC8IsG/QyvSDLhJSJWR4jysaNX+CoFAGU0a1V948wl02ro6eMAIbxRdhs3RdFZEhLg0kqj2F6ucxzI5tI6wV5JtfgIU8fYlqCDZinSe26AM9d2VhRZlFn8qM8FzBRHzU/7zdJfU/sGkP354PwXRjVjWjjZmrK+e5fp9qfP29uf/z8mTLtQkjirCpqpaWZSStybyM2WkIG1Q1N3J+bp6oxjmhyuRSui/Q9ukl5PIAWDa8JM+0IRLVbOc+qXOi7Uqty8oDLthy63ceY8pW//R1ariO2AUBE3nlJSuQBiChYTqRUAYLIpqcl+1OBlDHFMbTDUMAR+yRP3dW7zA/7JE4eqSSMzPaHPph9zzB0nMIeUbrpmRFH2XEM7eSgCLNOMET6Il9/vWqtrcqUa4wiilddudYM98RpHNFklSpfRSNhkU8gqlyYt2AtOFoOQUQgi1eZ5/sGmbL4BKJausUE8kyTMCJZSRvty0fHGCUVF59gwcUnMvmXi3M4vQuSggZO3iCJtVqtLfhGxyimqDKh4fcwCSOSQqxU9l2VbynFIYgJ3DqgEM0bXBCfQFS1qKWBPZMwJlmL0lYFopkCiMgI1zerDSzyAEwkm0q/y5kqpL8Smqh8BJE1Yon0vTGKKdZVq/N7t2s2j9I0qrH/aqXZJn1pFJMXwiBrmEkYkVjTNohkEkYkbSOnR/3fXeFVuQquBEYpgpOZVG3ptkaFKpODQcgcobss84Vala7qOeKRZmXBMh8jJFRMydfKRHvQpG4EKbFV7zK44wiMByJUfTjL+m1st3uoXcMQblF3lvR7xzt4Rh7KKryXwj043DmoNJzsdo0ffgFTiBDmed84IdUuTEqw9sBqBIdLOshyAAiR1vNKy1m3XII7jwcRwrp+nt9Boj5ICIYLhxfl9hzg0DZlKJ1LDlnsGk98JbR/yOKl30Uphc3WsnmqhnNdUOVRhFLlVy0y8B/ihIbYFgQIIRsueiHPEKUV/aEHIunjlGbrzXmgzcdI6X21gVUuiAuuu5aiOQVLkBz1bbnSqlnvegbq9lGOnFNiXlmRaSs5YSWS3+WY4C4nFP69BaTyKYbS+xpgLkVDyFM8Ixu4j+3DDAnWy0aAIZL54fIQ000wrhStu4HgqLpLw2qJy3YMoSMPPyKIEkKH04ESO5+Opf1BHejqoyxFd+VvhW3BqgswUhpcj4WyxAUZJLl9l/Di3Id4QvIV+Nhx0ufa/RdaQaRhXgZuzAAHwgnCk0E7+QDhyV6MIp+4Zwidka4ydtsjSDdlWLph0iMmtATKkbOm95jkqBduS+AU3yQ40AYYRwpdJSbE2L1iKE9+KwXYkyyhZ9TyEfXrodCw4kPHCK+R1psgKXWToUP8COCi2/sFYHARIil6JHCbPgVgnDvsUnafxOHujjjFz1kgH7M09tluL+reott7sdQjfkwmUPMMqKOUWANNoYQc+a7QVxOfF4bir/g1jU/gqn8aUdruQAMQHeK4ph8MXW55dAPv2UKMkDa7yexG1rpyIyNkDTlSOxwrIY/tMZRueJj+U4CHGtxMRByuJeYK3vSATwysKYGYDHjTAGcCOGLo/16twJ1zHyOTVy1YjD6IC2bd5RmQvo9RyftPdEFBH6UV2H3HIU5pzJu0tRbgimdCnDDPELsJ3i5itrtkRCRdmJCoUhVtce/+gFS9B5FCCx9A7KIsBXpm4DG0DjvNOMQJTaut2hgBrTwO8RPaA1xhZGU5AD+BHgFSdF1pLbGlj8ec9pzI2m0XPc0LDcT0KdDugy4o/RA9pVBDyplqiu7kHvfvKbyo/dAFPekQJASbEj06O8RxzaPIoPrqQidU1iP+IYRPUIU7gM+NNLeFUNCVSgol5FrYZWWKr1JCdThFCJlRhTDbbmE7l5mqlQRXASkUl8+pjzlChtDJonqX2MXmhKBUTfTbANAZo6S8+64kT/woNjT7HKVlHFQcc0LhWDfnIEvtEeCIyLOfECOk5H0v+7J3Xm2FttuFtNh6OaBw5eLmG6BxESKpWEIV3oWIxNKy7sIjjtZiN+KHOKnhdaoYpMX+172I2Ae5YuoqIUGSau4GNIWS8sVamG7wQNfxEQdPjLbJf1HNL7VR791VQJAfKzM0p0CoVqWrQyOR1ZjHnDCjL/DP4nyCKG6tFSjpYqcUL/z3HHxr6p9yiIo1QM+1rsBrFo8hdG4vUxlX0v6OGuwJPsVU4u/BpwjlRrllKn7j4jEcHXblPyFwVfCPU/SBtDJB8tTDDyl4co9l66eDJzufRCIiQ2Q7nNwKMzrU8JNIdCs6RRgFvHEL3UJoqCd4DEcHj3WH+KnPjZ5VTAiqmFboa2Wy1m0h3DKIsKZgTgZIzx0BQrT7fWj/TRramiKQJ4ZPRCYET8UpHqtk6BfaPoGrnsuM92VMDPLFULfxGELXf2pArDt8iCNk7KFjkCXm76fhBJyMeHuaJEvoG/DougvhiX8IrXLWVXWCZKh594wplJBX4KcgXeiEMRntppwemv4hdkKT+j02KEMu5T3mCN2P5G+5YoqpRNYbRywv8MtO1h1n9IN+UBZwhJa6gWfduW+oF7phvs0N/So3+HukOsOf0nRfEoD9YRqPCvqf/wNJnJ7GBk8AAA==" \ No newline at end of file diff --git a/packages/react/typedoc/assets/search.js b/packages/react/typedoc/assets/search.js new file mode 100644 index 00000000000..64b9e61dedc --- /dev/null +++ b/packages/react/typedoc/assets/search.js @@ -0,0 +1 @@ +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE82dW3PjNvLov8v4df5e40Jd8pZMknOmdnM5mcnmYSqVoiXaZg0lKhRlx9na735wIaVGsxskJOXkVE3V2CbQaKJx/XUD/M+bpn7Zv/ni03/efC636zdfKPn2zTbfFG++eLMuHvJD1X6sPxfb/Zu3bw5NZf76nDdlfl8V+38Ez2+f2k1lEq2qfL8vjMQ3b/77lhf6S15VRRuR2iWIip3po9jDvviwyZsu21Hsw2G7ast6u/9HmCAuNsvU7Cj5t9/a110xTeIN+tsxLyjn7Ztd3hTbdqD0LXoH8j3vq3rV1uxbwsdTq25Vl9v7fF+wQsMEU8UWm/tivS7WrNgwwVSxD435n5UJnk4VaGosr1iB4OlUgZv8sVz9q9x+JsQdn00WVrT5Jt9/ZhUME0wVu8t3RcPKBE8nC3zKt2294UXC51OFNrlpePULKzR4PlXoPn/g28/p4WRx0VFnP3XIOQlsm8OeFwieThX44lK/q7fbYkWJDJ6fJfTfYkzsv8VUwX8WjcnOvj98PFXkOm8+f3wqNtQgfnw2ebgoH59aTtrpYVScvFvORXaaE0NxdsrY/+NMKT88F01Tros9Je74MGFWfb/3lf1dvc6rH3bFlp4JB8lSJu6inVgKlTKlINO7GcHmybXWBL2om/6XCasAm6xXkNP+Ozt30GW6R1fS/yTr5vjb+Bv4dEctyXfoxgK2bwfPk5p+kPPHpt7h5j9McH5tRSXejFQVoempWHEnwbLM5v8+HwwM8YJvYbapKvT2ZTRpieFpRIs+y5U0uG+3H8u2SlQC5LqSHhs76JyhSZDv6rq8X9Xbn5vqXJVO2a+k2dosSctq/1W7TVMpyHe+Lhd3XqBIJ/1/ZukawdfhKsokX9cv2x/rfWmHwEQth7mvZMD80D6l6dLl+DuNZlXozSXOMJd7BaZCqvqx3P6ws7WcJ/azQK1bLOgcJUeMV2//ZQu5RMuTiOvod2Xj9vr1f5CXKXp83ViF1of2Yo29jP+Pq9Qo2P9FX6NO7QszlbpvX1Mn0T7LlQa5bdG+1M3nD0VlstVNmi7DzFfS6slszz4W+9YU8G1+WBWJrY7KfiXN9i9lu3r6WH9pVuvPxbunPHWMoQVcczX0ofzznIVZl+1aq+Wi2ex/ePhQNM/lqkhel1HZr6TZrimf89Xrj3VVrl6TFSNyX0mvl6Ja1Zviw6opisQ2hbNeq60fdru6aYs18n1Ma+eDzNdaV5f7XZW/fpVX+XZVOOmJK0ZSwAWLtsHe3lGZ99uq3FJ0YZhoKrz5nhmsT7JRiiR8gPJSAIFKcilCYGWOQQRS34TN+1jBI9t3MvvYovRdVe+T9Thlu0STK5ii12R8gxFR6fg6XCXtBh16XK9dpA+fYaiVnZYnN/4jdOpzXU2PXb07VHnz7ix1cOaradUUK5P3PKVQ3ivqtF0XDbUem6ASzHrFzv7BLfXS+9gx39/f3b0qfX/Pzuzv3Qvxo+Jh39abd2ZJ9fmMESnI/PdXGdCnrzd17jgJXo1cEHx8Kpv1S3Fv8j2bPQ+1IsBJ4kuC7PT+3xXrMv/J9Y0CLQbKrVmfP+QrUyHDVNECwvVls0oQeeOT0/VIKMtRvapNKdQnv7TQXb1vgXUmlHvMcWnRj3lbvOTBRmdC8UGuS1V4KdeApE4ovc9wacFPhfVEp5R8zHFp0UO/1YTSaa9Vu1//T7n/n3L7VDSl2VCdp1CImqZ0twFouo4iTfH7oWyK91aDfBUA/wlakbmvreKq3rZNXaUMeDcgz9XVeSqrdVMk1RPIc211NuWm+AinxgnqgDxXUAfFZmz3rd2fr3E0ZRiagVJdKU6AFHtDPRiPHhhkoV6OM0oXAHcdLW+BuIvUHdtnjQVdnqP7QOhf+QbxOLVz1A8l/pW6jwSZnaM8Enll7cN+/9NIXCROcqUeP5R5M/jreF8P0w/ehnvnj2PN7ePUyMjJ74sl3qC/jb8rTI3egY3yig5n/dNrxXpBcTfwDxMivvqkUGnurd5NGO7eJYSZT35DQujN8M/jb4syDF+Je/Nvo/HqYYIrvTOWeIP+Nv62MDV6B+49v4ofTEAprvSmA5E3+I/j7xokxy/Cve2Ppwj5n/dF880mLytaRSplQsjqj9FA/TDBlSoVS7xBfxuvUpgavQP3nv4xH6SOk1zpXYcybwZ/HX/fMP3gbSa9MxlDP0z0V7x3J3Xw5ubvie9uchDvxS5jin1dPRdrt+P5yC87cLJrLWdIuTfkkwnLmkEe8g2ZBemhYYaPdCVvDxF0NVnRsXALvBO+VGlym3wlzUGrCzbXhPLB8zRgHAUDo82WbQ2spJuYnUcb3CjKOJUzahqqMFg9PYj//qF1SVmkTiacXm12677O2zxN9A3IRr8frX8q8o1oEKe+ScXz4DdS/gj7TVIgin8jOqQT4CS1WAgcUSmNAyepMw0FR3S7gAanmTMChGPWTGXCaUpFsHBMqVQynKRUbESNjT6pfHhMKcJJ2iclJjycZOrW5JfiXn11aNuaOql3ejj5pK+fxb/jlxUoRVSwkoMqcOcfzZK0Lf44jY6nSweoZFN1x37md3VDvQCVbPIKg8o8Oo0OEic4qPsYRuxZmFzMDSEiPr0M342Lg/xyt7PE6QylQNYrKZMf2hpvW6frE+a+kkphyN90ZeJRf8lqrJoib7vN4Ie2bvLHc5SipVzReChWKc12IwFLl7Smj2akg6dOzmpUJyFXUnBfPm4HQCphUAizX6ulVaXJ+X59TvM6ZU2bfqfXWGGacPvP4vWc6gJ5/yL1cuI4R0JTY85yXLcG+5kEBV6eMRcR4ZfXVXX92Z/uO0tLmPmvUtAPoe97pc5Rcyjir2qbh/bJDGQP5eN5o+Ap81+k4O+Honl954aQMzQMc19PRbD8/e23r7/592+/ESve7kmCKyLmhZjigEAOwQjpvy7jx3R/OtcHRH+M5XfPTZkf2rw9MKE4OFVKhYF1kIsX2K649yVSXqsqOdE33MMJlUxl416Yq52vy/0q1qJOz69UE0jgTfin8bcGiUP1uTf0K81wng7vnTkluNI7Yok36G/jbwlTo3eIjzJM/5kUwUb72OAkQrvCTIoEwR+OHq6RPk8kvJZ9GMk3zLMJ9iJyMe86Xi+Rq//IdFevlUDwDf0opU6OmejX5GqkO+lAa9s9PKdFByiLbtIpGMuGPviDobTQ7mGCuC/X66bYM92ie5gyA9pxA2zywpnJP0zRjtj4hBqeEqRqGdFxqqj9U32o1t8Xz0XzY9Hsy337f+xykZDMpEw6AfuTdyesf8ybfHMsw5/8CZ4lSSUHXy90+qg7fjRpIGvs/GygF8cUzOLjsQYVHi/rFqQfL3TEu16up5Zarq9R3gbC1JESNzF6mlCm53qTa7dPfU65FzShruDxY7+EBr3SvGfNTh8/v5+sCshwcfXv3bm76YWD9Jc37/0x4HlyOw+y/L9uBKD08YONVEuA6nMH5czQbS+FwuvfEdWG2S42T1Os6s3GxsBMNk+Y5QoN5H8X+bqCa4dRC4Ec55TP3Cj58/vQy+bVCB9eOn0R0ibeItlrx8WClOvpZd12qacUeMl1VFzR4yetSR282vEhdtCOI6rALH9HVRzLn3yVHaqP0wuwneuH4T0TEY2O6c+rjnDWeapfppfcpf47zGCLPlog1QROb+5Qcv1VPjjrH1HkmP7vqAVf+PiUR1dDp/okJ/WoKpMulJ3WCF/4XUlEAZTrGp3BLanMFu7rfLD8jjVNlO0qmrQfzlVmkPNv6a5Ijb7JLlN7Ln6d1PCYcU2nRsUkGXDk9jtKkck3303TwN73uDKv9Poufc4l8/4dzWioSN+Q5okNiXglfq35odtbUUvN4NmlK82hsLGFZqgaa3ufbGpptyDDhGLPsvJ44eMLLEqLk+7pswuv06TJZaRSUgYoXpPJ41OKNtRcz6sQn+pTyuWGRb7s8VFxpHwGgVpR9F7WPrkSAD2Kmsg/nVKJCBKXMYFAuiznAshBeVP4I10ibZqBLx0WP8l9juV+80fb5DYuw8vA8UBePp3o0oYQkTrWJhit2Qj84XVz44XfrqJXzTECJhqSrueE6g2vG+jibL70UUS8r41ImBo4brP28TxEIVSy5MDxLyeFUp1STQ8Vt3FWP9MH1hixN6cs8QBQoDQXCl5vRgIXcdnHHJcWvS9Wh6aYENiMNcAZz1AEWvj9hzFFwhQjY5lenFiFGQDbYjNR5M0pOf1GSFGm0H1aofurFNoUm/q5SCk3yJFYNDEEeAtPGATChGcMaF7ApCEtSJo6qKHoiGmvRuU47x2hpKkvS+RJmvjNuqPcvN8WVflY3pdV2b46l/mADjDJLvYjxOSOehQ43aPbHBzhMV2RWywgTa2R9eTvh3zbmsTnKAbyXqrTcKPfusymca3dJ3v2ZAPhkl2+/Y/IHScBjO6cP/Mpt0LSNbg95kxTZNSruR98TGOSOn3GS7Uho4+CrPQARaVMiUeyGd1FgvUDF5UMk6SKPr14RPgpUar4oJ/9VOT7eEFU8vSYsEDlb+vo/TvRLInxpFPqc5guoZCfbFueVAyVMqGgH5tykzevH/LKSFqVu+CERHjbEJEyoaCfd+u8TSiOT59SjfVrXrWvxhRtuX3kajBMlPxOkwohk6bYqcrbh7rZfFsUTAkwRbpdRsUP0yUU8h2+8GNwuZ19mqx1XGyYJu3IS2vvavgIZ2Z8POSYIioYnPBZUVJPx3xWU0VG1w8ReWPrhkA/NtZy9VTAE5Lj5d2CPOMFJ7oQEoof9yIQepyUZyrEtIUw2neCRiDPORUSlP9QtKunZA2CXGcZBfWXza6siibeHXGq6f2GkQ5fNEH05AZFyBzvQ0jXc/oRX+6UvoRyn9+fJqgxpU+R+lzWryKaTehbYxWU0r8imkzqY6PGIuel+Jx0xkQ31nHDVBcU4KfkacX4tGcU9s2zqV7+XCdIc4Zws1XhDraAFGcI/sWeII5LdkmSQNfPUK39ocL76sHzlCXYduW2o+vvv/3IrRlhkuStcETwu7PEQnU+HHa7ijqkQ6Y7S/dYEThV0tkvM7AU+4/1T8VzAT5yjM6ABYlS9Td6RfQ2TxME/iv/8/W7ktvm9U8TBH5dVPlrsfZvFpdOJk3aho+Xcbbwf5V7uwtk6sU/TKmWsilWbVRokCRB9Dfbx6rcP315CC/AC2SHadKrgenp/dNzK4IRG6ZJEP7vvCrXU0ogEp5d40wRKFHqW0wqg0p5hnHf1Qd2BIBJzjZzpAAi4fmWiJRDpUxGmvFGFaZJEP5Lud2aLF+VzOLl9PzsqhkrgkudUkWnvKSDEidJmVXL9VeHhwdO7PFxCvQqt+XmsPm++KNlKyVMkzJNuyOLE8Z8ImFyMV2lTignTJlSkI3equIlwCTJoqdU1TBhcjFTpkoqZUq7yj8XfIPyDxPF/cC3/OPjpKFsVezaoCIjJXCpU0aiP4rV4dj6rLeAGYMG6RIKcUoxA7N/ljLeHF6/B0eswsHGPUsTNqF541QJBbD7gbStAL+hS9zJfazbvIpMxafnyULLZnWocls/sf0bnTalMb1sYxvc4+O02o3eC3J6njaJtaz1u4fp4mJVGyRJMV+Tb/emF7LaggQpY1nZrJt6x0o9PU/qsM2Wldg9THFJP+WN/bBCjOKFadL83ZPk42TDIrrr8nZN+Rxet4BqvKp+qqviu2Jzz463YZokj/CI5PPEvt93AVI2Oy04SJJW/1NqZJAsoYj/ZXpGy2t+fJxGTurPBS/z9DxphP5cbOPD8jFBqtjo0AlTpAr+uliVm7xizBYkSRxIXV5+EHWPU8lfRObp+RmjckRukOQM0Y51TpB/Spc4UkdkHx+njRWrlV2bfF3sqvq1YFbyg2RpC3Cbk6UI/mn6PtBnjG4AfZIzdP22buL3kA3SpRfywd1qHS+gS5MifL3+cr1hbyfrniYNnjZmPSITJEg24gdTc0YO9D4TdjylSh70xwrAqdLN6F48bkWf5FzRX27XU5oKTpwCRutHzrju0fkhDIysm+NvIzEMx3RHLRnfeDXlFXCxt32uiYUnBjAkaTEevsCp070FUzHl/l91vuZdO7xaMOf5FYQbGvw4AdbEPLteU+uF3Zx+ndTYbMKTqnxzm/Iig7JvjxknqzB669WYfXllplp4RB/k2N5zbM0+uZJ9j6Ju+l/GbeuS9QryoT5jyqMSb7ssk4qdYMvHx2L9nhnJWB2CjNfSJNKqooqMtqi4HtjLAr6Lh5wr7VPKztXdIh1dNAZJrtRQhzJvBn8db7ph+sHbMEbcn/PKnHq3WNqZyl7W8BL0ndQUU3WFR2ht8/2lbJ+Cu4/AAVD4PNqawrPJU6XdRL8+GSjHFJWjHU60tJw4cxf75MQUBfZ+2T1NgVPiixRAvhp/SOXrpt7RDQ4kSHEBxY5mfZN8Guv7bz/yGnYPk5xszeei3VU5R5hAgjQt39VVdw8Wq+spSYLoH+Htd+FBE3vVXCIEi8CvZJ7GmuX4OCUSpuaiLu2TlMluV5XciG8fpTSWQ9WWL03OvObxcYp2ZoOat4em4GsvSJIi2h+b/3lX1VxobJAkXXRUaEpv8Vf4f1fuNzn8klzYX8JEKdoyX78KtQ4TnSM++rGGMFEK/9jtfv7pPS3VP0v0WUTkHR+njO/ff2DG9u8/TBXTXyHw4et/TrjmAKRKefWv/8m89Nf/jMduE5fBABXCO+eI20tw2unrn4TPtpGFRL/aBtcH7GtxijmsdoY+fb4rqTHpW3GMKvSn4i5SJ+HLcIxSsQ/DXaLatO/A0Uoxn4G7SJ3VpE8mMvqs6C8mXqLQlO9f0tqQn7+8qBVN+dol03zIj11eoszEz/PR6lzydb6IgoNLY4ib1C78iBcWMnr3C/ogV/wiwIHc2BWAwYfCmBLcf2NldIkuKcX1u0Nj8qwGF8MQ5aHk55fc7FY/N8BRzxV5Snd+WfdVvfr8zR9mRdxALxNX5CD5+SW3xb7dDm5YGRZ5SpdUFn3nH33/UPAsvjhCUt1Wj7yTBzy5tGNiUWPdEyrFVX49rYxbl3C0mBFT55sAQ8ZLPCY+o1TSPDY2gjfR6elVzITETTIVUDC5AunyJlUiyDpakY7eoFO/XgvwJL3nMDKDZ0lSv2lWcyl+aMz/QmQZkouepul7itqkGxN+fnFzIgWONqiBmpNHgFh50XFgkHFk4LfWfY9XCWPF93muowPdoaIqjHWpcQ1wkzqF7JItCj++tEGR8sba00DHJKPGihy16SDziEn99F1MqsajUUGmc7XAZg0Cx0nLEikuNS4ncsy+lLJJJh4peNTKVP5RQzsvSl6hENxpChHZr6XZYEwdr5zLSmeaXqzRXbW5pTe0eBPb4ND+kdJuQYYJxZ5pvrMMN6nEfaQBE6XuJzXYxMbyU9Ha4GHWxqfnSeulr/zpEbIpBs8ubYpDYWNNMVQtabRjCxsd58KcZ6xO+KJHViYjJWPDWbcbsy6Hj5Iag7+bwt5WxEgeJkiST96v8X67OwzegE14aTMckTzWJiNvwDQS56N/qivoPEpR5TYUkKrWhA902IEZd/2JusHsV9ZsZ6S91A3u2VMr7ZT7cr3obhJrv39Bwz23xSY01XvrwR6MpWNVfco1WYHzTH+xzc8y9rvuCiNyhgwfXkz2h9ImXe+eDhH4kmJLJpQrbsTYVe10ydMuaJ9afk1+NiZSfD3id00qnV6WRKs9vi4ZK51rtuyycZggaSrvLo6gtzDw2cVbmIGw0S1MoBp3PMBfajDcJ3PF3cIcEwoec+gM/G98yfcRR9xImZTZ3OUTrOHA02uYDoubYjyo4BnmY4qcaECYe2SaaspV8SM+qzquB853DV2Y0TamxuhwO6rBAJSCm1nCC1w6xIefX4xKSYGjrHSgZmIjixY7oZkN809Cpj88uMT1tGpF6BRmPlur4Rfx2Ht0vGqpF+hM+RIeKXH8K3gDTRONHi94gtUJAaMV7K/2YeDM6VHSzP3ueC6fX9Je0StOypu0rD3HPx4rbXRpe6GnPFr2CPxJLH/1VKw+f/PTO3n3ZVXVL8R3LqPK0NnP1QwEtD4W7TfNiopl7p5c48wWFHXT/zLSoPpkvYJMvRbIHz2p0NtTrkmFj9i2cN7vdBV8pitpIO/SFXB5zix/0IaiZhiNChiIi9WoeZYmLFI58i4h9vsXd8OIdUjnq3CzGl62iZMlDfc/EwLIgZ9PSJX369s3prjijzdf/OfNc9G4c19fvJG36nZpUj6URbU2CT/1QYCrerOxTeHX7tm/zSKjbmwKn+Qfpko/3b3NFrdKL3799e2nPod74P7gkhkrfhJUMhEkk+Y3SSWTQTJlflNvxfJ2fjcLkqkgmTa/aUqaDpKZ9vope5upW6mDVFmQamZ+m1HCZkGyufltTiWbB8kW5rcFlWwRJDM2+bSkki3D2rWVLUgzCGQHZwjaEqEphK1yQRpDhNYQttaFIlOGBhG24gVpEhHaRNjKFxmZMrSLsPUvZoT9RGgZYS0gSNuI0DjCGkGQ5hGhfYS1g1hShYcWskPPJ0laSIYWsgPeJ0laSKLO4nqLfKvV7WyRhSlDC0lrBklaSIYWktYMkrSQDC0krRkkaSEZWkhaO0iy78jQRHLOdWwZWkhaM0jSljK0kFyyIkMLKWch0ugqtJByFiK7pQotpCQ7UKEBzY1od2/18nYxD02pQgMpzRpdhQZS1gqKbEgqNJCyVlBkV1ehgZQzENmQVGghZc2gyIakQgsp1kIqtJC2ZlBki9OhhbQ1gyJbnA4tpFkL6dBC2lmIbHEazTrWDIpsSDq0kM7YwkMDaWcgssXp0ECa7UE6tI+2RtBki9OhfbS1ghbEGKdD+2TWCJpsRllon8waQZPNKAvtk1kraE2pmYUGyqwVNNk6stBAmVsXkK0jQysDawZNGj0LLZRZM2jS6FlooczaQZO2zEITZdYOGTlnZKGJMtZEWWiimbVDRo4Js9BEM8E1pFlooRk/C81CC82sGTKyfcxCC800W3hooJlbu5ENaYaWb9YKGTkezUIDzawVMrIhzUIDzZyB6EVhaKCZNUNGNqRZaKG5sxDZkOahheasheahhebWDBnZ4uahhebswnoeGmhuzTAjm+Y8tNDcmmFGtrh5aKG5W2GTzWOO1tjWDDPS6vPQQnNrhhlp9Xloobk1w4y0+jy00MKaYUYtOBehgRbWDLM5lTA00EKys/8iNNBCsaP2IrTQwlloQRUeGmjhDEQtYRehfRbWCPM7KmFonoXbA4m3en6rZjJMiXZB1gZz0uSL0DwLdpGwCK2ztDaYk21jGZpnaY1A7fuWoXWWbiNE2XsZGmfp9kFUTS5D2yytBeZkq1yGxlmyK4RlaJylMw7ZfJehdZbsCmEZGmfpjEOObku0S2WNs8T7VGcdeg92h3aqd+z45h/BpNYQc3rDdoc2q3fsGOcfwaTOTuTA6Z/BtKyl/COY1BpkwezW0Z71ztpkQe/X79Cu9W7Bq4C2rXfWLgt6c3+HbOYIAi12ABesXRY0CcB4QbArb4H5gqMICxobYMIg2KWDwIjBgYQFNQIIzBgcSqCHNIExg4MJC7LfCAwaHE5Y0P0BowZHFBh1kckcUmDURbhBOKiwoPuOxEjIGmZB4g5EHITjCuQsKRByEA4skPOkQMxBOLJAz5QCUQfh2AI9VwrEHYTDC+RsKRB5EI4vkPOlQOhBOMJAzpgCwQehIhZD+EE4yLCkxw8EIITjDEt6/FAY41m7LOlBAVEI4VjDkmF+yGiONizp7otIhHC8YUlzP8QihCMOyxlpYEQjhGMOS7qjIR4hHHZY0j0CIQnhwAO9+xEISgiHHpb0dIKwhHD0wUyJdGJkOAcgzKRIJ8YI1jHYO9rMCFAIxyHMvEg1YcQohCMRZl4k0yLTORhhJkYyLTKdwxFmYiTTItM5ImEmRjItMl3moTnZ6RGvEI5KmJmRTItM57iEEGS3R8xCODIhGB6PsIVwcEIwSD7D/NxZjqHyCF4IhyjoSRPRC+EYhWAYPgIYwmEKwWF8ZLuMXUUKRDGEYxVC0HMsAhmCJxkCoQwx86ajhwlEM8SMX0ginCFm3nL0kIKQhph5y9HjxAw7P1ynox0LAoENMWOX/gKRDeH4haDdEALBDTHjLYfohnAMwywWaC8MspzjGIL2WwgEOcTc+6vohok4h3A4Q9DeC4FYh3BEQ9AODIFwh3BQQ9CuCYGIh5h769HtYo7dV67n0X4HgbiHcHTDrBzoxMh+DnCYpQM5kyL6IRb8dgDxD+Ewh6AdCwIxEOFIh1lnkEogDCIW3uVIzjUIhAjHOwTtNxAIhogFv41DOEQ46iFoL4NASEQ48CFo/4FAVEQsvPEYByQyHk9GBEIjwgEQQfsRBKIjwlEQs4ahEyPjeUai6eECYRLhOQntKBAIlYglv59DrEQ4JCJot4JAvEQs+SkPARPhuIhZGtFyke2W/CYcURPh4IigXRYCkRPp6IigvRYSoRPJoxOJ0Im885ajXamInUienUjETuQd76eUiJ1IB0iY8UcieiIdIRG0q0UifCLvvOnIFi8RP5E8P5GIn0jHSOith0T8RDpIQruwJAIo0odn0D4fiQiK5AmKRARF+hAN2vEjEUKRPEKRCKHILkyDDtlBEEUKtstJxFCkj9VgWgSCKNKBEsYYCKJIR0qYZolDNmTEcDhoQ3rD0SEWg7gN3nA4cEMqflaUOHZDanZWlDh6Q3rL0ZEeOIDD4RJB+8QkjuGIBHHgKA4HTERGbe0kjuNwxETQPjSJcIp0yETQbjSJeIpU3nb0IIGAilTeG0D3UERUpKMmgvZ+SYRUpMMmgnaAScRUpOMmgvaBSQRVpPIhUrStEVWRjpwI2hMmEVaRDp2IGT0rIa4iHTsRM9qCCKxIB0/EjLYgIivS0RMxoy2I0Ir0aGVOWxChFenRypy2IEIr0qMV2p8lEVqRfPCHRGRFerIypyiMRGRFerIyp0cthFakRyu020gitiI1H0mF0Ir0aIX2HUnEVqRnK7RTSCK4Ij1coV09EtEV6ekK7cCRiK5IT1dot4xEdEV6ukL7ZSSiK9IhFEF7WyTiK9LzFdqHIhFfkZ6v0J4RifiKdBBFLJiIPWRBT1hoL4ZEhEU6jCJoN4ZEjEV6xkI7HCRiLNKBFLGgLYgoi/SUhQbjElEW6SkLTcYloizSUxYajUtEWaRDKYJm4xJxFuk5Cw3HJeIskucsEnEW6TnLkgKsEmEWyQeSSARZpIcsS3LCRoxFesaypFisRIhFesRCM3eJEIv0iIUG6RIhFjnnF50IsEgPWJg6Q3ab83sFRFekpytMnSGzLe74OkN0RTqAImkXgUR0RTqAImkXgUR0RTqCImkXgUR4RTqCIu/o5o7winQMRd7RzR0BFukYiryjBywEWKRjKPKOHrAQYJGOocg7Jn4Y2c9RFHlHt02EWOTSx3nTbRMhFrn0od60BRFikY6iSNpVIBFikY6iSNpVIBFikY6jSNpVIBFkkY6jSJr/SwRZpCMpkub/EmEW6UiKpKG+RJhFOpYiaVIvEWiRjqVIGr9LBFqUYymSxu8KgRblaIqk8btCqEXd+UhJOiIboRbleIqkQblCsEV1sIWOy0a0RTmgImlQrhBtUQ6oSBqUK0RblAMqkgblCtEW5ZCKpEG5QrxF3fltOxOdjywovE+WCdDHsfzOgjQoV4i4KIdVJBNTj5iLEv7QBW1BxFyUAyuSiaxH1EU5sCKZ4HpEXZRDK5LG3wpxF+XQiqSZtkLcRTm2ImmmrRB4UR680ExbIfKi/GkZGlQrhF6UPzBDg2qF0IvyZ2ZoUK0QfFH+2AwNqhWCL6o7OUNbENEX5Q/P0EhZIfqi/PkZmhMrRF+UQyyS5sQK8Rflj9HQ8FchAKMcY5E0eFX4MI0/TUODV4XP0/gDNTT1VPhIjWMskkaZanCsxlmQ5pMKn6zxR2tohqfw4Rrljz/RFsTnaxxjkTQ/U/iIjWMskg4rV/iUjWMskqZiCh+0cYxF0lRMIQCjfGQLTcUUAjDKMRZJUzGFAIxyjEXSVEwhAKMcY5E0FVMIwCjHWCRNxRQCMMpRFklTMYUQjNL+DBttQcRglMMskqZiCjEY5TCLpKmYQgxGOdAiaSqmEIVRDrRImoopRGGUAy2SpmIKURjlQIukqZhCFEY50CJpKqYQhVEOtEg6flshCqMcaJF0ILVCFEY50CJp1qUQhVEOtEgaYClEYVTmDyPSFkQURjnQImmApRCFUQ60SBpgKURhlAMtkgZYClEY5U/t0ABLIQqjHGiRNMBSiMIoB1okDbAUojBqxkJQhRiMcphF0qxLIQaj+EgXhQiMcpDF7D2p0EuFCIxymEXSWEwhBqPmbKSEQghGzb3t6CaEIIyay4jGiMKoubcd3d4QhlFz1vOnEIRRjrNImswpBGGUIy2SJnMKYRjlUAv7esh6DrZIGuMpRGKUoy2SxngKoRjFx7koRGKUJzE08VOIxKhFzHqIxChPYmg8qBCJUZ7E0MGzCpEY5UnMkm7JiMQoT2Lo8FmFSIzyJIZmeQqRGOVJDM3yFCIxyoe60MRLIRKjHGxRNPFSiMQoB1sUTbwUIjFq6Y9r0eZGJEYt/clu2oKIxCgf7EITL4VIjPJng2jipRCJUT7chSZeCpEY5Y8I0cRLIRKjfMALTbwUIjHKnxSiiZdCJEY72KJo4qURidE+5IUmXhqRGO1gi6KJl0YkRvugF5p4aURitIMtiiZeGpEY7c8M0cRLIxKjHWxRNPHSiMRoB1sUTbw0IjHax73QxEsjEqMdbFE08dKIxOjuXhIKfWsEYrRjLYqmYxqBGO0vJyHjvDXiMNrHvpBx3hphGO0vKCHjvDWiMNrHvpAx7BpBGO0vKSHj6DViMNrHvpBx9BohGO1vKiFjzTUiMNrfVUIGW2gEYLRkJz+N8Iv2kS90hIpG+EX7yBeaamqEX7QjLIqmmhrhF+0Ii6Kppkb4RftjRDTV1Ai/aOlvx6B7KcIvWnr3O2loRF+0AyyKJqAa0RfN32OiEXvRDq8ouaCCnDRiL1r5brd8q7Nbs2dCiZH5/H0mNCzViL1oxQYLakRetNIxJZDx/L0mNITViLxof7UJDWE1Ii+6u92EbnCIvGh/wQkNYTUiL5q/40TjS050zHr4nhN/0YnKyIrDV534u06YWsbXnfj7Tpg7VAY3nrD7Bo2vPPFhL5zGyHr+3hPm1hV884m/+oS7eAVZT7P+W42vP/FxL5zGyHoOqyjmqhbEXHQmIqZGzEU7rKJozK0Rc9EZ3/cQcdEOqpBnOjXiLTrLYvoi2/kzRTRp14i3aIdUFE3aNeItOvNXC9HdFPEWzZ8q0oi26NldxNCItuhZbNxEtEXPvO3osQLRFu3PFdG4XyPaov1NKTTu14i2aJ62aERb9Mxbj+55iLZoT1toz4BGvEXPvPXIBodwi/YBL7RjQCPconncohFu0T7ihfYhaIRb9FzyCiPaov0FKrS/QSPaonnaohFt0fNYz0O0RftTRXQIoEa0RTugominh0a0RfuoF6aHINqi5954dKNHtEV72kJ7SDTiLXrBBixpRFu0v1rFLHoJ2qIRbdELbz260SPaoh1QUbQzRSPaovljRRqxFu1wCqsxst7CW4+ebhBr0f5YEdMuEGvRnrXQHh2NWIte8l0PkRbtSQvzeoi0aE9aaE+RRqRFe9JCe4o0Ii2aP1akEWfRnrNwGiPrec5Ce6A04izacxbaA6URZ9H8wSKNKIv2lIUZLRBlyTxloSeyDFGWzFMW2g2WIcqSecpCu8EyRFky/mhRhhhL5hkL7THLEGPJPGOhPWYZYiyZZyy0xyxDjCXzjIX2mGWIsWSesdAeswwxlswzFtpjliHGkvnrWWiPWYYgS+YhC+0xyzrI4m4Ifi6atli/9zcFf/r05rff1sXzb7+9efufN7919wfbY+tOrL1K2B5W/+I///3v6cZg+5sV31/wfcqoTtlcprdvzM7Y/7/0/5utpP+/+113v5v9gf+/S2/WWf5/7f+fd7/PO7mLLv+yy7fs8i27v9uLhLofVP9D1v+w6H4wddj9IPsfuuLs4fjuh15gr5E9At79MO9/6NMseoGLvqxeT3uksfuhl7zs1JC9qrJXVfYayl4x2Stmz1P5H2T/6FjFfR3aoH3/Q6+Y7KvPRsZ2P3RFWG9c90Mnx7qwuh+6QlX/XhYRdT/09lOq/6H/i9b9D4vetn2avjL17GjuXmBflp3nux/6NMs+TV+Huq+67I5rm7n7dMbafTqj9h8+Ac3UTH7Hhqq9iUgZbflcrJ7ychv0jrsM9I6+wVowyIg5fja3/wop0MTsJ0+aZHe8CPvFEJjTOnhOnW0RKbz/TDMsdQ5K1bN43vqh7r9TAqsQDBF2wmZE+G9Abx/aXXfBOdRiBrVgLVm1MNcMjDHzOZen+7QDKEzCilZ9G1PHttqPQ303txMkI/zQPoVVASSLSKZVvX0oH8OmtIQDba+V7+yMFHtBPBQBDSEVW4uHtjblb4tVUC3LBShfsR3hlLktN0V9aMOXgLMFb0cjZP9StqunMPMdzMy1I/dFQ/vNLVDtGWyBc67i73Eu2PQXnLL3Vb36XPyxq+qmaMJWK0Hvt0SZF9DWL3lVFUFlaZCZy9raj0BV4cQK3lWxZR6aLd3TtIKjzILN/7qtX4jssM/pJTdcrPLVU/G5CMY3e+bi1Dr7wV6yHXeVt8Vj3YQylARNZMEZejhOZ6Bj2kOnXefiWrkTELx4Bqw1Y1/bfrnFfWsjP325BVYeqIHsjte+rMxoG7zAHHSNRb9qkKz69qsw5baoysfyvqxKszYbWNKeYDxVieZaoBNFt6RMwk7HdZ9eQOO+ZDhYJcJ6tbwgIsR9hJFqklDEkm1O9vMYLhnMC6q1X70s+gUg26FXVWl+DQcT6/YDg1e/XhFsU6nL7X2+L4bDAmwjXsqSbSn1ZldWRXP6gDvsbkvY3dh38WN5Eb6MBlUq+Cr1eTf1Oq/KrfkX1G0G6pYdZzoRhzLs5TPYy/kq7PLuzLIibNsaDhNLtml6AUMTSDAVKm7uD3IPVIBrDMXbz3+mG/cKe1TwZLtZpPLapq6Ccmeg3OPOQ7ISmsKMsmHdwxXtgh0WXEb/7vu2bvLHQApse4JdCK3z3c423SAnmJPtnX1czuZz+1SEnVmCBic5q+FuIuGspNj3XRcP+aFq3RAU1Dcoky3S5+0qK6hs8K5sZvcl7MZ9HLnK/3w143pb+o9aw1kdLjxn/Fu0eVntzaoizAxrgMta7ndGk/u8srNa6z+OCdYywOAZN16s6w2el2dwElKs3qZ3rY7fvIeaw6F/xq0YbfZ1/bLd1Xu3+wonICCBs2CxuS/W62I9HClAtXPD1PH7Y3DKmsOFAPfa3Ve7YD5YzXeREt0XtWDGBczITQY+o13nDlVWcOGnOBMX/jOKuf+M4j5HS1dobs2Oy8Uf1tJGDV/fx08/w/UcXEtKriIeCrNV+P1QoEUkHGNkT5HkgrP+g1lxEPM0EMLVxqMbI1/RNg2uAtkVz2PRUlaA60CLH2OZUduB6z3LF2NZcfOZC5iXGyN8XrQ4m8GcXA81Ocu22IRDAzQx2+Ae6/t89Tmc/KF52SKfivLxKezLIF9PnuzdxEz+ch1OnHBjJZZcF7PZ2mLfbovWzAortCMMTMRIQOtO2C/F4ggCe8wmuYml3Jue2hTE5C3ggtreHMMJeCrydYVYlL0eDlQDV/vl3uyvWtun0NtACLHgGlq5r+p8XW4DgGKjrU/z2KxnmvOeMs97prnglarqx8diHc5RNqL9JHfOV0e9C+dEe+kbqAqux1W2HQ4XMxDlcDbsPmuLsQZcC/QtQve7Rr3s0RLbRqt6lVfDAQ+YhjOMqT9UeQu4uGA3zi6fH+fzKhx54KzD50Ycyh6yADbj6m+TP5ZmM7cNxg8wxXIm2+Sfi/tyTe2J4XKCnVFsfgdSKQkLKIEbfTamldrPd66LJuTZC7h1EtyoGWQf7F0gRmQ3jk4E3rjAardX23NZ0VYVrkDFop+Q2aGX2u4u4I5DHj1JYyIQG4N1P+Mrr803+T5oNHMwCi9Zs3cZh11LQPLJZi+NAFThcGJe9D4ocQREvQ+K3cTa3QTDCaFfJOOGzC4/A3fgfKbZbUEnw3tEKN8AtIpmpVgKsS//DDSA+4Ps6D/r0SO7SXSyhuBVwqFsNGtpdixo5QfnanZFM2BUEtai5CyxzZ2H6tCYbr0KHUsSLt0lN4qaFclL3XzeF5X7+mtQjYGDx9dexg2OSM5gdIGsfsZZwLQHcsMH4bdm6Xe9XVX1PqRRoBJnXBWYfAezINqYOSFcU2ZgdJlzFqi3buKsXmmmBnmYveWTF4Lm0LD9x/KhWTBwKHIN1uysnKVCXeG2nPVmmqwDJw6cvuacdfFKKQMNdMaWNtwGKphRs56EXb4rGmLQhStVzh67fL83zTlcYemgYntvAtswTOl7u7ChCBC0kWBnjt1TvjXtkngHCDrZ8p9y5PW1t/adDMxuNXZVviqe6mqNfOZwh6XZRd2u3h2qvCF8KWCRxM6yu3rfhsXCbcmcW1vsmnJVmAofECoF+7BesMU25XO+et3VZgjAG3cI2diVxe+H3PrsQuIwhzuqY5hAH4Ch2Y2OYxfe3RC2XLhe6Cc2zS64GmOB+/qFaD5w88iNik2xMr8SZoTwiy268H9ZYw8DfAPWwdEUm/q5GKIBuMNnXdV+fTvwBUKv74zP+/uhbAq/xA9rDCrONsMuv1nZFI3/WnvQkuFWSveLNa5Jmk06stocvn/GV96+rp4Latm4hMMGGyjgoXN+b6YHEr7CvQ47p46Razgtat4eO7OyqZD3HcJfdrOwzx8IeCfgjoPNuv5Mscc7uMnpl0OaHX33xcosj7Ez/C5QoB8I2A1bBNYo2Be4ydPP8eZVBm5CuOeRLFL2+bGbDlYEO6L2WYdeuixgHFwDMlPXHvUfCQmuYh2Epts4x7FpvT7sak+5wSFm1Fx/3lOAEs6hrOPE5IxUPvTRsjh3/1QfqvXWdKTGLiXKfTtk2tDfKNiVkJH0EioA34ENc9qXj1u0BIB8SrOrJ5+R2u/CAYhd1O43eUO4ZwXkamyLb1bBkAsKZBle17/cqP2Qh8Eb9mwxKLWPQ+Sbbfsabh+DDXW3ZuxZh2BdGEScYLAby2IZaxveO5y47VltUPv9+pUFD0dRQ/cnHD3GVSEWwDB0Uag+fPWuD1ZllzR+55GvVji6z97QAcYGtmW6/G3NBHZCmM9OsKaVbPb1w75ons2iEy8WYRwH10g6T0DYsyC+ZdvFEBjDLVvPvLu1xawPadE9+rjTfQVzM64rwCy+mqZch5sHGcw4bPayWb8U90ywI4y6lYqbOqEQM308l2gjIuCaXrJhFr0YrwcpCK7IJOsHBoL8Bv8Y/DGUCD11kg1m7CVuH1oHVIOuAVeaoy/XSxhMsws4brGuhF4M9S7QWHNurMYCrP82eBu44GHXKZSUwRvBkA3BkrhelFnFUS9l78049TN27iWkDPRRMPJEs67VXpTrWXZFXfwRBuAGmzG2nuuwaPgWqp+V+n6uj3HE2THK/hhKz+ppR3kbQEqxWPimfL+1Emh+B1kmbzqbH3m1gkAN3b/WMdDuuA6fHU8RcFMHF0coIdVgQ6bMO233D0XDxLHDPQm7Jmybw55a18C5sNsSsB5UNN1A56cQfeAXO7of9gU8FtE5EgenIyRctCh28PDS7EycrzdosWGvnwPYnH0dJCLfrv3iEQkLGDw3+ZyEhbmhl0axBAfkfjDrQeK8BdwzKHbZA+QQbwIJnGJ9I04GffQENlfBuulOAoKdUDhVwcmPdfUwkkwVES0Z2knGa8iK7NpfWEPwBRUbdGJlrNeu0YT1C3Oz8ac+NzawgIH9gg1ttpmPh1qCwmFUs2InO5u/qpq6MvPB5h43EEjSFQu5rIzd7tCU4dwWRLXFGroP1Hopt2iDJ4PQaHaD50SEZ2DsPX3AyxWp+S6YMKx5uExgibrLbNbvjog4wBRoAMm+5EfQvXXi3x8Gg15wwoLlOjY7c7JjDjfjservjmmEdoeDCztFdpkHmFvOg+MhMeUPr8HgH477sAGzgfBeyjZkChLunRTL5UzelbV+xSsBw8AVi8aOgorto5Hy1DXpUBIcDNg95VESqQw0CxvWb0UMR2q4AmfhQ58VxXfB7aBgV982c4i6wuEYbkZiE58TUqytOz54ewg/JHtKMhQwIBcSui0kC/2PUuxK22yvw7kK7vjYfXUvIjgD0xT5flAxcKTIIu28P8YSvg+c5dhw1j73sK/CXafSsVplT4vAaU6wAM+JiJ0VgeaNNrLhuUEROJGidegz29bZ5u0htERA5GPrIWpfIeHRQclCH5DbTBp4dQhP8Eg28grIoKpSwhOQkg01JKQcdmt0FkNCSirZA4pAlmni61ACdDyyJ4MDCftDheoWMmIW8wMZw+MssGZZjy+Q8NKUuCogpmeJ/8E5W0w1UmAQOmFVtJ16EX4eIecCKIkl0EdJkRkOTpWsH+ooqHOFIF+ShGOiYkNqjlL8IOLib/HqKyTrkXmSPJYSjo2w5bGhplYUWzsCujmXMW2gCLSJgMtY9sjlQMaw9cAtgWL9ZE7Qnhwlg819xEjFcIcm4XkqxUYLnDLbPUkoAM40sT4cWURBYCZZejSQgewBN/DslQ1DIYRB4OqQ5XcDSXarYyyMzoLL8LxezDwoBAk2Uh1rF/GjMRJ6dRQb5WfkcMdR4CKTPfVg8j82uTs2GBYP/WOKjbQ22Y9x+4QzBx4xibXSct+Nz+tiV9WvYWiIhFJUbIlnxPi9+/BtYK9nzx86Ef41XNgmDkuTQdQOL4Qe/+Cct4zlpkY+OOWy529PmcM+JmBbjq0JI6MdnOHY82JWxDDiH85p7FFEn3UQtg/7NBsMYvK6yP2w1cD1QSyjC90PZ2E4OMaQ6TFuP8wOq5uNKXbZm89F64LqgiEELhkVGwNoBZBrd7jgZKMnu9yDuHVQ4bEZ1jTvcnPYbIs/2kHtwe7KusO9jHYAO+Crs/6EU2ZiUwljVRUby9SJIPZgEA2w8R82u1kXly9NvgttB9tOrKd2YdHh3h5GQbDRsqfMm3K/yVHArYKbUB1b4eC6hx5qxTqafUYC1cksuDwhXvCqrroYmLD2oO1iQMCIwGsaBfd8KsYkBjQDRr0oNu7O5HSdHeWFKrPub5v3ZUuAFBjxo9hjGSb7Dh1rVHB7qmJQkwl3hqhDxNZLIL/5rTHDVhm6moLDKpF2Y0a69qFuNg8Fij6Gh3VkzIuza0ozaL7axZJZnZe7QSAsdHtJ9kiCkUScAoZzbH9KULIHcm1VhHMVtGTM/8JG38INaWyF4KNgCRcHHHtiL+8iSKN8EK50Yvu+LqZ0TZ/+gggnNhPEto3QoOz9Ql6GGcuHKz/YS9jAsmN+ZkcNm7iaRcYl1nkDGwcbT+IEvOZV+2rsM1jHCXiaTka1eCnbp+HNFsG9DhFz2BDZsBJhuZF863CEgutOHXPYmbeNOL7g8UPFRs50YgjfF4yfii1dx/oEXMDHgKSVEwYEhZM8HHfZOPlADk1IIcoQ7KkLLyi+rwkGzagcs21ubG8nQCeMo1dsqIMVE5EBJ2L2RJyVUT5uTYUYOYNVAOxpsSUsE0wKEWsk864qw0gWGAWuYgMVEbStoINSx3ZoXebDzh54D0XAISpGYyKBoApuUnUMGqAQzlAIjHmJIZ1IzCZcVMWmYC9i6GKDFEbEgkxQXCKOwRLQ6y5j67MwqJASBS9rkTEIwYQVUjKhd1fGMM3w/BN0BaiYs8rHfxELfngjh2IPFPYS1mbBtskrNLbDDs+e5T2KGHR2qEFsyeQjlYebRXiGTOnI2NfWZopalc3qYBaxdmYeyoKxz4q9i+8oa9Do4Sk6FWMWfciZC3kgPP5wJGCDlYGcwSYcrpnYwEMggNhFw1GYPU/oRJChbzCiKjaYHrashzoAQJHaDEQMrQrnExmDMd5fRyMZOKnEZmovg90nwQhgGUNpnZzR3VKwsBt9t+jaFI6TsQF3uG+C3SYWW/WcV+U65tqB68TY5OUERZ0SsAPE4nWe6xahOziexbxc1PFjSH9iQRnH6QBH0cMFt4ihv6ME7JaCcXqCjVzGEp6D26HgQlnEIsX4aQ0aQLDXtRxFoMgB6PmI9ZIXN37aMSwfNgI1D458RDrHQAwRBwy39lm0Thh3VHADJWcXXxtUACN8GXk8Xsiirs4y9orUcDUExbDhv2z7hIF0Yt6f6ekv35dsSBfbXINl3qTcYVMNmgo3R0T84zCuU7Jbp8i1dXCSYpcMZimo7g9tG8JSyPkFi8pfCrPS2BT7VVOgGxrhlYOs5uU6DOaE67XjFw1Y6vln0VgP63CoCy458FLoFeivb9/syl3h7pL94tOv//3v/wUY/9AeKp8BAA=="; \ No newline at end of file diff --git a/packages/react/typedoc/assets/style.css b/packages/react/typedoc/assets/style.css new file mode 100644 index 00000000000..108428c3f3c --- /dev/null +++ b/packages/react/typedoc/assets/style.css @@ -0,0 +1,1383 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: var(--light-color-ts-type-alias); + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 > a, +h2 > a, +h3 > a, +h4 > a, +h5 > a, +h6 > a { + text-decoration: none; + color: var(--color-text); +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h4, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} +.tsd-typography table { + border-collapse: collapse; + border: none; +} +.tsd-typography td, +.tsd-typography th { + padding: 6px 13px; + border: 1px solid var(--color-accent); +} +.tsd-typography thead, +.tsd-typography tr:nth-child(even) { + background-color: var(--color-background-secondary); +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.5rem); +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 1.75rem - 0.5rem); +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + background-color: var(--color-background); + line-height: initial; + padding: 4px; +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current:not(.no-results), +#tsd-search .results li:hover:not(.no-results) { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: flex; + align-items: center; + padding: 0.25rem; + box-sizing: border-box; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: + opacity 0.1s, + background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through !important; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/packages/react/typedoc/documentation.json b/packages/react/typedoc/documentation.json new file mode 100644 index 00000000000..ba33cdf4c28 --- /dev/null +++ b/packages/react/typedoc/documentation.json @@ -0,0 +1,51376 @@ +{ + "id": 0, + "name": "@thirdweb-dev/react", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 467, + "name": "ISecureStorage", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 468, + "name": "getItem", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 3, + "character": 4 + } + ], + "signatures": [ + { + "id": 469, + "name": "getItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 3, + "character": 4 + } + ], + "parameters": [ + { + "id": 470, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 475, + "name": "removeItem", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 5, + "character": 4 + } + ], + "signatures": [ + { + "id": 476, + "name": "removeItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 5, + "character": 4 + } + ], + "parameters": [ + { + "id": 477, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 471, + "name": "setItem", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 4, + "character": 4 + } + ], + "signatures": [ + { + "id": 472, + "name": "setItem", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 4, + "character": 4 + } + ], + "parameters": [ + { + "id": 473, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 474, + "name": "value", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "children": [ + 468, + 475, + 471 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 2, + "character": 17 + } + ] + }, + { + "id": 169, + "name": "MediaRendererProps", + "variant": "declaration", + "kind": 256, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The props for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "MediaRenderer", + "target": 265 + }, + { + "kind": "text", + "text": " component." + } + ] + }, + "children": [ + { + "id": 171, + "name": "alt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The alt text for the media." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 35, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 180, + "name": "children", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 17, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L17" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.children" + } + }, + { + "id": 176, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 4, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L4" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.className" + } + }, + { + "id": 179, + "name": "controls", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Show the media controls (where applicable) (default false)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 15, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.controls" + } + }, + { + "id": 173, + "name": "gatewayUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The IPFS gateway URL to use" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 43, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L43" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 175, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 45, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L45" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.height" + } + }, + { + "id": 181, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 19, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.mimeType" + } + }, + { + "id": 172, + "name": "poster", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The media poster image uri. (if applicable)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 39, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L39" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 178, + "name": "requireInteraction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Require user interaction to play the media. (default false)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.requireInteraction" + } + }, + { + "id": 170, + "name": "src", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The media source uri." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 31, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L31" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 177, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 5, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L5" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.CSSProperties" + }, + "name": "CSSProperties", + "package": "@types/react", + "qualifiedName": "React.CSSProperties" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.style" + } + }, + { + "id": 174, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 44, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L44" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.width" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 171, + 180, + 176, + 179, + 173, + 175, + 181, + 172, + 178, + 170, + 177, + 174 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 27, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L27" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps" + }, + "name": "SharedMediaProps", + "package": "@thirdweb-dev/react" + } + ] + }, + { + "id": 268, + "name": "MediaType", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 270, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 500, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L500" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 269, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 499, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L499" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 270, + 269 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 498, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L498" + } + ] + }, + { + "id": 463, + "name": "ThirdwebAuthConfig", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configuration to use the react SDK with an [auth](https://portal.thirdweb.com/auth) server." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "children": [ + { + "id": 464, + "name": "authUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The backend URL of the authentication endoints. For example, if your endpoints are\nat " + }, + { + "kind": "code", + "text": "`/api/auth/login`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`/api/auth/logout`" + }, + { + "kind": "text", + "text": ", etc. then this should be set to " + }, + { + "kind": "code", + "text": "`/api/auth`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 465, + "name": "domain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The frontend domain used to generate the login payload.\nThis domain should match the domain used on your auth backend." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 466, + "name": "secureStorage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Secure storage to use for storing the auth token when using JWT tokens.\n\nDo not use a storage option that stores values accessible outside\nyour aplication (like localStorage on web environments) since you may\nbe exposing your auth token to malicious actors.\n\n** By default auth uses cookies so no need to set this unless you want to specifically use JWT tokens **" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 32, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 467, + "name": "ISecureStorage", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 464, + 465, + 466 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 12, + "character": 17 + } + ] + }, + { + "id": 271, + "name": "ThirdwebNftMediaProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The props for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "ThirdwebNftMedia", + "target": 282, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " component." + } + ] + }, + "children": [ + { + "id": 280, + "name": "children", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 17, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L17" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.children" + } + }, + { + "id": 276, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 4, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L4" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.className" + } + }, + { + "id": 279, + "name": "controls", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Show the media controls (where applicable) (default false)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 15, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.controls" + } + }, + { + "id": 275, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 15, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.height" + } + }, + { + "id": 272, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The NFT metadata of the NFT returned by the thirdweb sdk." + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 13, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L13" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "objectOutputType" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 273, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/core/schema/nft.d.ts", + "line": 278, + "character": 303 + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodUnion" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodEffects" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodUnion" + }, + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodBigInt" + }, + "name": "ZodBigInt", + "package": "zod" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodType" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodTypeDef" + }, + "name": "ZodTypeDef", + "package": "zod" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + } + ], + "name": "ZodType", + "package": "zod" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodType" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+bn.js@5.1.1/node_modules/@types/bn.js/index.d.ts", + "qualifiedName": "BN" + }, + "name": "BN", + "package": "@types/bn.js" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodTypeDef" + }, + "name": "ZodTypeDef", + "package": "zod" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+bn.js@5.1.1/node_modules/@types/bn.js/index.d.ts", + "qualifiedName": "BN" + }, + "name": "BN", + "package": "@types/bn.js" + } + ], + "name": "ZodType", + "package": "zod" + } + ] + } + ], + "name": "ZodUnion", + "package": "zod" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+bn.js@5.1.1/node_modules/@types/bn.js/index.d.ts", + "qualifiedName": "BN" + }, + "name": "BN", + "package": "@types/bn.js" + } + ] + } + ], + "name": "ZodEffects", + "package": "zod" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", + "qualifiedName": "ZodUnknown" + }, + "name": "ZodUnknown", + "package": "zod" + } + ] + } + ], + "name": "ZodUnion", + "package": "zod" + }, + { + "type": "literal", + "value": "strip" + } + ], + "name": "objectOutputType", + "package": "zod" + } + }, + { + "id": 281, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 19, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.mimeType" + } + }, + { + "id": 278, + "name": "requireInteraction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Require user interaction to play the media. (default false)" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 11, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.requireInteraction" + } + }, + { + "id": 277, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/types.ts", + "line": 5, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L5" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.CSSProperties" + }, + "name": "CSSProperties", + "package": "@types/react", + "qualifiedName": "React.CSSProperties" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.style" + } + }, + { + "id": 274, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 14, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L14" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "SharedMediaProps.width" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 280, + 276, + 279, + 275, + 272, + 281, + 278, + 277, + 274 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 9, + "character": 17, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L9" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps" + }, + "name": "SharedMediaProps", + "package": "@thirdweb-dev/react" + } + ] + }, + { + "id": 297, + "name": "ThirdwebProviderCoreProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible props for the ThirdwebProvider." + } + ] + }, + "children": [ + { + "id": 308, + "name": "activeChain", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The network to use for the SDK." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 30, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 309, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reflection", + "declaration": { + "id": 310, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + }, + { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "chainId" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "slug" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.activeChain" + } + }, + { + "id": 315, + "name": "authConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configuration used for thirdweb auth usage. Enables users to login\nto backends with their wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 463, + "name": "ThirdwebAuthConfig", + "package": "@thirdweb-dev/react-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.authConfig" + } + }, + { + "id": 300, + "name": "autoConnect", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether or not to attempt auto-connect to a wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 304, + "name": "autoConnectTimeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Timeout for auto-connecting wallet in milliseconds\n\nIf wallet fails to connect in this time, it will stop trying to connect and user will have to manually connect" + } + ], + "blockTags": [ + { + "tag": "@defaultValue", + "content": [ + { + "kind": "code", + "text": "```ts\n15000\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 52, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 303, + "name": "autoSwitch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether or not to automatically switch to wallet's network to active chain" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 44, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 306, + "name": "clientId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 31, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.clientId" + } + }, + { + "id": 302, + "name": "createWalletStorage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 40, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/core/AsyncStorage.ts", + "qualifiedName": "CreateAsyncStorage" + }, + "name": "CreateAsyncStorage", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 299, + "name": "dAppMeta", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Metadata to pass to wallet connect and walletlink wallet connect. (Used to show *which* dApp is being connected to in mobile wallets that support it)\nDefaults to just the name being passed as " + }, + { + "kind": "code", + "text": "`thirdweb powered dApp`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 34, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/core/types/dAppMeta.ts", + "qualifiedName": "DAppMetaData" + }, + "name": "DAppMetaData", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 316, + "name": "queryClient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/query-client.d.ts", + "line": 4, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/queryClient.ts", + "qualifiedName": "QueryClient" + }, + "name": "QueryClient", + "package": "@tanstack/query-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.queryClient" + } + }, + { + "id": 312, + "name": "sdkOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SDKOptions | Thirdweb SDK Options", + "target": { + "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", + "qualifiedName": "SDKOptions" + }, + "tsLinkText": "Thirdweb SDK Options" + }, + { + "kind": "text", + "text": " to pass to the thirdweb SDK\ncomes with sensible defaults" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 313, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/schema/sdk-options.d.ts", + "line": 169, + "character": 3 + } + ] + } + } + ] + }, + { + "type": "literal", + "value": "chains" + } + ], + "name": "Omit", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.sdkOptions" + } + }, + { + "id": 307, + "name": "secretKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 32, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.secretKey" + } + }, + { + "id": 305, + "name": "signerWallet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 53, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/signer.ts", + "qualifiedName": "SignerWallet" + }, + "name": "SignerWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 314, + "name": "storageInterface", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The storage interface to use with the sdk." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../storage/src/types/index.ts", + "qualifiedName": "IThirdwebStorage" + }, + "name": "IThirdwebStorage", + "package": "@thirdweb-dev/storage" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.storageInterface" + } + }, + { + "id": 311, + "name": "supportedChains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Chains to support. If not provided, will default to the chains supported by the SDK." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Omit.supportedChains" + } + }, + { + "id": 298, + "name": "supportedWallets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of wallets that the dApp supports\nIf not provided, will default to Metamask (injected), Coinbase wallet and Device wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "You can Import the wallets you want to support from " + }, + { + "kind": "code", + "text": "`@thirdweb-dev/wallets`" + }, + { + "kind": "text", + "text": " and pass them to " + }, + { + "kind": "code", + "text": "`supportedWallets`" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"App.jsx\"\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n \n \n \n );\n};\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 29, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 385, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 301, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 39, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 308, + 315, + 300, + 304, + 303, + 306, + 302, + 299, + 316, + 312, + 307, + 305, + 314, + 311, + 298, + 301 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 9, + "character": 17 + } + ], + "typeParameters": [ + { + "id": 317, + "name": "TChains", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1350, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + ], + "name": "ThirdwebSDKProviderProps", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "literal", + "value": "signer" + } + ], + "name": "Omit", + "package": "typescript" + } + ] + }, + { + "id": 1350, + "name": "ThirdwebSDKProviderProps", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1357, + "name": "activeChain", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The network to use for the SDK." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 30, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reflection", + "declaration": { + "id": 1358, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reflection", + "declaration": { + "id": 1359, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ] + }, + { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "chainId" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "slug" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + } + } + ] + } + }, + { + "id": 1356, + "name": "authConfig", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configuration used for thirdweb auth usage. Enables users to login\nto backends with their wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 463, + "name": "ThirdwebAuthConfig", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1360, + "name": "clientId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 31, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1362, + "name": "queryClient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/query-client.d.ts", + "line": 4, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/queryClient.ts", + "qualifiedName": "QueryClient" + }, + "name": "QueryClient", + "package": "@tanstack/query-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "QueryClientProviderProps.queryClient" + } + }, + { + "id": 1353, + "name": "sdkOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SDKOptions | Thirdweb SDK Options", + "target": { + "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", + "qualifiedName": "SDKOptions" + }, + "tsLinkText": "Thirdweb SDK Options" + }, + { + "kind": "text", + "text": " to pass to the thirdweb SDK\ncomes with sensible defaults" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 1354, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/evm/schema/sdk-options.d.ts", + "line": 169, + "character": 3 + } + ] + } + } + ] + }, + { + "type": "literal", + "value": "chains" + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 1361, + "name": "secretKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 32, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1352, + "name": "signer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-signer@5.7.0/node_modules/@ethersproject/abstract-signer/src.ts/index.ts", + "qualifiedName": "Signer" + }, + "name": "Signer", + "package": "@ethersproject/abstract-signer" + } + }, + { + "id": 1355, + "name": "storageInterface", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The storage interface to use with the sdk." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../storage/src/types/index.ts", + "qualifiedName": "IThirdwebStorage" + }, + "name": "IThirdwebStorage", + "package": "@thirdweb-dev/storage" + } + }, + { + "id": 1351, + "name": "supportedChains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Chains to support. If not provided, will default to the chains supported by the SDK." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1357, + 1356, + 1360, + 1362, + 1353, + 1361, + 1352, + 1355, + 1351 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", + "line": 7, + "character": 17 + } + ], + "typeParameters": [ + { + "id": 1363, + "name": "TChains", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/providers/query-client.tsx", + "qualifiedName": "QueryClientProviderProps" + }, + "name": "QueryClientProviderProps", + "package": "@thirdweb-dev/react-core" + } + ] + }, + { + "id": 1263, + "name": "UserWithData", + "variant": "declaration", + "kind": 256, + "flags": {}, + "children": [ + { + "id": 1265, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/auth/dist/declarations/src/core/schema/common.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "User.address" + } + }, + { + "id": 1264, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", + "line": 3, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TData", + "refersToTypeParameter": true + } + }, + { + "id": 1266, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/auth/dist/declarations/src/core/schema/common.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TContext", + "refersToTypeParameter": true + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "User.session" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1265, + 1264, + 1266 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", + "line": 2, + "character": 17 + } + ], + "typeParameters": [ + { + "id": 1267, + "name": "TData", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "Json" + }, + "name": "Json", + "package": "@thirdweb-dev/auth" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "Json" + }, + "name": "Json", + "package": "@thirdweb-dev/auth" + } + }, + { + "id": 1268, + "name": "TContext", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "Json" + }, + "name": "Json", + "package": "@thirdweb-dev/auth" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "Json" + }, + "name": "Json", + "package": "@thirdweb-dev/auth" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "User" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContext", + "refersToTypeParameter": true + } + ], + "name": "User", + "package": "@thirdweb-dev/auth" + } + ] + }, + { + "id": 1443, + "name": "AcceptDirectOffer", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 193, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1444, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1446, + "name": "addressOfOfferor", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 195, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1445, + "name": "listingId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 194, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1446, + 1445 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 193, + "character": 32 + } + ] + } + } + }, + { + "id": 1396, + "name": "AirdropNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params to pass to " + }, + { + "kind": "code", + "text": "`useTransferBatchNFT`" + }, + { + "kind": "text", + "text": "." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 97, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1397, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1399, + "name": "addresses", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 99, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/airdrop/airdrop.ts", + "qualifiedName": "AirdropInput" + }, + "name": "AirdropInput", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1398, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 98, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1399, + 1398 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 97, + "character": 31 + } + ] + } + } + }, + { + "id": 1412, + "name": "BurnNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useBurnNFT", + "target": 1097 + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 131, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1413, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1415, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 133, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1414, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 132, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1415, + 1414 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 131, + "character": 28 + } + ] + } + } + }, + { + "id": 1450, + "name": "BuyNowParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 200, + "character": 12 + } + ], + "typeParameters": [ + { + "id": 1459, + "name": "TListingType", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/enums/marketplace/ListingType.ts", + "qualifiedName": "ListingType" + }, + "name": "ListingType", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TListingType", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/enums/marketplace/ListingType.ts", + "qualifiedName": "ListingType.Direct" + }, + "name": "ListingType.Direct", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "reflection", + "declaration": { + "id": 1451, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1454, + "name": "buyAmount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 203, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 1455, + "name": "buyForWallet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 204, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1452, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 201, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 1453, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 202, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/enums/marketplace/ListingType.ts", + "qualifiedName": "ListingType.Direct" + }, + "name": "ListingType.Direct", + "package": "@thirdweb-dev/sdk" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1454, + 1455, + 1452, + 1453 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 200, + "character": 97 + } + ] + } + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 1456, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1457, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 206, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 1458, + "name": "type", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 207, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/enums/marketplace/ListingType.ts", + "qualifiedName": "ListingType.Auction" + }, + "name": "ListingType.Auction", + "package": "@thirdweb-dev/sdk" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1457, + 1458 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 205, + "character": 4 + } + ] + } + } + } + }, + { + "id": 1369, + "name": "Chain", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 23, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1370, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1375, + "name": "blockExplorers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 28, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 1376, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1377, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 29, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1378, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 30, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1377, + 1378 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 28, + "character": 21 + } + ] + } + } + } + }, + { + "id": 1371, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 24, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1372, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 25, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "chainName" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "AddEthereumChainParameter" + }, + "name": "AddEthereumChainParameter", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 1373, + "name": "nativeCurrency", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "nativeCurrency" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "AddEthereumChainParameter" + }, + "name": "AddEthereumChainParameter", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 1374, + "name": "rpcUrls", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 27, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "rpcUrls" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "AddEthereumChainParameter" + }, + "name": "AddEthereumChainParameter", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 1379, + "name": "testnet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 32, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1375, + 1371, + 1372, + 1373, + 1374, + 1379 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 23, + "character": 20 + } + ] + } + } + }, + { + "id": 494, + "name": "ClaimIneligibilityParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The options to be passed as the second parameter to the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useClaimIneligibilityReasons", + "target": 524, + "tsLinkText": "" + }, + { + "kind": "text", + "text": "` hook." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 495, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 497, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 496, + "name": "walletAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 497, + 496 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 11, + "character": 39 + } + ] + } + } + }, + { + "id": 1427, + "name": "ClaimNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useClaimNFT", + "target": 716 + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 169, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1428, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1431, + "name": "options", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 172, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", + "qualifiedName": "ClaimOptions" + }, + "name": "ClaimOptions", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1430, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 171, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 1429, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 170, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1432, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "tokenId is only used for ERC1155 tokens" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 176, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1431, + 1430, + 1429, + 1432 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 169, + "character": 29 + } + ] + } + } + }, + { + "id": 1433, + "name": "ClaimNFTReturnType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The return type of the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useClaimNFT", + "target": 716 + }, + { + "kind": "text", + "text": " hook." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 183, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ReturnType" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "claimTo" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", + "qualifiedName": "Erc721" + }, + "name": "Erc721", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "ReturnType", + "package": "typescript" + } + ], + "name": "Awaited", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ReturnType" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "claimTo" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "name": "Erc1155", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "ReturnType", + "package": "typescript" + } + ], + "name": "Awaited", + "package": "typescript" + } + ] + } + }, + { + "id": 1460, + "name": "ClaimTokenParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 214, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1461, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1463, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 216, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1464, + "name": "checkERC20Allowance", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 217, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1462, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 215, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1463, + 1464, + 1462 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 214, + "character": 31 + } + ] + } + } + }, + { + "id": 403, + "name": "ConnectUIProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 49, + "character": 12 + } + ], + "typeParameters": [ + { + "id": 431, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + "default": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 404, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 408, + "name": "connected", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 58, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 409, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 58, + "character": 15 + } + ], + "signatures": [ + { + "id": 410, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "when the wallet is connected, call this function to indicate that the wallet is connected and it is safe to close the Modal" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 415, + "name": "goBack", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 70, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 416, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 70, + "character": 12 + } + ], + "signatures": [ + { + "id": 417, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "go back to the wallet selector screen in connect wallet modal" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 405, + "name": "hide", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 54, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 406, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 54, + "character": 10 + } + ], + "signatures": [ + { + "id": 407, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "temporarily hide the ConnectModal\nThis is useful when you want to open another modal and do not want to show the ConnectModal in the background" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 411, + "name": "isOpen", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "indicates whether the connect wallet modal is open or not" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 62, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 426, + "name": "modalSize", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Size of the modal\n\nThis is always " + }, + { + "kind": "code", + "text": "`compact`" + }, + { + "kind": "text", + "text": " on React Native" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 134, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "compact" + }, + { + "type": "literal", + "value": "wide" + } + ] + } + }, + { + "id": 427, + "name": "onLocallyConnected", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 140, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 428, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 140, + "character": 25 + } + ], + "signatures": [ + { + "id": 429, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Called when the wallet is connected but it's\npart of another wallet's connection flow." + } + ] + }, + "parameters": [ + { + "id": 430, + "name": "walleInstance", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the instance of the connected wallet" + } + ] + }, + "type": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 420, + "name": "selectionData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "selectionData passed from " + }, + { + "kind": "code", + "text": "`selectUI`" + }, + { + "kind": "text", + "text": "'s " + }, + { + "kind": "code", + "text": "`onSelect`" + }, + { + "kind": "text", + "text": " function" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 119, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 421, + "name": "setSelectionData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 124, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 422, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 124, + "character": 22 + } + ], + "signatures": [ + { + "id": 423, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "set selectionData" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [] + } + ] + }, + "parameters": [ + { + "id": 424, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 412, + "name": "show", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 66, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 413, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 66, + "character": 10 + } + ], + "signatures": [ + { + "id": 414, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "show the hidden connect wallet modal again" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 425, + "name": "supportedWallets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "List of all supported wallets including your wallet." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 128, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 385, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 418, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "theme of the connect wallet modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 74, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + } + ] + } + }, + { + "id": 419, + "name": "walletConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": " object of your wallet\n\nyou can use this to connect to your wallet\n\n### 1. Using " + }, + { + "kind": "code", + "text": "`useConnect`" + }, + { + "kind": "text", + "text": " hook\n" + }, + { + "kind": "code", + "text": "```ts\n const connect = useConnect();\n\n // call this function to connect to your wallet\n async function handleConnect() {\n await connect(walletConfig, options);\n }\n\n```" + }, + { + "kind": "text", + "text": "\n\nOR\n\n### 2. Manually creating wallet instance and connecting\n" + }, + { + "kind": "code", + "text": "```ts\nconst createWalletInstance = useCreateWalletInstance();\nconst setConnectedWallet = useSetConnectedWallet();\nconst setConnectionStatus = useSetConnectionStatus();\n\n// call this function to connect to your wallet\nasync function handleConnect() {\n // create instance\n const walletInstance = createWalletInstance(walletConfig);\n // connect wallet\n setConnectionStatus('connecting);\n try {\n await walletInstance.connect(options);\n // set connected wallet\n setConnectedWallet(walletInstance);\n } catch {\n setConnectionStatus('disconnected');\n }\n}\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 115, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 408, + 415, + 405, + 411, + 426, + 427, + 420, + 421, + 412, + 425, + 418, + 419 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 49, + "character": 72 + } + ] + } + } + }, + { + "id": 88, + "name": "ConnectWalletProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 37, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L37" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 89, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 99, + "name": "auth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 60, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L60" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 100, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 101, + "name": "loginOptional", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 61, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L61" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 102, + "name": "onLogin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 62, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L62" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 103, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 62, + "character": 14, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L62" + } + ], + "signatures": [ + { + "id": 104, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 105, + "name": "token", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 106, + "name": "onLogout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 63, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L63" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 107, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 63, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L63" + } + ], + "signatures": [ + { + "id": 108, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 101, + 102, + 106 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 60, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L60" + } + ] + } + } + }, + { + "id": 92, + "name": "btnTitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 41, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L41" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 90, + "name": "className", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 38, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 95, + "name": "detailsBtn", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 58, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L58" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 96, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 58, + "character": 15, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L58" + } + ], + "signatures": [ + { + "id": 97, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "render a custom button to display the connected wallet details instead of the default button" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "__global.JSX.Element" + }, + "name": "JSX.Element", + "package": "@types/react", + "qualifiedName": "__global.JSX.Element" + } + } + ] + } + } + }, + { + "id": 118, + "name": "displayBalanceToken", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Show balance of ERC20 token instead of the native token in the \"Connected\" button when connected to certain network" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```tsx\n\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 136, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L136" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 98, + "name": "dropdownPosition", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 59, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L59" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/ConnectWallet/Details.tsx", + "qualifiedName": "DropDownPosition" + }, + "name": "DropDownPosition", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 111, + "name": "hideTestnetFaucet", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hide option to request testnet funds for testnets in dropdown" + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\nfalse\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 78, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L78" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 113, + "name": "modalSize", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the size of the modal - " + }, + { + "kind": "code", + "text": "`compact`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`wide`" + }, + { + "kind": "text", + "text": " on desktop\n\nModal size is always " + }, + { + "kind": "code", + "text": "`compact`" + }, + { + "kind": "text", + "text": " on mobile" + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n\"wide\"\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 98, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L98" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "compact" + }, + { + "type": "literal", + "value": "wide" + } + ] + } + }, + { + "id": 93, + "name": "modalTitle", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set a custom title for the modal" + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n\"Connect\"\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 46, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L46" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 94, + "name": "modalTitleIconUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Replace the thirdweb icon next to modalTitle and set your own iconUrl\n\nSet to empty string to hide the icon" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 53, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L53" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 110, + "name": "networkSelector", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 68, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L68" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 130, + "name": "NetworkSelectorProps", + "package": "@thirdweb-dev/react" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "theme" + }, + { + "type": "literal", + "value": "onClose" + }, + { + "type": "literal", + "value": "chains" + }, + { + "type": "literal", + "value": "open" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + } + }, + { + "id": 115, + "name": "privacyPolicyUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If provided, Modal will show a Privacy Policy message at the bottom with below link" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 108, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L108" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 109, + "name": "style", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 66, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L66" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.CSSProperties" + }, + "name": "React.CSSProperties", + "package": "@types/react" + } + }, + { + "id": 117, + "name": "supportedTokens", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Override the default supported tokens for each network\n\nThese tokens will be displayed in \"Send Funds\" Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 124, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L124" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/ConnectWallet/defaultTokens.ts", + "qualifiedName": "SupportedTokens" + }, + "name": "SupportedTokens", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 112, + "name": "switchToActiveChain", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to show \"Switch Network\" button if the wallet is connected,\nbut it is not connected to the " + }, + { + "kind": "code", + "text": "`activeChain`" + }, + { + "kind": "text", + "text": " provided in " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "\n\nPlease, note that if you support multiple networks in your app this prop should\nbe set to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " to allow users to switch between networks." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\nfalse\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 89, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L89" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 114, + "name": "termsOfServiceUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If provided, Modal will show a Terms of Service message at the bottom with below link" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 103, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L103" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 91, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 39, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L39" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + }, + { + "type": "reference", + "target": 68, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + ] + } + }, + { + "id": 116, + "name": "welcomeScreen", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Customize the welcome screen\n\nEither provide a component to replace the default screen entirely\n\nor an object with title, subtitle and imgSrc to change the content of the default screen" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 117, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L117" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/ConnectWallet/screens/types.ts", + "qualifiedName": "WelcomeScreen" + }, + "name": "WelcomeScreen", + "package": "@thirdweb-dev/react" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 99, + 92, + 90, + 95, + 118, + 98, + 111, + 113, + 93, + 94, + 110, + 115, + 109, + 117, + 112, + 114, + 91, + 116 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 37, + "character": 33, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L37" + } + ] + } + } + }, + { + "id": 1418, + "name": "DelayedRevealLazyMintInput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useDelayedRevealLazyMint", + "target": 728 + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 150, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1419, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1421, + "name": "metadatas", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 152, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFTMetadataInput" + }, + "name": "NFTMetadataInput", + "package": "@thirdweb-dev/sdk" + } + } + }, + { + "id": 1422, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 153, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1420, + "name": "placeholder", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 151, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFTMetadataInput" + }, + "name": "NFTMetadataInput", + "package": "@thirdweb-dev/sdk" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1421, + 1422, + 1420 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 150, + "character": 41 + } + ] + } + } + }, + { + "id": 1416, + "name": "DropContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible DROP contract types." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 139, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", + "qualifiedName": "NFTDrop" + }, + "name": "NFTDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/edition-drop.ts", + "qualifiedName": "EditionDrop" + }, + "name": "EditionDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/signature-drop.ts", + "qualifiedName": "SignatureDrop" + }, + "name": "SignatureDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/token-drop.ts", + "qualifiedName": "TokenDrop" + }, + "name": "TokenDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1390, + "name": "Erc721OrErc1155", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Possible NFT contract types." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 83, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", + "qualifiedName": "Erc721" + }, + "name": "Erc721", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "name": "Erc1155", + "package": "@thirdweb-dev/sdk" + } + ] + } + }, + { + "id": 1447, + "name": "ExecuteAuctionSale", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 197, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1448, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1449, + "name": "listingId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 198, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1449 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 197, + "character": 33 + } + ] + } + } + }, + { + "id": 451, + "name": "ExtraCoreWalletOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 4, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 452, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 453, + "name": "chain", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 5, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 453 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 4, + "character": 37 + } + ] + } + } + }, + { + "id": 1434, + "name": "MakeBidParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 184, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1435, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1437, + "name": "bid", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 186, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Price" + }, + "name": "Price", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1436, + "name": "listingId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 185, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1437, + 1436 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 184, + "character": 28 + } + ] + } + } + }, + { + "id": 1438, + "name": "MakeOfferParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 188, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1439, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1440, + "name": "listingId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 189, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 1441, + "name": "pricePerToken", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 190, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Price" + }, + "name": "Price", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1442, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 191, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1440, + 1441, + 1442 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 188, + "character": 30 + } + ] + } + } + }, + { + "id": 1405, + "name": "MintNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useMintNFT", + "target": 1073 + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 115, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1406, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1407, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 116, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFTMetadataOrUri" + }, + "name": "NFTMetadataOrUri", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1409, + "name": "supply", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 118, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1408, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 117, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1407, + 1409, + 1408 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 115, + "character": 28 + } + ] + } + } + }, + { + "id": 1410, + "name": "MintNFTReturnType", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The return type of the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useMintNFT", + "target": 1073 + }, + { + "kind": "text", + "text": " hook." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 125, + "character": 12 + } + ], + "typeParameters": [ + { + "id": 1411, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", + "qualifiedName": "Erc721" + }, + "name": "Erc721", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ReturnType" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "to" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-721-mintable.ts", + "qualifiedName": "Erc721Mintable" + }, + "name": "Erc721Mintable", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "ReturnType", + "package": "typescript" + } + ], + "name": "Awaited", + "package": "typescript" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "name": "Erc1155", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ReturnType" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "to" + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155-mintable.ts", + "qualifiedName": "Erc1155Mintable" + }, + "name": "Erc1155Mintable", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "ReturnType", + "package": "typescript" + } + ], + "name": "Awaited", + "package": "typescript" + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + }, + { + "id": 1400, + "name": "MintNFTSupplyParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params to pass to " + }, + { + "kind": "code", + "text": "`useMintNFTSupply`" + }, + { + "kind": "text", + "text": "." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 105, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1401, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1403, + "name": "additionalSupply", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 107, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1404, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 108, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1402, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 106, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1403, + 1404, + 1402 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 105, + "character": 34 + } + ] + } + } + }, + { + "id": 1388, + "name": "NFTContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible NFT contract types." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\n```" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 69, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-collection.ts", + "qualifiedName": "NFTCollection" + }, + "name": "NFTCollection", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/edition.ts", + "qualifiedName": "Edition" + }, + "name": "Edition", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/pack.ts", + "qualifiedName": "Pack" + }, + "name": "Pack", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/multiwrap.ts", + "qualifiedName": "Multiwrap" + }, + "name": "Multiwrap", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "literal", + "value": "TokenDrop" + } + ], + "name": "Exclude", + "package": "typescript" + } + ] + } + }, + { + "id": 130, + "name": "NetworkSelectorProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 42, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L42" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 131, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 137, + "name": "chains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 46, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L46" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + }, + { + "id": 133, + "name": "onClose", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 44, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L44" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 134, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 44, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L44" + } + ], + "signatures": [ + { + "id": 135, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 145, + "name": "onCustomClick", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 51, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L51" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 146, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 51, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L51" + } + ], + "signatures": [ + { + "id": 147, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 141, + "name": "onSwitch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 50, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L50" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 50, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L50" + } + ], + "signatures": [ + { + "id": 143, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 144, + "name": "chain", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 136, + "name": "open", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 45, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L45" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 138, + "name": "popularChains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 47, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L47" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + }, + { + "id": 139, + "name": "recentChains", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 48, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L48" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + }, + { + "id": 140, + "name": "renderChain", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 49, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L49" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "RenderChain" + }, + "name": "RenderChain", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 132, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 43, + "character": 2, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L43" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + }, + { + "type": "reference", + "target": 68, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 137, + 133, + 145, + 141, + 136, + 138, + 139, + 140, + 132 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 42, + "character": 35, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L42" + } + ] + } + } + }, + { + "id": 383, + "name": "RequiredParam", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Makes a parameter required to be passed, but still allows it to be null or undefined." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/query-utils/required-param.d.ts", + "line": 6, + "character": 12 + } + ], + "typeParameters": [ + { + "id": 384, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + }, + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 1423, + "name": "RevealLazyMintInput", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useRevealLazyMint", + "target": 736 + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 160, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1424, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1425, + "name": "batchId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 161, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 1426, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 162, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1425, + 1426 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 160, + "character": 34 + } + ] + } + } + }, + { + "id": 1417, + "name": "RevealableContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible revealable contract types." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 144, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", + "qualifiedName": "NFTDrop" + }, + "name": "NFTDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/signature-drop.ts", + "qualifiedName": "SignatureDrop" + }, + "name": "SignatureDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 432, + "name": "SelectUIProps", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 142, + "character": 12 + } + ], + "typeParameters": [ + { + "id": 442, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + "default": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 433, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 441, + "name": "modalSize", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Size of the modal\n\nThis is always " + }, + { + "kind": "code", + "text": "`compact`" + }, + { + "kind": "text", + "text": " on React Native" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 171, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "compact" + }, + { + "type": "literal", + "value": "wide" + } + ] + } + }, + { + "id": 434, + "name": "onSelect", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 148, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 435, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 148, + "character": 14 + } + ], + "signatures": [ + { + "id": 436, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Call this function to \"select\" your wallet and render the screen for connecting the wallet" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [] + } + ] + }, + "parameters": [ + { + "id": 437, + "name": "selectionData", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "selectionData to be passed to " + }, + { + "kind": "code", + "text": "`connectUI`" + }, + { + "kind": "text", + "text": "'s " + }, + { + "kind": "code", + "text": "`selectionData`" + }, + { + "kind": "text", + "text": " prop" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 439, + "name": "supportedWallets", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "List of all supported wallets including your wallet.\n\nYou can use this to conditionally render UI based on how many wallets are supported.\nFor example: You can render a larger UI if only one wallet (your wallet) is supported." + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 161, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 385, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 440, + "name": "theme", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "theme of the connect wallet modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 165, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "light" + } + ] + } + }, + { + "id": 438, + "name": "walletConfig", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": " object of your wallet\n\nyou can use this get metadata of your wallet by doing " + }, + { + "kind": "code", + "text": "`walletConfig.meta`" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 154, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 441, + 434, + 439, + 440, + 438 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 142, + "character": 71 + } + ] + } + } + }, + { + "id": 498, + "name": "SetClaimConditionsParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params for the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useSetClaimConditions", + "target": 534, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " hook mutation." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 20, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 499, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 500, + "name": "phases", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 21, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", + "qualifiedName": "ClaimConditionInput" + }, + "name": "ClaimConditionInput", + "package": "@thirdweb-dev/sdk" + } + } + }, + { + "id": 501, + "name": "reset", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 500, + 501 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 20, + "character": 39 + } + ] + } + } + }, + { + "id": 68, + "name": "Theme", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 88, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L88" + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "darkThemeObj" + }, + "name": "darkThemeObj", + "package": "@thirdweb-dev/react" + } + } + }, + { + "id": 69, + "name": "ThemeOverrides", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 92, + "character": 12, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L92" + } + ], + "type": { + "type": "mapped", + "parameter": "key", + "parameterType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Exclude" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": 68, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + }, + { + "type": "literal", + "value": "type" + } + ], + "name": "Exclude", + "package": "typescript" + }, + "templateType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": -1, + "name": "key", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": 68, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + } + ], + "name": "Partial", + "package": "typescript" + }, + "optionalModifier": "+" + } + }, + { + "id": 1385, + "name": "TokenBurnParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The parameters to pass to the burn function." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 58, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1386, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1387, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 59, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1387 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 58, + "character": 30 + } + ] + } + } + }, + { + "id": 1389, + "name": "TokenContract", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The possible Token contract types." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\n```" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 78, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/token-drop.ts", + "qualifiedName": "TokenDrop" + }, + "name": "TokenDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/token.ts", + "qualifiedName": "Token" + }, + "name": "Token", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1381, + "name": "TokenParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The parameters to pass to the mint and transfer functions." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 49, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1382, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1384, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 51, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1383, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 50, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1384, + 1383 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 49, + "character": 26 + } + ] + } + } + }, + { + "id": 1391, + "name": "TransferNFTParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The params to pass to " + }, + { + "kind": "code", + "text": "`useTransferNFT`" + }, + { + "kind": "text", + "text": "." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 88, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1392, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1395, + "name": "amount", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 91, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/currency.ts", + "qualifiedName": "Amount" + }, + "name": "Amount", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 1393, + "name": "to", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 89, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1394, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 90, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1395, + 1393, + 1394 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 88, + "character": 32 + } + ] + } + } + }, + { + "id": 692, + "name": "UseContractResult", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 21, + "character": 12 + } + ], + "typeParameters": [ + { + "id": 695, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + }, + { + "type": "reflection", + "declaration": { + "id": 693, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 694, + "name": "contract", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 694 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 21, + "character": 129 + } + ] + } + } + ] + } + }, + { + "id": 1484, + "name": "UseWatchTransactionsParams", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", + "line": 3, + "character": 12 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/functions/watchTransactions.ts", + "qualifiedName": "WatchTransactionsParams" + }, + "name": "WatchTransactionsParams", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "literal", + "value": "onTransactions" + } + ], + "name": "Omit", + "package": "typescript" + } + ], + "name": "Partial", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 1485, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1486, + "name": "limit", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", + "line": 4, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1486 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", + "line": 3, + "character": 100 + } + ] + } + } + ] + } + }, + { + "id": 1380, + "name": "WalletAddress", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A wallet address." + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 38, + "character": 12 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/schema/shared/AddressOrEnsSchema.ts", + "qualifiedName": "AddressOrEns" + }, + "name": "AddressOrEns", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 443, + "name": "WalletClass", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 9, + "character": 12 + } + ], + "typeParameters": [ + { + "id": 449, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + "default": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 444, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 445, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 446, + "name": "meta", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "meta" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/base.ts", + "qualifiedName": "AbstractClientWallet" + }, + "name": "AbstractClientWallet", + "package": "@thirdweb-dev/wallets" + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 445, + 446 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 9, + "character": 69 + } + ], + "signatures": [ + { + "id": 447, + "name": "new WalletClass", + "variant": "signature", + "kind": 16384, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 11, + "character": 4 + } + ], + "parameters": [ + { + "id": 448, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 454, + "name": "WalletOptions", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ] + } + } + }, + { + "id": 385, + "name": "WalletConfig", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 14, + "character": 12 + } + ], + "typeParameters": [ + { + "id": 402, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + "default": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 386, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 387, + "name": "category", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "socialLogin" + }, + { + "type": "literal", + "value": "walletLogin" + } + ] + } + }, + { + "id": 394, + "name": "connectUI", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "UI for connecting wallet" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 22, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.FC" + }, + "typeArguments": [ + { + "type": "reference", + "target": 403, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "ConnectUIProps", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "React.FC", + "package": "@types/react" + } + }, + { + "id": 390, + "name": "create", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 18, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 391, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 18, + "character": 12 + } + ], + "signatures": [ + { + "id": 392, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 393, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 454, + "name": "WalletOptions", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ] + } + } + }, + { + "id": 388, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 16, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 401, + "name": "isHeadless", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If the wallet can sign transactions without user interaction, set this to true." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\nfalse\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 47, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 396, + "name": "isInstalled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 27, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 397, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 27, + "character": 18 + } + ], + "signatures": [ + { + "id": 398, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + } + } + }, + { + "id": 389, + "name": "meta", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "meta" + }, + "objectType": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/base.ts", + "qualifiedName": "AbstractClientWallet" + }, + "name": "AbstractClientWallet", + "package": "@thirdweb-dev/wallets" + } + } + } + }, + { + "id": 399, + "name": "personalWallets", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of " + }, + { + "kind": "code", + "text": "`WalletConfig`" + }, + { + "kind": "text", + "text": " that users can use as a personal wallet to connect to your wallet\n\nThis is only required if your wallet requires a personal wallet to be connected such as a Safe Wallet or Smart Wallet\n\nproviding the " + }, + { + "kind": "code", + "text": "`personalWallets`" + }, + { + "kind": "text", + "text": " ensures that autoconnect and ConnectWallet modal works properly for your wallet.\n* autoconnect will connect the last connected personal wallet first and then connect your wallet\n* ConnectWallet modal will reopen once the personal wallet is connected so that you can render UI for connecting your wallet as the next step" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 37, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 385, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 400, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, this wallet will be tagged as \"recommended\" in ConnectWallet Modal and will be shown at the top of the list" + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\nfalse\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 42, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 395, + "name": "selectUI", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "UI for selecting wallet - this UI is rendered in the wallet selection screen" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.FC" + }, + "typeArguments": [ + { + "type": "reference", + "target": 432, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "SelectUIProps", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "React.FC", + "package": "@types/react" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 387, + 394, + 390, + 388, + 401, + 396, + 389, + 399, + 400, + 395 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 14, + "character": 70 + } + ] + } + } + }, + { + "id": 450, + "name": "WalletInstance", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/base.ts", + "qualifiedName": "AbstractClientWallet" + }, + "name": "AbstractClientWallet", + "package": "@thirdweb-dev/wallets" + } + }, + { + "id": 454, + "name": "WalletOptions", + "variant": "declaration", + "kind": 2097152, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/base.ts", + "qualifiedName": "WalletOptions" + }, + "typeArguments": [ + { + "type": "reference", + "target": 451, + "name": "ExtraCoreWalletOptions", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "WalletOptions_", + "package": "@thirdweb-dev/wallets", + "qualifiedName": "WalletOptions" + } + }, + { + "id": 292, + "name": "ThirdwebThemeContext", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/theme-context.d.ts", + "line": 2, + "character": 21 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "" + }, + "name": "Context", + "package": "@types/react" + } + }, + { + "id": 318, + "name": "__DEV__", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/constants/runtime.d.ts", + "line": 1, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 615, + "name": "compilerMetadata", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 16, + "character": 21 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 616, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 617, + "name": "cacheKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 618, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 17, + "character": 14 + } + ], + "signatures": [ + { + "id": 619, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 620, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "ContractAddress" + }, + "name": "ContractAddress", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 621, + "name": "chainId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/constants/chains/SUPPORTED_CHAIN_ID.ts", + "qualifiedName": "SUPPORTED_CHAIN_ID" + }, + "name": "SUPPORTED_CHAIN_ID", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "QueryKey", + "package": "@tanstack/react-query" + } + } + ] + } + } + }, + { + "id": 623, + "name": "fetchQuery", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 19, + "character": 4 + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "fetchCompilerMetadata" + }, + "name": "fetchCompilerMetadata", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 622, + "name": "useQuery", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 18, + "character": 4 + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 612, + "name": "useCompilerMetadata", + "package": "@thirdweb-dev/react-core" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 617, + 623, + 622 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 16, + "character": 39 + } + ] + } + } + }, + { + "id": 603, + "name": "contractType", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 9, + "character": 21 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 604, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 605, + "name": "cacheKey", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 606, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 10, + "character": 14 + } + ], + "signatures": [ + { + "id": 607, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 608, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "ContractAddress" + }, + "name": "ContractAddress", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 609, + "name": "chainId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/constants/chains/SUPPORTED_CHAIN_ID.ts", + "qualifiedName": "SUPPORTED_CHAIN_ID" + }, + "name": "SUPPORTED_CHAIN_ID", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "QueryKey", + "package": "@tanstack/react-query" + } + } + ] + } + } + }, + { + "id": 611, + "name": "fetchQuery", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "fetchContractType" + }, + "name": "fetchContractType", + "package": "@thirdweb-dev/react-core" + } + } + }, + { + "id": 610, + "name": "useQuery", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "target": 600, + "name": "useContractType", + "package": "@thirdweb-dev/react-core" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 605, + 611, + 610 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 9, + "character": 35 + } + ] + } + } + }, + { + "id": 1, + "name": "defaultTokens", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", + "line": 34, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L34" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/ConnectWallet/defaultTokens.ts", + "qualifiedName": "SupportedTokens" + }, + "name": "SupportedTokens", + "package": "@thirdweb-dev/react" + }, + "defaultValue": "..." + }, + { + "id": 2, + "name": "defaultWallets", + "variant": "declaration", + "kind": 32, + "flags": { + "isConst": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/defaultWallets.ts", + "line": 10, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/defaultWallets.ts#L10" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + }, + "defaultValue": "..." + }, + { + "id": 119, + "name": "ConnectModalInline", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "line": 27, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L27" + } + ], + "signatures": [ + { + "id": 120, + "name": "ConnectModalInline", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "line": 27, + "character": 34, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L27" + } + ], + "parameters": [ + { + "id": 121, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 88, + "name": "ConnectWalletProps", + "package": "@thirdweb-dev/react" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "auth" + }, + { + "type": "literal", + "value": "supportedTokens" + }, + { + "type": "literal", + "value": "dropdownPosition" + }, + { + "type": "literal", + "value": "networkSelector" + }, + { + "type": "literal", + "value": "detailsBtn" + }, + { + "type": "literal", + "value": "hideTestnetFaucet" + }, + { + "type": "literal", + "value": "switchToActiveChain" + } + ] + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 122, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 123, + "name": "onModalHide", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "line": 38, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L38" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 124, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "line": 38, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L38" + } + ], + "signatures": [ + { + "id": 125, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "line": 38, + "character": 18, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 123 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "line": 37, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L37" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", + "qualifiedName": "JSX.Element" + }, + "name": "Element", + "package": "@types/react", + "qualifiedName": "JSX.Element" + } + } + ] + }, + { + "id": 84, + "name": "ConnectWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", + "line": 146, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L146" + } + ], + "signatures": [ + { + "id": 85, + "name": "ConnectWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A component that allows the user to connect their wallet.\n\nThe button must be descendant of " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " in order to function." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "line": 562, + "character": 8 + } + ], + "parameters": [ + { + "id": 86, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 88, + "name": "ConnectWalletProps", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 87, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + } + } + ] + }, + { + "id": 265, + "name": "MediaRenderer", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 378, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L378" + } + ], + "signatures": [ + { + "id": 266, + "name": "MediaRenderer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This component can be used to render any media type, including image, audio, video, and html files.\nIts convenient for rendering NFT media files, as these can be a variety of different types.\nThe component falls back to a external link if the media type is not supported.\nThe default size is 300px by 300px, but this can be changed using the " + }, + { + "kind": "code", + "text": "`width`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`height`" + }, + { + "kind": "text", + "text": " props.\n\nProps: " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "MediaRendererProps", + "target": 169, + "tsLinkText": "" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "We can take a video file hosted on IPFS and render it using this component as follows\n" + }, + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n return \n}\n```" + }, + { + "kind": "text", + "text": "\n\nYou can try switching out the " + }, + { + "kind": "code", + "text": "`src`" + }, + { + "kind": "text", + "text": " prop to different types of URLs and media types to explore the possibilities." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "line": 392, + "character": 8 + } + ], + "parameters": [ + { + "id": 267, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 169, + "name": "MediaRendererProps", + "package": "@thirdweb-dev/react" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.RefAttributes" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLMediaElement" + }, + "name": "HTMLMediaElement", + "package": "typescript" + } + ], + "name": "RefAttributes", + "package": "@types/react", + "qualifiedName": "React.RefAttributes" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + } + } + ] + }, + { + "id": 126, + "name": "NetworkSelector", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", + "line": 68, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L68" + } + ], + "signatures": [ + { + "id": 127, + "name": "NetworkSelector", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "line": 562, + "character": 8 + } + ], + "parameters": [ + { + "id": 128, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 130, + "name": "NetworkSelectorProps", + "package": "@thirdweb-dev/react" + } + }, + { + "id": 129, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + } + } + ] + }, + { + "id": 457, + "name": "ThirdwebAuthProvider", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/ThirdwebAuthProvider.d.ts", + "line": 3, + "character": 21 + } + ], + "signatures": [ + { + "id": 458, + "name": "ThirdwebAuthProvider", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "line": 562, + "character": 8 + } + ], + "parameters": [ + { + "id": 459, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.PropsWithChildren" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 460, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 461, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/ThirdwebAuthProvider.d.ts", + "line": 4, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": 463, + "name": "ThirdwebAuthConfig", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 461 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/ThirdwebAuthProvider.d.ts", + "line": 3, + "character": 70 + } + ] + } + } + ], + "name": "PropsWithChildren", + "package": "@types/react", + "qualifiedName": "React.PropsWithChildren" + } + }, + { + "id": 462, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + } + } + ] + }, + { + "id": 478, + "name": "ThirdwebConfigProvider", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", + "line": 8, + "character": 21 + } + ], + "signatures": [ + { + "id": 479, + "name": "ThirdwebConfigProvider", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "line": 562, + "character": 8 + } + ], + "parameters": [ + { + "id": 480, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.PropsWithChildren" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 481, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 482, + "name": "value", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", + "line": 9, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", + "qualifiedName": "ThirdwebConfigContext" + }, + "name": "ThirdwebConfigContext", + "package": "@thirdweb-dev/react-core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 482 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", + "line": 8, + "character": 72 + } + ] + } + } + ], + "name": "PropsWithChildren", + "package": "@types/react", + "qualifiedName": "React.PropsWithChildren" + } + }, + { + "id": 483, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + } + } + ] + }, + { + "id": 486, + "name": "ThirdwebConnectedWalletProvider", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", + "line": 11, + "character": 21 + } + ], + "signatures": [ + { + "id": 487, + "name": "ThirdwebConnectedWalletProvider", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "line": 562, + "character": 8 + } + ], + "parameters": [ + { + "id": 488, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.PropsWithChildren" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 489, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 490, + "name": "signer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-signer@5.7.0/node_modules/@ethersproject/abstract-signer/src.ts/index.ts", + "qualifiedName": "Signer" + }, + "name": "Signer", + "package": "@ethersproject/abstract-signer" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 490 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", + "line": 11, + "character": 81 + } + ] + } + } + ], + "name": "PropsWithChildren", + "package": "@types/react", + "qualifiedName": "React.PropsWithChildren" + } + }, + { + "id": 491, + "name": "context", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + } + } + ] + }, + { + "id": 282, + "name": "ThirdwebNftMedia", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/NftMedia.tsx", + "line": 44, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L44" + } + ], + "signatures": [ + { + "id": 283, + "name": "ThirdwebNftMedia", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This component can be used to render NFTs from the thirdweb SDK.\nIt will render the animation_url if it exists, otherwise it will render the image.\nThe default size is 300px by 300px, but this can be changed using the " + }, + { + "kind": "code", + "text": "`width`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`height`" + }, + { + "kind": "text", + "text": " props.\n\nProps: " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "ThirdwebNftMediaProps", + "target": 271, + "tsLinkText": "" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { ThirdwebNftMedia, useContract, useNFT } from \"@thirdweb-dev/react\";\nexport default function NFTCollectionRender() {\n const { contract } = useContract();\n const { data: nft, isLoading } = useNFT(contract, 0);\n\n return (\n
\n {!isLoading && nft ? (\n \n ) : (\n

Loading...

\n )}\n
\n );\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "line": 392, + "character": 8 + } + ], + "parameters": [ + { + "id": 284, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 271, + "name": "ThirdwebNftMediaProps", + "package": "@thirdweb-dev/react" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.RefAttributes" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLMediaElement" + }, + "name": "HTMLMediaElement", + "package": "typescript" + } + ], + "name": "RefAttributes", + "package": "@types/react", + "qualifiedName": "React.RefAttributes" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.ReactNode" + }, + "name": "ReactNode", + "package": "@types/react", + "qualifiedName": "React.ReactNode" + } + } + ] + }, + { + "id": 148, + "name": "ThirdwebProvider", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 66, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/thirdweb-provider.tsx#L66" + } + ], + "signatures": [ + { + "id": 149, + "name": "ThirdwebProvider", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": " component lets you control what networks you want users to connect to,\nwhat types of wallets can connect to your app, and the settings for the [Thirdweb SDK](https://docs.thirdweb.com/typescript)." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "You can wrap your application with the provider as follows:\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"App.jsx\"\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n \n \n \n );\n};\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", + "line": 66, + "character": 32, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/thirdweb-provider.tsx#L66" + } + ], + "typeParameter": [ + { + "id": 150, + "name": "TChains", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + }, + "default": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 151, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2134, + "character": 37 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 152, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2170, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 153, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2202, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 154, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2235, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 155, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2267, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 156, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2295, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 157, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2323, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 158, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2355, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 159, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2383, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 160, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2415, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 161, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2443, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 162, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2471, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 163, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2499, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 164, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2527, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 165, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2555, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2585, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 167, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/chains/dist/declarations/src/index.d.ts", + "line": 2613, + "character": 4 + } + ] + } + } + ] + } + } + } + ], + "parameters": [ + { + "id": 168, + "name": "__namedParameters", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.PropsWithChildren" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderProps" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + ], + "name": "ThirdwebProviderProps", + "package": "@thirdweb-dev/react" + } + ], + "name": "PropsWithChildren", + "package": "@types/react", + "qualifiedName": "React.PropsWithChildren" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", + "qualifiedName": "JSX.Element" + }, + "name": "Element", + "package": "@types/react", + "qualifiedName": "JSX.Element" + } + } + ] + }, + { + "id": 293, + "name": "ThirdwebProviderCore", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 55, + "character": 21 + } + ], + "signatures": [ + { + "id": 294, + "name": "ThirdwebProviderCore", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", + "line": 55, + "character": 43 + } + ], + "typeParameter": [ + { + "id": 295, + "name": "TChains", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + } + ], + "parameters": [ + { + "id": 296, + "name": "__namedParameters", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.PropsWithChildren" + }, + "typeArguments": [ + { + "type": "reference", + "target": 297, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + ], + "name": "ThirdwebProviderCoreProps", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "PropsWithChildren", + "package": "@types/react", + "qualifiedName": "React.PropsWithChildren" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", + "qualifiedName": "JSX.Element" + }, + "name": "Element", + "package": "@types/react", + "qualifiedName": "JSX.Element" + } + } + ] + }, + { + "id": 1342, + "name": "ThirdwebSDKProvider", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/thirdweb-sdk-provider.d.ts", + "line": 13, + "character": 21 + } + ], + "signatures": [ + { + "id": 1343, + "name": "ThirdwebSDKProvider", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A basic wrapper around the Thirdweb SDK.\n\nYou can use this in order to be able to pass a provider & signer directly to the SDK." + } + ], + "blockTags": [ + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "Utilizing this provider will mean hooks for wallet management are not available, if you need those please use the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "ThirdwebProvider", + "target": 148 + }, + { + "kind": "text", + "text": " instead." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/providers/thirdweb-sdk-provider.d.ts", + "line": 13, + "character": 42 + } + ], + "typeParameter": [ + { + "id": 1344, + "name": "TChains", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + } + ], + "parameters": [ + { + "id": 1345, + "name": "__namedParameters", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.PropsWithChildren" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1350, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TChains", + "refersToTypeParameter": true + } + ], + "name": "ThirdwebSDKProviderProps", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "PropsWithChildren", + "package": "@types/react", + "qualifiedName": "React.PropsWithChildren" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", + "qualifiedName": "JSX.Element" + }, + "name": "Element", + "package": "@types/react", + "qualifiedName": "JSX.Element" + } + } + ] + }, + { + "id": 285, + "name": "Web3Button", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 76, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/Web3Button/index.tsx#L76" + } + ], + "signatures": [ + { + "id": 286, + "name": "Web3Button", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A component that allows the user to call an on-chain function on a contract.\n\nThe button has to be wrapped in a " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " in order to function." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { Web3Button } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n
\n contract.erc721.transfer(\"0x...\", 1)} />\n
\n)\n}\n```" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", + "line": 76, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/Web3Button/index.tsx#L76" + } + ], + "typeParameter": [ + { + "id": 287, + "name": "TAction", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/components/Web3Button/index.tsx", + "qualifiedName": "ActionFn" + }, + "name": "ActionFn", + "package": "@thirdweb-dev/react" + } + } + ], + "parameters": [ + { + "id": 288, + "name": "props", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "React.PropsWithChildren" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/evm/components/Web3Button/index.tsx", + "qualifiedName": "Web3ButtonProps" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TAction", + "refersToTypeParameter": true + } + ], + "name": "Web3ButtonProps", + "package": "@thirdweb-dev/react" + } + ], + "name": "PropsWithChildren", + "package": "@types/react", + "qualifiedName": "React.PropsWithChildren" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", + "qualifiedName": "JSX.Element" + }, + "name": "Element", + "package": "@types/react", + "qualifiedName": "JSX.Element" + } + } + ] + }, + { + "id": 9, + "name": "bloctoWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", + "line": 19, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L19" + } + ], + "signatures": [ + { + "id": 10, + "name": "bloctoWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", + "line": 19, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L19" + } + ], + "parameters": [ + { + "id": 11, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", + "qualifiedName": "BloctoAdditionalOptions" + }, + "name": "BloctoAdditionalOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/blocto.ts", + "qualifiedName": "BloctoWallet" + }, + "name": "BloctoWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 12, + "name": "coinbaseWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "line": 28, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L28" + } + ], + "signatures": [ + { + "id": 13, + "name": "coinbaseWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "line": 28, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L28" + } + ], + "parameters": [ + { + "id": 14, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "qualifiedName": "CoinbaseWalletOptions" + }, + "name": "CoinbaseWalletOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/coinbase-wallet.ts", + "qualifiedName": "CoinbaseWallet" + }, + "name": "CoinbaseWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 62, + "name": "darkTheme", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 149, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L149" + } + ], + "signatures": [ + { + "id": 63, + "name": "darkTheme", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 149, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L149" + } + ], + "parameters": [ + { + "id": 64, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 69, + "name": "ThemeOverrides", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 68, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 15, + "name": "embeddedWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", + "line": 22, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx#L22" + } + ], + "signatures": [ + { + "id": 16, + "name": "embeddedWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", + "line": 22, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx#L22" + } + ], + "parameters": [ + { + "id": 17, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/embeddedWallet/types.ts", + "qualifiedName": "EmbeddedWalletConfig" + }, + "name": "EmbeddedWalletConfig", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/embedded-wallet.ts", + "qualifiedName": "EmbeddedWallet" + }, + "name": "EmbeddedWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 18, + "name": "frameWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", + "line": 12, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L12" + } + ], + "signatures": [ + { + "id": 19, + "name": "frameWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", + "line": 12, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L12" + } + ], + "parameters": [ + { + "id": 20, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/frame/frameWallet.tsx", + "qualifiedName": "FrameConfig" + }, + "name": "FrameConfig", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/frame.ts", + "qualifiedName": "FrameWallet" + }, + "name": "FrameWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 1472, + "name": "getErc1155", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 224, + "character": 24 + } + ], + "signatures": [ + { + "id": 1473, + "name": "getErc1155", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 224, + "character": 24 + } + ], + "parameters": [ + { + "id": 1474, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "name": "Erc1155", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1478, + "name": "getErc20", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 226, + "character": 24 + } + ], + "signatures": [ + { + "id": 1479, + "name": "getErc20", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 226, + "character": 24 + } + ], + "parameters": [ + { + "id": 1480, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-20.ts", + "qualifiedName": "Erc20" + }, + "name": "Erc20", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1475, + "name": "getErc721", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 225, + "character": 24 + } + ], + "signatures": [ + { + "id": 1476, + "name": "getErc721", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 225, + "character": 24 + } + ], + "parameters": [ + { + "id": 1477, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", + "qualifiedName": "Erc721" + }, + "name": "Erc721", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1465, + "name": "getErcs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 219, + "character": 24 + } + ], + "signatures": [ + { + "id": 1466, + "name": "getErcs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 219, + "character": 24 + } + ], + "parameters": [ + { + "id": 1467, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1468, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1469, + "name": "erc1155", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 220, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "" + }, + "name": "BaseERC1155", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "" + }, + "name": "BaseSignatureMintERC1155", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "Erc1155", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 1471, + "name": "erc20", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 222, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-20.ts", + "qualifiedName": "Erc20" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "" + }, + "name": "BaseERC20", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "" + }, + "name": "BaseSignatureMintERC20", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "Erc20", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 1470, + "name": "erc721", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 221, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", + "qualifiedName": "Erc721" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "" + }, + "name": "BaseERC721", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "Erc721", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1469, + 1471, + 1470 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", + "line": 219, + "character": 88 + } + ] + } + } + } + ] + }, + { + "id": 65, + "name": "lightTheme", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 145, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L145" + } + ], + "signatures": [ + { + "id": 66, + "name": "lightTheme", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/design-system/index.ts", + "line": 145, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L145" + } + ], + "parameters": [ + { + "id": 67, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 69, + "name": "ThemeOverrides", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 68, + "name": "Theme", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 21, + "name": "localWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/localWallet/localWallet.tsx", + "line": 11, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/localWallet/localWallet.tsx#L11" + } + ], + "signatures": [ + { + "id": 22, + "name": "localWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/localWallet/localWallet.tsx", + "line": 11, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/localWallet/localWallet.tsx#L11" + } + ], + "parameters": [ + { + "id": 23, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/localWallet/types.ts", + "qualifiedName": "LocalWalletConfigOptions" + }, + "name": "LocalWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/localWallet/types.ts", + "qualifiedName": "LocalWalletConfig" + }, + "name": "LocalWalletConfig", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 24, + "name": "magicLink", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 30, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/magic/magicLink.tsx#L30" + } + ], + "signatures": [ + { + "id": 25, + "name": "magicLink", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 30, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/magic/magicLink.tsx#L30" + } + ], + "parameters": [ + { + "id": 26, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/connectors/magic/types.ts", + "qualifiedName": "MagicAuthOptions" + }, + "name": "MagicAuthOptions", + "package": "@thirdweb-dev/wallets" + }, + { + "type": "reflection", + "declaration": { + "id": 27, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 28, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"reccomended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 35, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/magic/magicLink.tsx#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 28 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", + "line": 31, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/magic/magicLink.tsx#L31" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/magic/types.ts", + "qualifiedName": "ConfiguredMagicLinkWallet" + }, + "name": "ConfiguredMagicLinkWallet", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 29, + "name": "metamaskWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 23, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L23" + } + ], + "signatures": [ + { + "id": 30, + "name": "metamaskWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", + "line": 23, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L23" + } + ], + "parameters": [ + { + "id": 31, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/metamask/metamaskWallet.tsx", + "qualifiedName": "MetamaskWalletOptions" + }, + "name": "MetamaskWalletOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/metamask.ts", + "qualifiedName": "MetaMaskWallet" + }, + "name": "MetaMaskWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 32, + "name": "paperWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/paper/paperWallet.tsx", + "line": 18, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/paper/paperWallet.tsx#L18" + } + ], + "signatures": [ + { + "id": 33, + "name": "paperWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/paper/paperWallet.tsx", + "line": 18, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/paper/paperWallet.tsx#L18" + } + ], + "parameters": [ + { + "id": 34, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/paper/types.ts", + "qualifiedName": "PaperConfig" + }, + "name": "PaperConfig", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/paper-wallet.ts", + "qualifiedName": "PaperWallet" + }, + "name": "PaperWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 35, + "name": "phantomWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", + "line": 15, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L15" + } + ], + "signatures": [ + { + "id": 36, + "name": "phantomWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", + "line": 15, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L15" + } + ], + "parameters": [ + { + "id": 37, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/phantom/phantomWallet.tsx", + "qualifiedName": "PhantomWalletOptions" + }, + "name": "PhantomWalletOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/phantom.ts", + "qualifiedName": "PhantomWallet" + }, + "name": "PhantomWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 38, + "name": "rainbowWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", + "line": 25, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L25" + } + ], + "signatures": [ + { + "id": 39, + "name": "rainbowWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", + "line": 25, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L25" + } + ], + "parameters": [ + { + "id": 40, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/rainbow/RainbowWallet.tsx", + "qualifiedName": "RainbowWalletOptions" + }, + "name": "RainbowWalletOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/rainbow-wallet.ts", + "qualifiedName": "RainbowWallet" + }, + "name": "RainbowWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 289, + "name": "resolveMimeType", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/utils/ipfs.d.ts", + "line": 4, + "character": 24 + } + ], + "signatures": [ + { + "id": 290, + "name": "resolveMimeType", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/utils/ipfs.d.ts", + "line": 4, + "character": 24 + } + ], + "parameters": [ + { + "id": 291, + "name": "url", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 41, + "name": "safeWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 16, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L16" + } + ], + "signatures": [ + { + "id": 42, + "name": "safeWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 16, + "character": 26, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L16" + } + ], + "parameters": [ + { + "id": 43, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/safe/types.ts", + "qualifiedName": "SafeWalletConfigOptions" + }, + "name": "SafeWalletConfigOptions", + "package": "@thirdweb-dev/react" + }, + { + "type": "reflection", + "declaration": { + "id": 44, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 45, + "name": "recommended", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If true, the wallet will be tagged as \"reccomended\" in ConnectWallet Modal" + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 21, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L21" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 45 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", + "line": 17, + "character": 37, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L17" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/safe/types.ts", + "qualifiedName": "SafeWalletConfig" + }, + "name": "SafeWalletConfig", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 379, + "name": "shouldNeverPersistQuery", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/query-utils/query-key.d.ts", + "line": 8, + "character": 24 + } + ], + "signatures": [ + { + "id": 380, + "name": "shouldNeverPersistQuery", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/query-utils/query-key.d.ts", + "line": 8, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 381, + "name": "TKey", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", + "qualifiedName": "QueryKey" + }, + "name": "QueryKey", + "package": "@tanstack/query-core" + } + } + ], + "parameters": [ + { + "id": 382, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": -1, + "name": "TKey", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 46, + "name": "smartWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx", + "line": 12, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx#L12" + } + ], + "signatures": [ + { + "id": 47, + "name": "smartWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx", + "line": 12, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx#L12" + } + ], + "parameters": [ + { + "id": 48, + "name": "wallet", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 49, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/smartWallet/types.ts", + "qualifiedName": "SmartWalletConfigOptions" + }, + "name": "SmartWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/smartWallet/types.ts", + "qualifiedName": "SmartWalletConfig" + }, + "name": "SmartWalletConfig", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 50, + "name": "trustWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", + "line": 22, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L22" + } + ], + "signatures": [ + { + "id": 51, + "name": "trustWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", + "line": 22, + "character": 27, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L22" + } + ], + "parameters": [ + { + "id": 52, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/trustWallet/TrustWallet.tsx", + "qualifiedName": "TrustWalletOptions" + }, + "name": "TrustWalletOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/trust.ts", + "qualifiedName": "TrustWallet" + }, + "name": "TrustWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 878, + "name": "useAcceptDirectListingOffer", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 706, + "character": 24 + } + ], + "signatures": [ + { + "id": 879, + "name": "useAcceptDirectListingOffer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Accept a specific offer on a direct listing" + } + ], + "blockTags": [ + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "will accept the latest offer by the given offeror." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: acceptOffer,\n isLoading,\n error,\n } = useAcceptDirectListingOffer(contract);\n\n if (error) {\n console.error(\"failed to accept offer\", error);\n }\n\n return (\n acceptOffer({ listingId: 1, addressOfOfferor: \"{{wallet_address}}\" })}\n >\n Accept offer\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to accept an offer on a direct listing" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useacceptdirectlistingoffer?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 706, + "character": 24 + } + ], + "parameters": [ + { + "id": 880, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 881, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 883, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 708, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 884, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 708, + "character": 10 + } + ], + "signatures": [ + { + "id": 885, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 882, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 707, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 883, + 882 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 706, + "character": 114 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1443, + "name": "AcceptDirectOffer", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1230, + "name": "useAccountAdmins", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 37, + "character": 24 + } + ], + "signatures": [ + { + "id": 1231, + "name": "useAccountAdmins", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all admins of account" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccountSigners(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of all admins of the provided account" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useaccountadmins?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 37, + "character": 24 + } + ], + "parameters": [ + { + "id": 1232, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a account" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1380, + "name": "WalletAddress", + "package": "@thirdweb-dev/react-core" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1233, + "name": "useAccountAdminsAndSigners", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 52, + "character": 24 + } + ], + "signatures": [ + { + "id": 1234, + "name": "useAccountAdminsAndSigners", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all signers and admins of account" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccountSigners(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of all admins of the provided account" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useaccountadmins?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 52, + "character": 24 + } + ], + "parameters": [ + { + "id": 1235, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a account" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/account.ts", + "qualifiedName": "SignerWithPermissions" + }, + "name": "SignerWithPermissions", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1219, + "name": "useAccountSigners", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 22, + "character": 24 + } + ], + "signatures": [ + { + "id": 1220, + "name": "useAccountSigners", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all signers of account" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccountSigners(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of all signers of the provided account" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useaccountsigners?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 22, + "character": 24 + } + ], + "parameters": [ + { + "id": 1221, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a account" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/account.ts", + "qualifiedName": "SignerWithPermissions" + }, + "name": "SignerWithPermissions", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1209, + "name": "useAccounts", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", + "line": 23, + "character": 24 + } + ], + "signatures": [ + { + "id": 1210, + "name": "useAccounts", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all accounts" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccounts(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of all accounts with their associated admin" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AccountFactory" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useaccounts?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", + "line": 23, + "character": 24 + } + ], + "parameters": [ + { + "id": 1211, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a account factory contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1215, + "name": "useAccountsForAddress", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", + "line": 38, + "character": 24 + } + ], + "signatures": [ + { + "id": 1216, + "name": "useAccountsForAddress", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all accounts associated with the provided address" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: accountsForAddress, isLoading, error } = useAccountsForAddress(contract, \"{{account_address}}\");\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of all accounts associated with the adress" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AccountFactory" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useaccountsforaddress?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", + "line": 38, + "character": 24 + } + ], + "parameters": [ + { + "id": 1217, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a account factory contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1218, + "name": "address", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 375, + "name": "useActiveChain", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 100, + "character": 24 + } + ], + "signatures": [ + { + "id": 376, + "name": "useActiveChain", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is renamed to " + }, + { + "kind": "code", + "text": "`useChain`" + }, + { + "kind": "text", + "text": "\n\nuse the " + }, + { + "kind": "code", + "text": "`useChain`" + }, + { + "kind": "text", + "text": " hook instead" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 100, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 502, + "name": "useActiveClaimCondition", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 42, + "character": 24 + } + ], + "signatures": [ + { + "id": 503, + "name": "useActiveClaimCondition", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the active claim condition" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: activeClaimCondition, isLoading, error } = useActiveClaimCondition(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object with the currently active claim condition" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useactiveclaimcondition?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 42, + "character": 24 + } + ], + "parameters": [ + { + "id": 504, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the " + }, + { + "kind": "code", + "text": "`claimConditions`" + }, + { + "kind": "text", + "text": " extension." + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 505, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 506, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", + "qualifiedName": "ClaimConditionFetchOptions" + }, + "name": "ClaimConditionFetchOptions", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", + "qualifiedName": "ClaimCondition" + }, + "name": "ClaimCondition", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 529, + "name": "useActiveClaimConditionForWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 116, + "character": 24 + } + ], + "signatures": [ + { + "id": 530, + "name": "useActiveClaimConditionForWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the active claim condition for a specific wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: activeClaimConditionForWallet, isLoading, error } = useActiveClaimConditionForWallet(contract, \"{{wallet_address}}\");\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "the active claim conditon for the wallet address or null if there is no active claim condition" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useactiveclaimconditionforwallet?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 116, + "character": 24 + } + ], + "parameters": [ + { + "id": 531, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the " + }, + { + "kind": "code", + "text": "`claimConditions`" + }, + { + "kind": "text", + "text": " extension." + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 532, + "name": "walletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the wallet address to check the active claim condition for" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 533, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", + "qualifiedName": "ClaimCondition" + }, + "name": "ClaimCondition", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 786, + "name": "useActiveListings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 189, + "character": 24 + } + ], + "signatures": [ + { + "id": 787, + "name": "useActiveListings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all active listings" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: listings, isLoading, error } = useActiveListings(contract, { seller: \"{{wallet_adress}}\", tokenContract: \"0x...\", tokenId: 1, start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of listings" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useactivelistings?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 189, + "character": 24 + } + ], + "parameters": [ + { + "id": 788, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 789, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "filter to pass to the query for the sake of pagination & filtering" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", + "qualifiedName": "MarketplaceFilter" + }, + "name": "MarketplaceFilter", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1222, + "name": "useAddAdmin", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 157, + "character": 24 + } + ], + "signatures": [ + { + "id": 1223, + "name": "useAddAdmin", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Add an additional admin on the smart wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const {\n mutate: addAdmin,\n isLoading,\n error,\n } = useAddAdmin();\n\n if (error) {\n console.error(\"failed to add admin\", error);\n }\n\n return (\n addAdmin(\"0x...\")}\n >\n Add admin\n \n );\n};\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 157, + "character": 24 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/types.ts", + "qualifiedName": "TransactionResult" + }, + "name": "TransactionResult", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 371, + "name": "useAddress", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 48, + "character": 24 + } + ], + "signatures": [ + { + "id": 372, + "name": "useAddress", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for accessing the address of the connected wallet\n\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useAddress } from \"@thirdweb-dev/react\"\n```" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "To get the address of the connected wallet, you can use the hook as follows:\n\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useAddress } from \"@thirdweb-dev/react\"\n\nconst App = () => {\n const address = useAddress()\n\n return
{address}
\n}\n```" + }, + { + "kind": "text", + "text": "\n\nThe " + }, + { + "kind": "code", + "text": "`address`" + }, + { + "kind": "text", + "text": " variable will hold the address of the connected wallet if a user has connected using one of the supported wallet connection hooks." + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useaddress?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 48, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1089, + "name": "useAirdropNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 282, + "character": 24 + } + ], + "signatures": [ + { + "id": 1090, + "name": "useAirdropNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Airdrop NFTs to a list of wallets" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: airdropNFT,\n isLoading,\n error,\n } = useAirdropNFT(contract);\n\n if (error) {\n console.error(\"failed to transfer batch NFTs\", error);\n }\n\n return (\n airdropNFT({\n tokenId: 2,\n addresses: [\n { address: \"{{wallet_address}}\", quantity: 2 },\n { address: \"{{wallet_address}}\", quantity: 4 } }\n ]\n )}\n >\n Airdrop NFT\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to transfer batch NFTs" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC1155" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useairdropnft?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 282, + "character": 24 + } + ], + "parameters": [ + { + "id": 1091, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "Erc1155", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "BaseERC1155" + }, + "name": "BaseERC1155", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "BaseSignatureMintERC1155" + }, + "name": "BaseSignatureMintERC1155", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "Erc1155", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1092, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1094, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 284, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1095, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 284, + "character": 10 + } + ], + "signatures": [ + { + "id": 1096, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1093, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 283, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1094, + 1093 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 282, + "character": 81 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1396, + "name": "AirdropNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1123, + "name": "useAllRoleMembers", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 35, + "character": 24 + } + ], + "signatures": [ + { + "id": 1124, + "name": "useAllRoleMembers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all members of all roles" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst { data: roles, isLoading, error } = useAllRoleMembers(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a list of addresses for all supported roles on the contract." + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PermissionsEnumerable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useallrolemembers?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 35, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1125, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1126, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1326, + "name": "useAppURI", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 18, + "character": 24 + } + ], + "signatures": [ + { + "id": 1327, + "name": "useAppURI", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get App URI" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: contractMetadata, isLoading, error } = useAppURI(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the appURI of the contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AppURI" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 18, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1328, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + } + ], + "parameters": [ + { + "id": 1329, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + }, + { + "kind": "text", + "text": " instance of the contract to get the appURI of" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 798, + "name": "useAuctionWinner", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 237, + "character": 24 + } + ], + "signatures": [ + { + "id": 799, + "name": "useAuctionWinner", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the winner of an english auction" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst listingId = 0;\nconst { data: auctionWinner, isLoading, error } = useAuctionWinner(contract, listingId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the address of the winner of the auction or undefined if there is no winner yet" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useauctionwinner?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 237, + "character": 24 + } + ], + "parameters": [ + { + "id": 800, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 801, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the listing id to check" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1256, + "name": "useAuth", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/index.d.ts", + "line": 7, + "character": 24 + } + ], + "signatures": [ + { + "id": 1257, + "name": "useAuth", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/index.d.ts", + "line": 7, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/auth.ts", + "qualifiedName": "ThirdwebAuth" + }, + "name": "ThirdwebAuth", + "package": "@thirdweb-dev/auth" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 366, + "name": "useBalance", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 10, + "character": 24 + } + ], + "signatures": [ + { + "id": 367, + "name": "useBalance", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A hook to get the native or (optional) ERC20 token balance of the connected wallet." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "the balance of the connected wallet (native or ERC20)" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 10, + "character": 24 + } + ], + "parameters": [ + { + "id": 368, + "name": "tokenAddress", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the token contract, if empty will use the chain's native token" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 712, + "name": "useBatchesToReveal", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 71, + "character": 24 + } + ], + "signatures": [ + { + "id": 713, + "name": "useBatchesToReveal", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all unrevealed batches" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that gets the batches to still be revealed" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Revealable | ERC1155Revealable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usebatchestoreveal?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 71, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 714, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1417, + "name": "RevealableContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 715, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "RevealableContract", + "target": 1417, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "BatchToReveal", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 802, + "name": "useBidBuffer", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 253, + "character": 24 + } + ], + "signatures": [ + { + "id": 803, + "name": "useBidBuffer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the bid buffer for an english auction" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: bidBuffer, isLoading, error } = useBidBuffer(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of listings" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usebidbuffer?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 253, + "character": 24 + } + ], + "parameters": [ + { + "id": 804, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 805, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the listing id to check (only necessary for marketplace v3)" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 224, + "name": "useBloctoWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", + "line": 5, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L5" + } + ], + "signatures": [ + { + "id": 225, + "name": "useBloctoWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", + "line": 5, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L5" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 226, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", + "line": 8, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L8" + } + ], + "signatures": [ + { + "id": 227, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", + "line": 8, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L8" + } + ], + "parameters": [ + { + "id": 228, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 229, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 230, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", + "line": 8, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L8" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 230 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", + "line": 8, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L8" + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", + "qualifiedName": "BloctoAdditionalOptions" + }, + "name": "BloctoAdditionalOptions", + "package": "@thirdweb-dev/react" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/blocto.ts", + "qualifiedName": "BloctoWallet" + }, + "name": "BloctoWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 1097, + "name": "useBurnNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 320, + "character": 24 + } + ], + "signatures": [ + { + "id": 1098, + "name": "useBurnNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Burn an NFT" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: burnNFT,\n isLoading,\n error,\n } = useBurnNFT(contract);\n\n if (error) {\n console.error(\"failed to burn NFT\", error);\n }\n\n return (\n burnNFT({ tokenId: 0, amount: 1 })}\n >\n Burn!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to burn an NFT token from the connected wallet" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Burnable | ERC1155Burnable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useburnnft?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 320, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1099, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1100, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1101, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1103, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 322, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1104, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 322, + "character": 10 + } + ], + "signatures": [ + { + "id": 1105, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1102, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 321, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1103, + 1102 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 320, + "character": 126 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1412, + "name": "BurnNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1196, + "name": "useBurnToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 254, + "character": 24 + } + ], + "signatures": [ + { + "id": 1197, + "name": "useBurnToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Burn tokens" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: burnTokens,\n isLoading,\n error,\n } = useBurnToken(contract);\n\n if (error) {\n console.error(\"failed to burn tokens\", error);\n }\n\n return (\n burnTokens({ amount: 1000 })}\n >\n Burn!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to burn tokens from the connected wallet" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20Burnable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useburntoken?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 254, + "character": 24 + } + ], + "parameters": [ + { + "id": 1198, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "TokenContract", + "target": 1389, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1389, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1199, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1201, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 256, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1202, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 256, + "character": 10 + } + ], + "signatures": [ + { + "id": 1203, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1200, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 255, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1201, + 1200 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 254, + "character": 101 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1385, + "name": "TokenBurnParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1034, + "name": "useBuyDirectListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 817, + "character": 24 + } + ], + "signatures": [ + { + "id": 1035, + "name": "useBuyDirectListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Buy a direct listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\", \"marketplace-v3\");\n const {\n mutate: buyNow,\n isLoading,\n error,\n } = useBuyDirectListing(contract);\n\n if (error) {\n console.error(\"failed to buy direct listing\", error);\n }\n\n return (\n buyNow({listingId: 1, quantity: 1, buyer: \"{{address}}\"})}\n >\n Buy listing!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to buy out a direct listing" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useBuyDirectListing?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 817, + "character": 24 + } + ], + "parameters": [ + { + "id": 1036, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a MarketplaceV3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1037, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1039, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 819, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1040, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 819, + "character": 10 + } + ], + "signatures": [ + { + "id": 1041, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1038, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 818, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1039, + 1038 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 817, + "character": 108 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "BuyFromListingParams" + }, + "name": "BuyFromListingParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1026, + "name": "useBuyNow", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 780, + "character": 24 + } + ], + "signatures": [ + { + "id": 1027, + "name": "useBuyNow", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Buy out an auction listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: buyNow,\n isLoading,\n error,\n } = useBuyNow(contract);\n\n if (error) {\n console.error(\"failed to buyout listing\", error);\n }\n\n return (\n buyNow({listingId: 1, type: ListingType.Auction})}\n >\n Buy listing!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to buy out an auction listing" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usebuynow?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 780, + "character": 24 + } + ], + "parameters": [ + { + "id": 1028, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1029, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1031, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 782, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1032, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 782, + "character": 10 + } + ], + "signatures": [ + { + "id": 1033, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1030, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 781, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1031, + 1030 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 780, + "character": 96 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1450, + "name": "BuyNowParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 846, + "name": "useCancelDirectListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 557, + "character": 24 + } + ], + "signatures": [ + { + "id": 847, + "name": "useCancelDirectListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Cancel a direct listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: cancelDirectListing,\n isLoading,\n error,\n } = useCancelDirectListing(contract);\n\n if (error) {\n console.error(\"failed to cancel direct listing\", error);\n }\n\n return (\n \n Cancel Direct Listing\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to cancel a direct listing" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecanceldirectlisting?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 557, + "character": 24 + } + ], + "parameters": [ + { + "id": 848, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 849, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 851, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 559, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 852, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 559, + "character": 10 + } + ], + "signatures": [ + { + "id": 853, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 850, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 558, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 851, + 850 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 557, + "character": 111 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 854, + "name": "useCancelEnglishAuction", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 594, + "character": 24 + } + ], + "signatures": [ + { + "id": 855, + "name": "useCancelEnglishAuction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Cancel an english auction" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: cancelEnglishAuction,\n isLoading,\n error,\n } = useCancelEnglishAuction(contract);\n\n if (error) {\n console.error(\"failed to cancel english auction\", error);\n }\n\n return (\n \n Cancel English Auction\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to cancel an english auction" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecancelenglishauction?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 594, + "character": 24 + } + ], + "parameters": [ + { + "id": 856, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 857, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 859, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 596, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 860, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 596, + "character": 10 + } + ], + "signatures": [ + { + "id": 861, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 858, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 595, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 859, + 858 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 594, + "character": 112 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 838, + "name": "useCancelListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 520, + "character": 24 + } + ], + "signatures": [ + { + "id": 839, + "name": "useCancelListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Cancel a listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: cancelListing,\n isLoading,\n error,\n } = useCancelListing(contract);\n\n if (error) {\n console.error(\"failed to cancel auction listing\", error);\n }\n\n return (\n \n Cancel Auction Listing!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to cancel a listing" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecancellisting?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 520, + "character": 24 + } + ], + "parameters": [ + { + "id": 840, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 841, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 843, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 522, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 844, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 522, + "character": 10 + } + ], + "signatures": [ + { + "id": 845, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 842, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 521, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 843, + 842 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 520, + "character": 103 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/AuctionListing.ts", + "qualifiedName": "AuctionListing" + }, + "name": "AuctionListing", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/DirectListing.ts", + "qualifiedName": "DirectListing" + }, + "name": "DirectListing", + "package": "@thirdweb-dev/sdk" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "type" + }, + { + "type": "literal", + "value": "id" + } + ] + } + ], + "name": "Pick", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 377, + "name": "useChain", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 92, + "character": 24 + } + ], + "signatures": [ + { + "id": 378, + "name": "useChain", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for accessing the active Chain the current wallet is connected to\n\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useChain } from \"@thirdweb-dev/react-core\"\n```" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "You can get the chain of the connected wallet by using the hook as follows:\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useChain } from \"@thirdweb-dev/react-core\"\n\nconst App = () => {\n const chain = useChain()\n\n return
{chain.chainId}
\n}\n```" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useActiveChain?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 92, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../chains/src/types.ts", + "qualifiedName": "Chain" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 373, + "name": "useChainId", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 70, + "character": 24 + } + ], + "signatures": [ + { + "id": 374, + "name": "useChainId", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for accessing the chain ID of the network the current wallet is connected to\n\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useChainId } from \"@thirdweb-dev/react\"\n```" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "You can get the chain ID of the connected wallet by using the hook as follows:\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useChainId } from \"@thirdweb-dev/react\"\n\nconst App = () => {\n const chainId = useChainId()\n\n return
{chainId}
\n}\n```" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usechainid?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", + "line": 70, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 519, + "name": "useClaimConditions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 82, + "character": 24 + } + ], + "signatures": [ + { + "id": 520, + "name": "useClaimConditions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all claim conditions" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: claimConditions, isLoading, error } = useClaimConditions(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object with the list of claim conditions" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useclaimconditions?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 82, + "character": 24 + } + ], + "parameters": [ + { + "id": 521, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the " + }, + { + "kind": "code", + "text": "`claimConditions`" + }, + { + "kind": "text", + "text": " extension." + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 522, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 523, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", + "qualifiedName": "ClaimConditionFetchOptions" + }, + "name": "ClaimConditionFetchOptions", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", + "qualifiedName": "ClaimCondition" + }, + "name": "ClaimCondition", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 524, + "name": "useClaimIneligibilityReasons", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 99, + "character": 24 + } + ], + "signatures": [ + { + "id": 525, + "name": "useClaimIneligibilityReasons", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the reasons why a specific wallet can't claim" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: claimIneligibilityReasons, isLoading, error } = useClaimIneligibilityReasons(contract, { walletAddress: \"{{wallet_address}}\" });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object with the reasons for the claim ineligibility" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useclaimineligibilityreasons?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 99, + "character": 24 + } + ], + "parameters": [ + { + "id": 526, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the " + }, + { + "kind": "code", + "text": "`claimConditions`" + }, + { + "kind": "text", + "text": " extension." + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 527, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 494, + "name": "ClaimIneligibilityParams", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 528, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "ClaimEligibility", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 716, + "name": "useClaimNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 109, + "character": 24 + } + ], + "signatures": [ + { + "id": 717, + "name": "useClaimNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Claim an NFT to a specific wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: claimNFT,\n isLoading,\n error,\n } = useClaimNFT(contract);\n\n if (error) {\n console.error(\"failed to claim nft\", error);\n }\n\n return (\n claimNFT({ to: \"{{wallet_address}}\", quantity: 1 })}\n >\n Claim NFT!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to claim a NFT to the wallet specificed in the params" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Claimable | ERC1155Claimable | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useclaimnft?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 109, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 718, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 719, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "DropContract", + "target": 1416, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1433, + "name": "ClaimNFTReturnType", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1427, + "name": "ClaimNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1172, + "name": "useClaimToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 140, + "character": 24 + } + ], + "signatures": [ + { + "id": 1173, + "name": "useClaimToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Claim tokens to a specific wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: claimTokens,\n isLoading,\n error,\n } = useClaimToken(contract);\n\n if (error) {\n console.error(\"failed to claim tokens\", error);\n }\n\n return (\n claimTokens({ to: \"{{wallet_address}}\", amount: 100 })}\n >\n Claim Tokens!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to tokens to the wallet specified in the params" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useclaimtoken?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 140, + "character": 24 + } + ], + "parameters": [ + { + "id": 1174, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "TokenContract", + "target": 1389, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1389, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1175, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1177, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 142, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1178, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 142, + "character": 10 + } + ], + "signatures": [ + { + "id": 1179, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1176, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 141, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1177, + 1176 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 140, + "character": 102 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1460, + "name": "ClaimTokenParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 709, + "name": "useClaimedNFTSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 62, + "character": 24 + } + ], + "signatures": [ + { + "id": 710, + "name": "useClaimedNFTSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the total number of claimed NFTs" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the number of NFTs that are claimed" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useclaimednftsupply?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 62, + "character": 24 + } + ], + "parameters": [ + { + "id": 711, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", + "qualifiedName": "NFTDrop" + }, + "name": "NFTDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/signature-drop.ts", + "qualifiedName": "SignatureDrop" + }, + "name": "SignatureDrop", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/ethers@5.7.2/node_modules/ethers/src.ts/index.ts", + "qualifiedName": "" + }, + "name": "BigNumber", + "package": "ethers" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 701, + "name": "useClaimedNFTs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 45, + "character": 24 + } + ], + "signatures": [ + { + "id": 702, + "name": "useClaimedNFTs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all claimed NFTs" + } + ], + "blockTags": [ + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "Equivalent to using " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useNFTs", + "target": 1047 + }, + { + "kind": "text", + "text": "." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: claimedNFTs, isLoading, error } = useClaimedNFTs(contract, { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of NFTs that are claimed" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useclaimednfts?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 45, + "character": 24 + } + ], + "parameters": [ + { + "id": 703, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", + "qualifiedName": "NFTDrop" + }, + "name": "NFTDrop", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 704, + "name": "queryParams", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "query params to pass to the query for the sake of pagination" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 705, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/core/schema/QueryParams.d.ts", + "line": 12, + "character": 3 + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFT" + }, + "name": "NFT", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 507, + "name": "useClaimerProofs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 60, + "character": 24 + } + ], + "signatures": [ + { + "id": 508, + "name": "useClaimerProofs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get claimer proofs" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: claimerProofs, isLoading, error } = useClaimerProofs(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object with the snapshot for the provided address" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useclaimerproofs?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 60, + "character": 24 + } + ], + "parameters": [ + { + "id": 509, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the " + }, + { + "kind": "code", + "text": "`claimConditions`" + }, + { + "kind": "text", + "text": " extension." + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 510, + "name": "claimerAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the claimer to fetch the claimer proofs for" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 511, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the id of the token to fetch the claimer proofs for (if the contract is an ERC1155 contract)" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + }, + { + "id": 512, + "name": "claimConditionId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "optional the claim condition id to get the proofs for" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 513, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 514, + "name": "address", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 61, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 518, + "name": "currencyAddress", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 65, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 516, + "name": "maxClaimable", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 63, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 517, + "name": "price", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 64, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 515, + "name": "proof", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 62, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 514, + 518, + 516, + 517, + 515 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 60, + "character": 177 + } + ] + } + }, + { + "type": "literal", + "value": null + } + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 210, + "name": "useCoinbaseWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L4" + } + ], + "signatures": [ + { + "id": 211, + "name": "useCoinbaseWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L4" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 212, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L7" + } + ], + "signatures": [ + { + "id": 213, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L7" + } + ], + "parameters": [ + { + "id": 214, + "name": "connectOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 215, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 216, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", + "line": 7, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 216 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", + "line": 7, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L7" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/coinbase-wallet.ts", + "qualifiedName": "CoinbaseWallet" + }, + "name": "CoinbaseWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 612, + "name": "useCompilerMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 15, + "character": 24 + } + ], + "signatures": [ + { + "id": 613, + "name": "useCompilerMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 15, + "character": 24 + } + ], + "parameters": [ + { + "id": 614, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/schema/contracts/custom.ts", + "qualifiedName": "PublishedMetadata" + }, + "name": "PublishedMetadata", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 324, + "name": "useConnect", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 39, + "character": 24 + } + ], + "signatures": [ + { + "id": 325, + "name": "useConnect", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a method to connect to a wallet class" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 39, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 39, + "character": 38 + } + ], + "signatures": [ + { + "id": 327, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 329, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 328, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "conditional", + "checkType": { + "type": "intrinsic", + "name": "undefined" + }, + "extendsType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": 0 + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Parameters" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "connect" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ], + "name": "Parameters", + "package": "typescript" + } + }, + "trueType": { + "type": "tuple", + "elements": [ + { + "type": "namedTupleMember", + "name": "wallet", + "isOptional": false, + "element": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "" + }, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + }, + { + "type": "namedTupleMember", + "name": "connectParams", + "isOptional": true, + "element": { + "type": "union", + "types": [ + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": 0 + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Parameters" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "connect" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ], + "name": "Parameters", + "package": "typescript" + } + }, + "extendsType": { + "type": "inferred", + "name": "T" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": 0 + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Parameters" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "connect" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ], + "name": "Parameters", + "package": "typescript" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "trueType": { + "type": "intrinsic", + "name": "never" + }, + "falseType": { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + "falseType": { + "type": "tuple", + "elements": [ + { + "type": "namedTupleMember", + "name": "wallet", + "isOptional": false, + "element": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "" + }, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + }, + { + "type": "namedTupleMember", + "name": "connectParams", + "isOptional": false, + "element": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": 0 + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Parameters" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "connect" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ], + "name": "Parameters", + "package": "typescript" + } + }, + "extendsType": { + "type": "inferred", + "name": "T_1" + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "T_1", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": 0 + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Parameters" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "connect" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ], + "name": "Parameters", + "package": "typescript" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "T_1", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "trueType": { + "type": "intrinsic", + "name": "never" + }, + "falseType": { + "type": "reference", + "target": -1, + "name": "T_1", + "refersToTypeParameter": true + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 330, + "name": "useConnectionStatus", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 56, + "character": 24 + } + ], + "signatures": [ + { + "id": 331, + "name": "useConnectionStatus", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "the connection status of the wallet\n\nIt can be one of the following:\n1. " + }, + { + "kind": "code", + "text": "`unknown`" + }, + { + "kind": "text", + "text": " - when wallet connection status is not yet known\n2. " + }, + { + "kind": "code", + "text": "`connecting`" + }, + { + "kind": "text", + "text": " - when wallet is connecting\n3. " + }, + { + "kind": "code", + "text": "`connected`" + }, + { + "kind": "text", + "text": " - when wallet is connected\n4. " + }, + { + "kind": "code", + "text": "`disconnected`" + }, + { + "kind": "text", + "text": " - when wallet is disconnected" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 56, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "unknown" + }, + { + "type": "literal", + "value": "connected" + }, + { + "type": "literal", + "value": "disconnected" + }, + { + "type": "literal", + "value": "connecting" + } + ] + } + } + ] + }, + { + "id": 624, + "name": "useContract", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 24, + "character": 24 + }, + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 38, + "character": 24 + }, + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 53, + "character": 24 + }, + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 68, + "character": 24 + } + ], + "signatures": [ + { + "id": 625, + "name": "useContract", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 24, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 626, + "name": "TContractAddress", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 627, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContractAddress", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": 692, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContractAddress", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../generated-abis/src/index.ts", + "qualifiedName": "ContractAddress" + }, + "name": "GeneratedContractAddress", + "package": "@thirdweb-dev/generated-abis", + "qualifiedName": "ContractAddress" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/contract.ts", + "qualifiedName": "BaseContractForAddress" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContractAddress", + "refersToTypeParameter": true + } + ], + "name": "BaseContractForAddress", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "UseContractResult", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 628, + "name": "useContract", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Use this resolve a contract address to a smart contract instance." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract, isLoading, error } = useContract(\"{{contract_address}}\");\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the contract once it is resolved" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecontract?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 38, + "character": 24 + } + ], + "parameters": [ + { + "id": 629, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the deployed contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": 692, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "UseContractResult", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 630, + "name": "useContract", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Use this resolve a contract address to a smart contract instance." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract, isLoading, error } = useContract(\"{{contract_address}}\", \"nft-drop\");\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the contract once it is resolved" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecontract?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 53, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 631, + "name": "TContractType", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "split" + }, + { + "type": "literal", + "value": "custom" + }, + { + "type": "literal", + "value": "token" + }, + { + "type": "literal", + "value": "vote" + }, + { + "type": "literal", + "value": "edition-drop" + }, + { + "type": "literal", + "value": "edition" + }, + { + "type": "literal", + "value": "marketplace" + }, + { + "type": "literal", + "value": "marketplace-v3" + }, + { + "type": "literal", + "value": "multiwrap" + }, + { + "type": "literal", + "value": "nft-collection" + }, + { + "type": "literal", + "value": "nft-drop" + }, + { + "type": "literal", + "value": "pack" + }, + { + "type": "literal", + "value": "signature-drop" + }, + { + "type": "literal", + "value": "token-drop" + } + ] + } + } + ], + "parameters": [ + { + "id": 632, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the deployed contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 633, + "name": "_contractType", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the type of the contract" + } + ] + }, + "type": { + "type": "reference", + "target": -1, + "name": "TContractType", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": 692, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContractType", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "PrebuiltContractType" + }, + "name": "PrebuiltContractType", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ContractForPrebuiltContractType" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContractType", + "refersToTypeParameter": true + } + ], + "name": "ContractForPrebuiltContractType", + "package": "@thirdweb-dev/sdk" + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "UseContractResult", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 634, + "name": "useContract", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Use this resolve a contract address to a smart contract instance." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract, isLoading, error } = useContract(\"{{contract_address}}\", ABI);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the contract once it is resolved" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecontract?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 68, + "character": 24 + } + ], + "parameters": [ + { + "id": 635, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the deployed contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 636, + "name": "_abi", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the ABI of the contract to use" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "ContractInterface" + }, + "name": "ContractInterface", + "package": "@ethersproject/contracts" + } + } + ], + "type": { + "type": "reference", + "target": 692, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "UseContractResult", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 655, + "name": "useContractEvents", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 144, + "character": 24 + } + ], + "signatures": [ + { + "id": 656, + "name": "useContractEvents", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get or subscribe to contract events" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: contractEvents, isLoading } = useContractEvents(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the contract events" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecontractevents?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 144, + "character": 24 + } + ], + "parameters": [ + { + "id": 657, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "ValidContractInstance", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " instance of the contract to listen to events for" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 658, + "name": "eventName", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the name of the event to query for (omit this or pass " + }, + { + "kind": "code", + "text": "`undefined`" + }, + { + "kind": "text", + "text": " to query for all events)" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 659, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "options includes the filters (" + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "QueryAllEvents" + }, + { + "kind": "text", + "text": ") for the query as well as if you want to subscribe to real-time updates (default: true)" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 660, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 661, + "name": "queryFilter", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 145, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/events.ts", + "qualifiedName": "EventQueryOptions" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ], + "name": "EventQueryOptions", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 662, + "name": "subscribe", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 146, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 661, + 662 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 144, + "character": 120 + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/events.ts", + "qualifiedName": "ContractEvent" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + ], + "name": "ContractEvent", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 637, + "name": "useContractMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 82, + "character": 24 + } + ], + "signatures": [ + { + "id": 638, + "name": "useContractMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the metadata of this contract" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: contractMetadata, isLoading } = useContractMetadata(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the contract metadata of the deployed contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ContractMetadata" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 82, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 639, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + } + ], + "parameters": [ + { + "id": 640, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "ValidContractInstance", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " instance of the contract to get the metadata for" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + }, + "extendsType": { + "type": "intrinsic", + "name": "undefined" + }, + "trueType": { + "type": "intrinsic", + "name": "undefined" + }, + "falseType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Awaited" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ReturnType" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "get" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "metadata" + }, + "objectType": { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + } + } + ], + "name": "ReturnType", + "package": "typescript" + } + ], + "name": "Awaited", + "package": "typescript" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 641, + "name": "useContractMetadataUpdate", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 116, + "character": 24 + } + ], + "signatures": [ + { + "id": 642, + "name": "useContractMetadataUpdate", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Update the metadata of this contract" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updateContractMetadata,\n isLoading,\n error,\n } = useContractMetadataUpdate(contract);\n\n if (error) {\n console.error(\"failed to update contract metadata\", error);\n }\n\n return (\n updateContractMetadata({ name: \"New name\", description: \"New description\" })}\n >\n Update contract metadata\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the contract metadata of the deployed contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ContractMetadata" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 116, + "character": 24 + } + ], + "parameters": [ + { + "id": 643, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "ValidContractInstance", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " instance of the contract to get the metadata for" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 644, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 646, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 118, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 647, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 118, + "character": 10 + } + ], + "signatures": [ + { + "id": 648, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 645, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 117, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 646, + 645 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 116, + "character": 117 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 649, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 654, + "name": "app_uri", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 124, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 651, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 121, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "name": "external_link", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 123, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 652, + "name": "image", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 122, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 650, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 120, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 654, + 651, + 653, + 652, + 650 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 119, + "character": 12 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 663, + "name": "useContractRead", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 164, + "character": 24 + } + ], + "signatures": [ + { + "id": 664, + "name": "useContractRead", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get data from a contract read-function call" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { data, isLoading, error } = useContractRead(contract, \"functionName\", ...args);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the data returned by the function call" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecontractread?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 164, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 665, + "name": "TContractAddress", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 666, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 667, + "name": "TContractInstance", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 668, + "name": "TFunctionName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 669, + "name": "TArgs", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + }, + { + "id": 670, + "name": "TReturnType", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 671, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the contract instance of the contract to call a function on" + } + ] + }, + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContractInstance", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContractInstance", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContractAddress", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "never" + }, + "trueType": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/contract.ts", + "qualifiedName": "BaseContractForAddress" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContractAddress", + "refersToTypeParameter": true + } + ], + "name": "BaseContractForAddress", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + }, + "falseType": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + } + }, + { + "id": 672, + "name": "functionName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the name of the function to call" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": -1, + "name": "TFunctionName", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 673, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The arguments to pass to the function (if any), with optional call arguments as the last parameter" + } + ] + }, + "type": { + "type": "reference", + "target": -1, + "name": "TArgs", + "refersToTypeParameter": true + } + }, + { + "id": 674, + "name": "overrides", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "CallOverrides" + }, + "name": "CallOverrides", + "package": "@ethersproject/contracts" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TReturnType", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 600, + "name": "useContractType", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 8, + "character": 24 + } + ], + "signatures": [ + { + "id": 601, + "name": "useContractType", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 8, + "character": 24 + } + ], + "parameters": [ + { + "id": 602, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "split" + }, + { + "type": "literal", + "value": "edition-drop" + }, + { + "type": "literal", + "value": "edition" + }, + { + "type": "literal", + "value": "marketplace" + }, + { + "type": "literal", + "value": "marketplace-v3" + }, + { + "type": "literal", + "value": "multiwrap" + }, + { + "type": "literal", + "value": "nft-collection" + }, + { + "type": "literal", + "value": "nft-drop" + }, + { + "type": "literal", + "value": "pack" + }, + { + "type": "literal", + "value": "signature-drop" + }, + { + "type": "literal", + "value": "token-drop" + }, + { + "type": "literal", + "value": "token" + }, + { + "type": "literal", + "value": "vote" + }, + { + "type": "literal", + "value": "custom" + }, + { + "type": "literal", + "value": null + } + ] + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 675, + "name": "useContractWrite", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 183, + "character": 24 + } + ], + "signatures": [ + { + "id": 676, + "name": "useContractWrite", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Mke a write call to your contract" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { mutate: myFunction, isLoading, error } = useContractWrite(contract, \"myFunction\");\n\n// the function can be called as follows:\n// myFunction([\"param 1\", \"param 2\", ...])\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the write function to call" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecontractwrite?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 183, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 677, + "name": "TContractAddress", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 678, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 679, + "name": "TContractInstance", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + }, + { + "id": 680, + "name": "TFunctionName", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 681, + "name": "TArgs", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 682, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the contract instance of the contract to call a function on" + } + ] + }, + "type": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContractInstance", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContractInstance", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + }, + "falseType": { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TContractAddress", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "intrinsic", + "name": "never" + }, + "trueType": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/contract.ts", + "qualifiedName": "BaseContractForAddress" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContractAddress", + "refersToTypeParameter": true + } + ], + "name": "BaseContractForAddress", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + }, + "falseType": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + } + }, + { + "id": 683, + "name": "functionName", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the name of the function to call" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": -1, + "name": "TFunctionName", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 684, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 686, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 185, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 687, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 185, + "character": 10 + } + ], + "signatures": [ + { + "id": 688, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 685, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 184, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 686, + 685 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 183, + "character": 1247 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 689, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 690, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 187, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "TArgs", + "refersToTypeParameter": true + } + }, + { + "id": 691, + "name": "overrides", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 188, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "CallOverrides" + }, + "name": "CallOverrides", + "package": "@ethersproject/contracts" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 690, + 691 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", + "line": 186, + "character": 21 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1212, + "name": "useCreateAccount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", + "line": 91, + "character": 24 + } + ], + "signatures": [ + { + "id": 1213, + "name": "useCreateAccount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a account" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: createAccount,\n isLoading,\n error,\n } = useCreateAccount(contract);\n\n if (error) {\n console.error(\"failed to create account\", error);\n }\n\n return (\n createAccount(\"0x...\")}\n >\n Create Account\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to create a account" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AccountFactory" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecreateaccount?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", + "line": 91, + "character": 24 + } + ], + "parameters": [ + { + "id": 1214, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a account factory contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 823, + "name": "useCreateAuctionListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 475, + "character": 24 + } + ], + "signatures": [ + { + "id": 824, + "name": "useCreateAuctionListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a new english auction" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: createAuctionListing,\n isLoading,\n error,\n } = useCreateAuctionListing(contract);\n\n if (error) {\n console.error(\"failed to create auction listing\", error);\n }\n\n return (\n createAuctionListing(auctionListingData)}\n >\n Create Auction Listing!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to create a new auction listing" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecreateauctionlisting?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 475, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 825, + "name": "TMarketplace", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ] + } + } + ], + "parameters": [ + { + "id": 826, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TMarketplace", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "TransactionResultWithId", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TMarketplace", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/NewAuctionListing.ts", + "qualifiedName": "NewAuctionListing" + }, + "name": "NewAuctionListing", + "package": "@thirdweb-dev/sdk" + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 827, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 831, + "name": "assetContractAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 479, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 835, + "name": "bidBufferBps", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 483, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + } + ] + } + }, + { + "id": 830, + "name": "buyoutBidAmount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 478, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 833, + "name": "currencyContractAddress", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 481, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 837, + "name": "endTimestamp", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 485, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 829, + "name": "minimumBidAmount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 477, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 832, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 480, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + } + ] + } + }, + { + "id": 836, + "name": "startTimestamp", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 484, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 834, + "name": "timeBufferInSeconds", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 482, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + } + ] + } + }, + { + "id": 828, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 476, + "character": 4 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 831, + 835, + 830, + 833, + 837, + 829, + 832, + 836, + 834, + 828 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 475, + "character": 273 + } + ] + } + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 810, + "name": "useCreateDirectListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 432, + "character": 24 + } + ], + "signatures": [ + { + "id": 811, + "name": "useCreateDirectListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a new direct listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: createDirectListing,\n isLoading,\n error,\n } = useCreateDirectListing(contract);\n\n if (error) {\n console.error(\"failed to create direct listing\", error);\n }\n\n return (\n createDirectListing(directListingData)}\n >\n Create Direct Listing!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to create a new direct listing" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usecreatedirectlisting?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 432, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 812, + "name": "TMarketplace", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ] + } + } + ], + "parameters": [ + { + "id": 813, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TMarketplace", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "TransactionResultWithId", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "target": -1, + "name": "TMarketplace", + "refersToTypeParameter": true + }, + "extendsType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + }, + "trueType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/NewDirectListing.ts", + "qualifiedName": "NewDirectListing" + }, + "name": "NewDirectListing", + "package": "@thirdweb-dev/sdk" + }, + "falseType": { + "type": "reflection", + "declaration": { + "id": 814, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 817, + "name": "assetContractAddress", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 435, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 819, + "name": "currencyContractAddress", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 437, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 821, + "name": "endTimestamp", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 439, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 822, + "name": "isReservedListing", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 440, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 816, + "name": "pricePerToken", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 434, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 818, + "name": "quantity", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 436, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + } + ] + } + }, + { + "id": 820, + "name": "startTimestamp", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 438, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Date" + }, + "name": "Date", + "package": "typescript" + } + ] + } + }, + { + "id": 815, + "name": "tokenId", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 433, + "character": 4 + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + } + ] + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "bigint" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 817, + 819, + 821, + 822, + 816, + 818, + 820, + 815 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 432, + "character": 271 + } + ] + } + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1226, + "name": "useCreateSessionKey", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 97, + "character": 24 + } + ], + "signatures": [ + { + "id": 1227, + "name": "useCreateSessionKey", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create and add a session key for the smart wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const {\n mutate: createSessionKey,\n isLoading,\n error,\n } = useCreateSessionKey();\n\n if (error) {\n console.error(\"failed to create session key\", error);\n }\n\n return (\n createSessionKey(\n \"0x...\",\n {\n approvedCallTargets: [\"0x...\"], // the addresses of contracts that the session key can call\n nativeTokenLimitPerTransaction: 0.1, // the maximum amount of native token (in ETH) that the session key can spend per transaction\n startDate: new Date(), // the date when the session key becomes active\n expirationDate = new Date(Date.now() + 24 * 60 * 60 * 1000); // the date when the session key expires\n }\n )}\n >\n Create Session Key\n \n );\n};\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 97, + "character": 24 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/types.ts", + "qualifiedName": "TransactionResult" + }, + "name": "TransactionResult", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "CreateSessionKeyInput" + }, + "name": "CreateSessionKeyInput", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 332, + "name": "useCreateWalletInstance", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 66, + "character": 24 + } + ], + "signatures": [ + { + "id": 333, + "name": "useCreateWalletInstance", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a method to create an instance of given wallet class" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 66, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 66, + "character": 51 + } + ], + "signatures": [ + { + "id": 335, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 337, + "name": "I", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 336, + "name": "Wallet", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "" + }, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": -1, + "name": "I", + "refersToTypeParameter": true + } + } + ] + } + } + } + ] + }, + { + "id": 728, + "name": "useDelayedRevealLazyMint", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 181, + "character": 24 + } + ], + "signatures": [ + { + "id": 729, + "name": "useDelayedRevealLazyMint", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lazy mint NFTs with delayed reveal" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: delayedRevealLazyMint,\n isLoading,\n error,\n } = useDelayedRevealLazyMint(contract);\n\n if (error) {\n console.error(\"failed to lazy mint NFT\", error);\n }\n\n return (\n delayedRevealLazyMint({ metadatas: [{ name: \"My NFT!\"}] })}\n >\n Delayed Reveal Lazy mint NFT!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to lazy mint a batch of NFTs" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Revealable | ERC1155Revealable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usedelayedreveallazymint?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 181, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 730, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1417, + "name": "RevealableContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 731, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "DropContract", + "target": 1416, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 732, + "name": "onProgress", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an optional callback that will be called with the progress of the upload" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 733, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 181, + "character": 136 + } + ], + "signatures": [ + { + "id": 734, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 181, + "character": 136 + } + ], + "parameters": [ + { + "id": 735, + "name": "progress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/events.ts", + "qualifiedName": "UploadProgressEvent" + }, + "name": "UploadProgressEvent", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "TransactionResultWithId", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1418, + "name": "DelayedRevealLazyMintInput", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 749, + "name": "useDirectListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 41, + "character": 24 + } + ], + "signatures": [ + { + "id": 750, + "name": "useDirectListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get a direct listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst listingId = 0; // the listing id to check\nconst { data: directListing, isLoading, error } = useListing(contract, listingId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the desired direct listing" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usedirectlisting?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 41, + "character": 24 + } + ], + "parameters": [ + { + "id": 751, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 752, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the listing id to check" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 761, + "name": "useDirectListings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 87, + "character": 24 + } + ], + "signatures": [ + { + "id": 762, + "name": "useDirectListings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all direct listings" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: directListings, isLoading, error } = useDirectListings(contract, { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of direct listings" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usedirectlistings?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 87, + "character": 24 + } + ], + "parameters": [ + { + "id": 763, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 764, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "filter to pass to the query for the sake of pagination & filtering" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", + "qualifiedName": "MarketplaceFilter" + }, + "name": "MarketplaceFilter", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 780, + "name": "useDirectListingsCount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 160, + "character": 24 + } + ], + "signatures": [ + { + "id": 781, + "name": "useDirectListingsCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the total count of direct listings" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: directListingsCount, isLoading, error } = useDirectListingsCount(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the direct listings count" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usedirectlistingscount?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 160, + "character": 24 + } + ], + "parameters": [ + { + "id": 782, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 338, + "name": "useDisconnect", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 44, + "character": 24 + } + ], + "signatures": [ + { + "id": 339, + "name": "useDisconnect", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a method to disconnect from the current active wallet" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 44, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 340, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 44, + "character": 41 + } + ], + "signatures": [ + { + "id": 341, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 1340, + "name": "useENS", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useENS.d.ts", + "line": 1, + "character": 24 + } + ], + "signatures": [ + { + "id": 1341, + "name": "useENS", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useENS.d.ts", + "line": 1, + "character": 24 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1272, + "name": "useEdition", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useEdition.d.ts", + "line": 32, + "character": 24 + } + ], + "signatures": [ + { + "id": 1273, + "name": "useEdition", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of an " + }, + { + "kind": "code", + "text": "`Edition`" + }, + { + "kind": "text", + "text": " contract. This contract is used to interface with ERC1155 compliant NFTs." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"edition\")\n\n // Now you can use the edition contract in the rest of the component\n\n // For example, this function will return all the NFTs on this contract\n async function getNFTs() {\n const nfts = await contract.getAll()\n return nfts\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const edition = useEdition(\"0x1234...\");\n+ const edition = useContract(\"0x1234...\", \"edition\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useEdition.d.ts", + "line": 32, + "character": 24 + } + ], + "parameters": [ + { + "id": 1274, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Edition contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "Edition", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1269, + "name": "useEditionDrop", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useEditionDrop.d.ts", + "line": 31, + "character": 24 + } + ], + "signatures": [ + { + "id": 1270, + "name": "useEditionDrop", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of an " + }, + { + "kind": "code", + "text": "`EditionDrop`" + }, + { + "kind": "text", + "text": " contract. This contract is used to interface with ERC1155 compliant NFTs that can be lazily minted." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"edition-drop\")\n\n // Now you can use the edition drop contract in the rest of the component\n\n // For example, this function will let the connected wallet claim a new NFT\n async function claim(tokenId, quantity) {\n await contract.claim(tokenId, quantity)\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const editionDrop = useEditionDrop(\"0x1234...\");\n+ const editionDrop = useContract(\"0x1234...\", \"edition-drop\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useEditionDrop.d.ts", + "line": 31, + "character": 24 + } + ], + "parameters": [ + { + "id": 1271, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Edition Drop contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "EditionDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 753, + "name": "useEnglishAuction", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 57, + "character": 24 + } + ], + "signatures": [ + { + "id": 754, + "name": "useEnglishAuction", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get an english auction" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst auctionId = 0; // the listing id to check\nconst { data: englishAuction, isLoading, error } = useEnglishAuction(contract, auctionId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the desired english auction" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useenglishauctions?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 57, + "character": 24 + } + ], + "parameters": [ + { + "id": 755, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 756, + "name": "auctionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the auction id to check" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 794, + "name": "useEnglishAuctionWinningBid", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 221, + "character": 24 + } + ], + "signatures": [ + { + "id": 795, + "name": "useEnglishAuctionWinningBid", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the winning bid for an english auction" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst listingId = 0;\nconst { data: winningBid, isLoading, error } = useWinningBid(contract, listingId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "Bid" + }, + { + "kind": "text", + "text": " that is winning the auction" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useenglishauctionwinningbid?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 221, + "character": 24 + } + ], + "parameters": [ + { + "id": 796, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 797, + "name": "auctionId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the auction id to check" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 769, + "name": "useEnglishAuctions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 117, + "character": 24 + } + ], + "signatures": [ + { + "id": 770, + "name": "useEnglishAuctions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all english auctions" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: englishAuctions, isLoading, error } = useEnglishAuctions(contract, { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of english auctions" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useenglishauctions?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 117, + "character": 24 + } + ], + "parameters": [ + { + "id": 771, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 772, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "filter to pass to the query for the sake of pagination & filtering" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", + "qualifiedName": "MarketplaceFilter" + }, + "name": "MarketplaceFilter", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 783, + "name": "useEnglishAuctionsCount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 174, + "character": 24 + } + ], + "signatures": [ + { + "id": 784, + "name": "useEnglishAuctionsCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the total count of english auctions" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: englishAuctionsCount, isLoading, error } = useEnglishAuctionsCount(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the direct english actions count" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useenglishauctionscount?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 174, + "character": 24 + } + ], + "parameters": [ + { + "id": 785, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 886, + "name": "useExecuteAuctionSale", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 743, + "character": 24 + } + ], + "signatures": [ + { + "id": 887, + "name": "useExecuteAuctionSale", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Execute an auction sale. Can only be executed once the auction has ended and the auction has a winning bid." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: executeAuctionSale,\n isLoading,\n error,\n } = useExecuteAuctionSale(contract);\n\n if (error) {\n console.error(\"failed to execute sale\", error);\n }\n\n return (\n executeAuctionSale({ listingId: 1 })}\n >\n Execute sale\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to accept an offer on a direct listing" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useexecuteauctionsale?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 743, + "character": 24 + } + ], + "parameters": [ + { + "id": 888, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 889, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 891, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 745, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 892, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 745, + "character": 10 + } + ], + "signatures": [ + { + "id": 893, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 890, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 744, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 891, + 890 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 743, + "character": 108 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1447, + "name": "ExecuteAuctionSale", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 217, + "name": "useFrameWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L4" + } + ], + "signatures": [ + { + "id": 218, + "name": "useFrameWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L4" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 219, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L7" + } + ], + "signatures": [ + { + "id": 220, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L7" + } + ], + "parameters": [ + { + "id": 221, + "name": "connectOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 222, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 223, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", + "line": 7, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 223 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", + "line": 7, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L7" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/frame.ts", + "qualifiedName": "FrameWallet" + }, + "name": "FrameWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 1142, + "name": "useGrantRole", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 140, + "character": 24 + } + ], + "signatures": [ + { + "id": 1143, + "name": "useGrantRole", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Grant a role to a specific address" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: grantRole,\n isLoading,\n error,\n } = useGrantRole(contract);\n\n if (error) {\n console.error(\"failed to grant role\", error);\n }\n\n return (\n grantRole({ role: \"admin\", address: {{wallet_address}} })}\n >\n Grant Role\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to grant a member of a role on the contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Permissions | PermissionsEnumerable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usegrantrole?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 140, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1144, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1145, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 182, + "name": "useInstalledWallets", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", + "line": 7, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L7" + } + ], + "signatures": [ + { + "id": 183, + "name": "useInstalledWallets", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", + "line": 7, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L7" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 184, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 186, + "name": "coinbaseWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", + "line": 23, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L23" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "isCoinbaseWalletInstalled" + }, + { + "id": 185, + "name": "metamask", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", + "line": 22, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L22" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "isMetamaskInstalled" + }, + { + "id": 187, + "name": "trustWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", + "line": 24, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "isTrustWalletInstalled" + }, + { + "id": 188, + "name": "zerionWallet", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", + "line": 25, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "isZerionWalletInstalled" + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 186, + 185, + 187, + 188 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", + "line": 21, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L21" + } + ] + } + } + } + ] + }, + { + "id": 1204, + "name": "useIsAccountDeployed", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", + "line": 53, + "character": 24 + } + ], + "signatures": [ + { + "id": 1205, + "name": "useIsAccountDeployed", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Check if a account has been deployed for the given admin" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: isAccountDeployed, isLoading, error } = useIsAccountDeployed(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a boolean indicating if a account has been deployed for the given admin" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AccountFactory" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useisaccountdeployed?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", + "line": 53, + "character": 24 + } + ], + "parameters": [ + { + "id": 1206, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a account factory contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1207, + "name": "admin", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1208, + "name": "extraData", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bytes@5.7.0/node_modules/@ethersproject/bytes/src.ts/index.ts", + "qualifiedName": "BytesLike" + }, + "name": "BytesLike", + "package": "@ethersproject/bytes" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "boolean" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1132, + "name": "useIsAddressRole", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 68, + "character": 24 + } + ], + "signatures": [ + { + "id": 1133, + "name": "useIsAddressRole", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Check if an address is a member of a specific role" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst { data: isMember, isLoading, error } = useIsAddressRole(contract, \"admin\", \"{{wallet_address}}\");\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "true if the address is a member of the role, or false if not" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PermissionsEnumerable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useisaddressrole?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 68, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1134, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1135, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1136, + "name": "role", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the role to check the member against, see " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "Role", + "target": { + "sourceFileName": "../sdk/src/evm/common/role.ts", + "qualifiedName": "Role" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "RolesForContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RolesForContract", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1137, + "name": "walletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address to check" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 70, + "name": "useIsWalletModalOpen", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 79, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L79" + } + ], + "signatures": [ + { + "id": 71, + "name": "useIsWalletModalOpen", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 79, + "character": 36, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 720, + "name": "useLazyMint", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 145, + "character": 24 + } + ], + "signatures": [ + { + "id": 721, + "name": "useLazyMint", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lazy mint NFTs" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: lazyMint,\n isLoading,\n error,\n } = useLazyMint(contract);\n\n if (error) {\n console.error(\"failed to lazy mint NFT\", error);\n }\n\n return (\n lazyMint({ metadatas: [{ name: \"My NFT!\"}] })}\n >\n Lazy mint NFT!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to lazy mint a batch of NFTs" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable | ERC1155LazyMintable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.uselazymint?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 145, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 722, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 723, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388 + }, + { + "kind": "text", + "text": " with the drop extension" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 724, + "name": "onProgress", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an optional callback that will be called with the progress of the upload" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 725, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 145, + "character": 117 + } + ], + "signatures": [ + { + "id": 726, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 145, + "character": 117 + } + ], + "parameters": [ + { + "id": 727, + "name": "progress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/events.ts", + "qualifiedName": "UploadProgressEvent" + }, + "name": "UploadProgressEvent", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "any" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 745, + "name": "useListing", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 25, + "character": 24 + } + ], + "signatures": [ + { + "id": 746, + "name": "useListing", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get a listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst listingId = 0; // the listing id to check\nconst { data: listing, isLoading, error } = useListing(contract, listingId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the desired listing" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.uselisting?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 25, + "character": 24 + } + ], + "parameters": [ + { + "id": 747, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 748, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the listing id to check" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 757, + "name": "useListings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 72, + "character": 24 + } + ], + "signatures": [ + { + "id": 758, + "name": "useListings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all listings" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: listings, isLoading, error } = useListings(contract, { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of listings" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.uselistings?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 72, + "character": 24 + } + ], + "parameters": [ + { + "id": 759, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 760, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "filter to pass to the query for the sake of pagination & filtering" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", + "qualifiedName": "MarketplaceFilter" + }, + "name": "MarketplaceFilter", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 777, + "name": "useListingsCount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 146, + "character": 24 + } + ], + "signatures": [ + { + "id": 778, + "name": "useListingsCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the total count of listings" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: listingsCount, isLoading, error } = useListingsCount(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the listing count" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.uselistingscount?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 146, + "character": 24 + } + ], + "parameters": [ + { + "id": 779, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1236, + "name": "useLogin", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", + "line": 11, + "character": 24 + } + ], + "signatures": [ + { + "id": 1237, + "name": "useLogin", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to securely login to a backend with the connected wallet. The backend\nauthentication URL must be configured on the ThirdwebProvider." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "- A function to invoke to login with the connected wallet, and an isLoading state." + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.uselogin?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", + "line": 11, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1238, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1242, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1239, + "name": "login", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1240, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", + "line": 12, + "character": 11 + } + ], + "signatures": [ + { + "id": 1241, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1242, + 1239 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", + "line": 11, + "character": 36 + } + ] + } + } + } + ] + }, + { + "id": 1243, + "name": "useLogout", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", + "line": 11, + "character": 24 + } + ], + "signatures": [ + { + "id": 1244, + "name": "useLogout", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to logout the connected wallet from the backend.\nThe backend logout URL must be configured on the ThirdwebProvider." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "- A function to invoke to logout." + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.uselogout?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", + "line": 11, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1245, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1247, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", + "line": 13, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1246, + "name": "logout", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseMutateAsyncFunction", + "package": "@tanstack/react-query" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1247, + 1246 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", + "line": 11, + "character": 37 + } + ] + } + } + } + ] + }, + { + "id": 79, + "name": "useMagic", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/connectors/magic/useMagic.ts", + "line": 6, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/magic/useMagic.ts#L6" + } + ], + "signatures": [ + { + "id": 80, + "name": "useMagic", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/connectors/magic/useMagic.ts", + "line": 6, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/magic/useMagic.ts#L6" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 81, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/connectors/magic/useMagic.ts", + "line": 9, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/magic/useMagic.ts#L9" + } + ], + "signatures": [ + { + "id": 82, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/connectors/magic/useMagic.ts", + "line": 9, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/magic/useMagic.ts#L9" + } + ], + "parameters": [ + { + "id": 83, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "Object" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/magic.ts", + "qualifiedName": "MagicLink" + }, + "name": "MagicLink", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 862, + "name": "useMakeBid", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 631, + "character": 24 + } + ], + "signatures": [ + { + "id": 863, + "name": "useMakeBid", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Make a bid on an auction listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: makeBid,\n isLoading,\n error,\n } = useMakeBid(contract);\n\n if (error) {\n console.error(\"failed to make a bid\", error);\n }\n\n return (\n makeBid({ listingId: 1, bid: 2 })}\n >\n Bid!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to make a bid on an auction listing" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usemakebid?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 631, + "character": 24 + } + ], + "parameters": [ + { + "id": 864, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 865, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 867, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 633, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 868, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 633, + "character": 10 + } + ], + "signatures": [ + { + "id": 869, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 866, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 632, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 867, + 866 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 631, + "character": 97 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1434, + "name": "MakeBidParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 870, + "name": "useMakeOffer", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 668, + "character": 24 + } + ], + "signatures": [ + { + "id": 871, + "name": "useMakeOffer", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Nake an offer on a direct or auction listing" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: makeOffer,\n isLoading,\n error,\n } = useMakeOffer(contract);\n\n if (error) {\n console.error(\"failed to make a bid\", error);\n }\n\n return (\n makeOffer({ listingId: 1, pricePerToken: 0.5, quantity: 1 })}\n >\n Bid!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to make a bid on an auction listing" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usemakeoffer?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 668, + "character": 24 + } + ], + "parameters": [ + { + "id": 872, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 873, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 875, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 670, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 876, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 670, + "character": 10 + } + ], + "signatures": [ + { + "id": 877, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 874, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 669, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 875, + 874 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 668, + "character": 99 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1438, + "name": "MakeOfferParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1278, + "name": "useMarketplace", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useMarketplace.d.ts", + "line": 32, + "character": 24 + } + ], + "signatures": [ + { + "id": 1279, + "name": "useMarketplace", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of a " + }, + { + "kind": "code", + "text": "`Marketplace`" + }, + { + "kind": "text", + "text": " contract. This contract is used to support marketplace for purchase and sale of on-chain assets." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"marketplace\")\n\n // Now you can use the marketplace contract in the rest of the component\n\n // For example, this function will return all the listings on the marketplace\n async function getListings() {\n const listings = await contract.getAll()\n return listings\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const marketplace = useMarketplace(\"0x1234...\");\n+ const marketplace = useContract(\"0x1234...\", \"marketplace\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useMarketplace.d.ts", + "line": 32, + "character": 24 + } + ], + "parameters": [ + { + "id": 1280, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Marketplace contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 594, + "name": "useMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 191, + "character": 24 + } + ], + "signatures": [ + { + "id": 595, + "name": "useMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the metadata of this contract" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst { data: metadata, isLoading, error } = useMetadata(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "CustomContractMetadata" + }, + { + "kind": "text", + "text": " object containing the metadata" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usemetadata?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 191, + "character": 24 + } + ], + "parameters": [ + { + "id": 596, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 203, + "name": "useMetamask", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L4" + } + ], + "signatures": [ + { + "id": 204, + "name": "useMetamask", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L4" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 205, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L7" + } + ], + "signatures": [ + { + "id": 206, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L7" + } + ], + "parameters": [ + { + "id": 207, + "name": "connectOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 208, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 209, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", + "line": 7, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 209 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", + "line": 7, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L7" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/metamask.ts", + "qualifiedName": "MetaMaskWallet" + }, + "name": "MetaMaskWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 806, + "name": "useMinimumNextBid", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 269, + "character": 24 + } + ], + "signatures": [ + { + "id": 807, + "name": "useMinimumNextBid", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the minimum next bid for an english auction" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst listingId = 0;\nconst { data: minimumNextBid, isLoading, error } = useMinimumNextBid(contract, listingId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the minimum next bid for the auction listing" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAucton" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useminimumnextbid?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 269, + "character": 24 + } + ], + "parameters": [ + { + "id": 808, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 809, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the listing id to check" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1073, + "name": "useMintNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 165, + "character": 24 + } + ], + "signatures": [ + { + "id": 1074, + "name": "useMintNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Mint an NFT to a specific wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: mintNft,\n isLoading,\n error,\n } = useMintNFT(contract);\n\n if (error) {\n console.error(\"failed to mint NFT\", error);\n }\n\n return (\n mintNft({ name: \"My awesome NFT!\", to: \"{{wallet_address}}\" })}\n >\n Mint!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to mint a new NFT token to the connected wallet" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Mintable | ERC1155Mintable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usemintnft?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 165, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1075, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1076, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1410, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "MintNFTReturnType", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1405, + "name": "MintNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1077, + "name": "useMintNFTSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 200, + "character": 24 + } + ], + "signatures": [ + { + "id": 1078, + "name": "useMintNFTSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Increase the supply of an existing NFT" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: mintNftSupply,\n isLoading,\n error,\n } = useMintNFTSupply(contract);\n\n if (error) {\n console.error(\"failed to mint additional supply\", error);\n }\n\n return (\n mintNftSupply({ tokenId: 0, additionalSupply: 100, to: \"{{wallet_address}}\"})}\n >\n Mint Additional Supply!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to mint a more supply of a token id to the provided wallet" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC1155Mintable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usemintnftsupply?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 200, + "character": 24 + } + ], + "parameters": [ + { + "id": 1079, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "Erc1155", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", + "qualifiedName": "Erc1155" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "BaseERC1155" + }, + "name": "BaseERC1155", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/eips.ts", + "qualifiedName": "BaseSignatureMintERC1155" + }, + "name": "BaseSignatureMintERC1155", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "Erc1155", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "TransactionResultWithId", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1400, + "name": "MintNFTSupplyParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1164, + "name": "useMintToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 102, + "character": 24 + } + ], + "signatures": [ + { + "id": 1165, + "name": "useMintToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Mint tokens" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: mintTokens,\n isLoading,\n error,\n } = useMintToken(contract);\n\n if (error) {\n console.error(\"failed to mint tokens\", error);\n }\n\n return (\n mintTokens({ to: \"{{wallet_address}}\", amount: 1000 })}\n >\n Mint!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to mint new tokens to the connected wallet" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20Mintable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useminttoken?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 102, + "character": 24 + } + ], + "parameters": [ + { + "id": 1166, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "TokenContract", + "target": 1389, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1389, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1167, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1169, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 104, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1170, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 104, + "character": 10 + } + ], + "signatures": [ + { + "id": 1171, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1168, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 103, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1169, + 1168 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 102, + "character": 101 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1381, + "name": "TokenParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1299, + "name": "useMultiwrap", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useMultiwrap.d.ts", + "line": 31, + "character": 24 + } + ], + "signatures": [ + { + "id": 1300, + "name": "useMultiwrap", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of an " + }, + { + "kind": "code", + "text": "`Multiwrap`" + }, + { + "kind": "text", + "text": " contract. This contract is an ERC721 in which you can wrap ERC721, ERC1155 and ERC20 tokens." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"multiwrap\")\n\n // Now you can use the multiwrap contract in the rest of the component\n\n // For example, this function will let the connected wallet wrap tokens\n async function wrap(tokensToWrap, wrappedNFTMetadata) {\n await contract.wrap(tokensToWrap, wrappedNFTMetadata)\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const multiwrap = useMultiwrap(\"0x1234...\");\n+ const multiwrap = useContract(\"0x1234...\", \"multiwrap\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useMultiwrap.d.ts", + "line": 31, + "character": 24 + } + ], + "parameters": [ + { + "id": 1301, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Multiwrap contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "Multiwrap", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1042, + "name": "useNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 26, + "character": 24 + } + ], + "signatures": [ + { + "id": 1043, + "name": "useNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get a single NFT" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst tokenId = 0; // the tokenId to look up\nconst { data: nft, isLoading, error } = useNFT(contract, tokenId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the metadata for the given tokenId" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721 | ERC1155" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usenft?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 26, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1044, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1045, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1046, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the tokenId to look up" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFT" + }, + "name": "NFT", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1068, + "name": "useNFTBalance", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 112, + "character": 24 + } + ], + "signatures": [ + { + "id": 1069, + "name": "useNFTBalance", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get NFT balance of a specific wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: ownerBalance, isLoading, error } = useNFTBalance(contract, \"{{wallet_address}}\");\n// for ERC1155 contracts, you can also pass a tokenId\nconst tokenId = 0;\nconst { data: ownerBalance, isLoading, error } = useNFTBalance(contract, \"{{wallet_address}}\", tokenId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the total balance of the owner" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721 | ERC1155" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usenftbalance?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 112, + "character": 24 + } + ], + "parameters": [ + { + "id": 1070, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1071, + "name": "ownerWalletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the wallet address to check the balance of" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1072, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "required for ERC1155, the tokenId to look up" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1281, + "name": "useNFTCollection", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useNFTCollection.d.ts", + "line": 32, + "character": 24 + } + ], + "signatures": [ + { + "id": 1282, + "name": "useNFTCollection", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of an " + }, + { + "kind": "code", + "text": "`NFTCollection`" + }, + { + "kind": "text", + "text": " contract. This contract is meant to interface with ERC721 compliant NFTs." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract, isLoading, error } = useContract(\"\", \"nft-collection\")\n\n // Now you can use the nftCollection contract in the rest of the component\n\n // For example, this function will return all the NFTs on this contract\n async function getNFTs() {\n const nfts = await contract.getAll()\n return nfts\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const nftCollection = useNFTCollection(\"0x1234...\");\n+ const nftCollection = useContract(\"0x1234...\", \"nft-collection\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useNFTCollection.d.ts", + "line": 32, + "character": 24 + } + ], + "parameters": [ + { + "id": 1283, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the NFT Collection contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "NFTCollection", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1275, + "name": "useNFTDrop", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useNFTDrop.d.ts", + "line": 31, + "character": 24 + } + ], + "signatures": [ + { + "id": 1276, + "name": "useNFTDrop", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of an " + }, + { + "kind": "code", + "text": "`NFTDrop`" + }, + { + "kind": "text", + "text": " contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"nft-drop\")\n\n // Now you can use the nft drop contract in the rest of the component\n\n // For example, this function will let the connected wallet claim a new NFT\n async function claim(quantity) {\n await contract.claim(quantity)\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const nftDrop = useNFTDrop(\"0x1234...\");\n+ const nftDrop = useContract(\"0x1234...\", \"nft-drop\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useNFTDrop.d.ts", + "line": 31, + "character": 24 + } + ], + "parameters": [ + { + "id": 1277, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the NFT Drop contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "NFTDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1047, + "name": "useNFTs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 42, + "character": 24 + } + ], + "signatures": [ + { + "id": 1048, + "name": "useNFTs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all NFTs" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: nfts, isLoading, error } = useNFTs(contract, { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of NFTs" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Supply | ERC721Enumerable | ERC1155Enumerable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usenfts?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 42, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1049, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1050, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1051, + "name": "queryParams", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "query params to pass to the query for pagination" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1052, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/core/schema/QueryParams.d.ts", + "line": 12, + "character": 3 + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFT" + }, + "name": "NFT", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 362, + "name": "useNetwork", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/useNetwork.d.ts", + "line": 47, + "character": 24 + } + ], + "signatures": [ + { + "id": 363, + "name": "useNetwork", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "- use " + }, + { + "kind": "code", + "text": "`useChain`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`useSwitchChain`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`useChainId`" + }, + { + "kind": "text", + "text": " instead\n\nHook for getting metadata about the network the current wallet is connected to and switching networks" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useNetwork } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n const [, switchNetwork] = useNetwork();\n return (\n // switchNetwork is undefined if the wallet does not support programmatic network switching\n // 137 is the chainId for Polygon in this example\n \n );\n};\n```" + }, + { + "kind": "text", + "text": "\n\nIt's important to note that some wallet apps do not support programmatic network switching and switchNetwork will be undefined.\nFor those situations, you can typically switch networks in the wallet app this hook will still work." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/useNetwork.d.ts", + "line": 47, + "character": 24 + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/hooks/useNetwork.ts", + "qualifiedName": "NetworkMetadata" + }, + "name": "NetworkMetadata", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/hooks/useNetwork.ts", + "qualifiedName": "SwitchNetwork" + }, + "name": "SwitchNetwork", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ] + } + } + ] + }, + { + "id": 1311, + "name": "useNetworkMismatch", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useNetworkMismatch.d.ts", + "line": 28, + "character": 24 + } + ], + "signatures": [ + { + "id": 1312, + "name": "useNetworkMismatch", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for checking whether the connected wallet is on the correct network specified by the " + }, + { + "kind": "code", + "text": "`network`" + }, + { + "kind": "text", + "text": " passed to the " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": ".\n\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useNetworkMismatch } from \"@thirdweb-dev/react\"\n```" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " if the chainId of the connected wallet is different from the chainId of the network passed into " + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usenetworkmismatch?utm_source=sdk" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "You can check if a users wallet is connected to the correct chain ID as follows:\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useNetworkMismatch } from \"@thirdweb-dev/react\"\n\nconst App = () => {\n const isMismatched = useNetworkMismatch()\n\n return
{isMismatched}
\n}\n```" + }, + { + "kind": "text", + "text": "\n\nFrom here, you can prompt users to switch their network using the " + }, + { + "kind": "code", + "text": "`useNetwork`" + }, + { + "kind": "text", + "text": " hook." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useNetworkMismatch.d.ts", + "line": 28, + "character": 24 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 894, + "name": "useOffers", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 291, + "character": 24 + } + ], + "signatures": [ + { + "id": 895, + "name": "useOffers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all the offers for a listing" + } + ], + "blockTags": [ + { + "tag": "@remarks", + "content": [ + { + "kind": "text", + "text": "Fetch all the offers for a specified direct or auction listing." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst listingId = 0;\nconst { data: offers, isLoading, error } = useOffers(contract, listingId);\n```" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useoffers?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 291, + "character": 24 + } + ], + "parameters": [ + { + "id": 896, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a Marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 897, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the id of the listing to fetch offers for" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 898, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 899, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 292, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 907, + "name": "dataUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 300, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 900, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 293, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 911, + "name": "errorUpdateCount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 304, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 908, + "name": "errorUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 301, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 909, + "name": "failureCount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 302, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 910, + "name": "failureReason", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 303, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 929, + "name": "fetchStatus", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 316, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "FetchStatus", + "package": "@tanstack/react-query" + } + }, + { + "id": 901, + "name": "isError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 294, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 912, + "name": "isFetched", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 305, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 913, + "name": "isFetchedAfterMount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 306, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 914, + "name": "isFetching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 307, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 915, + "name": "isInitialLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 308, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 902, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 295, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 903, + "name": "isLoadingError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 296, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 916, + "name": "isPaused", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 309, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 917, + "name": "isPlaceholderData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 310, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 918, + "name": "isPreviousData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 311, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 904, + "name": "isRefetchError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 297, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 919, + "name": "isRefetching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 312, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 920, + "name": "isStale", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 313, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 905, + "name": "isSuccess", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 298, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 921, + "name": "refetch", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 314, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 922, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 314, + "character": 13 + } + ], + "signatures": [ + { + "id": 923, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 925, + "name": "TPageData", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 924, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "RefetchOptions", + "package": "@tanstack/react-query" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "RefetchQueryFilters", + "package": "@tanstack/react-query" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "QueryObserverResult", + "package": "@tanstack/react-query" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 926, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 315, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 927, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 315, + "character": 12 + } + ], + "signatures": [ + { + "id": 928, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 906, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 299, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "error" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 899, + 907, + 900, + 911, + 908, + 909, + 910, + 929, + 901, + 912, + 913, + 914, + 915, + 902, + 903, + 916, + 917, + 918, + 904, + 919, + 920, + 905, + 921, + 926, + 906 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 291, + "character": 113 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 930, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 931, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 318, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 939, + "name": "dataUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 326, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 932, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 319, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 943, + "name": "errorUpdateCount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 330, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 940, + "name": "errorUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 327, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 941, + "name": "failureCount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 328, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 942, + "name": "failureReason", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 329, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 961, + "name": "fetchStatus", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 342, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "FetchStatus", + "package": "@tanstack/react-query" + } + }, + { + "id": 933, + "name": "isError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 320, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 944, + "name": "isFetched", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 331, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 945, + "name": "isFetchedAfterMount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 332, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 946, + "name": "isFetching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 333, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 947, + "name": "isInitialLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 334, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 934, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 321, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 935, + "name": "isLoadingError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 322, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 948, + "name": "isPaused", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 335, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 949, + "name": "isPlaceholderData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 336, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 950, + "name": "isPreviousData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 337, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 936, + "name": "isRefetchError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 323, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 951, + "name": "isRefetching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 338, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 952, + "name": "isStale", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 339, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 937, + "name": "isSuccess", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 324, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 953, + "name": "refetch", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 340, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 954, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 340, + "character": 13 + } + ], + "signatures": [ + { + "id": 955, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 957, + "name": "TPageData", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 956, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "RefetchOptions", + "package": "@tanstack/react-query" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "RefetchQueryFilters", + "package": "@tanstack/react-query" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "QueryObserverResult", + "package": "@tanstack/react-query" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 958, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 341, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 959, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 341, + "character": 12 + } + ], + "signatures": [ + { + "id": 960, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 938, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 325, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "success" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 931, + 939, + 932, + 943, + 940, + 941, + 942, + 961, + 933, + 944, + 945, + 946, + 947, + 934, + 935, + 948, + 949, + 950, + 936, + 951, + 952, + 937, + 953, + 958, + 938 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 317, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 962, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 963, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 344, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 971, + "name": "dataUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 352, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 964, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 345, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 975, + "name": "errorUpdateCount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 356, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 972, + "name": "errorUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 353, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 973, + "name": "failureCount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 354, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 974, + "name": "failureReason", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 355, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 993, + "name": "fetchStatus", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 368, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "FetchStatus", + "package": "@tanstack/react-query" + } + }, + { + "id": 965, + "name": "isError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 346, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 976, + "name": "isFetched", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 357, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 977, + "name": "isFetchedAfterMount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 358, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 978, + "name": "isFetching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 359, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 979, + "name": "isInitialLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 360, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 966, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 347, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 967, + "name": "isLoadingError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 348, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 980, + "name": "isPaused", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 361, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 981, + "name": "isPlaceholderData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 362, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 982, + "name": "isPreviousData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 363, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 968, + "name": "isRefetchError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 349, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 983, + "name": "isRefetching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 364, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 984, + "name": "isStale", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 365, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 969, + "name": "isSuccess", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 350, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 985, + "name": "refetch", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 366, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 986, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 366, + "character": 13 + } + ], + "signatures": [ + { + "id": 987, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 989, + "name": "TPageData", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 988, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "RefetchOptions", + "package": "@tanstack/react-query" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "RefetchQueryFilters", + "package": "@tanstack/react-query" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "QueryObserverResult", + "package": "@tanstack/react-query" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 990, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 367, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 991, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 367, + "character": 12 + } + ], + "signatures": [ + { + "id": 992, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 970, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 351, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "error" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 963, + 971, + 964, + 975, + 972, + 973, + 974, + 993, + 965, + 976, + 977, + 978, + 979, + 966, + 967, + 980, + 981, + 982, + 968, + 983, + 984, + 969, + 985, + 990, + 970 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 343, + "character": 4 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 994, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 995, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 370, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 1003, + "name": "dataUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 378, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 996, + "name": "error", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 371, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 1007, + "name": "errorUpdateCount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 382, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1004, + "name": "errorUpdatedAt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 379, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1005, + "name": "failureCount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 380, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 1006, + "name": "failureReason", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 381, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 1025, + "name": "fetchStatus", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 394, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "FetchStatus", + "package": "@tanstack/react-query" + } + }, + { + "id": 997, + "name": "isError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 372, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 1008, + "name": "isFetched", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 383, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1009, + "name": "isFetchedAfterMount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 384, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1010, + "name": "isFetching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 385, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1011, + "name": "isInitialLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 386, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 998, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 373, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": true + } + }, + { + "id": 999, + "name": "isLoadingError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 374, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 1012, + "name": "isPaused", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 387, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1013, + "name": "isPlaceholderData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 388, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1014, + "name": "isPreviousData", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 389, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1000, + "name": "isRefetchError", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 375, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 1015, + "name": "isRefetching", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 390, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1016, + "name": "isStale", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 391, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1001, + "name": "isSuccess", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 376, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": false + } + }, + { + "id": 1017, + "name": "refetch", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 392, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1018, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 392, + "character": 13 + } + ], + "signatures": [ + { + "id": 1019, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "typeParameter": [ + { + "id": 1021, + "name": "TPageData", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 1020, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "RefetchOptions", + "package": "@tanstack/react-query" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "RefetchQueryFilters", + "package": "@tanstack/react-query" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "QueryObserverResult", + "package": "@tanstack/react-query" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1022, + "name": "remove", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 393, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1023, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 393, + "character": 12 + } + ], + "signatures": [ + { + "id": 1024, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 1002, + "name": "status", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 377, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": "loading" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 995, + 1003, + 996, + 1007, + 1004, + 1005, + 1006, + 1025, + 997, + 1008, + 1009, + 1010, + 1011, + 998, + 999, + 1012, + 1013, + 1014, + 1000, + 1015, + 1016, + 1001, + 1017, + 1022, + 1002 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 369, + "character": 4 + } + ] + } + } + ] + } + } + ] + }, + { + "id": 1061, + "name": "useOwnedNFTs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 92, + "character": 24 + } + ], + "signatures": [ + { + "id": 1062, + "name": "useOwnedNFTs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all NFTs owned by a specific wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: ownedNFTs, isLoading, error } = useOwnedNFTs(contract, \"{{wallet_address}}\", { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the list of owned tokens" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Enumerable | ERC1155Enumerable | ERC721Supply" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useownednfts?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 92, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1063, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1064, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1065, + "name": "ownerWalletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the wallet address to get owned tokens for" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1066, + "name": "queryParams", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "query params to pass to the query for pagination" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1067, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/core/schema/QueryParams.d.ts", + "line": 12, + "character": 3 + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFT" + }, + "name": "NFT", + "package": "@thirdweb-dev/sdk" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1284, + "name": "usePack", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/usePack.d.ts", + "line": 32, + "character": 24 + } + ], + "signatures": [ + { + "id": 1285, + "name": "usePack", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of a " + }, + { + "kind": "code", + "text": "`Pack`" + }, + { + "kind": "text", + "text": " contract. This contract supports the creation of on-chain luck-based lootboxes." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = usePack(\"\", \"pack\")\n\n // Now you can use the pack contract in the rest of the component\n\n // For example, this function will get all the packs on this contract\n async function getPacks() {\n const packs = await contract.getAll()\n return packs\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const pack = usePack(\"0x1234...\");\n+ const pack = useContract(\"0x1234...\", \"pack\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/usePack.d.ts", + "line": 32, + "character": 24 + } + ], + "parameters": [ + { + "id": 1286, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Pack contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "Pack", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 233, + "name": "usePaperWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 16, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L16" + } + ], + "signatures": [ + { + "id": 234, + "name": "usePaperWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 16, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L16" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 235, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 19, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" + } + ], + "signatures": [ + { + "id": 236, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 19, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" + } + ], + "parameters": [ + { + "id": 237, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 238, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 239, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 19, + "character": 22, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 240, + "name": "email", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 19, + "character": 40, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 239, + 240 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 19, + "character": 20, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "PaperConfig" + }, + "name": "PaperConfig", + "package": "@thirdweb-dev/react" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/paper-wallet.ts", + "qualifiedName": "PaperWallet" + }, + "name": "PaperWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 231, + "name": "usePaperWalletUserEmail", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 32, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L32" + } + ], + "signatures": [ + { + "id": 232, + "name": "usePaperWalletUserEmail", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", + "line": 32, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L32" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 577, + "name": "usePlatformFees", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 134, + "character": 24 + } + ], + "signatures": [ + { + "id": 578, + "name": "usePlatformFees", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the platform fee recipient and basis points" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst { data: platformFees, isLoading, error } = usePlatformFees(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "an object containing the platform fee basis points and the fee recipient address" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PlatformFee" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useplatformfees?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 134, + "character": 24 + } + ], + "parameters": [ + { + "id": 579, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 580, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 581, + "name": "platform_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 135, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 582, + "name": "platform_fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 136, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 581, + 582 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 134, + "character": 104 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 549, + "name": "usePrimarySaleRecipient", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 20, + "character": 24 + } + ], + "signatures": [ + { + "id": 550, + "name": "usePrimarySaleRecipient", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the primary sale recipient" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst { data: primarySaleRecipient, isLoading, error } = usePrimarySalesRecipient(contract);\n```" + }, + { + "kind": "text", + "text": "\n\nUse this to get the primary sales recipient of your " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "the wallet address of the primary sales recipient" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PrimarySale" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useprimarysalerecipient?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 20, + "character": 24 + } + ], + "parameters": [ + { + "id": 551, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 189, + "name": "useRainbowWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L4" + } + ], + "signatures": [ + { + "id": 190, + "name": "useRainbowWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L4" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 191, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L7" + } + ], + "signatures": [ + { + "id": 192, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L7" + } + ], + "parameters": [ + { + "id": 193, + "name": "connectOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 194, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 195, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", + "line": 7, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 195 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", + "line": 7, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L7" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/rainbow-wallet.ts", + "qualifiedName": "RainbowWallet" + }, + "name": "RainbowWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 1224, + "name": "useRemoveAdmin", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 187, + "character": 24 + } + ], + "signatures": [ + { + "id": 1225, + "name": "useRemoveAdmin", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Add an additional admin on the smart wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const {\n mutate: removeAdmin,\n isLoading,\n error,\n } = useRemoveAdmin();\n\n if (error) {\n console.error(\"failed to remove admin\", error);\n }\n\n return (\n removeAdmin(\"0x...\")}\n >\n Remove admin\n \n );\n};\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 187, + "character": 24 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/types.ts", + "qualifiedName": "TransactionResult" + }, + "name": "TransactionResult", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 540, + "name": "useResetClaimConditions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 190, + "character": 24 + } + ], + "signatures": [ + { + "id": 541, + "name": "useResetClaimConditions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Reset claim conditions" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: resetClaimConditions,\n isLoading,\n error,\n } = useResetClaimConditions(contract);\n\n if (error) {\n console.error(\"failed to reset claim conditions\", error);\n }\n\n return (\n \n Reset Claim Conditions\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to reset claim conditions" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 190, + "character": 24 + } + ], + "parameters": [ + { + "id": 542, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "DropContract", + "target": 1416, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 543, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 544, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 546, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 192, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 547, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 192, + "character": 10 + } + ], + "signatures": [ + { + "id": 548, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 545, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 191, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 546, + 545 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 190, + "character": 135 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 257, + "name": "useResolvedMediaType", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 528, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L528" + } + ], + "signatures": [ + { + "id": 258, + "name": "useResolvedMediaType", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "the fully resolved url + mime type of the media" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "text", + "text": "Usage with fully formed url:\n" + }, + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const resolved = useResolvedMediaType(\"https://example.com/video.mp4\");\n console.log(\"mime type\", resolved.data.mimeType);\n console.log(\"url\", resolved.data.url);\n return null;\n}\n```" + }, + { + "kind": "text", + "text": "\n\nUsage with ipfs cid:\n" + }, + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const resolved = useResolvedMediaType(\"ipfs://QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvsd\");\n console.log(\"mime type\", resolved.data.mimeType);\n console.log(\"url\", resolved.data.url);\n return null;\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 528, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L528" + } + ], + "parameters": [ + { + "id": 259, + "name": "uri", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the uri to resolve (can be a url or a ipfs://\\)" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 260, + "name": "mimeType", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 261, + "name": "gatewayUrl", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 262, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 264, + "name": "mimeType", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 559, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L559" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + }, + "defaultValue": "resolvedMimType.data" + }, + { + "id": 263, + "name": "url", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 558, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L558" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "resolvedUrl" + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 264, + 263 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", + "line": 557, + "character": 9, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L557" + } + ] + } + } + } + ] + }, + { + "id": 736, + "name": "useRevealLazyMint", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 216, + "character": 24 + } + ], + "signatures": [ + { + "id": 737, + "name": "useRevealLazyMint", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Reveal a batch of delayed reveal NFTs" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: revealLazyMint,\n isLoading,\n error,\n } = useRevealLazyMint(contract);\n\n if (error) {\n console.error(\"failed to reveal batch\", error);\n }\n\n return (\n revealLazyMint({ batchId: \"0\", password: \"my-password\" })}\n >\n Reveal batch!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to reveal a batch of delayed reveal NFTs" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Revealable | ERC1155Revealable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usereveallazymint?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 216, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 738, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1417, + "name": "RevealableContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 739, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "RevealableContract", + "target": 1417, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 740, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 742, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 218, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 743, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 218, + "character": 10 + } + ], + "signatures": [ + { + "id": 744, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 741, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 217, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 742, + 741 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 216, + "character": 140 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1423, + "name": "RevealLazyMintInput", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1146, + "name": "useRevokeRole", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 178, + "character": 24 + } + ], + "signatures": [ + { + "id": 1147, + "name": "useRevokeRole", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Revoke a role from a specific address" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: revokeRole,\n isLoading,\n error,\n } = useRevokeRole(contract);\n\n if (error) {\n console.error(\"failed to revoke role\", error);\n }\n\n return (\n revokeRole({ role: \"admin\", address: {{wallet_address}} })}\n >\n Revoke Role\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to revoke a role from a member on the contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Permissions | PermissionsEnumerable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.userevokerole?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 178, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1148, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1149, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1228, + "name": "useRevokeSessionKey", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 127, + "character": 24 + } + ], + "signatures": [ + { + "id": 1229, + "name": "useRevokeSessionKey", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Revoke a session key on the smart wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const {\n mutate: revokeSessionKey,\n isLoading,\n error,\n } = useRevokeSessionKey();\n\n if (error) {\n console.error(\"failed to revoke session key\", error);\n }\n\n return (\n revokeSessionKey(\"0x...\")}\n >\n Revoke Session Key\n \n );\n};\n```" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Account" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", + "line": 127, + "character": 24 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/types.ts", + "qualifiedName": "TransactionResult" + }, + "name": "TransactionResult", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1127, + "name": "useRoleMembers", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 51, + "character": 24 + } + ], + "signatures": [ + { + "id": 1128, + "name": "useRoleMembers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all members of a specific role" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst { data: members, isLoading, error } = useRoleMembers(SmartContract, \"admin\");\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a list of addresses that are members of the role" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Permissions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.userolemembers?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 51, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1129, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1130, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1131, + "name": "role", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the role to get the members of, see " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "Role", + "target": { + "sourceFileName": "../sdk/src/evm/common/role.ts", + "qualifiedName": "Role" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "RolesForContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RolesForContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 557, + "name": "useRoyaltySettings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 72, + "character": 24 + } + ], + "signatures": [ + { + "id": 558, + "name": "useRoyaltySettings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the royalty recipient and fee" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst { data: settings, isLoading, error } = useRoyaltySettings(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "an object containing recipient address and the royalty basis points" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Royalty" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useroyaltysettings?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 72, + "character": 24 + } + ], + "parameters": [ + { + "id": 559, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 560, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 562, + "name": "fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 74, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 561, + "name": "seller_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 73, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 562, + 561 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 72, + "character": 107 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1346, + "name": "useSDK", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSDK.d.ts", + "line": 17, + "character": 24 + } + ], + "signatures": [ + { + "id": 1347, + "name": "useSDK", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "ThirdwebSDK" + }, + { + "kind": "text", + "text": "\nAccess the instance of the thirdweb SDK created by the ThirdwebProvider\nto call methods using the connected wallet on the desiredChainId." + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst sdk = useSDK();\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSDK.d.ts", + "line": 17, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/core/sdk.ts", + "qualifiedName": "ThirdwebSDK" + }, + "name": "ThirdwebSDK", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 74, + "name": "useSafe", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/connectors/gnosis/useSafe.ts", + "line": 5, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/gnosis/useSafe.ts#L5" + } + ], + "signatures": [ + { + "id": 75, + "name": "useSafe", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/connectors/gnosis/useSafe.ts", + "line": 5, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/gnosis/useSafe.ts#L5" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 76, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/connectors/gnosis/useSafe.ts", + "line": 8, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/gnosis/useSafe.ts#L8" + } + ], + "signatures": [ + { + "id": 77, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/connectors/gnosis/useSafe.ts", + "line": 8, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/gnosis/useSafe.ts#L8" + } + ], + "parameters": [ + { + "id": 78, + "name": "connectProps", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/connectors/safe/types.ts", + "qualifiedName": "SafeConnectionArgs" + }, + "name": "SafeConnectionArgs", + "package": "@thirdweb-dev/wallets" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/safe.ts", + "qualifiedName": "SafeWallet" + }, + "name": "SafeWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 1138, + "name": "useSetAllRoleMembers", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 105, + "character": 24 + } + ], + "signatures": [ + { + "id": 1139, + "name": "useSetAllRoleMembers", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Overwrite the list of members for specific roles" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: overwriteRoles,\n isLoading,\n error,\n } = useSetAllRoleMembers(contract);\n\n if (error) {\n console.error(\"failed to overwrite roles\", error);\n }\n\n return (\n overwriteRoles({ rolesWithAddresses: { minter: [\"{{wallet_address}\"] } })}\n >\n Overwrite Roles\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to overwrite all roles on the contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Permissions" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", + "line": 105, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1140, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "ContractWithRoles" + }, + "name": "ContractWithRoles", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1141, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1330, + "name": "useSetAppURI", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 50, + "character": 24 + } + ], + "signatures": [ + { + "id": 1331, + "name": "useSetAppURI", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set App URI" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const {\n mutate: useSetAppURI,\n isLoading,\n error,\n } = useSetAppURI(contract);\n\n if (error) {\n console.error(\"failed to update appURI\", error);\n }\n\n return (\n useSetAppURI({ uri })}\n >\n Update App URI\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to update the appURI of a contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "AppUR" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 50, + "character": 24 + } + ], + "parameters": [ + { + "id": 1332, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1333, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1335, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 52, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1336, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 52, + "character": 10 + } + ], + "signatures": [ + { + "id": 1337, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1334, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 51, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1335, + 1334 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 50, + "character": 109 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 1338, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1339, + "name": "uri", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 54, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1339 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", + "line": 53, + "character": 21 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 534, + "name": "useSetClaimConditions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 154, + "character": 24 + } + ], + "signatures": [ + { + "id": 535, + "name": "useSetClaimConditions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set claim conditions" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: setClaimConditions,\n isLoading,\n error,\n } = useSetClaimConditions(contract);\n\n if (error) {\n console.error(\"failed to set claim conditions\", error);\n }\n\n return (\n setClaimConditions({ phases: [{ price: 2, maxClaimableSupply: 100 }] })}\n >\n Set Claim Conditions!\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to set claim conditions" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usesetclaimconditions?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 154, + "character": 24 + } + ], + "parameters": [ + { + "id": 536, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "DropContract", + "target": 1416, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1416, + "name": "DropContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 537, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 538, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 539, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 155, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 539 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", + "line": 154, + "character": 128 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 498, + "name": "SetClaimConditionsParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 356, + "name": "useSetConnectedWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 76, + "character": 24 + } + ], + "signatures": [ + { + "id": 357, + "name": "useSetConnectedWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a method to set a connected wallet instance" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 76, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 358, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 76, + "character": 49 + } + ], + "signatures": [ + { + "id": 359, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 360, + "name": "wallet", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 361, + "name": "params", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "ConnectParams", + "package": "@thirdweb-dev/wallets" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 351, + "name": "useSetConnectionStatus", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 61, + "character": 24 + } + ], + "signatures": [ + { + "id": 352, + "name": "useSetConnectionStatus", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a method to create an instance of given wallet class" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 61, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 353, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 61, + "character": 50 + } + ], + "signatures": [ + { + "id": 354, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 355, + "name": "status", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "unknown" + }, + { + "type": "literal", + "value": "connected" + }, + { + "type": "literal", + "value": "disconnected" + }, + { + "type": "literal", + "value": "connecting" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ] + }, + { + "id": 72, + "name": "useSetIsWalletModalOpen", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 83, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L83" + } + ], + "signatures": [ + { + "id": 73, + "name": "useSetIsWalletModalOpen", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", + "line": 83, + "character": 39, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L83" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", + "qualifiedName": "BoolSetter" + }, + "name": "BoolSetter", + "package": "@thirdweb-dev/react" + } + } + ] + }, + { + "id": 1109, + "name": "useSetSharedMetadata", + "variant": "declaration", + "kind": 64, + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 329, + "character": 24 + } + ], + "signatures": [ + { + "id": 1110, + "name": "useSetSharedMetadata", + "variant": "signature", + "kind": 4096, + "flags": { + "isPrivate": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set shared metadata\nTODO add docs" + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 329, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1111, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1112, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1113, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1115, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 331, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1116, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 331, + "character": 10 + } + ], + "signatures": [ + { + "id": 1117, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1114, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 330, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1115, + 1114 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 329, + "character": 136 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 1118, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1122, + "name": "animation_url", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 336, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1120, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 334, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 1121, + "name": "image", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 335, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1119, + "name": "name", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 333, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1122, + 1120, + 1121, + 1119 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 332, + "character": 21 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1106, + "name": "useSharedMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 127, + "character": 24 + } + ], + "signatures": [ + { + "id": 1107, + "name": "useSharedMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the shared metadata of an Open Edition NFT contract" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: sharedMetadata, isLoading, error } = useSharedMetadata(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the shared metadata of the contract" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721SharedMetadata" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usesharedmetadata?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 127, + "character": 24 + } + ], + "parameters": [ + { + "id": 1108, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "BasicNFTInput" + }, + "name": "BasicNFTInput", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1302, + "name": "useSignatureDrop", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useSignatureDrop.d.ts", + "line": 31, + "character": 24 + } + ], + "signatures": [ + { + "id": 1303, + "name": "useSignatureDrop", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of an " + }, + { + "kind": "code", + "text": "`SignatureDrop`" + }, + { + "kind": "text", + "text": " contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"signature-drop\")\n\n // Now you can use the Signature drop contract in the rest of the component\n\n // For example, this function will let the connected wallet claim a new NFT\n async function claim(quantity) {\n await contract.claim(quantity)\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const signatureDrop = useSignatureDrop(\"0x1234...\");\n+ const signatureDrop = useContract(\"0x1234...\", \"signature-drop\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useSignatureDrop.d.ts", + "line": 31, + "character": 24 + } + ], + "parameters": [ + { + "id": 1304, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the NFT Drop contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "SignatureDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 3, + "name": "useSmartWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useSmartWallet.ts", + "line": 7, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useSmartWallet.ts#L7" + } + ], + "signatures": [ + { + "id": 4, + "name": "useSmartWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useSmartWallet.ts", + "line": 7, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useSmartWallet.ts#L7" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useSmartWallet.ts", + "line": 10, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useSmartWallet.ts#L10" + } + ], + "signatures": [ + { + "id": 6, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useSmartWallet.ts", + "line": 10, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useSmartWallet.ts#L10" + } + ], + "parameters": [ + { + "id": 7, + "name": "wallet", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 8, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/connectors/smart-wallet/types.ts", + "qualifiedName": "SmartWalletConnectionArgs" + }, + "name": "SmartWalletConnectionArgs", + "package": "@thirdweb-dev/wallets" + }, + { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/smartWallet/types.ts", + "qualifiedName": "SmartWalletConfigOptions" + }, + "name": "SmartWalletConfigOptions", + "package": "@thirdweb-dev/react" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/smart-wallet.ts", + "qualifiedName": "SmartWallet" + }, + "name": "SmartWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 1296, + "name": "useSplit", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useSplit.d.ts", + "line": 32, + "character": 24 + } + ], + "signatures": [ + { + "id": 1297, + "name": "useSplit", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of a " + }, + { + "kind": "code", + "text": "`Split`" + }, + { + "kind": "text", + "text": " contract. This contract supports fund distribution to multiple parties." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"split\")\n\n // Now you can use the split contract in the rest of the component\n\n // For example, this function will return all the recipients of the split\n async function getRecipients() {\n const recipients = await contract.getAllRecipients()\n return recipients\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const split = useSplit(\"0x1234...\");\n+ const split = useContract(\"0x1234...\", \"split\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useSplit.d.ts", + "line": 32, + "character": 24 + } + ], + "parameters": [ + { + "id": 1298, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Split contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "Split", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1309, + "name": "useStorage", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/storage/index.d.ts", + "line": 7, + "character": 24 + } + ], + "signatures": [ + { + "id": 1310, + "name": "useStorage", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the configured " + }, + { + "kind": "code", + "text": "`ThirdwebStorage`" + }, + { + "kind": "text", + "text": " instance" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`storageInterface`" + }, + { + "kind": "text", + "text": " configured on the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usestorage?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/storage/index.d.ts", + "line": 7, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../storage/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "ThirdwebStorage", + "package": "@thirdweb-dev/storage" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1305, + "name": "useStorageUpload", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/storage/useStorageUpload.d.ts", + "line": 35, + "character": 24 + } + ], + "signatures": [ + { + "id": 1306, + "name": "useStorageUpload", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook used to upload any files or JSON data to decentralized storage systems like IPFS,\nusing the " + }, + { + "kind": "code", + "text": "`storageInterface`" + }, + { + "kind": "text", + "text": " configured on the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Function used to upload files or JSON to decentralized storage systems" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nimport { useStorageUpload } from \"@thirdweb-dev/react\";\n\nexport default function Component() {\n const { mutateAsync: upload, isLoading } = useStorageUpload();\n\n async function uploadData() {\n const filesToUpload = [...];\n const uris = await upload({ data: files });\n console.log(uris);\n }\n\n return (\n \n )\n}\n```" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usestorageupload?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/storage/useStorageUpload.d.ts", + "line": 35, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1307, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../storage/src/types/upload.ts", + "qualifiedName": "UploadOptions" + }, + "name": "UploadOptions", + "package": "@thirdweb-dev/storage" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../storage/src/types/upload.ts", + "qualifiedName": "IpfsUploadBatchOptions" + }, + "name": "IpfsUploadBatchOptions", + "package": "@thirdweb-dev/storage" + } + } + ], + "parameters": [ + { + "id": 1308, + "name": "uploadOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1321, + "name": "useSupportedChains", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSupportedChains.d.ts", + "line": 1, + "character": 24 + } + ], + "signatures": [ + { + "id": 1322, + "name": "useSupportedChains", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSupportedChains.d.ts", + "line": 1, + "character": 24 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../chains/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "Chain", + "package": "@thirdweb-dev/chains" + } + } + } + ] + }, + { + "id": 1323, + "name": "useSupportedWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSupportedWallet.d.ts", + "line": 1, + "character": 24 + } + ], + "signatures": [ + { + "id": 1324, + "name": "useSupportedWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSupportedWallet.d.ts", + "line": 1, + "character": 24 + } + ], + "parameters": [ + { + "id": 1325, + "name": "id", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/index.ts", + "qualifiedName": "" + }, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 1258, + "name": "useSwitchAccount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", + "line": 10, + "character": 24 + } + ], + "signatures": [ + { + "id": 1259, + "name": "useSwitchAccount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to switch the account of the active wallet" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "- A function to invoke to switch account." + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useswitchaccount?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", + "line": 10, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1260, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1262, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", + "line": 12, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1261, + "name": "switchAccount", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseMutateAsyncFunction", + "package": "@tanstack/react-query" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1262, + 1261 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", + "line": 10, + "character": 44 + } + ] + } + } + } + ] + }, + { + "id": 342, + "name": "useSwitchChain", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 71, + "character": 24 + } + ], + "signatures": [ + { + "id": 343, + "name": "useSwitchChain", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a method to connect the wallet to network/chain with given chainId" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 71, + "character": 24 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 344, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 71, + "character": 42 + } + ], + "signatures": [ + { + "id": 345, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "parameters": [ + { + "id": 346, + "name": "chain", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 455, + "name": "useThirdwebAuthContext", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 37, + "character": 24 + } + ], + "signatures": [ + { + "id": 456, + "name": "useThirdwebAuthContext", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", + "line": 37, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthContext" + }, + "name": "ThirdwebAuthContext", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 484, + "name": "useThirdwebConfigContext", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", + "line": 11, + "character": 24 + } + ], + "signatures": [ + { + "id": 485, + "name": "useThirdwebConfigContext", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", + "line": 11, + "character": 24 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", + "qualifiedName": "ThirdwebConfigContext" + }, + "name": "ThirdwebConfigContext", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 492, + "name": "useThirdwebConnectedWalletContext", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", + "line": 14, + "character": 24 + } + ], + "signatures": [ + { + "id": 493, + "name": "useThirdwebConnectedWalletContext", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", + "line": 14, + "character": 24 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", + "qualifiedName": "ThirdwebConnectedWalletContext" + }, + "name": "ThirdwebConnectedWalletContext", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 1287, + "name": "useToken", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useToken.d.ts", + "line": 32, + "character": 24 + } + ], + "signatures": [ + { + "id": 1288, + "name": "useToken", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of a " + }, + { + "kind": "code", + "text": "`Token`" + }, + { + "kind": "text", + "text": " contract. This contract supports ERC20 compliant tokens." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"token\")\n\n // Now you can use the token contract in the rest of the component\n\n // For example, this function will get the connected wallets token balance\n async function balance() {\n const balance = await contract.balance()\n return balance\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const token = useToken(\"0x1234...\");\n+ const token = useContract(\"0x1234...\", \"token\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useToken.d.ts", + "line": 32, + "character": 24 + } + ], + "parameters": [ + { + "id": 1289, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Token contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "Token", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1157, + "name": "useTokenBalance", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 43, + "character": 24 + } + ], + "signatures": [ + { + "id": 1158, + "name": "useTokenBalance", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get token balance for a specific wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: balance, isLoading, error } = useTokenBalance(contract, \"{{wallet_address}}\");\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the balance of the address" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usetokenbalance?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 43, + "character": 24 + } + ], + "parameters": [ + { + "id": 1159, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "TokenContract", + "target": 1389, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1389, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1160, + "name": "walletAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1161, + "name": "useTokenDecimals", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 64, + "character": 24 + } + ], + "signatures": [ + { + "id": 1162, + "name": "useTokenDecimals", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get token decimals" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: decimals, isLoading, error } = useTokenDecimals(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the decimals of the ERC20 token" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usetokendecimals?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 64, + "character": 24 + } + ], + "parameters": [ + { + "id": 1163, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "TokenContract", + "target": 1389, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1389, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1290, + "name": "useTokenDrop", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useTokenDrop.d.ts", + "line": 32, + "character": 24 + } + ], + "signatures": [ + { + "id": 1291, + "name": "useTokenDrop", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of a " + }, + { + "kind": "code", + "text": "`Token Drop`" + }, + { + "kind": "text", + "text": " contract." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"token-drop\")\n\n // Now you can use the token drop contract in the rest of the component\n\n // For example, this function will get the connected wallets token balance\n async function balance() {\n const balance = await contract.balance()\n return balance\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const token = useTokenDrop(\"0x1234...\");\n+ const token = useContract(\"0x1234...\", \"token-drop\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useTokenDrop.d.ts", + "line": 32, + "character": 24 + } + ], + "parameters": [ + { + "id": 1292, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Token Drop contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "TokenDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 1154, + "name": "useTokenSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 22, + "character": 24 + } + ], + "signatures": [ + { + "id": 1155, + "name": "useTokenSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the total supply for this token" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: totalSupply, isLoading, error } = useTokenSupply(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the total minted supply" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usetokensupply?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 22, + "character": 24 + } + ], + "parameters": [ + { + "id": 1156, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "TokenContract", + "target": 1389, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1389, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1057, + "name": "useTotalCirculatingSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 75, + "character": 24 + } + ], + "signatures": [ + { + "id": 1058, + "name": "useTotalCirculatingSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get total minted supply count" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { data: totalCirculatingSupply, isLoading, error } = useTotalCirculatingSupply(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the total minted supply" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Supply | ERC1155Enumerable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usetotalcirculatingsupply?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 75, + "character": 24 + } + ], + "parameters": [ + { + "id": 1059, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 1060, + "name": "tokenId", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "required for ERC1155, the tokenId to look up" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1053, + "name": "useTotalCount", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 58, + "character": 24 + } + ], + "signatures": [ + { + "id": 1054, + "name": "useTotalCount", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get total supply count" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { data: count, isLoading, error } = useTotalCount(contract);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the total count of NFTs" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721Supply | ERC1155Enumerable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usetotalcount?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 58, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1055, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1056, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumber" + }, + "name": "BigNumber", + "package": "@ethersproject/bignumber" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1188, + "name": "useTransferBatchToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 216, + "character": 24 + } + ], + "signatures": [ + { + "id": 1189, + "name": "useTransferBatchToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Airdrop tokens to a list of wallets" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: transferBatchTokens,\n isLoading,\n error,\n } = useTransferToken(contract);\n\n if (error) {\n console.error(\"failed to transfer batch tokens\", error);\n }\n\n return (\n transferBatchTokens([{ to: \"{{wallet_address}}\", amount: 1000 }, { to: \"{{wallet_address}}\", amount: 2000 }])}\n >\n Airdrop\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to transfer batch tokens" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usetransferbatchtoken?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 216, + "character": 24 + } + ], + "parameters": [ + { + "id": 1190, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "TokenContract", + "target": 1389, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1389, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1191, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1193, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 218, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1194, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 218, + "character": 10 + } + ], + "signatures": [ + { + "id": 1195, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1192, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 217, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1193, + 1192 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 216, + "character": 110 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": 1381, + "name": "TokenParams", + "package": "@thirdweb-dev/react-core" + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1080, + "name": "useTransferNFT", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 238, + "character": 24 + } + ], + "signatures": [ + { + "id": 1081, + "name": "useTransferNFT", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Transfer an NFT" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: transferNFT,\n isLoading,\n error,\n } = useTransferNFT(contract);\n\n if (error) {\n console.error(\"failed to transfer NFT\", error);\n }\n\n return (\n transferNFT({\n to: \"{{wallet_address}}\",\n tokenId: 2\n })}\n >\n Transfer\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to transfer NFTs" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721 | ERC1155" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usetransfernft?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 238, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1082, + "name": "TContract", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": 1388, + "name": "NFTContract", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 1083, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "NFTContract", + "target": 1388, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TContract", + "refersToTypeParameter": true + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1084, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1086, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 240, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1087, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 240, + "character": 10 + } + ], + "signatures": [ + { + "id": 1088, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1085, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 239, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1086, + 1085 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", + "line": 238, + "character": 130 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1391, + "name": "TransferNFTParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1180, + "name": "useTransferToken", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 178, + "character": 24 + } + ], + "signatures": [ + { + "id": 1181, + "name": "useTransferToken", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Transfer tokens to a specific wallet" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: transferTokens,\n isLoading,\n error,\n } = useTransferToken(contract);\n\n if (error) {\n console.error(\"failed to transfer tokens\", error);\n }\n\n return (\n transferTokens({ to: \"{{wallet_address}}\", amount: 1000 })}\n >\n Transfer\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to transfer tokens" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC20" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usetransfertoken?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 178, + "character": 24 + } + ], + "parameters": [ + { + "id": 1182, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "TokenContract", + "target": 1389, + "tsLinkText": "" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": 1389, + "name": "TokenContract", + "package": "@thirdweb-dev/react-core" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 1183, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1185, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 180, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1186, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 180, + "character": 10 + } + ], + "signatures": [ + { + "id": 1187, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 1184, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 179, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1185, + 1184 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", + "line": 178, + "character": 105 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": 1381, + "name": "TokenParams", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 196, + "name": "useTrustWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L4" + } + ], + "signatures": [ + { + "id": 197, + "name": "useTrustWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", + "line": 4, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L4" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 198, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L7" + } + ], + "signatures": [ + { + "id": 199, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", + "line": 7, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L7" + } + ], + "parameters": [ + { + "id": 200, + "name": "connectOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 201, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 202, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", + "line": 7, + "character": 30, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 202 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", + "line": 7, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L7" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/trust.ts", + "qualifiedName": "TrustWallet" + }, + "name": "TrustWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 706, + "name": "useUnclaimedNFTSupply", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 53, + "character": 24 + } + ], + "signatures": [ + { + "id": 707, + "name": "useUnclaimedNFTSupply", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the number of NFTs that are unclaimed" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useunclaimednftsupply?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 53, + "character": 24 + } + ], + "parameters": [ + { + "id": 708, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", + "qualifiedName": "SmartContract" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", + "qualifiedName": "BaseContract" + }, + "name": "BaseContract", + "package": "@ethersproject/contracts" + } + ], + "name": "SmartContract", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", + "qualifiedName": "NFTDrop" + }, + "name": "NFTDrop", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/signature-drop.ts", + "qualifiedName": "SignatureDrop" + }, + "name": "SignatureDrop", + "package": "@thirdweb-dev/sdk" + } + ] + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/ethers@5.7.2/node_modules/ethers/src.ts/index.ts", + "qualifiedName": "" + }, + "name": "BigNumber", + "package": "ethers" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 696, + "name": "useUnclaimedNFTs", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 27, + "character": 24 + } + ], + "signatures": [ + { + "id": 697, + "name": "useUnclaimedNFTs", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all unclaimed NFTs" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: unclaimedNfts, isLoading, error } = useUnclaimedNFTs(contract, { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of NFTs that are unclaimed" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "ERC721LazyMintable" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useunclaimednfts?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", + "line": 27, + "character": 24 + } + ], + "parameters": [ + { + "id": 698, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", + "qualifiedName": "NFTDrop" + }, + "name": "NFTDrop", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 699, + "name": "queryParams", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "query params to pass to the query for the sake of pagination" + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 700, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/sdk/dist/declarations/src/core/schema/QueryParams.d.ts", + "line": 12, + "character": 3 + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseQueryResult" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "NFT" + }, + "name": "NFT", + "package": "@thirdweb-dev/sdk" + } + } + ], + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 597, + "name": "useUpdateMetadata", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 227, + "character": 24 + } + ], + "signatures": [ + { + "id": 598, + "name": "useUpdateMetadata", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the metadata of this contract" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updateMetadata,\n isLoading,\n error,\n } = useUpdateMetadata(contract);\n\n if (error) {\n console.error(\"failed to update metadata\", error);\n }\n\n return (\n updateMetadata({\n name: \"My Contract\",\n description: \"This is my contract\"\n })}\n >\n Update Contract Metadata\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to update the metadata" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useupdatemetadata?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 227, + "character": 24 + } + ], + "parameters": [ + { + "id": 599, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + }, + { + "type": "intrinsic", + "name": "any" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 583, + "name": "useUpdatePlatformFees", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 171, + "character": 24 + } + ], + "signatures": [ + { + "id": 584, + "name": "useUpdatePlatformFees", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the platform fee recipient and basis points" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updatePlatformFees,\n isLoading,\n error,\n } = useUpdatePlatformFees(contract);\n\n if (error) {\n console.error(\"failed to update platform fees\", error);\n }\n\n return (\n updatePlatformFees({ updatePayload: { fee_recipient: \"{{wallet_address}}\", platform_fee_basis_points: 5_00 } })}\n >\n Update Platform fees\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to update the platform fees settings" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PlatformFee" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useupdateplatformfees?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 171, + "character": 24 + } + ], + "parameters": [ + { + "id": 585, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 586, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 588, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 173, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 589, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 173, + "character": 10 + } + ], + "signatures": [ + { + "id": 590, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 587, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 172, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 588, + 587 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 171, + "character": 118 + } + ] + } + }, + { + "type": "literal", + "value": "data" + } + ], + "name": "Omit", + "package": "typescript" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 591, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 593, + "name": "fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 176, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 592, + "name": "platform_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 175, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 593, + 592 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 174, + "character": 21 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 552, + "name": "useUpdatePrimarySaleRecipient", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 55, + "character": 24 + } + ], + "signatures": [ + { + "id": 553, + "name": "useUpdatePrimarySaleRecipient", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the primary sale recipient" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updatePrimarySalesRecipient,\n isLoading,\n error,\n } = useUpdatePrimarySaleRecipient(contract);\n\n if (error) {\n console.error(\"failed to update recipient\", error);\n }\n\n return (\n updatePrimarySalesRecipient({ newRecipient: \"{{wallet_address}}\" })}\n >\n Update Recipient\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to update the primary sales recipient" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "PrimarySale" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useupdateprimarysalerecipient?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 55, + "character": 24 + } + ], + "parameters": [ + { + "id": 554, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 555, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 556, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 56, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 556 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 55, + "character": 121 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 563, + "name": "useUpdateRoyaltySettings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 110, + "character": 24 + } + ], + "signatures": [ + { + "id": 564, + "name": "useUpdateRoyaltySettings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set the royalty recipient and fee" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updateRoyaltySettings,\n isLoading,\n error,\n } = useUpdateRoyaltySettings(contract);\n\n if (error) {\n console.error(\"failed to update royalty settings\", error);\n }\n\n return (\n updateRoyaltySettings({ updatePayload: { fee_recipient: \"{{wallet_address}}\", seller_fee_basis_points: 5_00 } })}\n >\n Update Royalty Settings\n \n );\n};\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a mutation object that can be used to update the royalty settings" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "Royalty" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useupdateroyaltysettings?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 110, + "character": 24 + } + ], + "parameters": [ + { + "id": 565, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "SmartContract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/index.ts", + "qualifiedName": "ValidContractInstance" + }, + "name": "ValidContractInstance", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", + "qualifiedName": "UseMutationResult" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 566, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 568, + "name": "data", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 112, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 569, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 112, + "character": 10 + } + ], + "signatures": [ + { + "id": 570, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 571, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 573, + "name": "fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 114, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 572, + "name": "seller_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 113, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 573, + 572 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 112, + "character": 24 + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 567, + "name": "receipt", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 111, + "character": 4 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", + "qualifiedName": "TransactionReceipt" + }, + "name": "providers.TransactionReceipt", + "package": "@ethersproject/abstract-provider", + "qualifiedName": "TransactionReceipt" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 568, + 567 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 110, + "character": 116 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reflection", + "declaration": { + "id": 574, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 576, + "name": "fee_recipient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 118, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 575, + "name": "seller_fee_basis_points", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 117, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 576, + 575 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", + "line": 116, + "character": 12 + } + ] + } + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "UseMutationResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1248, + "name": "useUser", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", + "line": 14, + "character": 24 + } + ], + "signatures": [ + { + "id": 1249, + "name": "useUser", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook to get the currently logged in user." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "- The currently logged in user or null if not logged in, as well as a loading state." + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.useuser?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", + "line": 14, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 1250, + "name": "TData", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "Json" + }, + "name": "Json", + "package": "@thirdweb-dev/auth" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "Json" + }, + "name": "Json", + "package": "@thirdweb-dev/auth" + } + }, + { + "id": 1251, + "name": "TContext", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "Json" + }, + "name": "Json", + "package": "@thirdweb-dev/auth" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "Json" + }, + "name": "Json", + "package": "@thirdweb-dev/auth" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1252, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 1255, + "name": "isLoading", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1254, + "name": "isLoggedIn", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", + "line": 16, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 1253, + "name": "user", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 1263, + "typeArguments": [ + { + "type": "reference", + "target": -1, + "name": "TData", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": -1, + "name": "TContext", + "refersToTypeParameter": true + } + ], + "name": "UserWithData", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 1255, + 1254, + 1253 + ] + } + ], + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", + "line": 14, + "character": 92 + } + ] + } + } + } + ] + }, + { + "id": 765, + "name": "useValidDirectListings", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 102, + "character": 24 + } + ], + "signatures": [ + { + "id": 766, + "name": "useValidDirectListings", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all valid direct listings" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: validDirectListings, isLoading, error } = useValidDirectListings(contract, { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of direct listings" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "DirectListings" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usevaliddirectlistings?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 102, + "character": 24 + } + ], + "parameters": [ + { + "id": 767, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 768, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "filter to pass to the query for the sake of pagination & filtering" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", + "qualifiedName": "MarketplaceFilter" + }, + "name": "MarketplaceFilter", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 773, + "name": "useValidEnglishAuctions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 132, + "character": 24 + } + ], + "signatures": [ + { + "id": 774, + "name": "useValidEnglishAuctions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get all valid english auctions" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst { data: validEnglishAuctions, isLoading, error } = useValidEnglishAuctions(contract, { start: 0, count: 100 });\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes an array of english auctions" + } + ] + }, + { + "tag": "@twfeature", + "content": [ + { + "kind": "text", + "text": "EnglishAuctions" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usevalidenglishauctions?utm_source=sdk" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 132, + "character": 24 + } + ], + "parameters": [ + { + "id": 775, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace v3 contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", + "qualifiedName": "MarketplaceV3" + }, + "name": "MarketplaceV3", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 776, + "name": "filter", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "filter to pass to the query for the sake of pagination & filtering" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", + "qualifiedName": "MarketplaceFilter" + }, + "name": "MarketplaceFilter", + "package": "@thirdweb-dev/sdk" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 1293, + "name": "useVote", + "variant": "declaration", + "kind": 64, + "flags": { + "isPublic": true + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useVote.d.ts", + "line": 32, + "character": 24 + } + ], + "signatures": [ + { + "id": 1294, + "name": "useVote", + "variant": "signature", + "kind": 4096, + "flags": { + "isPublic": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook for getting an instance of an " + }, + { + "kind": "code", + "text": "`Vote`" + }, + { + "kind": "text", + "text": " contract. This contract enables fully featured voting-based decentralized governance systems." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"vote\")\n\n // Now you can use the vote contract in the rest of the component\n\n // For example, this function will get all the proposals on this contract\n async function getProposals() {\n const proposals = await contract.getAll()\n return proposals\n }\n\n ...\n}\n```" + } + ] + }, + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "This hook is deprecated and will be removed in a future major version. You should use " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "useContract", + "target": 624 + }, + { + "kind": "text", + "text": " instead.\n" + }, + { + "kind": "code", + "text": "```diff\n- const vote = useVote(\"0x1234...\");\n+ const vote = useContract(\"0x1234...\", \"vote\").contract;\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useVote.d.ts", + "line": 32, + "character": 24 + } + ], + "parameters": [ + { + "id": 1295, + "name": "contractAddress", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the address of the Vote contract, found in your thirdweb dashboard" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", + "qualifiedName": "" + }, + "name": "Vote", + "package": "@thirdweb-dev/sdk" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 319, + "name": "useWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 24, + "character": 24 + }, + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 25, + "character": 24 + } + ], + "signatures": [ + { + "id": 320, + "name": "useWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "the current active wallet instance" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 24, + "character": 24 + } + ], + "typeParameter": [ + { + "id": 321, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "WalletId" + }, + "name": "WalletId", + "package": "@thirdweb-dev/react-core" + } + } + ], + "parameters": [ + { + "id": 322, + "name": "walletId", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": -1, + "name": "T", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "WalletIdToWalletTypeMap" + }, + "name": "WalletIdToWalletTypeMap", + "package": "@thirdweb-dev/react-core" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + }, + { + "id": 323, + "name": "useWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 25, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": 450, + "name": "WalletInstance", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 349, + "name": "useWalletConfig", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 29, + "character": 24 + } + ], + "signatures": [ + { + "id": 350, + "name": "useWalletConfig", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "the current active wallet's configuration object" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 29, + "character": 24 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "" + }, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + }, + { + "id": 241, + "name": "useWalletConnect", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 18, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L18" + } + ], + "signatures": [ + { + "id": 242, + "name": "useWalletConnect", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 18, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L18" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 243, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 21, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L21" + } + ], + "signatures": [ + { + "id": 244, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 21, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L21" + } + ], + "parameters": [ + { + "id": 245, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 246, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 247, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 22, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L22" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 248, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 23, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L23" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 249, + "name": "qrModalOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 24, + "character": 6, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L24" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../wallets/dist/declarations/src/evm/connectors/wallet-connect/qrModalOptions.d.ts", + "qualifiedName": "QRModalOptions" + }, + "name": "QRModalOptions", + "package": "@thirdweb-dev/wallets" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 247, + 248, + 249 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 21, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L21" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", + "qualifiedName": "WalletConnect" + }, + "name": "WalletConnect", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 250, + "name": "useWalletConnectV1", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 5, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L5" + } + ], + "signatures": [ + { + "id": 251, + "name": "useWalletConnectV1", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 5, + "character": 16, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L5" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 252, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 8, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L8" + } + ], + "signatures": [ + { + "id": 253, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 8, + "character": 4, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L8" + } + ], + "parameters": [ + { + "id": 254, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 255, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 256, + "name": "chainId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 8, + "character": 23, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L8" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 256 + ] + } + ], + "sources": [ + { + "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", + "line": 8, + "character": 21, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L8" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", + "qualifiedName": "WalletConnect" + }, + "name": "WalletConnect", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ] + }, + { + "id": 364, + "name": "useWalletContext", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-wallet-provider.d.ts", + "line": 53, + "character": 24 + } + ], + "signatures": [ + { + "id": 365, + "name": "useWalletContext", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-wallet-provider.d.ts", + "line": 53, + "character": 24 + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "ThirdwebWalletContextData" + }, + "name": "ThirdwebWalletContextData", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 347, + "name": "useWallets", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 34, + "character": 24 + } + ], + "signatures": [ + { + "id": 348, + "name": "useWallets", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "code", + "text": "`supportedWallets`" + }, + { + "kind": "text", + "text": " configured in the " + }, + { + "kind": "code", + "text": "``" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", + "line": 34, + "character": 24 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "" + }, + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + } + ] + }, + { + "id": 1481, + "name": "useWatchTransactions", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", + "line": 23, + "character": 24 + } + ], + "signatures": [ + { + "id": 1482, + "name": "useWatchTransactions", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook that listens to transactions on a given chain for a given address.\n\n" + }, + { + "kind": "code", + "text": "```javascript\nimport { useWatchTransactions } from \"@thirdweb-dev/react\"\n```" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```js\nconst transactions = useWatchTransactions({\n address: \"0x1234\",\n network: \"ethereum\",\n});\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "an array of " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "Transaction", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+transactions@5.7.0/node_modules/@ethersproject/transactions/src.ts/index.ts", + "qualifiedName": "Transaction" + }, + "tsLinkText": "" + }, + { + "kind": "text", + "text": " objects" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", + "line": 23, + "character": 24 + } + ], + "parameters": [ + { + "id": 1483, + "name": "watchTransactionParams", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 1484, + "name": "UseWatchTransactionsParams", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+transactions@5.7.0/node_modules/@ethersproject/transactions/src.ts/index.ts", + "qualifiedName": "Transaction" + }, + "name": "Transaction", + "package": "@ethersproject/transactions" + } + } + } + ] + }, + { + "id": 790, + "name": "useWinningBid", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 205, + "character": 24 + } + ], + "signatures": [ + { + "id": 791, + "name": "useWinningBid", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get the winning bid for an auction" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```javascript\nconst listingId = 0;\nconst { data: winningBid, isLoading, error } = useWinningBid(contract, listingId);\n```" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "a response object that includes the " + }, + { + "kind": "inline-tag", + "tag": "@link", + "text": "Offer" + }, + { + "kind": "text", + "text": " that is winning the auction" + } + ] + }, + { + "tag": "@see", + "content": [ + { + "kind": "inline-tag", + "tag": "@link", + "text": "Documentation", + "target": "https://portal.thirdweb.com/react/react.usewinningbid?utm_source=sdk" + } + ] + } + ], + "modifierTags": [ + "@beta" + ] + }, + "sources": [ + { + "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", + "line": 205, + "character": 24 + } + ], + "parameters": [ + { + "id": 792, + "name": "contract", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "an instance of a marketplace contract" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", + "qualifiedName": "Marketplace" + }, + "name": "Marketplace", + "package": "@thirdweb-dev/sdk" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + }, + { + "id": 793, + "name": "listingId", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "the listing id to check" + } + ] + }, + "type": { + "type": "reference", + "target": 383, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", + "qualifiedName": "BigNumberish" + }, + "name": "BigNumberish", + "package": "@ethersproject/bignumber" + } + ], + "name": "RequiredParam", + "package": "@thirdweb-dev/react-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", + "qualifiedName": "" + }, + "name": "UseQueryResult", + "package": "@tanstack/react-query" + } + } + ] + }, + { + "id": 53, + "name": "walletConnect", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 32, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L32" + } + ], + "signatures": [ + { + "id": 54, + "name": "walletConnect", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 32, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L32" + } + ], + "parameters": [ + { + "id": 55, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", + "qualifiedName": "walletConnectConfig" + }, + "name": "walletConnectConfig", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", + "qualifiedName": "WalletConnect" + }, + "name": "WalletConnect", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 56, + "name": "walletConnectV1", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnectV1.tsx", + "line": 9, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/walletConnectV1.tsx#L9" + } + ], + "signatures": [ + { + "id": 57, + "name": "walletConnectV1", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`walletConnect`" + }, + { + "kind": "text", + "text": " instead\n\nThe WalletConnect v1.0 protocol has been shut down and no longer works.\nTo avoid breaking change, " + }, + { + "kind": "code", + "text": "`walletConnectV1`" + }, + { + "kind": "text", + "text": " is still available but is an alias of " + }, + { + "kind": "code", + "text": "`walletConnect`" + }, + { + "kind": "text", + "text": "." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", + "line": 32, + "character": 29, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L32" + } + ], + "parameters": [ + { + "id": 58, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", + "qualifiedName": "walletConnectConfig" + }, + "name": "walletConnectConfig", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", + "qualifiedName": "WalletConnect" + }, + "name": "WalletConnect", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + }, + { + "id": 59, + "name": "zerionWallet", + "variant": "declaration", + "kind": 64, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/zerion/zerionWallet.tsx", + "line": 22, + "character": 13, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/zerion/zerionWallet.tsx#L22" + } + ], + "signatures": [ + { + "id": 60, + "name": "zerionWallet", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/react/src/wallet/wallets/zerion/zerionWallet.tsx", + "line": 22, + "character": 28, + "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/zerion/zerionWallet.tsx#L22" + } + ], + "parameters": [ + { + "id": 61, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "src/wallet/wallets/zerion/zerionWallet.tsx", + "qualifiedName": "ZerionkWalletOptions" + }, + "name": "ZerionkWalletOptions", + "package": "@thirdweb-dev/react" + } + } + ], + "type": { + "type": "reference", + "target": 385, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../wallets/src/evm/wallets/zerion.ts", + "qualifiedName": "ZerionWallet" + }, + "name": "ZerionWallet", + "package": "@thirdweb-dev/wallets" + } + ], + "name": "WalletConfig", + "package": "@thirdweb-dev/react-core" + } + } + ] + } + ], + "groups": [ + { + "title": "Interfaces", + "children": [ + 467, + 169, + 268, + 463, + 271, + 297, + 1350, + 1263 + ] + }, + { + "title": "Type Aliases", + "children": [ + 1443, + 1396, + 1412, + 1450, + 1369, + 494, + 1427, + 1433, + 1460, + 403, + 88, + 1418, + 1416, + 1390, + 1447, + 451, + 1434, + 1438, + 1405, + 1410, + 1400, + 1388, + 130, + 383, + 1423, + 1417, + 432, + 498, + 68, + 69, + 1385, + 1389, + 1381, + 1391, + 692, + 1484, + 1380, + 443, + 385, + 450, + 454 + ] + }, + { + "title": "Variables", + "children": [ + 292, + 318, + 615, + 603, + 1, + 2 + ] + }, + { + "title": "Functions", + "children": [ + 119, + 84, + 265, + 126, + 457, + 478, + 486, + 282, + 148, + 293, + 1342, + 285, + 9, + 12, + 62, + 15, + 18, + 1472, + 1478, + 1475, + 1465, + 65, + 21, + 24, + 29, + 32, + 35, + 38, + 289, + 41, + 379, + 46, + 50, + 878, + 1230, + 1233, + 1219, + 1209, + 1215, + 375, + 502, + 529, + 786, + 1222, + 371, + 1089, + 1123, + 1326, + 798, + 1256, + 366, + 712, + 802, + 224, + 1097, + 1196, + 1034, + 1026, + 846, + 854, + 838, + 377, + 373, + 519, + 524, + 716, + 1172, + 709, + 701, + 507, + 210, + 612, + 324, + 330, + 624, + 655, + 637, + 641, + 663, + 600, + 675, + 1212, + 823, + 810, + 1226, + 332, + 728, + 749, + 761, + 780, + 338, + 1340, + 1272, + 1269, + 753, + 794, + 769, + 783, + 886, + 217, + 1142, + 182, + 1204, + 1132, + 70, + 720, + 745, + 757, + 777, + 1236, + 1243, + 79, + 862, + 870, + 1278, + 594, + 203, + 806, + 1073, + 1077, + 1164, + 1299, + 1042, + 1068, + 1281, + 1275, + 1047, + 362, + 1311, + 894, + 1061, + 1284, + 233, + 231, + 577, + 549, + 189, + 1224, + 540, + 257, + 736, + 1146, + 1228, + 1127, + 557, + 1346, + 74, + 1138, + 1330, + 534, + 356, + 351, + 72, + 1109, + 1106, + 1302, + 3, + 1296, + 1309, + 1305, + 1321, + 1323, + 1258, + 342, + 455, + 484, + 492, + 1287, + 1157, + 1161, + 1290, + 1154, + 1057, + 1053, + 1188, + 1080, + 1180, + 196, + 706, + 696, + 597, + 583, + 552, + 563, + 1248, + 765, + 773, + 1293, + 319, + 349, + 241, + 250, + 364, + 347, + 1481, + 790, + 53, + 56, + 59 + ] + } + ], + "packageName": "@thirdweb-dev/react", + "readme": [ + { + "kind": "text", + "text": "

\n
\n\"\"/\n
\n

\n

thirdweb React SDK

\n

\n\"npm\n\"Build\n\"Join\n\n

\n

Ultimate collection of React hooks for your web3 apps

\n
\n\n
\n\n## Installation\n\nThe easiest way to get started with the React SDK is to use the CLI:\n\n" + }, + { + "kind": "code", + "text": "```sh\nnpx thirdweb create --app\n```" + }, + { + "kind": "text", + "text": "\n\nAlternatively, you can install the SDK into your existing project using npm or yarn:\n\n" + }, + { + "kind": "code", + "text": "```sh\nnpm install @thirdweb-dev/react @thirdweb-dev/sdk ethers@5\n```" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```sh\nyarn add @thirdweb-dev/react @thirdweb-dev/sdk ethers@5\n```" + }, + { + "kind": "text", + "text": "\n\n
\n\n## Getting Started\n\nOur SDK uses a [Provider Pattern](https://flexiple.com/react/provider-pattern-with-react-context-api/); meaning any component within the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " will have access to the SDK. If you use the CLI to initialize your project, this is already set up for you.\n\nLet's take a look at a typical setup:\n\n
\n\n### Configure the " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": "\n\nSpecify the network your smart contracts are deployed to in the " + }, + { + "kind": "code", + "text": "`desiredChainId`" + }, + { + "kind": "text", + "text": " prop and wrap your application like so:\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"App.jsx\"\nimport { ChainId, ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n \n \n \n );\n};\n```" + }, + { + "kind": "text", + "text": "\n\nBelow are examples of where to set this up in your application:\n\n

\n Create React App •\n Next.js •\n Vite\n

\n\n
\n\n### Connect to a User's Wallet\n\nNow the provider is set up, we can use all of the hooks and UI components available in the SDK, such as the [ConnectWallet](https://portal.thirdweb.com/ui-components/connectwalletbutton) component.\n\nOnce the user has connected their wallet, all the calls we make to interact with contracts using the SDK will be on behalf of the user.\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"ConnectMetamaskButton.jsx\"\nimport { ConnectWallet, useAddress } from \"@thirdweb-dev/react\";\n\nexport const YourApp = () => {\n const address = useAddress();\n return (\n
\n \n
\n );\n};\n```" + }, + { + "kind": "text", + "text": "\n\nThe " + }, + { + "kind": "code", + "text": "`ConnectWallet`" + }, + { + "kind": "text", + "text": " component handles everything for us, including switching networks, accounts, displaying balances and more.\n\nWe can then get the connected address using the " + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": " hook anywhere in the app.\n\n
\n\n### Interact With Contracts\n\nConnect to your smart contract using the [" + }, + { + "kind": "code", + "text": "`useContract`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/sdk/interacting-with-contracts/custom-contracts/getting-a-contract#connect-to-a-contract)\nhook like so:\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"pages/index.jsx\"\nimport { useContract } from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n\n // Now you can use the contract in the rest of the component!\n}\n```" + }, + { + "kind": "text", + "text": "\n\nYou can then use [" + }, + { + "kind": "code", + "text": "`useContractRead`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/sdk/interacting-with-contracts/custom-contracts/using-contracts) and [" + }, + { + "kind": "code", + "text": "`useContractWrite`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/sdk/interacting-with-contracts/custom-contracts/using-contracts) to read data and write transactions to the contract.\n\nYou pass the " + }, + { + "kind": "code", + "text": "`contract`" + }, + { + "kind": "text", + "text": " object returned from " + }, + { + "kind": "code", + "text": "`useContract`" + }, + { + "kind": "text", + "text": " to these hooks as the first parameter and the name of the function (or view/mapping, etc.) on your smart contract as the second parameter. If your function requires parameters, you can pass them as additional arguments.\n\nFor example, we can read the " + }, + { + "kind": "code", + "text": "`name`" + }, + { + "kind": "text", + "text": " of our contract like so:\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"pages/index.jsx\"\nimport {\n useContract,\n useContractRead,\n useContractWrite,\n} from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n const { data: name, isLoading: loadingName } = useContractRead(\n contract,\n \"name\", // The name of the view/mapping/variable on your contract\n );\n const { mutate: setName, isLoading: settingName } = useContractWrite(\n contract,\n \"setName\", // The name of the function on your contract\n );\n}\n```" + }, + { + "kind": "text", + "text": "\n\n
\n\n### Using Extensions\n\nEach [extension](https://portal.thirdweb.com/extensions) you implement in your smart contract unlocks new functionality in the SDK.\n\nThese hooks make it easy to interact with your smart contracts by implementing the complex logic for you under the hood.\n\nFor example, if your smart contract implements [ERC721Supply](https://portal.thirdweb.com/solidity/extensions/erc721supply), you unlock the ability to [view all NFTs](https://portal.thirdweb.com/sdk/interacting-with-contracts/erc721supply#get-all-minted-nfts) on that contract using the SDK; which fetches all of your NFT metadata and the current owner of each NFT in parallel. In the React SDK, that is available using " + }, + { + "kind": "code", + "text": "`useNFTs`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useNFTs } from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);\n}\n```" + }, + { + "kind": "text", + "text": "\n\nIf we want to mint an NFT and our contract implements [ERC721Mintable](https://portal.thirdweb.com/solidity/extensions/erc721mintable), we can use the [" + }, + { + "kind": "code", + "text": "`useMintNFT`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/sdk/interacting-with-contracts/erc721mintable) hook to mint an NFT from the connected wallet; handling all of the logic of uploading and pinning the metadata to IPFS for us behind the scenes.\n\n" + }, + { + "kind": "code", + "text": "```jsx\nimport { useContract, useNFTs, useMintNFT } from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);\n const { mutate: mintNFT, isLoading: isMintingNFT } = useMintNFT(contract);\n}\n```" + }, + { + "kind": "text", + "text": "\n\n
\n\n### UI Components\n\nThe SDK provides many UI components to help you build your application.\n\nFor example, we can render each of the NFTs using the [" + }, + { + "kind": "code", + "text": "`NFT Media Renderer`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/ui-components/nft-renderer)\ncomponent, making use of the loading state from " + }, + { + "kind": "code", + "text": "`useNFTs`" + }, + { + "kind": "text", + "text": ":\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"pages/index.jsx\"\nimport { useContract, useNFTs, ThirdwebNftMedia } from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);\n\n return (\n
\n

My NFTs

\n {isReadingNfts ? (\n

Loading...

\n ) : (\n
\n {nfts.map((nft) => (\n \n ))}\n
\n )}\n
\n );\n}\n```" + }, + { + "kind": "text", + "text": "\n\nThe [" + }, + { + "kind": "code", + "text": "`Web3Button`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/ui-components/web3button) component ensures the user has connected their wallet and is currently configured to the same network as your smart contract before calling the function. It also has access to the " + }, + { + "kind": "code", + "text": "`contract`" + }, + { + "kind": "text", + "text": " directly, allowing you to perform any action on your smart contract when the button is clicked.\n\nFor example, we can mint an NFT like so:\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"pages/index.jsx\"\nimport {\n useContract,\n useNFTs,\n ThirdwebNftMedia,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nconst contractAddress = \"\";\nexport default function Home() {\n const { contract } = useContract(contractAddress);\n const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);\n\n return (\n
\n {/* ... Existing Display Logic here ... */}\n\n \n contract.erc721.mint({\n name: \"Hello world!\",\n image:\n // You can use a file or URL here!\n \"ipfs://QmZbovNXznTHpYn2oqgCFQYP4ZCpKDquenv5rFCX8irseo/0.png\",\n })\n }\n >\n Mint NFT\n \n
\n );\n}\n```" + }, + { + "kind": "text", + "text": "\n\n
\n\n## Advanced Configuration\n\nThe " + }, + { + "kind": "code", + "text": "`ThirdwebProvider`" + }, + { + "kind": "text", + "text": " offers a number of configuration options to control the behavior of the React and Typescript SDK.\n\nThese are all the configuration options of the " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": ".\nWe provide defaults for all of these, but you customize them to suit your needs.\n\n" + }, + { + "kind": "code", + "text": "```jsx title=\"App.jsx\"\nimport { ChainId, IpfsStorage, ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst KitchenSinkExample = () => {\n return (\n \n \n \n );\n};\n```" + }, + { + "kind": "text", + "text": "\n\n## Available hooks\n\n### Main hooks\n\n| Hook | Description |\n| ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------- |\n| [" + }, + { + "kind": "code", + "text": "`useSDK`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usesdk) | Access the instance of the thirdweb SDK created by the ThirdwebProvider. |\n| [" + }, + { + "kind": "code", + "text": "`useContract`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecontract) | Use this resolve a contract address to a smart contract instance. |\n| [" + }, + { + "kind": "code", + "text": "`useContractWrite`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecontractwrite) | Use this to get data from a contract read-function call. |\n| [" + }, + { + "kind": "code", + "text": "`useContractRead`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecontractread) | Use this to get a function to make a write call to your contract. |\n| [" + }, + { + "kind": "code", + "text": "`useContractEvents`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecontractevents) | Use this to get the contract metadata for a (built-in or custom) contract. |\n| [" + }, + { + "kind": "code", + "text": "`useContractMetadata`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecontractmetadata) | Use this to get the contract metadata for a (built-in or custom) contract. |\n\n### Wallet connection\n\n| Hook | Description |\n| -------------------------------------------------------------------------------- | ----------------------------------------------------------- |\n| [" + }, + { + "kind": "code", + "text": "`useAddress`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useaddress) | Hook for accessing the address of the connected wallet. |\n| [" + }, + { + "kind": "code", + "text": "`useMetamask`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usemetamask) | Hook for connecting to a Metamask wallet. |\n| [" + }, + { + "kind": "code", + "text": "`useWalletConnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usewalletconnect) | Hook for connecting to a mobile wallet with Wallet Connect. |\n| [" + }, + { + "kind": "code", + "text": "`useCoinbaseWallet`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecoinbasewallet) | Hook for connecting to a Coinbase wallet. |\n| [" + }, + { + "kind": "code", + "text": "`useMagic`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usemagic) | Hook for connecting to an email wallet using magic link. |\n| [" + }, + { + "kind": "code", + "text": "`useGnosis`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usegnosis) | Hook for connecting to a Gnosis Safe. |\n| [" + }, + { + "kind": "code", + "text": "`useDisconnect`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usedisconnect) | Hook for disconnecting the currently connected wallet. |\n\n### Network connection\n\n| Hook | Description |\n| ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| [" + }, + { + "kind": "code", + "text": "`useChainId`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usechainid) | Hook for accessing the chain ID of the network the current wallet is connected to |\n| [" + }, + { + "kind": "code", + "text": "`useNetwork`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usenetwork) | Hook for getting metadata about the network the current wallet is connected to and switching networks. |\n| [" + }, + { + "kind": "code", + "text": "`useNetworkMismatch`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usenetworkmismatch) | Hook for checking whether the connected wallet is on the correct network specified by the desiredChainId passed to the . |\n\n### NFT\n\n| Hook | Description |\n| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------- |\n| [" + }, + { + "kind": "code", + "text": "`useNFT`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usenft) | Use this to get an individual NFT token of your NFTContract. |\n| [" + }, + { + "kind": "code", + "text": "`useNFTs`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usenfts) | Use this to get a list of NFT tokens of your NFTContract. |\n| [" + }, + { + "kind": "code", + "text": "`useTotalCirculatingSupply`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usetotalcirculatingsupply) | Use this to get a the total (minted) supply of your NFTContract. |\n| [" + }, + { + "kind": "code", + "text": "`useOwnedNFTs`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useownednfts) | Use this to get a the owned NFTs for a specific Erc721OrErc1155 and wallet address. |\n| [" + }, + { + "kind": "code", + "text": "`useNFTBalance`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usenftbalance) | Use this to get a the total balance of a NFTContract and wallet address. |\n| [" + }, + { + "kind": "code", + "text": "`useTotalCount`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usetotalcount) | Use this to get the total count of NFT tokens of your NFTContract. |\n| [" + }, + { + "kind": "code", + "text": "`useMintNFT`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usemintnft) | Use this to mint a new NFT on your Erc721OrErc1155. |\n| [" + }, + { + "kind": "code", + "text": "`useMintNFTSupply`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usemintnftsupply) | Use this mint extra supply on your Erc1155. |\n| [" + }, + { + "kind": "code", + "text": "`useTransferNFT`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usetransfernft) | Use this to transfer tokens on your NFTContract. |\n| [" + }, + { + "kind": "code", + "text": "`useAirdropNFT`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useairdropnft) | Use this to airdrop tokens on your Erc1155. |\n| [" + }, + { + "kind": "code", + "text": "`useBurnNFT`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useburnnft) | Use this to burn an NFT on your Erc721OrErc1155. |\n\n### Token\n\n| Hook | Description |\n| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| [" + }, + { + "kind": "code", + "text": "`useTokenSupply`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usetokensupply) | Use this to get a the total supply of your contract. |\n| [" + }, + { + "kind": "code", + "text": "`useTokenBalance`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usetokenbalance) | Use this to get the balance of your contract for a given address. |\n| [" + }, + { + "kind": "code", + "text": "`useTokenDecimals`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usetokendecimals) | Use this to get the decimals of your contract for a given address. |\n| [" + }, + { + "kind": "code", + "text": "`useMintToken`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useminttoken) | Use this to mint new tokens on your contract. |\n| [" + }, + { + "kind": "code", + "text": "`useClaimToken`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useclaimtoken) | Use this to claim tokens from your contract. |\n| [" + }, + { + "kind": "code", + "text": "`useTransferToken`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usetransfertoken) | Use this to transfer tokens on your contract. |\n| [" + }, + { + "kind": "code", + "text": "`useTransferBatchToken`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usetransferbatchtoken) | Use this to transfer batch tokens on your contract. |\n| [" + }, + { + "kind": "code", + "text": "`useBurnToken`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useburntoken) | Use this to burn tokens on your contract. |\n\n### Marketplace\n\n| Hook | Description |\n| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| [" + }, + { + "kind": "code", + "text": "`useListing`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.uselisting) | Use this to get a specific listing from the marketplace. |\n| [" + }, + { + "kind": "code", + "text": "`useListings`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.uselistings) | Use this to get a list all listings from your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useListingsCount`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.uselistingscount) | Use this to get a count of all listings on your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useActiveListings`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useactivelistings) | Use this to get a list active listings from your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useWinningBid`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usewinningbid) | Use this to get a the winning bid for an auction listing from your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useAuctionWinner`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useauctionwinner) | Use this to get the winner of an auction listing from your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useBidBuffer`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usebidbuffer) | Use this to get the buffer in basis points between offers from your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useCreateDirectListing`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecreatedirectlisting) | Use this to create a new Direct Listing on your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useCreateAuctionListing`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecreateauctionlisting) | Use this to create a new Auction Listing on your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useCancelListing`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usecancellisting) | Use this to cancel a listing on your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useMakeBid`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usemakebid) | Use this to place a bid on an auction listing from your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useBuyNow`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usebuynow) | Use this to buy out an auction listing from your marketplace contract. |\n| [" + }, + { + "kind": "code", + "text": "`useBuyDirectListing`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useBuyDirectListing) | Use this to buy from a direct listing in your marketplace v3 contract. |\n\n### Permissions Controls\n\n| Hook | Description |\n| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |\n| [" + }, + { + "kind": "code", + "text": "`useAllRoleMembers`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useallrolemembers) | Use this to get the roles of all members. |\n| [" + }, + { + "kind": "code", + "text": "`useRoleMembers`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.userolemembers) | Use this to get the members of a role. |\n| [" + }, + { + "kind": "code", + "text": "`useIsAddressRole`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useisaddressrole) | Use this to check if a WalletAddress is a member of a role. |\n| [" + }, + { + "kind": "code", + "text": "`useSetAllRoleMembers`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usesetallrolemembers) | Use this to OVERWRITE the list of addresses that are members of specific roles. |\n| [" + }, + { + "kind": "code", + "text": "`useGrantRole`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usegrantrole) | Use this to grant a WalletAddress a specific role. |\n| [" + }, + { + "kind": "code", + "text": "`useRevokeRole`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.userevokerole) | Use this to revoke a WalletAddress a specific role. |\n\n### Drop\n\n| Hook | Description |\n| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |\n| [" + }, + { + "kind": "code", + "text": "`useUnclaimedNFTs`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useunclaimednfts) | Use this to get a list of unclaimed NFT tokens of your ERC721 Drop contract. |\n| [" + }, + { + "kind": "code", + "text": "`useClaimedNFTs`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useclaimednfts) | Use this to get a list of claimed (minted) NFT tokens of your ERC721 Drop contract.. |\n| [" + }, + { + "kind": "code", + "text": "`useUnclaimedNFTSupply`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useunclaimednftsupply) | Use this to get the total unclaimed NFT supply of your ERC721 Drop contract. |\n| [" + }, + { + "kind": "code", + "text": "`useClaimedNFTSupply`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useclaimednftsupply) | Use this to get the total claimed (minted) NFT supply of your ERC721 Drop contract. |\n| [" + }, + { + "kind": "code", + "text": "`useBatchesToReveal`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usebatchestoreveal) | Use this to get a list of batches that are ready to be revealed. |\n| [" + }, + { + "kind": "code", + "text": "`useClaimNFT`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useclaimnft) | Use this to claim a NFT on your DropContract |\n| [" + }, + { + "kind": "code", + "text": "`useLazyMint`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.uselazymint) | Use this to lazy mint a batch of NFTs on your DropContract. |\n| [" + }, + { + "kind": "code", + "text": "`useDelayedRevealLazyMint`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usedelayedreveallazymint) | Use this to lazy mint a batch of delayed reveal NFTs on your DropContract. |\n| [" + }, + { + "kind": "code", + "text": "`useRevealLazyMint`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usereveallazymint) | Use this to reveal a batch of delayed reveal NFTs on your RevealableContract. |\n\n### Claim Conditions\n\n| Hook | Description |\n| ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |\n| [" + }, + { + "kind": "code", + "text": "`useActiveClaimCondition`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useactiveclaimcondition) | Use this to get the active claim condition for ERC20, ERC721 or ERC1155 based contracts. |\n| [" + }, + { + "kind": "code", + "text": "`useClaimConditions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useclaimconditions) | Use this to get all claim conditions for ERC20, ERC721 or ERC1155 based contracts. |\n| [" + }, + { + "kind": "code", + "text": "`useClaimIneligibilityReasons`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useclaimineligibilityreasons) | Use this to check for reasons that prevent claiming for either ERC20, ERC721 or ERC1155 based contracts. |\n| [" + }, + { + "kind": "code", + "text": "`useSetClaimConditions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.usesetclaimconditions) | Use this to set claim conditions on your DropContract. |\n| [" + }, + { + "kind": "code", + "text": "`useResetClaimConditions`" + }, + { + "kind": "text", + "text": "](https://portal.thirdweb.com/react/react.useresetclaimconditions) | Use this to reset claim conditions on your DropContract. |" + } + ], + "symbolIdMap": { + "0": { + "sourceFileName": "src/index.ts", + "qualifiedName": "" + }, + "1": { + "sourceFileName": "src/wallet/ConnectWallet/defaultTokens.ts", + "qualifiedName": "defaultTokens" + }, + "2": { + "sourceFileName": "src/wallet/wallets/defaultWallets.ts", + "qualifiedName": "defaultWallets" + }, + "3": { + "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", + "qualifiedName": "useSmartWallet" + }, + "4": { + "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", + "qualifiedName": "useSmartWallet" + }, + "5": { + "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", + "qualifiedName": "__function" + }, + "6": { + "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", + "qualifiedName": "__function" + }, + "7": { + "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", + "qualifiedName": "wallet" + }, + "8": { + "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", + "qualifiedName": "options" + }, + "9": { + "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", + "qualifiedName": "bloctoWallet" + }, + "10": { + "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", + "qualifiedName": "bloctoWallet" + }, + "11": { + "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", + "qualifiedName": "options" + }, + "12": { + "sourceFileName": "src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "qualifiedName": "coinbaseWallet" + }, + "13": { + "sourceFileName": "src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "qualifiedName": "coinbaseWallet" + }, + "14": { + "sourceFileName": "src/wallet/wallets/coinbase/coinbaseWallet.tsx", + "qualifiedName": "options" + }, + "15": { + "sourceFileName": "src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", + "qualifiedName": "embeddedWallet" + }, + "16": { + "sourceFileName": "src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", + "qualifiedName": "embeddedWallet" + }, + "17": { + "sourceFileName": "src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", + "qualifiedName": "config" + }, + "18": { + "sourceFileName": "src/wallet/wallets/frame/frameWallet.tsx", + "qualifiedName": "frameWallet" + }, + "19": { + "sourceFileName": "src/wallet/wallets/frame/frameWallet.tsx", + "qualifiedName": "frameWallet" + }, + "20": { + "sourceFileName": "src/wallet/wallets/frame/frameWallet.tsx", + "qualifiedName": "config" + }, + "21": { + "sourceFileName": "src/wallet/wallets/localWallet/localWallet.tsx", + "qualifiedName": "localWallet" + }, + "22": { + "sourceFileName": "src/wallet/wallets/localWallet/localWallet.tsx", + "qualifiedName": "localWallet" + }, + "23": { + "sourceFileName": "src/wallet/wallets/localWallet/localWallet.tsx", + "qualifiedName": "config" + }, + "24": { + "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", + "qualifiedName": "magicLink" + }, + "25": { + "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", + "qualifiedName": "magicLink" + }, + "26": { + "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", + "qualifiedName": "config" + }, + "27": { + "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", + "qualifiedName": "__type" + }, + "28": { + "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", + "qualifiedName": "__type.recommended" + }, + "29": { + "sourceFileName": "src/wallet/wallets/metamask/metamaskWallet.tsx", + "qualifiedName": "metamaskWallet" + }, + "30": { + "sourceFileName": "src/wallet/wallets/metamask/metamaskWallet.tsx", + "qualifiedName": "metamaskWallet" + }, + "31": { + "sourceFileName": "src/wallet/wallets/metamask/metamaskWallet.tsx", + "qualifiedName": "options" + }, + "32": { + "sourceFileName": "src/wallet/wallets/paper/paperWallet.tsx", + "qualifiedName": "paperWallet" + }, + "33": { + "sourceFileName": "src/wallet/wallets/paper/paperWallet.tsx", + "qualifiedName": "paperWallet" + }, + "34": { + "sourceFileName": "src/wallet/wallets/paper/paperWallet.tsx", + "qualifiedName": "config" + }, + "35": { + "sourceFileName": "src/wallet/wallets/phantom/phantomWallet.tsx", + "qualifiedName": "phantomWallet" + }, + "36": { + "sourceFileName": "src/wallet/wallets/phantom/phantomWallet.tsx", + "qualifiedName": "phantomWallet" + }, + "37": { + "sourceFileName": "src/wallet/wallets/phantom/phantomWallet.tsx", + "qualifiedName": "options" + }, + "38": { + "sourceFileName": "src/wallet/wallets/rainbow/RainbowWallet.tsx", + "qualifiedName": "rainbowWallet" + }, + "39": { + "sourceFileName": "src/wallet/wallets/rainbow/RainbowWallet.tsx", + "qualifiedName": "rainbowWallet" + }, + "40": { + "sourceFileName": "src/wallet/wallets/rainbow/RainbowWallet.tsx", + "qualifiedName": "options" + }, + "41": { + "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", + "qualifiedName": "safeWallet" + }, + "42": { + "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", + "qualifiedName": "safeWallet" + }, + "43": { + "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", + "qualifiedName": "config" + }, + "44": { + "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", + "qualifiedName": "__type" + }, + "45": { + "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", + "qualifiedName": "__type.recommended" + }, + "46": { + "sourceFileName": "src/wallet/wallets/smartWallet/smartWallet.tsx", + "qualifiedName": "smartWallet" + }, + "47": { + "sourceFileName": "src/wallet/wallets/smartWallet/smartWallet.tsx", + "qualifiedName": "smartWallet" + }, + "48": { + "sourceFileName": "src/wallet/wallets/smartWallet/smartWallet.tsx", + "qualifiedName": "wallet" + }, + "49": { + "sourceFileName": "src/wallet/wallets/smartWallet/smartWallet.tsx", + "qualifiedName": "config" + }, + "50": { + "sourceFileName": "src/wallet/wallets/trustWallet/TrustWallet.tsx", + "qualifiedName": "trustWallet" + }, + "51": { + "sourceFileName": "src/wallet/wallets/trustWallet/TrustWallet.tsx", + "qualifiedName": "trustWallet" + }, + "52": { + "sourceFileName": "src/wallet/wallets/trustWallet/TrustWallet.tsx", + "qualifiedName": "options" + }, + "53": { + "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", + "qualifiedName": "walletConnect" + }, + "54": { + "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", + "qualifiedName": "walletConnect" + }, + "55": { + "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", + "qualifiedName": "config" + }, + "56": { + "sourceFileName": "src/wallet/wallets/walletConnectV1.tsx", + "qualifiedName": "walletConnectV1" + }, + "57": { + "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", + "qualifiedName": "walletConnectV1" + }, + "58": { + "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", + "qualifiedName": "config" + }, + "59": { + "sourceFileName": "src/wallet/wallets/zerion/zerionWallet.tsx", + "qualifiedName": "zerionWallet" + }, + "60": { + "sourceFileName": "src/wallet/wallets/zerion/zerionWallet.tsx", + "qualifiedName": "zerionWallet" + }, + "61": { + "sourceFileName": "src/wallet/wallets/zerion/zerionWallet.tsx", + "qualifiedName": "options" + }, + "62": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "darkTheme" + }, + "63": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "darkTheme" + }, + "64": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "overrides" + }, + "65": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "lightTheme" + }, + "66": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "lightTheme" + }, + "67": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "overrides" + }, + "68": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "Theme" + }, + "69": { + "sourceFileName": "src/design-system/index.ts", + "qualifiedName": "ThemeOverrides" + }, + "70": { + "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", + "qualifiedName": "useIsWalletModalOpen" + }, + "71": { + "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", + "qualifiedName": "useIsWalletModalOpen" + }, + "72": { + "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", + "qualifiedName": "useSetIsWalletModalOpen" + }, + "73": { + "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", + "qualifiedName": "useSetIsWalletModalOpen" + }, + "74": { + "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", + "qualifiedName": "useSafe" + }, + "75": { + "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", + "qualifiedName": "useSafe" + }, + "76": { + "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", + "qualifiedName": "__function" + }, + "77": { + "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", + "qualifiedName": "__function" + }, + "78": { + "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", + "qualifiedName": "connectProps" + }, + "79": { + "sourceFileName": "src/evm/connectors/magic/useMagic.ts", + "qualifiedName": "useMagic" + }, + "80": { + "sourceFileName": "src/evm/connectors/magic/useMagic.ts", + "qualifiedName": "useMagic" + }, + "81": { + "sourceFileName": "src/evm/connectors/magic/useMagic.ts", + "qualifiedName": "__function" + }, + "82": { + "sourceFileName": "src/evm/connectors/magic/useMagic.ts", + "qualifiedName": "__function" + }, + "83": { + "sourceFileName": "src/evm/connectors/magic/useMagic.ts", + "qualifiedName": "options" + }, + "84": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "ConnectWallet" + }, + "85": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "ConnectWallet" + }, + "86": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "props" + }, + "87": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "context" + }, + "88": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "ConnectWalletProps" + }, + "89": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type" + }, + "90": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.className" + }, + "91": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.theme" + }, + "92": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.btnTitle" + }, + "93": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.modalTitle" + }, + "94": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.modalTitleIconUrl" + }, + "95": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.detailsBtn" + }, + "96": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type" + }, + "97": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type" + }, + "98": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.dropdownPosition" + }, + "99": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.auth" + }, + "100": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type" + }, + "101": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.loginOptional" + }, + "102": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.onLogin" + }, + "103": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type" + }, + "104": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type" + }, + "105": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "token" + }, + "106": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.onLogout" + }, + "107": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type" + }, + "108": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type" + }, + "109": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.style" + }, + "110": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.networkSelector" + }, + "111": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.hideTestnetFaucet" + }, + "112": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.switchToActiveChain" + }, + "113": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.modalSize" + }, + "114": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.termsOfServiceUrl" + }, + "115": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.privacyPolicyUrl" + }, + "116": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.welcomeScreen" + }, + "117": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.supportedTokens" + }, + "118": { + "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", + "qualifiedName": "__type.displayBalanceToken" + }, + "119": { + "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "qualifiedName": "ConnectModalInline" + }, + "120": { + "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "qualifiedName": "ConnectModalInline" + }, + "121": { + "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "qualifiedName": "props" + }, + "122": { + "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "qualifiedName": "__type" + }, + "123": { + "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "qualifiedName": "__type.onModalHide" + }, + "124": { + "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "qualifiedName": "__type" + }, + "125": { + "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", + "qualifiedName": "__type" + }, + "126": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "NetworkSelector" + }, + "127": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "NetworkSelector" + }, + "128": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "props" + }, + "129": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "context" + }, + "130": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "NetworkSelectorProps" + }, + "131": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type" + }, + "132": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.theme" + }, + "133": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.onClose" + }, + "134": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type" + }, + "135": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type" + }, + "136": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.open" + }, + "137": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.chains" + }, + "138": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.popularChains" + }, + "139": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.recentChains" + }, + "140": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.renderChain" + }, + "141": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.onSwitch" + }, + "142": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type" + }, + "143": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type" + }, + "144": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "chain" + }, + "145": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type.onCustomClick" + }, + "146": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type" + }, + "147": { + "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", + "qualifiedName": "__type" + }, + "148": { + "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProvider" + }, + "149": { + "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProvider" + }, + "150": { + "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", + "qualifiedName": "TChains" + }, + "151": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "152": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "153": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "154": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "155": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "156": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "157": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "158": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "159": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "160": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "161": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "162": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "163": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "164": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "165": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "166": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "167": { + "sourceFileName": "../chains/src/index.ts", + "qualifiedName": "__type" + }, + "168": { + "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", + "qualifiedName": "__0" + }, + "169": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "MediaRendererProps" + }, + "170": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "MediaRendererProps.src" + }, + "171": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "MediaRendererProps.alt" + }, + "172": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "MediaRendererProps.poster" + }, + "173": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "MediaRendererProps.gatewayUrl" + }, + "174": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "MediaRendererProps.width" + }, + "175": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "MediaRendererProps.height" + }, + "176": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.className" + }, + "177": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.style" + }, + "178": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.requireInteraction" + }, + "179": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.controls" + }, + "180": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.children" + }, + "181": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.mimeType" + }, + "182": { + "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", + "qualifiedName": "useInstalledWallets" + }, + "183": { + "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", + "qualifiedName": "useInstalledWallets" + }, + "184": { + "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", + "qualifiedName": "__object" + }, + "185": { + "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", + "qualifiedName": "__object.metamask" + }, + "186": { + "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", + "qualifiedName": "__object.coinbaseWallet" + }, + "187": { + "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", + "qualifiedName": "__object.trustWallet" + }, + "188": { + "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", + "qualifiedName": "__object.zerionWallet" + }, + "189": { + "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", + "qualifiedName": "useRainbowWallet" + }, + "190": { + "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", + "qualifiedName": "useRainbowWallet" + }, + "191": { + "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", + "qualifiedName": "__function" + }, + "192": { + "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", + "qualifiedName": "__function" + }, + "193": { + "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", + "qualifiedName": "connectOptions" + }, + "194": { + "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", + "qualifiedName": "__type" + }, + "195": { + "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", + "qualifiedName": "__type.chainId" + }, + "196": { + "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", + "qualifiedName": "useTrustWallet" + }, + "197": { + "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", + "qualifiedName": "useTrustWallet" + }, + "198": { + "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", + "qualifiedName": "__function" + }, + "199": { + "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", + "qualifiedName": "__function" + }, + "200": { + "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", + "qualifiedName": "connectOptions" + }, + "201": { + "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", + "qualifiedName": "__type" + }, + "202": { + "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", + "qualifiedName": "__type.chainId" + }, + "203": { + "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", + "qualifiedName": "useMetamask" + }, + "204": { + "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", + "qualifiedName": "useMetamask" + }, + "205": { + "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", + "qualifiedName": "__function" + }, + "206": { + "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", + "qualifiedName": "__function" + }, + "207": { + "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", + "qualifiedName": "connectOptions" + }, + "208": { + "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", + "qualifiedName": "__type" + }, + "209": { + "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", + "qualifiedName": "__type.chainId" + }, + "210": { + "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", + "qualifiedName": "useCoinbaseWallet" + }, + "211": { + "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", + "qualifiedName": "useCoinbaseWallet" + }, + "212": { + "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", + "qualifiedName": "__function" + }, + "213": { + "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", + "qualifiedName": "__function" + }, + "214": { + "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", + "qualifiedName": "connectOptions" + }, + "215": { + "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", + "qualifiedName": "__type" + }, + "216": { + "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", + "qualifiedName": "__type.chainId" + }, + "217": { + "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", + "qualifiedName": "useFrameWallet" + }, + "218": { + "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", + "qualifiedName": "useFrameWallet" + }, + "219": { + "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", + "qualifiedName": "__function" + }, + "220": { + "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", + "qualifiedName": "__function" + }, + "221": { + "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", + "qualifiedName": "connectOptions" + }, + "222": { + "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", + "qualifiedName": "__type" + }, + "223": { + "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", + "qualifiedName": "__type.chainId" + }, + "224": { + "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", + "qualifiedName": "useBloctoWallet" + }, + "225": { + "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", + "qualifiedName": "useBloctoWallet" + }, + "226": { + "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", + "qualifiedName": "__function" + }, + "227": { + "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", + "qualifiedName": "__function" + }, + "228": { + "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", + "qualifiedName": "options" + }, + "229": { + "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", + "qualifiedName": "__type" + }, + "230": { + "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", + "qualifiedName": "__type.chainId" + }, + "231": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "usePaperWalletUserEmail" + }, + "232": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "usePaperWalletUserEmail" + }, + "233": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "usePaperWallet" + }, + "234": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "usePaperWallet" + }, + "235": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "__function" + }, + "236": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "__function" + }, + "237": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "options" + }, + "238": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "__type" + }, + "239": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "__type.chainId" + }, + "240": { + "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", + "qualifiedName": "__type.email" + }, + "241": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "useWalletConnect" + }, + "242": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "useWalletConnect" + }, + "243": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__function" + }, + "244": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__function" + }, + "245": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "options" + }, + "246": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__type" + }, + "247": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__type.chainId" + }, + "248": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__type.projectId" + }, + "249": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__type.qrModalOptions" + }, + "250": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "useWalletConnectV1" + }, + "251": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "useWalletConnectV1" + }, + "252": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__function" + }, + "253": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__function" + }, + "254": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "options" + }, + "255": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__type" + }, + "256": { + "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", + "qualifiedName": "__type.chainId" + }, + "257": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "useResolvedMediaType" + }, + "258": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "useResolvedMediaType" + }, + "259": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "uri" + }, + "260": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "mimeType" + }, + "261": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "gatewayUrl" + }, + "262": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "__object" + }, + "263": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "__object.url" + }, + "264": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "__object.mimeType" + }, + "265": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "MediaRenderer" + }, + "266": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "MediaRenderer" + }, + "267": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "props" + }, + "268": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "MediaType" + }, + "269": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "MediaType.url" + }, + "270": { + "sourceFileName": "src/evm/components/MediaRenderer.tsx", + "qualifiedName": "MediaType.mimeType" + }, + "271": { + "sourceFileName": "src/evm/components/NftMedia.tsx", + "qualifiedName": "ThirdwebNftMediaProps" + }, + "272": { + "sourceFileName": "src/evm/components/NftMedia.tsx", + "qualifiedName": "ThirdwebNftMediaProps.metadata" + }, + "273": { + "sourceFileName": "../sdk/src/core/schema/nft.ts", + "qualifiedName": "__type" + }, + "274": { + "sourceFileName": "src/evm/components/NftMedia.tsx", + "qualifiedName": "ThirdwebNftMediaProps.width" + }, + "275": { + "sourceFileName": "src/evm/components/NftMedia.tsx", + "qualifiedName": "ThirdwebNftMediaProps.height" + }, + "276": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.className" + }, + "277": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.style" + }, + "278": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.requireInteraction" + }, + "279": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.controls" + }, + "280": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.children" + }, + "281": { + "sourceFileName": "src/evm/components/types.ts", + "qualifiedName": "SharedMediaProps.mimeType" + }, + "282": { + "sourceFileName": "src/evm/components/NftMedia.tsx", + "qualifiedName": "ThirdwebNftMedia" + }, + "283": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "ThirdwebNftMedia" + }, + "284": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "props" + }, + "285": { + "sourceFileName": "src/evm/components/Web3Button/index.tsx", + "qualifiedName": "Web3Button" + }, + "286": { + "sourceFileName": "src/evm/components/Web3Button/index.tsx", + "qualifiedName": "Web3Button" + }, + "287": { + "sourceFileName": "src/evm/components/Web3Button/index.tsx", + "qualifiedName": "TAction" + }, + "288": { + "sourceFileName": "src/evm/components/Web3Button/index.tsx", + "qualifiedName": "props" + }, + "289": { + "sourceFileName": "../react-core/src/core/utils/ipfs.ts", + "qualifiedName": "resolveMimeType" + }, + "290": { + "sourceFileName": "../react-core/src/core/utils/ipfs.ts", + "qualifiedName": "resolveMimeType" + }, + "291": { + "sourceFileName": "../react-core/src/core/utils/ipfs.ts", + "qualifiedName": "url" + }, + "292": { + "sourceFileName": "../react-core/src/core/providers/theme-context.tsx", + "qualifiedName": "ThirdwebThemeContext" + }, + "293": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCore" + }, + "294": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCore" + }, + "295": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "TChains" + }, + "296": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "__0" + }, + "297": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps" + }, + "298": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.supportedWallets" + }, + "299": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.dAppMeta" + }, + "300": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.autoConnect" + }, + "301": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.theme" + }, + "302": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.createWalletStorage" + }, + "303": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.autoSwitch" + }, + "304": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.autoConnectTimeout" + }, + "305": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.signerWallet" + }, + "306": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "clientId" + }, + "307": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "secretKey" + }, + "308": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "activeChain" + }, + "309": { + "sourceFileName": "\u0000", + "qualifiedName": "__type" + }, + "310": { + "sourceFileName": "\u0000", + "qualifiedName": "__type" + }, + "311": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "supportedChains" + }, + "312": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "sdkOptions" + }, + "313": { + "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", + "qualifiedName": "__type" + }, + "314": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "storageInterface" + }, + "315": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "authConfig" + }, + "316": { + "sourceFileName": "../react-core/src/core/providers/query-client.tsx", + "qualifiedName": "queryClient" + }, + "317": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", + "qualifiedName": "ThirdwebProviderCoreProps.TChains" + }, + "318": { + "sourceFileName": "../react-core/src/core/constants/runtime.ts", + "qualifiedName": "__DEV__" + }, + "319": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWallet" + }, + "320": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWallet" + }, + "321": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "T" + }, + "322": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "walletId" + }, + "323": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWallet" + }, + "324": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useConnect" + }, + "325": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useConnect" + }, + "326": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "327": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "328": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "args" + }, + "329": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "I" + }, + "330": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useConnectionStatus" + }, + "331": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useConnectionStatus" + }, + "332": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useCreateWalletInstance" + }, + "333": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useCreateWalletInstance" + }, + "334": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "335": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "336": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "Wallet" + }, + "337": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "I" + }, + "338": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useDisconnect" + }, + "339": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useDisconnect" + }, + "340": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "341": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "342": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSwitchChain" + }, + "343": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSwitchChain" + }, + "344": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "345": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "346": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "chain" + }, + "347": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWallets" + }, + "348": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWallets" + }, + "349": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWalletConfig" + }, + "350": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useWalletConfig" + }, + "351": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSetConnectionStatus" + }, + "352": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSetConnectionStatus" + }, + "353": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "354": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "355": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "status" + }, + "356": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSetConnectedWallet" + }, + "357": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "useSetConnectedWallet" + }, + "358": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "359": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "__type" + }, + "360": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "wallet" + }, + "361": { + "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", + "qualifiedName": "params" + }, + "362": { + "sourceFileName": "../react-core/src/core/hooks/useNetwork.ts", + "qualifiedName": "useNetwork" + }, + "363": { + "sourceFileName": "../react-core/src/core/hooks/useNetwork.ts", + "qualifiedName": "useNetwork" + }, + "364": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "useWalletContext" + }, + "365": { + "sourceFileName": "../react-core/src/core/providers/thirdweb-wallet-provider.tsx", + "qualifiedName": "useWalletContext" + }, + "366": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useBalance" + }, + "367": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useBalance" + }, + "368": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "tokenAddress" + }, + "371": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useAddress" + }, + "372": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useAddress" + }, + "373": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useChainId" + }, + "374": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useChainId" + }, + "375": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useActiveChain" + }, + "376": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useActiveChain" + }, + "377": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useChain" + }, + "378": { + "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", + "qualifiedName": "useChain" + }, + "379": { + "sourceFileName": "../react-core/src/core/query-utils/query-key.ts", + "qualifiedName": "shouldNeverPersistQuery" + }, + "380": { + "sourceFileName": "../react-core/src/core/query-utils/query-key.ts", + "qualifiedName": "shouldNeverPersistQuery" + }, + "381": { + "sourceFileName": "../react-core/src/core/query-utils/query-key.ts", + "qualifiedName": "TKey" + }, + "382": { + "sourceFileName": "../react-core/src/core/query-utils/query-key.ts", + "qualifiedName": "key" + }, + "383": { + "sourceFileName": "../react-core/src/core/query-utils/required-param.ts", + "qualifiedName": "RequiredParam" + }, + "384": { + "sourceFileName": "../react-core/src/core/query-utils/required-param.ts", + "qualifiedName": "T" + }, + "385": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletConfig" + }, + "386": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "387": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.category" + }, + "388": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.id" + }, + "389": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.meta" + }, + "390": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.create" + }, + "391": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "392": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "393": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "options" + }, + "394": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.connectUI" + }, + "395": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.selectUI" + }, + "396": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.isInstalled" + }, + "397": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "398": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "399": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.personalWallets" + }, + "400": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.recommended" + }, + "401": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.isHeadless" + }, + "402": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "I" + }, + "403": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "ConnectUIProps" + }, + "404": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "405": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.hide" + }, + "406": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "407": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "408": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.connected" + }, + "409": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "410": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "411": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.isOpen" + }, + "412": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.show" + }, + "413": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "414": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "415": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.goBack" + }, + "416": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "417": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "418": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.theme" + }, + "419": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.walletConfig" + }, + "420": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.selectionData" + }, + "421": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.setSelectionData" + }, + "422": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "423": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "424": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "data" + }, + "425": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.supportedWallets" + }, + "426": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.modalSize" + }, + "427": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.onLocallyConnected" + }, + "428": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "429": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "430": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "walleInstance" + }, + "431": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "I" + }, + "432": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "SelectUIProps" + }, + "433": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "434": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.onSelect" + }, + "435": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "436": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "437": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "selectionData" + }, + "438": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.walletConfig" + }, + "439": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.supportedWallets" + }, + "440": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.theme" + }, + "441": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.modalSize" + }, + "442": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "I" + }, + "443": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletClass" + }, + "444": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "445": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.id" + }, + "446": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.meta" + }, + "447": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "448": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "options" + }, + "449": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "I" + }, + "450": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletInstance" + }, + "451": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "ExtraCoreWalletOptions" + }, + "452": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type" + }, + "453": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "__type.chain" + }, + "454": { + "sourceFileName": "../react-core/src/core/types/wallet.ts", + "qualifiedName": "WalletOptions" + }, + "455": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "useThirdwebAuthContext" + }, + "456": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "useThirdwebAuthContext" + }, + "457": { + "sourceFileName": "../react-core/src/evm/contexts/ThirdwebAuthProvider.tsx", + "qualifiedName": "ThirdwebAuthProvider" + }, + "458": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "ThirdwebAuthProvider" + }, + "459": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "props" + }, + "460": { + "sourceFileName": "../react-core/src/evm/contexts/ThirdwebAuthProvider.tsx", + "qualifiedName": "__type" + }, + "461": { + "sourceFileName": "../react-core/src/evm/contexts/ThirdwebAuthProvider.tsx", + "qualifiedName": "__type.value" + }, + "462": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "context" + }, + "463": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthConfig" + }, + "464": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthConfig.authUrl" + }, + "465": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthConfig.domain" + }, + "466": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ThirdwebAuthConfig.secureStorage" + }, + "467": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage" + }, + "468": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.getItem" + }, + "469": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.getItem" + }, + "470": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "key" + }, + "471": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.setItem" + }, + "472": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.setItem" + }, + "473": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "key" + }, + "474": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "value" + }, + "475": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.removeItem" + }, + "476": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "ISecureStorage.removeItem" + }, + "477": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", + "qualifiedName": "key" + }, + "478": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", + "qualifiedName": "ThirdwebConfigProvider" + }, + "479": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "ThirdwebConfigProvider" + }, + "480": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "props" + }, + "481": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", + "qualifiedName": "__type" + }, + "482": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", + "qualifiedName": "__type.value" + }, + "483": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "context" + }, + "484": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", + "qualifiedName": "useThirdwebConfigContext" + }, + "485": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", + "qualifiedName": "useThirdwebConfigContext" + }, + "486": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", + "qualifiedName": "ThirdwebConnectedWalletProvider" + }, + "487": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "ThirdwebConnectedWalletProvider" + }, + "488": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "props" + }, + "489": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", + "qualifiedName": "__type" + }, + "490": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", + "qualifiedName": "__type.signer" + }, + "491": { + "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", + "qualifiedName": "context" + }, + "492": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", + "qualifiedName": "useThirdwebConnectedWalletContext" + }, + "493": { + "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", + "qualifiedName": "useThirdwebConnectedWalletContext" + }, + "494": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "ClaimIneligibilityParams" + }, + "495": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "496": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.walletAddress" + }, + "497": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.quantity" + }, + "498": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "SetClaimConditionsParams" + }, + "499": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "500": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.phases" + }, + "501": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.reset" + }, + "502": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useActiveClaimCondition" + }, + "503": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useActiveClaimCondition" + }, + "504": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "505": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "506": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "options" + }, + "507": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimerProofs" + }, + "508": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimerProofs" + }, + "509": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "510": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "claimerAddress" + }, + "511": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "512": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "claimConditionId" + }, + "513": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "514": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.address" + }, + "515": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.proof" + }, + "516": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.maxClaimable" + }, + "517": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.price" + }, + "518": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.currencyAddress" + }, + "519": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimConditions" + }, + "520": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimConditions" + }, + "521": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "522": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "523": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "options" + }, + "524": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimIneligibilityReasons" + }, + "525": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useClaimIneligibilityReasons" + }, + "526": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "527": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "params" + }, + "528": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "529": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useActiveClaimConditionForWallet" + }, + "530": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useActiveClaimConditionForWallet" + }, + "531": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "532": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "walletAddress" + }, + "533": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "534": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useSetClaimConditions" + }, + "535": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useSetClaimConditions" + }, + "536": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "537": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "538": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "539": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.receipt" + }, + "540": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useResetClaimConditions" + }, + "541": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "useResetClaimConditions" + }, + "542": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "contract" + }, + "543": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "tokenId" + }, + "544": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "545": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.receipt" + }, + "546": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type.data" + }, + "547": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "548": { + "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", + "qualifiedName": "__type" + }, + "549": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "usePrimarySaleRecipient" + }, + "550": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "usePrimarySaleRecipient" + }, + "551": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "552": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdatePrimarySaleRecipient" + }, + "553": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdatePrimarySaleRecipient" + }, + "554": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "555": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "556": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.receipt" + }, + "557": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useRoyaltySettings" + }, + "558": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useRoyaltySettings" + }, + "559": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "560": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "561": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.seller_fee_basis_points" + }, + "562": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.fee_recipient" + }, + "563": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdateRoyaltySettings" + }, + "564": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdateRoyaltySettings" + }, + "565": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "566": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "567": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.receipt" + }, + "568": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.data" + }, + "569": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "570": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "571": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "572": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.seller_fee_basis_points" + }, + "573": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.fee_recipient" + }, + "574": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "575": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.seller_fee_basis_points" + }, + "576": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.fee_recipient" + }, + "577": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "usePlatformFees" + }, + "578": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "usePlatformFees" + }, + "579": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "580": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "581": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.platform_fee_basis_points" + }, + "582": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.platform_fee_recipient" + }, + "583": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdatePlatformFees" + }, + "584": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdatePlatformFees" + }, + "585": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "586": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "587": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.receipt" + }, + "588": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.data" + }, + "589": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "590": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "591": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type" + }, + "592": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.platform_fee_basis_points" + }, + "593": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "__type.fee_recipient" + }, + "594": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useMetadata" + }, + "595": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useMetadata" + }, + "596": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "597": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdateMetadata" + }, + "598": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "useUpdateMetadata" + }, + "599": { + "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", + "qualifiedName": "contract" + }, + "600": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractType" + }, + "601": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractType" + }, + "602": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "603": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractType" + }, + "604": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "605": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.cacheKey" + }, + "606": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "607": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "608": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "609": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "chainId" + }, + "610": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.useQuery" + }, + "611": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.fetchQuery" + }, + "612": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useCompilerMetadata" + }, + "613": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useCompilerMetadata" + }, + "614": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "615": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "compilerMetadata" + }, + "616": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "617": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.cacheKey" + }, + "618": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "619": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "620": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "621": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "chainId" + }, + "622": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.useQuery" + }, + "623": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.fetchQuery" + }, + "624": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "625": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "626": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractAddress" + }, + "627": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "628": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "629": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "630": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "631": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractType" + }, + "632": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "633": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "_contractType" + }, + "634": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContract" + }, + "635": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contractAddress" + }, + "636": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "_abi" + }, + "637": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractMetadata" + }, + "638": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractMetadata" + }, + "639": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContract" + }, + "640": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "641": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractMetadataUpdate" + }, + "642": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractMetadataUpdate" + }, + "643": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "644": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "645": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.receipt" + }, + "646": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.data" + }, + "647": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "648": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "649": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "650": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.name" + }, + "651": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.description" + }, + "652": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.image" + }, + "653": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.external_link" + }, + "654": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.app_uri" + }, + "655": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractEvents" + }, + "656": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractEvents" + }, + "657": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "658": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "eventName" + }, + "659": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "options" + }, + "660": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "661": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.queryFilter" + }, + "662": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.subscribe" + }, + "663": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractRead" + }, + "664": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractRead" + }, + "665": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractAddress" + }, + "666": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContract" + }, + "667": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractInstance" + }, + "668": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TFunctionName" + }, + "669": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TArgs" + }, + "670": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TReturnType" + }, + "671": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "672": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "functionName" + }, + "673": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "args" + }, + "674": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "overrides" + }, + "675": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractWrite" + }, + "676": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "useContractWrite" + }, + "677": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractAddress" + }, + "678": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContract" + }, + "679": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContractInstance" + }, + "680": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TFunctionName" + }, + "681": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TArgs" + }, + "682": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "contract" + }, + "683": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "functionName" + }, + "684": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "685": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.receipt" + }, + "686": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.data" + }, + "687": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "688": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "689": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "690": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.args" + }, + "691": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.overrides" + }, + "692": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "UseContractResult" + }, + "693": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type" + }, + "694": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "__type.contract" + }, + "695": { + "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", + "qualifiedName": "TContract" + }, + "696": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useUnclaimedNFTs" + }, + "697": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useUnclaimedNFTs" + }, + "698": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "699": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "queryParams" + }, + "700": { + "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", + "qualifiedName": "__type" + }, + "701": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimedNFTs" + }, + "702": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimedNFTs" + }, + "703": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "704": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "queryParams" + }, + "705": { + "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", + "qualifiedName": "__type" + }, + "706": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useUnclaimedNFTSupply" + }, + "707": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useUnclaimedNFTSupply" + }, + "708": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "709": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimedNFTSupply" + }, + "710": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimedNFTSupply" + }, + "711": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "712": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useBatchesToReveal" + }, + "713": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useBatchesToReveal" + }, + "714": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "715": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "716": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimNFT" + }, + "717": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useClaimNFT" + }, + "718": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "719": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "720": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useLazyMint" + }, + "721": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useLazyMint" + }, + "722": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "723": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "724": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "onProgress" + }, + "725": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "726": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "727": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "progress" + }, + "728": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useDelayedRevealLazyMint" + }, + "729": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useDelayedRevealLazyMint" + }, + "730": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "731": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "732": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "onProgress" + }, + "733": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "734": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "735": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "progress" + }, + "736": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useRevealLazyMint" + }, + "737": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "useRevealLazyMint" + }, + "738": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "TContract" + }, + "739": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "contract" + }, + "740": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "741": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type.receipt" + }, + "742": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type.data" + }, + "743": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "744": { + "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", + "qualifiedName": "__type" + }, + "745": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListing" + }, + "746": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListing" + }, + "747": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "748": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "749": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListing" + }, + "750": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListing" + }, + "751": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "752": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "753": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuction" + }, + "754": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuction" + }, + "755": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "756": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "auctionId" + }, + "757": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListings" + }, + "758": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListings" + }, + "759": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "760": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "761": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListings" + }, + "762": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListings" + }, + "763": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "764": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "765": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useValidDirectListings" + }, + "766": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useValidDirectListings" + }, + "767": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "768": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "769": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctions" + }, + "770": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctions" + }, + "771": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "772": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "773": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useValidEnglishAuctions" + }, + "774": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useValidEnglishAuctions" + }, + "775": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "776": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "777": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListingsCount" + }, + "778": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useListingsCount" + }, + "779": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "780": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListingsCount" + }, + "781": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useDirectListingsCount" + }, + "782": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "783": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctionsCount" + }, + "784": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctionsCount" + }, + "785": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "786": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useActiveListings" + }, + "787": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useActiveListings" + }, + "788": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "789": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "filter" + }, + "790": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useWinningBid" + }, + "791": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useWinningBid" + }, + "792": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "793": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "794": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctionWinningBid" + }, + "795": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useEnglishAuctionWinningBid" + }, + "796": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "797": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "auctionId" + }, + "798": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useAuctionWinner" + }, + "799": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useAuctionWinner" + }, + "800": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "801": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "802": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBidBuffer" + }, + "803": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBidBuffer" + }, + "804": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "805": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "806": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMinimumNextBid" + }, + "807": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMinimumNextBid" + }, + "808": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "809": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "810": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateDirectListing" + }, + "811": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateDirectListing" + }, + "812": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TMarketplace" + }, + "813": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "814": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "815": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.tokenId" + }, + "816": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.pricePerToken" + }, + "817": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.assetContractAddress" + }, + "818": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.quantity" + }, + "819": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.currencyContractAddress" + }, + "820": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.startTimestamp" + }, + "821": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.endTimestamp" + }, + "822": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isReservedListing" + }, + "823": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateAuctionListing" + }, + "824": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCreateAuctionListing" + }, + "825": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TMarketplace" + }, + "826": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "827": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "828": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.tokenId" + }, + "829": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.minimumBidAmount" + }, + "830": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.buyoutBidAmount" + }, + "831": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.assetContractAddress" + }, + "832": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.quantity" + }, + "833": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.currencyContractAddress" + }, + "834": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.timeBufferInSeconds" + }, + "835": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.bidBufferBps" + }, + "836": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.startTimestamp" + }, + "837": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.endTimestamp" + }, + "838": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelListing" + }, + "839": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelListing" + }, + "840": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "841": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "842": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "843": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "844": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "845": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "846": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelDirectListing" + }, + "847": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelDirectListing" + }, + "848": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "849": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "850": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "851": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "852": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "853": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "854": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelEnglishAuction" + }, + "855": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useCancelEnglishAuction" + }, + "856": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "857": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "858": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "859": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "860": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "861": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "862": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMakeBid" + }, + "863": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMakeBid" + }, + "864": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "865": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "866": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "867": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "868": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "869": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "870": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMakeOffer" + }, + "871": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useMakeOffer" + }, + "872": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "873": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "874": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "875": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "876": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "877": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "878": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useAcceptDirectListingOffer" + }, + "879": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useAcceptDirectListingOffer" + }, + "880": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "881": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "882": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "883": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "884": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "885": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "886": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useExecuteAuctionSale" + }, + "887": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useExecuteAuctionSale" + }, + "888": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "889": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "890": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "891": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "892": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "893": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "894": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useOffers" + }, + "895": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useOffers" + }, + "896": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "897": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "listingId" + }, + "898": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "899": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "900": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.error" + }, + "901": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isError" + }, + "902": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isLoading" + }, + "903": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isLoadingError" + }, + "904": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isRefetchError" + }, + "905": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isSuccess" + }, + "906": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.status" + }, + "907": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.dataUpdatedAt" + }, + "908": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.errorUpdatedAt" + }, + "909": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.failureCount" + }, + "910": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.failureReason" + }, + "911": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.errorUpdateCount" + }, + "912": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetched" + }, + "913": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetchedAfterMount" + }, + "914": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetching" + }, + "915": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isInitialLoading" + }, + "916": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPaused" + }, + "917": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPlaceholderData" + }, + "918": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPreviousData" + }, + "919": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isRefetching" + }, + "920": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isStale" + }, + "921": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.refetch" + }, + "922": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "923": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "924": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "options" + }, + "925": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TPageData" + }, + "926": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.remove" + }, + "927": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "928": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "929": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.fetchStatus" + }, + "930": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "931": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "932": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.error" + }, + "933": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isError" + }, + "934": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isLoading" + }, + "935": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isLoadingError" + }, + "936": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isRefetchError" + }, + "937": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isSuccess" + }, + "938": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.status" + }, + "939": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.dataUpdatedAt" + }, + "940": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.errorUpdatedAt" + }, + "941": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.failureCount" + }, + "942": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.failureReason" + }, + "943": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.errorUpdateCount" + }, + "944": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetched" + }, + "945": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetchedAfterMount" + }, + "946": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetching" + }, + "947": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isInitialLoading" + }, + "948": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPaused" + }, + "949": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPlaceholderData" + }, + "950": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPreviousData" + }, + "951": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isRefetching" + }, + "952": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isStale" + }, + "953": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.refetch" + }, + "954": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "955": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "956": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "options" + }, + "957": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TPageData" + }, + "958": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.remove" + }, + "959": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "960": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "961": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.fetchStatus" + }, + "962": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "963": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "964": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.error" + }, + "965": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isError" + }, + "966": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isLoading" + }, + "967": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isLoadingError" + }, + "968": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isRefetchError" + }, + "969": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isSuccess" + }, + "970": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.status" + }, + "971": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.dataUpdatedAt" + }, + "972": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.errorUpdatedAt" + }, + "973": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.failureCount" + }, + "974": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.failureReason" + }, + "975": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.errorUpdateCount" + }, + "976": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetched" + }, + "977": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetchedAfterMount" + }, + "978": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetching" + }, + "979": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isInitialLoading" + }, + "980": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPaused" + }, + "981": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPlaceholderData" + }, + "982": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPreviousData" + }, + "983": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isRefetching" + }, + "984": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isStale" + }, + "985": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.refetch" + }, + "986": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "987": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "988": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "options" + }, + "989": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TPageData" + }, + "990": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.remove" + }, + "991": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "992": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "993": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.fetchStatus" + }, + "994": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "995": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "996": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.error" + }, + "997": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isError" + }, + "998": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isLoading" + }, + "999": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isLoadingError" + }, + "1000": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isRefetchError" + }, + "1001": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isSuccess" + }, + "1002": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.status" + }, + "1003": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.dataUpdatedAt" + }, + "1004": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.errorUpdatedAt" + }, + "1005": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.failureCount" + }, + "1006": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.failureReason" + }, + "1007": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.errorUpdateCount" + }, + "1008": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetched" + }, + "1009": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetchedAfterMount" + }, + "1010": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isFetching" + }, + "1011": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isInitialLoading" + }, + "1012": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPaused" + }, + "1013": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPlaceholderData" + }, + "1014": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isPreviousData" + }, + "1015": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isRefetching" + }, + "1016": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.isStale" + }, + "1017": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.refetch" + }, + "1018": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1019": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1020": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "options" + }, + "1021": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "TPageData" + }, + "1022": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.remove" + }, + "1023": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1024": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1025": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.fetchStatus" + }, + "1026": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBuyNow" + }, + "1027": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBuyNow" + }, + "1028": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "1029": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1030": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "1031": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "1032": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1033": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1034": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBuyDirectListing" + }, + "1035": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "useBuyDirectListing" + }, + "1036": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "contract" + }, + "1037": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1038": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.receipt" + }, + "1039": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type.data" + }, + "1040": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1041": { + "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", + "qualifiedName": "__type" + }, + "1042": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFT" + }, + "1043": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFT" + }, + "1044": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "1045": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1046": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "tokenId" + }, + "1047": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFTs" + }, + "1048": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFTs" + }, + "1049": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "1050": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1051": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "queryParams" + }, + "1052": { + "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", + "qualifiedName": "__type" + }, + "1053": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useTotalCount" + }, + "1054": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useTotalCount" + }, + "1055": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "1056": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1057": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useTotalCirculatingSupply" + }, + "1058": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useTotalCirculatingSupply" + }, + "1059": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1060": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "tokenId" + }, + "1061": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useOwnedNFTs" + }, + "1062": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useOwnedNFTs" + }, + "1063": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "1064": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1065": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "ownerWalletAddress" + }, + "1066": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "queryParams" + }, + "1067": { + "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", + "qualifiedName": "__type" + }, + "1068": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFTBalance" + }, + "1069": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useNFTBalance" + }, + "1070": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1071": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "ownerWalletAddress" + }, + "1072": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "tokenId" + }, + "1073": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useMintNFT" + }, + "1074": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useMintNFT" + }, + "1075": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "1076": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1077": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useMintNFTSupply" + }, + "1078": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useMintNFTSupply" + }, + "1079": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1080": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useTransferNFT" + }, + "1081": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useTransferNFT" + }, + "1082": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "1083": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1084": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1085": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.receipt" + }, + "1086": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.data" + }, + "1087": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1088": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1089": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useAirdropNFT" + }, + "1090": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useAirdropNFT" + }, + "1091": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1092": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1093": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.receipt" + }, + "1094": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.data" + }, + "1095": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1096": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1097": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useBurnNFT" + }, + "1098": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useBurnNFT" + }, + "1099": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "1100": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1101": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1102": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.receipt" + }, + "1103": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.data" + }, + "1104": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1105": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1106": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useSharedMetadata" + }, + "1107": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useSharedMetadata" + }, + "1108": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1109": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useSetSharedMetadata" + }, + "1110": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "useSetSharedMetadata" + }, + "1111": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "TContract" + }, + "1112": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "contract" + }, + "1113": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1114": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.receipt" + }, + "1115": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.data" + }, + "1116": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1117": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1118": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type" + }, + "1119": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.name" + }, + "1120": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.description" + }, + "1121": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.image" + }, + "1122": { + "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", + "qualifiedName": "__type.animation_url" + }, + "1123": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useAllRoleMembers" + }, + "1124": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useAllRoleMembers" + }, + "1125": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "1126": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "1127": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useRoleMembers" + }, + "1128": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useRoleMembers" + }, + "1129": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "1130": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "1131": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "role" + }, + "1132": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useIsAddressRole" + }, + "1133": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useIsAddressRole" + }, + "1134": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "1135": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "1136": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "role" + }, + "1137": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "walletAddress" + }, + "1138": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useSetAllRoleMembers" + }, + "1139": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useSetAllRoleMembers" + }, + "1140": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "1141": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "1142": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useGrantRole" + }, + "1143": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useGrantRole" + }, + "1144": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "1145": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "1146": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useRevokeRole" + }, + "1147": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "useRevokeRole" + }, + "1148": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "TContract" + }, + "1149": { + "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", + "qualifiedName": "contract" + }, + "1154": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenSupply" + }, + "1155": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenSupply" + }, + "1156": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "1157": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenBalance" + }, + "1158": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenBalance" + }, + "1159": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "1160": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "walletAddress" + }, + "1161": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenDecimals" + }, + "1162": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTokenDecimals" + }, + "1163": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "1164": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useMintToken" + }, + "1165": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useMintToken" + }, + "1166": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "1167": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1168": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.receipt" + }, + "1169": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.data" + }, + "1170": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1171": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1172": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useClaimToken" + }, + "1173": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useClaimToken" + }, + "1174": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "1175": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1176": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.receipt" + }, + "1177": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.data" + }, + "1178": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1179": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1180": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferToken" + }, + "1181": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferToken" + }, + "1182": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "1183": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1184": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.receipt" + }, + "1185": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.data" + }, + "1186": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1187": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1188": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferBatchToken" + }, + "1189": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useTransferBatchToken" + }, + "1190": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "1191": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1192": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.receipt" + }, + "1193": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.data" + }, + "1194": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1195": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1196": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useBurnToken" + }, + "1197": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "useBurnToken" + }, + "1198": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "contract" + }, + "1199": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1200": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.receipt" + }, + "1201": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type.data" + }, + "1202": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1203": { + "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", + "qualifiedName": "__type" + }, + "1204": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useIsAccountDeployed" + }, + "1205": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useIsAccountDeployed" + }, + "1206": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "contract" + }, + "1207": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "admin" + }, + "1208": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "extraData" + }, + "1209": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useAccounts" + }, + "1210": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useAccounts" + }, + "1211": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "contract" + }, + "1212": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useCreateAccount" + }, + "1213": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useCreateAccount" + }, + "1214": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "contract" + }, + "1215": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useAccountsForAddress" + }, + "1216": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "useAccountsForAddress" + }, + "1217": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "contract" + }, + "1218": { + "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", + "qualifiedName": "address" + }, + "1219": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountSigners" + }, + "1220": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountSigners" + }, + "1221": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "contract" + }, + "1222": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useAddAdmin" + }, + "1223": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useAddAdmin" + }, + "1224": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useRemoveAdmin" + }, + "1225": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useRemoveAdmin" + }, + "1226": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useCreateSessionKey" + }, + "1227": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useCreateSessionKey" + }, + "1228": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useRevokeSessionKey" + }, + "1229": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useRevokeSessionKey" + }, + "1230": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountAdmins" + }, + "1231": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountAdmins" + }, + "1232": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "contract" + }, + "1233": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountAdminsAndSigners" + }, + "1234": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "useAccountAdminsAndSigners" + }, + "1235": { + "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", + "qualifiedName": "contract" + }, + "1236": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "useLogin" + }, + "1237": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "useLogin" + }, + "1238": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__type" + }, + "1239": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__type.login" + }, + "1240": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__type" + }, + "1241": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__type" + }, + "1242": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", + "qualifiedName": "__type.isLoading" + }, + "1243": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "useLogout" + }, + "1244": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "useLogout" + }, + "1245": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "__type" + }, + "1246": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "__type.logout" + }, + "1247": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", + "qualifiedName": "__type.isLoading" + }, + "1248": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "useUser" + }, + "1249": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "useUser" + }, + "1250": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "TData" + }, + "1251": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "TContext" + }, + "1252": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "__type" + }, + "1253": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "__type.user" + }, + "1254": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "__type.isLoggedIn" + }, + "1255": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "__type.isLoading" + }, + "1256": { + "sourceFileName": "../react-core/src/evm/hooks/auth/index.ts", + "qualifiedName": "useAuth" + }, + "1257": { + "sourceFileName": "../react-core/src/evm/hooks/auth/index.ts", + "qualifiedName": "useAuth" + }, + "1258": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "useSwitchAccount" + }, + "1259": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "useSwitchAccount" + }, + "1260": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "__type" + }, + "1261": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "__type.switchAccount" + }, + "1262": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", + "qualifiedName": "__type.isLoading" + }, + "1263": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "UserWithData" + }, + "1264": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "UserWithData.data" + }, + "1265": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "__type.address" + }, + "1266": { + "sourceFileName": "../auth/src/core/schema/common.ts", + "qualifiedName": "__type.session" + }, + "1267": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "UserWithData.TData" + }, + "1268": { + "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", + "qualifiedName": "UserWithData.TContext" + }, + "1269": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useEditionDrop.ts", + "qualifiedName": "useEditionDrop" + }, + "1270": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useEditionDrop.ts", + "qualifiedName": "useEditionDrop" + }, + "1271": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useEditionDrop.ts", + "qualifiedName": "contractAddress" + }, + "1272": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useEdition.ts", + "qualifiedName": "useEdition" + }, + "1273": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useEdition.ts", + "qualifiedName": "useEdition" + }, + "1274": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useEdition.ts", + "qualifiedName": "contractAddress" + }, + "1275": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTDrop.ts", + "qualifiedName": "useNFTDrop" + }, + "1276": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTDrop.ts", + "qualifiedName": "useNFTDrop" + }, + "1277": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTDrop.ts", + "qualifiedName": "contractAddress" + }, + "1278": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useMarketplace.ts", + "qualifiedName": "useMarketplace" + }, + "1279": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useMarketplace.ts", + "qualifiedName": "useMarketplace" + }, + "1280": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useMarketplace.ts", + "qualifiedName": "contractAddress" + }, + "1281": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTCollection.ts", + "qualifiedName": "useNFTCollection" + }, + "1282": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTCollection.ts", + "qualifiedName": "useNFTCollection" + }, + "1283": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTCollection.ts", + "qualifiedName": "contractAddress" + }, + "1284": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/usePack.ts", + "qualifiedName": "usePack" + }, + "1285": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/usePack.ts", + "qualifiedName": "usePack" + }, + "1286": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/usePack.ts", + "qualifiedName": "contractAddress" + }, + "1287": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useToken.ts", + "qualifiedName": "useToken" + }, + "1288": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useToken.ts", + "qualifiedName": "useToken" + }, + "1289": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useToken.ts", + "qualifiedName": "contractAddress" + }, + "1290": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useTokenDrop.ts", + "qualifiedName": "useTokenDrop" + }, + "1291": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useTokenDrop.ts", + "qualifiedName": "useTokenDrop" + }, + "1292": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useTokenDrop.ts", + "qualifiedName": "contractAddress" + }, + "1293": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useVote.ts", + "qualifiedName": "useVote" + }, + "1294": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useVote.ts", + "qualifiedName": "useVote" + }, + "1295": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useVote.ts", + "qualifiedName": "contractAddress" + }, + "1296": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useSplit.ts", + "qualifiedName": "useSplit" + }, + "1297": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useSplit.ts", + "qualifiedName": "useSplit" + }, + "1298": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useSplit.ts", + "qualifiedName": "contractAddress" + }, + "1299": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useMultiwrap.ts", + "qualifiedName": "useMultiwrap" + }, + "1300": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useMultiwrap.ts", + "qualifiedName": "useMultiwrap" + }, + "1301": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useMultiwrap.ts", + "qualifiedName": "contractAddress" + }, + "1302": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useSignatureDrop.ts", + "qualifiedName": "useSignatureDrop" + }, + "1303": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useSignatureDrop.ts", + "qualifiedName": "useSignatureDrop" + }, + "1304": { + "sourceFileName": "../react-core/src/evm/hooks/contracts/useSignatureDrop.ts", + "qualifiedName": "contractAddress" + }, + "1305": { + "sourceFileName": "../react-core/src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "useStorageUpload" + }, + "1306": { + "sourceFileName": "../react-core/src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "useStorageUpload" + }, + "1307": { + "sourceFileName": "../react-core/src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "T" + }, + "1308": { + "sourceFileName": "../react-core/src/evm/hooks/storage/useStorageUpload.ts", + "qualifiedName": "uploadOptions" + }, + "1309": { + "sourceFileName": "../react-core/src/evm/hooks/storage/index.ts", + "qualifiedName": "useStorage" + }, + "1310": { + "sourceFileName": "../react-core/src/evm/hooks/storage/index.ts", + "qualifiedName": "useStorage" + }, + "1311": { + "sourceFileName": "../react-core/src/evm/hooks/useNetworkMismatch.ts", + "qualifiedName": "useNetworkMismatch" + }, + "1312": { + "sourceFileName": "../react-core/src/evm/hooks/useNetworkMismatch.ts", + "qualifiedName": "useNetworkMismatch" + }, + "1321": { + "sourceFileName": "../react-core/src/evm/hooks/useSupportedChains.ts", + "qualifiedName": "useSupportedChains" + }, + "1322": { + "sourceFileName": "../react-core/src/evm/hooks/useSupportedChains.ts", + "qualifiedName": "useSupportedChains" + }, + "1323": { + "sourceFileName": "../react-core/src/evm/hooks/useSupportedWallet.ts", + "qualifiedName": "useSupportedWallet" + }, + "1324": { + "sourceFileName": "../react-core/src/evm/hooks/useSupportedWallet.ts", + "qualifiedName": "useSupportedWallet" + }, + "1325": { + "sourceFileName": "../react-core/src/evm/hooks/useSupportedWallet.ts", + "qualifiedName": "id" + }, + "1326": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "useAppURI" + }, + "1327": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "useAppURI" + }, + "1328": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "TContract" + }, + "1329": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "contract" + }, + "1330": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "useSetAppURI" + }, + "1331": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "useSetAppURI" + }, + "1332": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "contract" + }, + "1333": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "__type" + }, + "1334": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "__type.receipt" + }, + "1335": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "__type.data" + }, + "1336": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "__type" + }, + "1337": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "__type" + }, + "1338": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "__type" + }, + "1339": { + "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", + "qualifiedName": "__type.uri" + }, + "1340": { + "sourceFileName": "../react-core/src/evm/hooks/useENS.ts", + "qualifiedName": "useENS" + }, + "1341": { + "sourceFileName": "../react-core/src/evm/hooks/useENS.ts", + "qualifiedName": "useENS" + }, + "1342": { + "sourceFileName": "../react-core/src/evm/providers/thirdweb-sdk-provider.tsx", + "qualifiedName": "ThirdwebSDKProvider" + }, + "1343": { + "sourceFileName": "../react-core/src/evm/providers/thirdweb-sdk-provider.tsx", + "qualifiedName": "ThirdwebSDKProvider" + }, + "1344": { + "sourceFileName": "../react-core/src/evm/providers/thirdweb-sdk-provider.tsx", + "qualifiedName": "TChains" + }, + "1345": { + "sourceFileName": "../react-core/src/evm/providers/thirdweb-sdk-provider.tsx", + "qualifiedName": "__0" + }, + "1346": { + "sourceFileName": "../react-core/src/evm/hooks/useSDK.ts", + "qualifiedName": "useSDK" + }, + "1347": { + "sourceFileName": "../react-core/src/evm/hooks/useSDK.ts", + "qualifiedName": "useSDK" + }, + "1350": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps" + }, + "1351": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.supportedChains" + }, + "1352": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.signer" + }, + "1353": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.sdkOptions" + }, + "1354": { + "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", + "qualifiedName": "__type" + }, + "1355": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.storageInterface" + }, + "1356": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.authConfig" + }, + "1357": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.activeChain" + }, + "1358": { + "sourceFileName": "\u0000", + "qualifiedName": "__type" + }, + "1359": { + "sourceFileName": "\u0000", + "qualifiedName": "__type" + }, + "1360": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.clientId" + }, + "1361": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.secretKey" + }, + "1362": { + "sourceFileName": "../react-core/src/core/providers/query-client.tsx", + "qualifiedName": "QueryClientProviderProps.queryClient" + }, + "1363": { + "sourceFileName": "../react-core/src/evm/providers/types.ts", + "qualifiedName": "ThirdwebSDKProviderProps.TChains" + }, + "1369": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "Chain" + }, + "1370": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1371": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.id" + }, + "1372": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.name" + }, + "1373": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.nativeCurrency" + }, + "1374": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.rpcUrls" + }, + "1375": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.blockExplorers" + }, + "1376": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1377": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.name" + }, + "1378": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.url" + }, + "1379": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.testnet" + }, + "1380": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "WalletAddress" + }, + "1381": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "TokenParams" + }, + "1382": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1383": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1384": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1385": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "TokenBurnParams" + }, + "1386": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1387": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1388": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "NFTContract" + }, + "1389": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "TokenContract" + }, + "1390": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "Erc721OrErc1155" + }, + "1391": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "TransferNFTParams" + }, + "1392": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1393": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1394": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1395": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1396": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "AirdropNFTParams" + }, + "1397": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1398": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1399": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.addresses" + }, + "1400": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "MintNFTSupplyParams" + }, + "1401": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1402": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1403": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.additionalSupply" + }, + "1404": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1405": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "MintNFTParams" + }, + "1406": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1407": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.metadata" + }, + "1408": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1409": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.supply" + }, + "1410": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "MintNFTReturnType" + }, + "1411": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "TContract" + }, + "1412": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "BurnNFTParams" + }, + "1413": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1414": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1415": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1416": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "DropContract" + }, + "1417": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "RevealableContract" + }, + "1418": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "DelayedRevealLazyMintInput" + }, + "1419": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1420": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.placeholder" + }, + "1421": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.metadatas" + }, + "1422": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.password" + }, + "1423": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "RevealLazyMintInput" + }, + "1424": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1425": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.batchId" + }, + "1426": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.password" + }, + "1427": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "ClaimNFTParams" + }, + "1428": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1429": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1430": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.quantity" + }, + "1431": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.options" + }, + "1432": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.tokenId" + }, + "1433": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "ClaimNFTReturnType" + }, + "1434": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "MakeBidParams" + }, + "1435": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1436": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.listingId" + }, + "1437": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.bid" + }, + "1438": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "MakeOfferParams" + }, + "1439": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1440": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.listingId" + }, + "1441": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.pricePerToken" + }, + "1442": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.quantity" + }, + "1443": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "AcceptDirectOffer" + }, + "1444": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1445": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.listingId" + }, + "1446": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.addressOfOfferor" + }, + "1447": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "ExecuteAuctionSale" + }, + "1448": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1449": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.listingId" + }, + "1450": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "BuyNowParams" + }, + "1451": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1452": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.id" + }, + "1453": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.type" + }, + "1454": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.buyAmount" + }, + "1455": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.buyForWallet" + }, + "1456": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1457": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.id" + }, + "1458": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.type" + }, + "1459": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "TListingType" + }, + "1460": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "ClaimTokenParams" + }, + "1461": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1462": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.to" + }, + "1463": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.amount" + }, + "1464": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.checkERC20Allowance" + }, + "1465": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "getErcs" + }, + "1466": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "getErcs" + }, + "1467": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "contract" + }, + "1468": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type" + }, + "1469": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.erc1155" + }, + "1470": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.erc721" + }, + "1471": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "__type.erc20" + }, + "1472": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "getErc1155" + }, + "1473": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "getErc1155" + }, + "1474": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "contract" + }, + "1475": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "getErc721" + }, + "1476": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "getErc721" + }, + "1477": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "contract" + }, + "1478": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "getErc20" + }, + "1479": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "getErc20" + }, + "1480": { + "sourceFileName": "../react-core/src/evm/types.ts", + "qualifiedName": "contract" + }, + "1481": { + "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", + "qualifiedName": "useWatchTransactions" + }, + "1482": { + "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", + "qualifiedName": "useWatchTransactions" + }, + "1483": { + "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", + "qualifiedName": "watchTransactionParams" + }, + "1484": { + "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", + "qualifiedName": "UseWatchTransactionsParams" + }, + "1485": { + "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", + "qualifiedName": "__type" + }, + "1486": { + "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", + "qualifiedName": "__type.limit" + } + } +} \ No newline at end of file diff --git a/packages/react/typedoc/functions/ConnectModalInline.html b/packages/react/typedoc/functions/ConnectModalInline.html new file mode 100644 index 00000000000..91398084ee2 --- /dev/null +++ b/packages/react/typedoc/functions/ConnectModalInline.html @@ -0,0 +1,72 @@ +ConnectModalInline | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ConnectModalInline

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/ConnectWallet.html b/packages/react/typedoc/functions/ConnectWallet.html new file mode 100644 index 00000000000..3f71e25b328 --- /dev/null +++ b/packages/react/typedoc/functions/ConnectWallet.html @@ -0,0 +1,78 @@ +ConnectWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ConnectWallet

+
+
    + +
  • +

    A component that allows the user to connect their wallet.

    +

    The button must be descendant of ThirdwebProvider in order to function.

    +
    +
    +

    Parameters

    +
    +

    Returns ReactNode

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/MediaRenderer.html b/packages/react/typedoc/functions/MediaRenderer.html new file mode 100644 index 00000000000..65187607ac1 --- /dev/null +++ b/packages/react/typedoc/functions/MediaRenderer.html @@ -0,0 +1,84 @@ +MediaRenderer | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function MediaRenderer

+
+
    + +
  • +

    This component can be used to render any media type, including image, audio, video, and html files. +Its convenient for rendering NFT media files, as these can be a variety of different types. +The component falls back to a external link if the media type is not supported. +The default size is 300px by 300px, but this can be changed using the width and height props.

    +

    Props: MediaRendererProps

    +
    +
    +

    Parameters

    +
    +

    Returns ReactNode

    +
    +

    Example

    We can take a video file hosted on IPFS and render it using this component as follows

    +
    const Component = () => {
    return <MediaRenderer
    src="ipfs://Qmb9ZV5yznE4C4YvyJe8DVFv1LSVkebdekY6HjLVaKmHZi"
    alt="A mp4 video"
    />
    } +
    +

    You can try switching out the src prop to different types of URLs and media types to explore the possibilities.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/NetworkSelector.html b/packages/react/typedoc/functions/NetworkSelector.html new file mode 100644 index 00000000000..e435bfbce4e --- /dev/null +++ b/packages/react/typedoc/functions/NetworkSelector.html @@ -0,0 +1,74 @@ +NetworkSelector | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function NetworkSelector

+
+
    + +
  • +
    +

    Parameters

    +
    +

    Returns ReactNode

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebAuthProvider.html b/packages/react/typedoc/functions/ThirdwebAuthProvider.html new file mode 100644 index 00000000000..43d885bb547 --- /dev/null +++ b/packages/react/typedoc/functions/ThirdwebAuthProvider.html @@ -0,0 +1,74 @@ +ThirdwebAuthProvider | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ThirdwebAuthProvider

+
+
    + +
  • +
    +

    Parameters

    +
      +
    • +
      props: PropsWithChildren<{
          value?: ThirdwebAuthConfig;
      }>
    • +
    • +
      Optional context: any
    +

    Returns ReactNode

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebConfigProvider.html b/packages/react/typedoc/functions/ThirdwebConfigProvider.html new file mode 100644 index 00000000000..f28005dc356 --- /dev/null +++ b/packages/react/typedoc/functions/ThirdwebConfigProvider.html @@ -0,0 +1,74 @@ +ThirdwebConfigProvider | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ThirdwebConfigProvider

+
+
    + +
  • +
    +

    Parameters

    +
      +
    • +
      props: PropsWithChildren<{
          value: ThirdwebConfigContext;
      }>
    • +
    • +
      Optional context: any
    +

    Returns ReactNode

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebConnectedWalletProvider.html b/packages/react/typedoc/functions/ThirdwebConnectedWalletProvider.html new file mode 100644 index 00000000000..9fedf0349af --- /dev/null +++ b/packages/react/typedoc/functions/ThirdwebConnectedWalletProvider.html @@ -0,0 +1,74 @@ +ThirdwebConnectedWalletProvider | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ThirdwebConnectedWalletProvider

+
+
    + +
  • +
    +

    Parameters

    +
      +
    • +
      props: PropsWithChildren<{
          signer?: Signer;
      }>
    • +
    • +
      Optional context: any
    +

    Returns ReactNode

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebNftMedia.html b/packages/react/typedoc/functions/ThirdwebNftMedia.html new file mode 100644 index 00000000000..ba464b9f0a0 --- /dev/null +++ b/packages/react/typedoc/functions/ThirdwebNftMedia.html @@ -0,0 +1,81 @@ +ThirdwebNftMedia | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ThirdwebNftMedia

+
+
    + +
  • +

    This component can be used to render NFTs from the thirdweb SDK. +It will render the animation_url if it exists, otherwise it will render the image. +The default size is 300px by 300px, but this can be changed using the width and height props.

    +

    Props: ThirdwebNftMediaProps

    +
    +
    +

    Parameters

    +
    +

    Returns ReactNode

    +
    +

    Example

    import { ThirdwebNftMedia, useContract, useNFT } from "@thirdweb-dev/react";
    export default function NFTCollectionRender() {
    const { contract } = useContract(<your-contract-address>);
    const { data: nft, isLoading } = useNFT(contract, 0);

    return (
    <div>
    {!isLoading && nft ? (
    <ThirdwebNftMedia metadata={nft.metadata} />
    ) : (
    <p>Loading...</p>
    )}
    </div>
    );
    } +
    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebProvider.html b/packages/react/typedoc/functions/ThirdwebProvider.html new file mode 100644 index 00000000000..423a0f991d7 --- /dev/null +++ b/packages/react/typedoc/functions/ThirdwebProvider.html @@ -0,0 +1,85 @@ +ThirdwebProvider | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ThirdwebProvider

+
+
    + +
  • +

    The <ThirdwebProvider /> component lets you control what networks you want users to connect to, +what types of wallets can connect to your app, and the settings for the Thirdweb SDK.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      TChains extends Chain[] = ({} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {})[]

    +
    +

    Parameters

    +
      +
    • +
      __namedParameters: PropsWithChildren<ThirdwebProviderProps<TChains>>
    +

    Returns Element

    +
    +

    Example

    You can wrap your application with the provider as follows:

    +
    import { ThirdwebProvider } from "@thirdweb-dev/react";

    const App = () => {
    return (
    <ThirdwebProvider>
    <YourApp />
    </ThirdwebProvider>
    );
    }; +
    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebProviderCore.html b/packages/react/typedoc/functions/ThirdwebProviderCore.html new file mode 100644 index 00000000000..a9fbfaca471 --- /dev/null +++ b/packages/react/typedoc/functions/ThirdwebProviderCore.html @@ -0,0 +1,77 @@ +ThirdwebProviderCore | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ThirdwebProviderCore

+
+
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      TChains extends Chain[]

    +
    +

    Parameters

    +
    +

    Returns Element

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebSDKProvider.html b/packages/react/typedoc/functions/ThirdwebSDKProvider.html new file mode 100644 index 00000000000..54a4593d834 --- /dev/null +++ b/packages/react/typedoc/functions/ThirdwebSDKProvider.html @@ -0,0 +1,83 @@ +ThirdwebSDKProvider | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function ThirdwebSDKProvider

+
+
    + +
  • +

    A basic wrapper around the Thirdweb SDK.

    +

    You can use this in order to be able to pass a provider & signer directly to the SDK.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      TChains extends Chain[]

    +
    +

    Parameters

    +
    +

    Returns Element

    +
    +

    Remarks

    Utilizing this provider will mean hooks for wallet management are not available, if you need those please use the ThirdwebProvider instead.

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/Web3Button.html b/packages/react/typedoc/functions/Web3Button.html new file mode 100644 index 00000000000..c306304c209 --- /dev/null +++ b/packages/react/typedoc/functions/Web3Button.html @@ -0,0 +1,84 @@ +Web3Button | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function Web3Button

+
+
    + +
  • Beta +

    A component that allows the user to call an on-chain function on a contract.

    +

    The button has to be wrapped in a ThirdwebProvider in order to function.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      TAction extends ActionFn

    +
    +

    Parameters

    +
      +
    • +
      props: PropsWithChildren<Web3ButtonProps<TAction>>
    +

    Returns Element

    +
    +

    Example

    import { Web3Button } from "@thirdweb-dev/react";

    const App = () => {
    return (
    <div>
    <Web3Button contractAddress="0x..." action={(contract) => contract.erc721.transfer("0x...", 1)} />
    </div>
    )
    } +
    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/bloctoWallet.html b/packages/react/typedoc/functions/bloctoWallet.html new file mode 100644 index 00000000000..49c5b5aec68 --- /dev/null +++ b/packages/react/typedoc/functions/bloctoWallet.html @@ -0,0 +1,72 @@ +bloctoWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function bloctoWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/coinbaseWallet.html b/packages/react/typedoc/functions/coinbaseWallet.html new file mode 100644 index 00000000000..c84b458f631 --- /dev/null +++ b/packages/react/typedoc/functions/coinbaseWallet.html @@ -0,0 +1,72 @@ +coinbaseWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function coinbaseWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/darkTheme.html b/packages/react/typedoc/functions/darkTheme.html new file mode 100644 index 00000000000..79276b10e45 --- /dev/null +++ b/packages/react/typedoc/functions/darkTheme.html @@ -0,0 +1,72 @@ +darkTheme | @thirdweb-dev/react
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/embeddedWallet.html b/packages/react/typedoc/functions/embeddedWallet.html new file mode 100644 index 00000000000..34bc27fa41f --- /dev/null +++ b/packages/react/typedoc/functions/embeddedWallet.html @@ -0,0 +1,72 @@ +embeddedWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function embeddedWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/frameWallet.html b/packages/react/typedoc/functions/frameWallet.html new file mode 100644 index 00000000000..51b1fb4b605 --- /dev/null +++ b/packages/react/typedoc/functions/frameWallet.html @@ -0,0 +1,72 @@ +frameWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function frameWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/getErc1155.html b/packages/react/typedoc/functions/getErc1155.html new file mode 100644 index 00000000000..6618c5e1774 --- /dev/null +++ b/packages/react/typedoc/functions/getErc1155.html @@ -0,0 +1,72 @@ +getErc1155 | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function getErc1155

+
+
    + +
  • +
    +

    Parameters

    +
    +

    Returns Erc1155 | undefined

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/getErc20.html b/packages/react/typedoc/functions/getErc20.html new file mode 100644 index 00000000000..bd72b553fe8 --- /dev/null +++ b/packages/react/typedoc/functions/getErc20.html @@ -0,0 +1,72 @@ +getErc20 | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function getErc20

+
+
    + +
  • +
    +

    Parameters

    +
    +

    Returns Erc20 | undefined

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/getErc721.html b/packages/react/typedoc/functions/getErc721.html new file mode 100644 index 00000000000..7ba5eea42e6 --- /dev/null +++ b/packages/react/typedoc/functions/getErc721.html @@ -0,0 +1,72 @@ +getErc721 | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function getErc721

+
+
    + +
  • +
    +

    Parameters

    +
    +

    Returns Erc721 | undefined

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/getErcs.html b/packages/react/typedoc/functions/getErcs.html new file mode 100644 index 00000000000..084fe05a386 --- /dev/null +++ b/packages/react/typedoc/functions/getErcs.html @@ -0,0 +1,79 @@ +getErcs | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function getErcs

+
+
    + +
  • +
    +

    Parameters

    +
    +

    Returns {
        erc1155: Erc1155<BaseERC1155 | BaseSignatureMintERC1155> | undefined;
        erc20: Erc20<BaseERC20 | BaseSignatureMintERC20> | undefined;
        erc721: Erc721<BaseERC721> | undefined;
    }

    +
      +
    • +
      erc1155: Erc1155<BaseERC1155 | BaseSignatureMintERC1155> | undefined
    • +
    • +
      erc20: Erc20<BaseERC20 | BaseSignatureMintERC20> | undefined
    • +
    • +
      erc721: Erc721<BaseERC721> | undefined
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/lightTheme.html b/packages/react/typedoc/functions/lightTheme.html new file mode 100644 index 00000000000..fc1a5c357ed --- /dev/null +++ b/packages/react/typedoc/functions/lightTheme.html @@ -0,0 +1,72 @@ +lightTheme | @thirdweb-dev/react
+
+ +
+ +
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/localWallet.html b/packages/react/typedoc/functions/localWallet.html new file mode 100644 index 00000000000..71acab29f20 --- /dev/null +++ b/packages/react/typedoc/functions/localWallet.html @@ -0,0 +1,72 @@ +localWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function localWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/magicLink.html b/packages/react/typedoc/functions/magicLink.html new file mode 100644 index 00000000000..ff71c99fd89 --- /dev/null +++ b/packages/react/typedoc/functions/magicLink.html @@ -0,0 +1,72 @@ +magicLink | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function magicLink

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/metamaskWallet.html b/packages/react/typedoc/functions/metamaskWallet.html new file mode 100644 index 00000000000..5edd52fa7ef --- /dev/null +++ b/packages/react/typedoc/functions/metamaskWallet.html @@ -0,0 +1,72 @@ +metamaskWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function metamaskWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/paperWallet.html b/packages/react/typedoc/functions/paperWallet.html new file mode 100644 index 00000000000..e7f192958af --- /dev/null +++ b/packages/react/typedoc/functions/paperWallet.html @@ -0,0 +1,72 @@ +paperWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function paperWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/phantomWallet.html b/packages/react/typedoc/functions/phantomWallet.html new file mode 100644 index 00000000000..07d5eee9d0b --- /dev/null +++ b/packages/react/typedoc/functions/phantomWallet.html @@ -0,0 +1,72 @@ +phantomWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function phantomWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/rainbowWallet.html b/packages/react/typedoc/functions/rainbowWallet.html new file mode 100644 index 00000000000..fae8da23c17 --- /dev/null +++ b/packages/react/typedoc/functions/rainbowWallet.html @@ -0,0 +1,72 @@ +rainbowWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function rainbowWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/resolveMimeType.html b/packages/react/typedoc/functions/resolveMimeType.html new file mode 100644 index 00000000000..40d063dc0c7 --- /dev/null +++ b/packages/react/typedoc/functions/resolveMimeType.html @@ -0,0 +1,72 @@ +resolveMimeType | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function resolveMimeType

+
+
    + +
  • +
    +

    Parameters

    +
      +
    • +
      Optional url: string
    +

    Returns Promise<string | undefined>

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/safeWallet.html b/packages/react/typedoc/functions/safeWallet.html new file mode 100644 index 00000000000..e6dfc4acd5b --- /dev/null +++ b/packages/react/typedoc/functions/safeWallet.html @@ -0,0 +1,72 @@ +safeWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function safeWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/shouldNeverPersistQuery.html b/packages/react/typedoc/functions/shouldNeverPersistQuery.html new file mode 100644 index 00000000000..02e9ade5089 --- /dev/null +++ b/packages/react/typedoc/functions/shouldNeverPersistQuery.html @@ -0,0 +1,77 @@ +shouldNeverPersistQuery | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function shouldNeverPersistQuery

+
+
    + +
  • +
    +

    Type Parameters

    +
      +
    • +

      TKey extends QueryKey

    +
    +

    Parameters

    +
      +
    • +
      key: TKey
    +

    Returns boolean

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/smartWallet.html b/packages/react/typedoc/functions/smartWallet.html new file mode 100644 index 00000000000..289144fc1d9 --- /dev/null +++ b/packages/react/typedoc/functions/smartWallet.html @@ -0,0 +1,74 @@ +smartWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function smartWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/trustWallet.html b/packages/react/typedoc/functions/trustWallet.html new file mode 100644 index 00000000000..7f8f5d70d0a --- /dev/null +++ b/packages/react/typedoc/functions/trustWallet.html @@ -0,0 +1,72 @@ +trustWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function trustWallet

+
+
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAcceptDirectListingOffer.html b/packages/react/typedoc/functions/useAcceptDirectListingOffer.html new file mode 100644 index 00000000000..f7780ce9631 --- /dev/null +++ b/packages/react/typedoc/functions/useAcceptDirectListingOffer.html @@ -0,0 +1,86 @@ +useAcceptDirectListingOffer | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAcceptDirectListingOffer

+
+
    + +
  • +

    Accept a specific offer on a direct listing

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<Marketplace>
      +

      an instance of a Marketplace contract

      +
      +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, AcceptDirectOffer, unknown>

    a mutation object that can be used to accept an offer on a direct listing

    + +
    +

    Remarks

    will accept the latest offer by the given offeror.

    + +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: acceptOffer,
    isLoading,
    error,
    } = useAcceptDirectListingOffer(contract);

    if (error) {
    console.error("failed to accept offer", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => acceptOffer({ listingId: 1, addressOfOfferor: "{{wallet_address}}" })}
    >
    Accept offer
    </button>
    );
    }; +
    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccountAdmins.html b/packages/react/typedoc/functions/useAccountAdmins.html new file mode 100644 index 00000000000..a361aa344ee --- /dev/null +++ b/packages/react/typedoc/functions/useAccountAdmins.html @@ -0,0 +1,86 @@ +useAccountAdmins | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAccountAdmins

+
+
    + +
  • Beta +

    Get all admins of account

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<SmartContract<BaseContract>>
      +

      an instance of a account

      +
      +
    +

    Returns UseQueryResult<WalletAddress[]>

    a response object that includes an array of all admins of the provided account

    + +
    +

    Example

    const { data: accounts, isLoading, error } = useAccountSigners(contract);
    +
    + +

    Twfeature

    Account

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccountAdminsAndSigners.html b/packages/react/typedoc/functions/useAccountAdminsAndSigners.html new file mode 100644 index 00000000000..ff1982ddbdd --- /dev/null +++ b/packages/react/typedoc/functions/useAccountAdminsAndSigners.html @@ -0,0 +1,86 @@ +useAccountAdminsAndSigners | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAccountAdminsAndSigners

+
+
    + +
  • Beta +

    Get all signers and admins of account

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<SmartContract<BaseContract>>
      +

      an instance of a account

      +
      +
    +

    Returns UseQueryResult<SignerWithPermissions[]>

    a response object that includes an array of all admins of the provided account

    + +
    +

    Example

    const { data: accounts, isLoading, error } = useAccountSigners(contract);
    +
    + +

    Twfeature

    Account

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccountSigners.html b/packages/react/typedoc/functions/useAccountSigners.html new file mode 100644 index 00000000000..15001f330ca --- /dev/null +++ b/packages/react/typedoc/functions/useAccountSigners.html @@ -0,0 +1,86 @@ +useAccountSigners | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAccountSigners

+
+
    + +
  • Beta +

    Get all signers of account

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<SmartContract<BaseContract>>
      +

      an instance of a account

      +
      +
    +

    Returns UseQueryResult<SignerWithPermissions[]>

    a response object that includes an array of all signers of the provided account

    + +
    +

    Example

    const { data: accounts, isLoading, error } = useAccountSigners(contract);
    +
    + +

    Twfeature

    Account

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccounts.html b/packages/react/typedoc/functions/useAccounts.html new file mode 100644 index 00000000000..bdb45d49a7d --- /dev/null +++ b/packages/react/typedoc/functions/useAccounts.html @@ -0,0 +1,86 @@ +useAccounts | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAccounts

+
+
    + +
  • Beta +

    Get all accounts

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<SmartContract<BaseContract>>
      +

      an instance of a account factory contract

      +
      +
    +

    Returns UseQueryResult<string[]>

    a response object that includes an array of all accounts with their associated admin

    + +
    +

    Example

    const { data: accounts, isLoading, error } = useAccounts(contract);
    +
    + +

    Twfeature

    AccountFactory

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccountsForAddress.html b/packages/react/typedoc/functions/useAccountsForAddress.html new file mode 100644 index 00000000000..0508efb1d16 --- /dev/null +++ b/packages/react/typedoc/functions/useAccountsForAddress.html @@ -0,0 +1,88 @@ +useAccountsForAddress | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAccountsForAddress

+
+
    + +
  • Beta +

    Get all accounts associated with the provided address

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<SmartContract<BaseContract>>
      +

      an instance of a account factory contract

      +
      +
    • +
    • +
      address: RequiredParam<string>
    +

    Returns UseQueryResult<string[]>

    a response object that includes an array of all accounts associated with the adress

    + +
    +

    Example

    const { data: accountsForAddress, isLoading, error } = useAccountsForAddress(contract, "{{account_address}}");
    +
    + +

    Twfeature

    AccountFactory

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useActiveChain.html b/packages/react/typedoc/functions/useActiveChain.html new file mode 100644 index 00000000000..a187605a8f6 --- /dev/null +++ b/packages/react/typedoc/functions/useActiveChain.html @@ -0,0 +1,71 @@ +useActiveChain | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useActiveChain

+
+
    + +
  • +

    Returns Chain | undefined

    +
    +

    Deprecated

    This hook is renamed to useChain

    +

    use the useChain hook instead

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useActiveClaimCondition.html b/packages/react/typedoc/functions/useActiveClaimCondition.html new file mode 100644 index 00000000000..2fc0322f8b9 --- /dev/null +++ b/packages/react/typedoc/functions/useActiveClaimCondition.html @@ -0,0 +1,93 @@ +useActiveClaimCondition | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useActiveClaimCondition

+
+
    + +
  • Beta +

    Get the active claim condition

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<DropContract>
      +

      an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the claimConditions extension.

      +
      +
    • +
    • +
      Optional tokenId: BigNumberish
      +

      the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

      +
      +
    • +
    • +
      Optional options: ClaimConditionFetchOptions
    +

    Returns UseQueryResult<ClaimCondition | undefined>

    a response object with the currently active claim condition

    + +
    +

    Example

    const { data: activeClaimCondition, isLoading, error } = useActiveClaimCondition(contract);
    +
    + +

    Twfeature

    ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useActiveClaimConditionForWallet.html b/packages/react/typedoc/functions/useActiveClaimConditionForWallet.html new file mode 100644 index 00000000000..21e9511bab9 --- /dev/null +++ b/packages/react/typedoc/functions/useActiveClaimConditionForWallet.html @@ -0,0 +1,96 @@ +useActiveClaimConditionForWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useActiveClaimConditionForWallet

+
+
    + +
  • Beta +

    Get the active claim condition for a specific wallet

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<DropContract>
      +

      an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the claimConditions extension.

      +
      +
    • +
    • +
      walletAddress: RequiredParam<string>
      +

      the wallet address to check the active claim condition for

      +
      +
    • +
    • +
      Optional tokenId: BigNumberish
      +

      the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

      +
      +
    +

    Returns UseQueryResult<ClaimCondition | null>

    the active claim conditon for the wallet address or null if there is no active claim condition

    + +
    +

    Example

    const { data: activeClaimConditionForWallet, isLoading, error } = useActiveClaimConditionForWallet(contract, "{{wallet_address}}");
    +
    + +

    Twfeature

    ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useActiveListings.html b/packages/react/typedoc/functions/useActiveListings.html new file mode 100644 index 00000000000..0b84366d52d --- /dev/null +++ b/packages/react/typedoc/functions/useActiveListings.html @@ -0,0 +1,89 @@ +useActiveListings | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useActiveListings

+
+
    + +
  • Beta +

    Get all active listings

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<Marketplace>
      +

      an instance of a marketplace contract

      +
      +
    • +
    • +
      Optional filter: MarketplaceFilter
      +

      filter to pass to the query for the sake of pagination & filtering

      +
      +
    +

    Returns UseQueryResult

    a response object that includes an array of listings

    + +
    +

    Example

    const { data: listings, isLoading, error } = useActiveListings(contract, { seller: "{{wallet_adress}}", tokenContract: "0x...", tokenId: 1, start: 0, count: 100 });
    +
    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAddAdmin.html b/packages/react/typedoc/functions/useAddAdmin.html new file mode 100644 index 00000000000..a36275055b8 --- /dev/null +++ b/packages/react/typedoc/functions/useAddAdmin.html @@ -0,0 +1,75 @@ +useAddAdmin | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAddAdmin

+
+
    + +
  • +

    Add an additional admin on the smart wallet

    +
    +

    Returns UseMutationResult<TransactionResult, unknown, string>

    +
    +

    Example

    const Component = () => {
    const {
    mutate: addAdmin,
    isLoading,
    error,
    } = useAddAdmin();

    if (error) {
    console.error("failed to add admin", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => addAdmin("0x...")}
    >
    Add admin
    </button>
    );
    }; +
    + +

    Twfeature

    Account

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAddress.html b/packages/react/typedoc/functions/useAddress.html new file mode 100644 index 00000000000..9b9db39048c --- /dev/null +++ b/packages/react/typedoc/functions/useAddress.html @@ -0,0 +1,79 @@ +useAddress | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAddress

+
+
    + +
  • +

    Hook for accessing the address of the connected wallet

    +
    import { useAddress } from "@thirdweb-dev/react"
    +
    +
    +

    Returns string | undefined

    +
    +

    Example

    To get the address of the connected wallet, you can use the hook as follows:

    +
    import { useAddress } from "@thirdweb-dev/react"

    const App = () => {
    const address = useAddress()

    return <div>{address}</div>
    } +
    +

    The address variable will hold the address of the connected wallet if a user has connected using one of the supported wallet connection hooks.

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAirdropNFT.html b/packages/react/typedoc/functions/useAirdropNFT.html new file mode 100644 index 00000000000..48f3368eca7 --- /dev/null +++ b/packages/react/typedoc/functions/useAirdropNFT.html @@ -0,0 +1,86 @@ +useAirdropNFT | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAirdropNFT

+
+
    + +
  • Beta +

    Airdrop NFTs to a list of wallets

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: Erc1155<BaseERC1155 | BaseSignatureMintERC1155>
      +

      an instance of a Erc1155

      +
      +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, AirdropNFTParams, unknown>

    a mutation object that can be used to transfer batch NFTs

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: airdropNFT,
    isLoading,
    error,
    } = useAirdropNFT(contract);

    if (error) {
    console.error("failed to transfer batch NFTs", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => airdropNFT({
    tokenId: 2,
    addresses: [
    { address: "{{wallet_address}}", quantity: 2 },
    { address: "{{wallet_address}}", quantity: 4 } }
    ]
    )}
    >
    Airdrop NFT
    </button>
    );
    }; +
    + +

    Twfeature

    ERC1155

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAllRoleMembers.html b/packages/react/typedoc/functions/useAllRoleMembers.html new file mode 100644 index 00000000000..fceb31448e2 --- /dev/null +++ b/packages/react/typedoc/functions/useAllRoleMembers.html @@ -0,0 +1,91 @@ +useAllRoleMembers | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAllRoleMembers

+
+
    + +
  • Beta +

    Get all members of all roles

    +
    +
    +

    Type Parameters

    +
      +
    • +

      TContract extends ContractWithRoles

    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<TContract>
      +

      an instance of a SmartContract

      +
      +
    +

    Returns UseQueryResult

    a list of addresses for all supported roles on the contract.

    + +
    +

    Example

    const { data: roles, isLoading, error } = useAllRoleMembers(contract);
    +
    + +

    Twfeature

    PermissionsEnumerable

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAppURI.html b/packages/react/typedoc/functions/useAppURI.html new file mode 100644 index 00000000000..2edb0b3c5f0 --- /dev/null +++ b/packages/react/typedoc/functions/useAppURI.html @@ -0,0 +1,89 @@ +useAppURI | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAppURI

+
+
    + +
  • Beta +

    Get App URI

    +
    +
    +

    Type Parameters

    +
      +
    • +

      TContract extends ValidContractInstance

    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<TContract>
      +

      the SmartContract instance of the contract to get the appURI of

      +
      +
    +

    Returns UseQueryResult

    a response object that includes the appURI of the contract

    + +
    +

    Example

    const { data: contractMetadata, isLoading, error } = useAppURI(contract);
    +
    + +

    Twfeature

    AppURI

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAuctionWinner.html b/packages/react/typedoc/functions/useAuctionWinner.html new file mode 100644 index 00000000000..ed51ccd5882 --- /dev/null +++ b/packages/react/typedoc/functions/useAuctionWinner.html @@ -0,0 +1,91 @@ +useAuctionWinner | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAuctionWinner

+
+
    + +
  • +

    Get the winner of an english auction

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<Marketplace | MarketplaceV3>
      +

      an instance of a marketplace contract

      +
      +
    • +
    • +
      listingId: RequiredParam<BigNumberish>
      +

      the listing id to check

      +
      +
    +

    Returns UseQueryResult

    a response object that includes the address of the winner of the auction or undefined if there is no winner yet

    + +
    +

    Example

    const listingId = 0;
    const { data: auctionWinner, isLoading, error } = useAuctionWinner(contract, listingId); +
    + +

    Twfeature

    EnglishAuctions

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useAuth.html b/packages/react/typedoc/functions/useAuth.html new file mode 100644 index 00000000000..a3d322124ba --- /dev/null +++ b/packages/react/typedoc/functions/useAuth.html @@ -0,0 +1,67 @@ +useAuth | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useAuth

+
+
    + +
  • +

    Returns ThirdwebAuth | undefined

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useBalance.html b/packages/react/typedoc/functions/useBalance.html new file mode 100644 index 00000000000..7864d1f03cf --- /dev/null +++ b/packages/react/typedoc/functions/useBalance.html @@ -0,0 +1,79 @@ +useBalance | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useBalance

+
+
    + +
  • Beta +

    A hook to get the native or (optional) ERC20 token balance of the connected wallet.

    +
    +
    +

    Parameters

    +
      +
    • +
      Optional tokenAddress: string
      +

      the address of the token contract, if empty will use the chain's native token

      +
      +
    +

    Returns UseQueryResult

    the balance of the connected wallet (native or ERC20)

    + +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useBatchesToReveal.html b/packages/react/typedoc/functions/useBatchesToReveal.html new file mode 100644 index 00000000000..58869d84b0d --- /dev/null +++ b/packages/react/typedoc/functions/useBatchesToReveal.html @@ -0,0 +1,88 @@ +useBatchesToReveal | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useBatchesToReveal

+
+
    + +
  • +

    Get all unrevealed batches

    +
    +
    +

    Type Parameters

    +
    +
    +

    Parameters

    +
    +

    Returns UseQueryResult<BatchToReveal[], unknown>

    a response object that gets the batches to still be revealed

    + +
    +

    Twfeature

    ERC721Revealable | ERC1155Revealable

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useBidBuffer.html b/packages/react/typedoc/functions/useBidBuffer.html new file mode 100644 index 00000000000..103f0846838 --- /dev/null +++ b/packages/react/typedoc/functions/useBidBuffer.html @@ -0,0 +1,91 @@ +useBidBuffer | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useBidBuffer

+
+
    + +
  • +

    Get the bid buffer for an english auction

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<Marketplace | MarketplaceV3>
      +

      an instance of a marketplace contract

      +
      +
    • +
    • +
      Optional listingId: RequiredParam<BigNumberish>
      +

      the listing id to check (only necessary for marketplace v3)

      +
      +
    +

    Returns UseQueryResult

    a response object that includes an array of listings

    + +
    +

    Example

    const { data: bidBuffer, isLoading, error } = useBidBuffer(contract);
    +
    + +

    Twfeature

    EnglishAuctions

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useBloctoWallet.html b/packages/react/typedoc/functions/useBloctoWallet.html new file mode 100644 index 00000000000..21b1a841c99 --- /dev/null +++ b/packages/react/typedoc/functions/useBloctoWallet.html @@ -0,0 +1,78 @@ +useBloctoWallet | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useBloctoWallet

+
+
    + +
  • +

    Returns ((options?) => Promise<BloctoWallet>)

    +
      +
    • +
        +
      • (options?): Promise<BloctoWallet>
      • +
      • +
        +

        Parameters

        +
          +
        • +
          Optional options: {
              chainId?: number;
          } & BloctoAdditionalOptions
        +

        Returns Promise<BloctoWallet>

+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useBurnNFT.html b/packages/react/typedoc/functions/useBurnNFT.html new file mode 100644 index 00000000000..fdb60b78fd7 --- /dev/null +++ b/packages/react/typedoc/functions/useBurnNFT.html @@ -0,0 +1,91 @@ +useBurnNFT | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useBurnNFT

+
+
    + +
  • Beta +

    Burn an NFT

    +
    +
    +

    Type Parameters

    +
    +
    +

    Parameters

    +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, BurnNFTParams, unknown>

    a mutation object that can be used to burn an NFT token from the connected wallet

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: burnNFT,
    isLoading,
    error,
    } = useBurnNFT(contract);

    if (error) {
    console.error("failed to burn NFT", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => burnNFT({ tokenId: 0, amount: 1 })}
    >
    Burn!
    </button>
    );
    }; +
    + +

    Twfeature

    ERC721Burnable | ERC1155Burnable

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useBurnToken.html b/packages/react/typedoc/functions/useBurnToken.html new file mode 100644 index 00000000000..26533c45311 --- /dev/null +++ b/packages/react/typedoc/functions/useBurnToken.html @@ -0,0 +1,86 @@ +useBurnToken | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useBurnToken

+
+
    + +
  • Beta +

    Burn tokens

    +
    +
    +

    Parameters

    +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, TokenBurnParams, unknown>

    a mutation object that can be used to burn tokens from the connected wallet

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: burnTokens,
    isLoading,
    error,
    } = useBurnToken(contract);

    if (error) {
    console.error("failed to burn tokens", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => burnTokens({ amount: 1000 })}
    >
    Burn!
    </button>
    );
    }; +
    + +

    Twfeature

    ERC20Burnable

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useBuyDirectListing.html b/packages/react/typedoc/functions/useBuyDirectListing.html new file mode 100644 index 00000000000..fc4c6dd8bc3 --- /dev/null +++ b/packages/react/typedoc/functions/useBuyDirectListing.html @@ -0,0 +1,84 @@ +useBuyDirectListing | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useBuyDirectListing

+
+
    + +
  • Beta +

    Buy a direct listing

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<MarketplaceV3>
      +

      an instance of a MarketplaceV3 contract

      +
      +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, BuyFromListingParams, unknown>

    a mutation object that can be used to buy out a direct listing

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}", "marketplace-v3");
    const {
    mutate: buyNow,
    isLoading,
    error,
    } = useBuyDirectListing(contract);

    if (error) {
    console.error("failed to buy direct listing", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => buyNow({listingId: 1, quantity: 1, buyer: "{{address}}"})}
    >
    Buy listing!
    </button>
    );
    }; +
    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useBuyNow.html b/packages/react/typedoc/functions/useBuyNow.html new file mode 100644 index 00000000000..c563844ddde --- /dev/null +++ b/packages/react/typedoc/functions/useBuyNow.html @@ -0,0 +1,84 @@ +useBuyNow | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useBuyNow

+
+
    + +
  • Beta +

    Buy out an auction listing

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<Marketplace>
      +

      an instance of a Marketplace contract

      +
      +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, BuyNowParams, unknown>

    a mutation object that can be used to buy out an auction listing

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: buyNow,
    isLoading,
    error,
    } = useBuyNow(contract);

    if (error) {
    console.error("failed to buyout listing", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => buyNow({listingId: 1, type: ListingType.Auction})}
    >
    Buy listing!
    </button>
    );
    }; +
    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useCancelDirectListing.html b/packages/react/typedoc/functions/useCancelDirectListing.html new file mode 100644 index 00000000000..fc07b03a072 --- /dev/null +++ b/packages/react/typedoc/functions/useCancelDirectListing.html @@ -0,0 +1,86 @@ +useCancelDirectListing | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useCancelDirectListing

+
+
    + +
  • +

    Cancel a direct listing

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<MarketplaceV3>
      +

      an instance of a Marketplace v3 contract

      +
      +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, BigNumberish, unknown>

    a mutation object that can be used to cancel a direct listing

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: cancelDirectListing,
    isLoading,
    error,
    } = useCancelDirectListing(contract);

    if (error) {
    console.error("failed to cancel direct listing", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={cancelDirectListing}
    >
    Cancel Direct Listing
    </button>
    );
    }; +
    + +

    Twfeature

    DirectListings

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useCancelEnglishAuction.html b/packages/react/typedoc/functions/useCancelEnglishAuction.html new file mode 100644 index 00000000000..c1d8e55cf02 --- /dev/null +++ b/packages/react/typedoc/functions/useCancelEnglishAuction.html @@ -0,0 +1,86 @@ +useCancelEnglishAuction | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useCancelEnglishAuction

+
+
    + +
  • +

    Cancel an english auction

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<MarketplaceV3>
      +

      an instance of a Marketplace v3 contract

      +
      +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, BigNumberish, unknown>

    a mutation object that can be used to cancel an english auction

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: cancelEnglishAuction,
    isLoading,
    error,
    } = useCancelEnglishAuction(contract);

    if (error) {
    console.error("failed to cancel english auction", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={cancelEnglishAuction}
    >
    Cancel English Auction
    </button>
    );
    }; +
    + +

    Twfeature

    EnglishAuctions

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useCancelListing.html b/packages/react/typedoc/functions/useCancelListing.html new file mode 100644 index 00000000000..67e84633e6a --- /dev/null +++ b/packages/react/typedoc/functions/useCancelListing.html @@ -0,0 +1,84 @@ +useCancelListing | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useCancelListing

+
+
    + +
  • Beta +

    Cancel a listing

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<Marketplace>
      +

      an instance of a Marketplace contract

      +
      +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, Pick<AuctionListing | DirectListing, "type" | "id">, unknown>

    a mutation object that can be used to cancel a listing

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: cancelListing,
    isLoading,
    error,
    } = useCancelListing(contract);

    if (error) {
    console.error("failed to cancel auction listing", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={cancelListing}
    >
    Cancel Auction Listing!
    </button>
    );
    }; +
    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useChain.html b/packages/react/typedoc/functions/useChain.html new file mode 100644 index 00000000000..beb3109bb63 --- /dev/null +++ b/packages/react/typedoc/functions/useChain.html @@ -0,0 +1,78 @@ +useChain | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useChain

+
+
    + +
  • +

    Hook for accessing the active Chain the current wallet is connected to

    +
    import { useChain } from "@thirdweb-dev/react-core"
    +
    +
    +

    Returns Chain | undefined

    +
    +

    Example

    You can get the chain of the connected wallet by using the hook as follows:

    +
    import { useChain } from "@thirdweb-dev/react-core"

    const App = () => {
    const chain = useChain()

    return <div>{chain.chainId}</div>
    } +
    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useChainId.html b/packages/react/typedoc/functions/useChainId.html new file mode 100644 index 00000000000..cf787e4e511 --- /dev/null +++ b/packages/react/typedoc/functions/useChainId.html @@ -0,0 +1,78 @@ +useChainId | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useChainId

+
+
    + +
  • +

    Hook for accessing the chain ID of the network the current wallet is connected to

    +
    import { useChainId } from "@thirdweb-dev/react"
    +
    +
    +

    Returns number | undefined

    +
    +

    Example

    You can get the chain ID of the connected wallet by using the hook as follows:

    +
    import { useChainId } from "@thirdweb-dev/react"

    const App = () => {
    const chainId = useChainId()

    return <div>{chainId}</div>
    } +
    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimConditions.html b/packages/react/typedoc/functions/useClaimConditions.html new file mode 100644 index 00000000000..562e4a602c3 --- /dev/null +++ b/packages/react/typedoc/functions/useClaimConditions.html @@ -0,0 +1,93 @@ +useClaimConditions | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useClaimConditions

+
+
    + +
  • Beta +

    Get all claim conditions

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<DropContract>
      +

      an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the claimConditions extension.

      +
      +
    • +
    • +
      Optional tokenId: BigNumberish
      +

      the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

      +
      +
    • +
    • +
      Optional options: ClaimConditionFetchOptions
    +

    Returns UseQueryResult<ClaimCondition[]>

    a response object with the list of claim conditions

    + +
    +

    Example

    const { data: claimConditions, isLoading, error } = useClaimConditions(contract);
    +
    + +

    Twfeature

    ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimIneligibilityReasons.html b/packages/react/typedoc/functions/useClaimIneligibilityReasons.html new file mode 100644 index 00000000000..433d0a0fd6b --- /dev/null +++ b/packages/react/typedoc/functions/useClaimIneligibilityReasons.html @@ -0,0 +1,93 @@ +useClaimIneligibilityReasons | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useClaimIneligibilityReasons

+
+
    + +
  • Beta +

    Get the reasons why a specific wallet can't claim

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<DropContract>
      +

      an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the claimConditions extension.

      +
      +
    • +
    • +
      params: ClaimIneligibilityParams
    • +
    • +
      Optional tokenId: BigNumberish
      +

      the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

      +
      +
    +

    Returns UseQueryResult<ClaimEligibility[], unknown>

    a response object with the reasons for the claim ineligibility

    + +
    +

    Example

    const { data: claimIneligibilityReasons, isLoading, error } = useClaimIneligibilityReasons(contract, { walletAddress: "{{wallet_address}}" });
    +
    + +

    Twfeature

    ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimNFT.html b/packages/react/typedoc/functions/useClaimNFT.html new file mode 100644 index 00000000000..0d16c1111bd --- /dev/null +++ b/packages/react/typedoc/functions/useClaimNFT.html @@ -0,0 +1,91 @@ +useClaimNFT | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useClaimNFT

+
+
    + +
  • Beta +

    Claim an NFT to a specific wallet

    +
    +
    +

    Type Parameters

    +
    +
    +

    Parameters

    +
    +

    Returns UseMutationResult<ClaimNFTReturnType, unknown, ClaimNFTParams, unknown>

    a mutation object that can be used to claim a NFT to the wallet specificed in the params

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: claimNFT,
    isLoading,
    error,
    } = useClaimNFT(contract);

    if (error) {
    console.error("failed to claim nft", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => claimNFT({ to: "{{wallet_address}}", quantity: 1 })}
    >
    Claim NFT!
    </button>
    );
    }; +
    + +

    Twfeature

    ERC721Claimable | ERC1155Claimable | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimToken.html b/packages/react/typedoc/functions/useClaimToken.html new file mode 100644 index 00000000000..5a31b1ec9fe --- /dev/null +++ b/packages/react/typedoc/functions/useClaimToken.html @@ -0,0 +1,86 @@ +useClaimToken | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useClaimToken

+
+
    + +
  • Beta +

    Claim tokens to a specific wallet

    +
    +
    +

    Parameters

    +
    +

    Returns UseMutationResult<Omit<{
        data: (() => Promise<unknown>);
        receipt: providers.TransactionReceipt;
    }, "data">, unknown, ClaimTokenParams, unknown>

    a mutation object that can be used to tokens to the wallet specified in the params

    + +
    +

    Example

    const Component = () => {
    const { contract } = useContract("{{contract_address}}");
    const {
    mutate: claimTokens,
    isLoading,
    error,
    } = useClaimToken(contract);

    if (error) {
    console.error("failed to claim tokens", error);
    }

    return (
    <button
    disabled={isLoading}
    onClick={() => claimTokens({ to: "{{wallet_address}}", amount: 100 })}
    >
    Claim Tokens!
    </button>
    );
    }; +
    + +

    Twfeature

    ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimedNFTSupply.html b/packages/react/typedoc/functions/useClaimedNFTSupply.html new file mode 100644 index 00000000000..02d4cb87d12 --- /dev/null +++ b/packages/react/typedoc/functions/useClaimedNFTSupply.html @@ -0,0 +1,83 @@ +useClaimedNFTSupply | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useClaimedNFTSupply

+
+
    + +
  • +

    Get the total number of claimed NFTs

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<null | SmartContract<BaseContract> | NFTDrop | SignatureDrop>
      +

      an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)

      +
      +
    +

    Returns UseQueryResult<BigNumber, unknown>

    a response object that includes the number of NFTs that are claimed

    + +
    +

    Twfeature

    ERC721LazyMintable

    + +

    See

    Documentation

    +
+
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimedNFTs.html b/packages/react/typedoc/functions/useClaimedNFTs.html new file mode 100644 index 00000000000..93e8d9f510e --- /dev/null +++ b/packages/react/typedoc/functions/useClaimedNFTs.html @@ -0,0 +1,94 @@ +useClaimedNFTs | @thirdweb-dev/react
+
+ +
+
+
+
+ +

Function useClaimedNFTs

+
+
    + +
  • Beta +

    Get all claimed NFTs

    +
    +
    +

    Parameters

    +
      +
    • +
      contract: RequiredParam<NFTDrop>
      +

      an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)

      +
      +
    • +
    • +
      Optional queryParams: {}
      +

      query params to pass to the query for the sake of pagination

      +
      +
      +
      +

      Returns UseQueryResult<NFT[], unknown>

      a response object that includes an array of NFTs that are claimed

      + +
      +

      Remarks

      Equivalent to using useNFTs.

      + +

      Example

      const { data: claimedNFTs, isLoading, error } = useClaimedNFTs(contract, { start: 0, count: 100 });
      +
      + +

      Twfeature

      ERC721LazyMintable

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimerProofs.html b/packages/react/typedoc/functions/useClaimerProofs.html new file mode 100644 index 00000000000..c8514a16549 --- /dev/null +++ b/packages/react/typedoc/functions/useClaimerProofs.html @@ -0,0 +1,101 @@ +useClaimerProofs | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useClaimerProofs

    +
    +
      + +
    • Beta +

      Get claimer proofs

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<DropContract>
        +

        an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the claimConditions extension.

        +
        +
      • +
      • +
        claimerAddress: string
        +

        the address of the claimer to fetch the claimer proofs for

        +
        +
      • +
      • +
        Optional tokenId: BigNumberish
        +

        the id of the token to fetch the claimer proofs for (if the contract is an ERC1155 contract)

        +
        +
      • +
      • +
        Optional claimConditionId: BigNumberish
        +

        optional the claim condition id to get the proofs for

        +
        +
      +

      Returns UseQueryResult<{
          address: string;
          currencyAddress?: string;
          maxClaimable: string;
          price?: string;
          proof: string[];
      } | null, unknown>

      a response object with the snapshot for the provided address

      + +
      +

      Example

      const { data: claimerProofs, isLoading, error } = useClaimerProofs(contract);
      +
      + +

      Twfeature

      ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCoinbaseWallet.html b/packages/react/typedoc/functions/useCoinbaseWallet.html new file mode 100644 index 00000000000..9f82960e758 --- /dev/null +++ b/packages/react/typedoc/functions/useCoinbaseWallet.html @@ -0,0 +1,81 @@ +useCoinbaseWallet | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useCoinbaseWallet

    +
    +
      + +
    • +

      Returns ((connectOptions?) => Promise<CoinbaseWallet>)

      +
        +
      • +
          +
        • (connectOptions?): Promise<CoinbaseWallet>
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Optional connectOptions: {
                chainId?: number;
            }
            +
              +
            • +
              Optional chainId?: number
          +

          Returns Promise<CoinbaseWallet>

    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCompilerMetadata.html b/packages/react/typedoc/functions/useCompilerMetadata.html new file mode 100644 index 00000000000..ce712593436 --- /dev/null +++ b/packages/react/typedoc/functions/useCompilerMetadata.html @@ -0,0 +1,72 @@ +useCompilerMetadata | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useCompilerMetadata

    +
    +
      + +
    • +
      +

      Parameters

      +
      +

      Returns UseQueryResult<PublishedMetadata | null>

    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useConnect.html b/packages/react/typedoc/functions/useConnect.html new file mode 100644 index 00000000000..a0038bfee65 --- /dev/null +++ b/packages/react/typedoc/functions/useConnect.html @@ -0,0 +1,85 @@ +useConnect | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useConnect

    +
    +
      + +
    • +

      Returns (<I>(...args) => Promise<I>)

      a method to connect to a wallet class

      + +
        +
      • +
          +
        • <I>(...args): Promise<I>
        • +
        • +
          +

          Type Parameters

          +
          +
          +

          Parameters

          +
            +
          • +
            Rest ...args: undefined extends Parameters<I["connect"]>[0]
                ? [wallet: WalletConfig, connectParams?: (Parameters<I["connect"]>[0] extends infer T
                    ? T extends Parameters<I["connect"]>[0]
                        ? T extends null | undefined
                            ? never
                            : T
                        : never
                    : never) | undefined]
                : [wallet: WalletConfig, connectParams: Parameters<I["connect"]>[0] extends infer T_1
                    ? T_1 extends Parameters<I["connect"]>[0]
                        ? T_1 extends null | undefined
                            ? never
                            : T_1
                        : never
                    : never]
          +

          Returns Promise<I>

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useConnectionStatus.html b/packages/react/typedoc/functions/useConnectionStatus.html new file mode 100644 index 00000000000..32c780f595d --- /dev/null +++ b/packages/react/typedoc/functions/useConnectionStatus.html @@ -0,0 +1,76 @@ +useConnectionStatus | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useConnectionStatus

    +
    +
      + +
    • +

      Returns "unknown" | "connected" | "disconnected" | "connecting"

      the connection status of the wallet

      +

      It can be one of the following:

      +
        +
      1. unknown - when wallet connection status is not yet known
      2. +
      3. connecting - when wallet is connecting
      4. +
      5. connected - when wallet is connected
      6. +
      7. disconnected - when wallet is disconnected
      8. +
      + +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContract.html b/packages/react/typedoc/functions/useContract.html new file mode 100644 index 00000000000..8185d63d19a --- /dev/null +++ b/packages/react/typedoc/functions/useContract.html @@ -0,0 +1,158 @@ +useContract | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useContract

    +
    +
      + +
    • +
      +

      Type Parameters

      +
        +
      • +

        TContractAddress extends string

      +
      +

      Parameters

      +
      +

      Returns UseContractResult<TContractAddress extends GeneratedContractAddress
          ? SmartContract<BaseContractForAddress<TContractAddress>>
          : SmartContract>

    • + +
    • +

      Use this resolve a contract address to a smart contract instance.

      +
      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the deployed contract

        +
        +
      +

      Returns UseContractResult<SmartContract>

      a response object that includes the contract once it is resolved

      + +
      +

      Example

      const { contract, isLoading, error } = useContract("{{contract_address}}");
      +
      + +

      See

      Documentation

      +
    • + +
    • +

      Use this resolve a contract address to a smart contract instance.

      +
      +
      +

      Type Parameters

      +
        +
      • +

        TContractType extends "split" | "custom" | "token" | "vote" | "edition-drop" | "edition" | "marketplace" | "marketplace-v3" | "multiwrap" | "nft-collection" | "nft-drop" | "pack" | "signature-drop" | "token-drop"

      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the deployed contract

        +
        +
      • +
      • +
        _contractType: TContractType
        +

        the type of the contract

        +
        +
      +

      Returns UseContractResult<TContractType extends PrebuiltContractType
          ? ContractForPrebuiltContractType<TContractType>
          : SmartContract>

      a response object that includes the contract once it is resolved

      + +
      +

      Example

      const { contract, isLoading, error } = useContract("{{contract_address}}", "nft-drop");
      +
      + +

      See

      Documentation

      +
    • + +
    • +

      Use this resolve a contract address to a smart contract instance.

      +
      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the deployed contract

        +
        +
      • +
      • +
        _abi: ContractInterface
        +

        the ABI of the contract to use

        +
        +
      +

      Returns UseContractResult<SmartContract>

      a response object that includes the contract once it is resolved

      + +
      +

      Example

      const { contract, isLoading, error } = useContract("{{contract_address}}", ABI);
      +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractEvents.html b/packages/react/typedoc/functions/useContractEvents.html new file mode 100644 index 00000000000..6522a2a2557 --- /dev/null +++ b/packages/react/typedoc/functions/useContractEvents.html @@ -0,0 +1,99 @@ +useContractEvents | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useContractEvents

    +
    +
      + +
    • Beta +

      Get or subscribe to contract events

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<ValidContractInstance>
        +

        the ValidContractInstance instance of the contract to listen to events for

        +
        +
      • +
      • +
        Optional eventName: string
        +

        the name of the event to query for (omit this or pass undefined to query for all events)

        +
        +
      • +
      • +
        Optional options: {
            queryFilter?: EventQueryOptions<Record<string, any>>;
            subscribe?: boolean;
        }
        +

        options includes the filters (QueryAllEvents) for the query as well as if you want to subscribe to real-time updates (default: true)

        +
        +
        +
          +
        • +
          Optional queryFilter?: EventQueryOptions<Record<string, any>>
        • +
        • +
          Optional subscribe?: boolean
      +

      Returns UseQueryResult<ContractEvent<Record<string, any>>[], unknown>

      a response object that includes the contract events

      + +
      +

      Example

      const { data: contractEvents, isLoading } = useContractEvents(contract);
      +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractMetadata.html b/packages/react/typedoc/functions/useContractMetadata.html new file mode 100644 index 00000000000..c1c26a4e1a9 --- /dev/null +++ b/packages/react/typedoc/functions/useContractMetadata.html @@ -0,0 +1,89 @@ +useContractMetadata | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useContractMetadata

    +
    +
      + +
    • Beta +

      Get the metadata of this contract

      +
      +
      +

      Type Parameters

      +
        +
      • +

        TContract extends ValidContractInstance

      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<TContract>
        +

        the ValidContractInstance instance of the contract to get the metadata for

        +
        +
      +

      Returns UseQueryResult<RequiredParam<TContract> extends undefined
          ? undefined
          : Awaited<ReturnType<TContract["metadata"]["get"]>>, unknown>

      a response object that includes the contract metadata of the deployed contract

      + +
      +

      Example

      const { data: contractMetadata, isLoading } = useContractMetadata(contract);
      +
      + +

      Twfeature

      ContractMetadata

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractMetadataUpdate.html b/packages/react/typedoc/functions/useContractMetadataUpdate.html new file mode 100644 index 00000000000..d6378495633 --- /dev/null +++ b/packages/react/typedoc/functions/useContractMetadataUpdate.html @@ -0,0 +1,84 @@ +useContractMetadataUpdate | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useContractMetadataUpdate

    +
    +
      + +
    • Beta +

      Update the metadata of this contract

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<ValidContractInstance>
        +

        the ValidContractInstance instance of the contract to get the metadata for

        +
        +
      +

      Returns UseMutationResult<{
          data: (() => Promise<any>);
          receipt: providers.TransactionReceipt;
      }, unknown, {
          app_uri?: string;
          description?: string;
          external_link?: string;
          image?: any;
          name: string;
      }, unknown>

      a response object that includes the contract metadata of the deployed contract

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: updateContractMetadata,
      isLoading,
      error,
      } = useContractMetadataUpdate(contract);

      if (error) {
      console.error("failed to update contract metadata", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => updateContractMetadata({ name: "New name", description: "New description" })}
      >
      Update contract metadata
      </button>
      );
      }; +
      + +

      Twfeature

      ContractMetadata

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractRead.html b/packages/react/typedoc/functions/useContractRead.html new file mode 100644 index 00000000000..fd736d9de98 --- /dev/null +++ b/packages/react/typedoc/functions/useContractRead.html @@ -0,0 +1,111 @@ +useContractRead | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useContractRead

    +
    +
      + +
    • Beta +

      Get data from a contract read-function call

      +
      +
      +

      Type Parameters

      +
        +
      • +

        TContractAddress extends string

      • +
      • +

        TContract extends ValidContractInstance

      • +
      • +

        TContractInstance extends ValidContractInstance

      • +
      • +

        TFunctionName extends string

      • +
      • +

        TArgs extends unknown[]

      • +
      • +

        TReturnType extends any

      +
      +

      Parameters

      +
        +
      • +
        contract: TContractInstance extends ValidContractInstance
            ? RequiredParam<TContractInstance>
            : TContractAddress extends never
                ? RequiredParam<SmartContract<BaseContractForAddress<TContractAddress>>>
                : RequiredParam<SmartContract<BaseContract>>
        +

        the contract instance of the contract to call a function on

        +
        +
      • +
      • +
        functionName: RequiredParam<TFunctionName & string>
        +

        the name of the function to call

        +
        +
      • +
      • +
        Optional args: TArgs
        +

        The arguments to pass to the function (if any), with optional call arguments as the last parameter

        +
        +
      • +
      • +
        Optional overrides: CallOverrides
      +

      Returns UseQueryResult<TReturnType, unknown>

      a response object that includes the data returned by the function call

      + +
      +

      Example

      const { contract } = useContract("{{contract_address}}");
      const { data, isLoading, error } = useContractRead(contract, "functionName", ...args); +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractType.html b/packages/react/typedoc/functions/useContractType.html new file mode 100644 index 00000000000..8e6fae46ac2 --- /dev/null +++ b/packages/react/typedoc/functions/useContractType.html @@ -0,0 +1,72 @@ +useContractType | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useContractType

    +
    +
      + +
    • +
      +

      Parameters

      +
      +

      Returns UseQueryResult<"split" | "edition-drop" | "edition" | "marketplace" | "marketplace-v3" | "multiwrap" | "nft-collection" | "nft-drop" | "pack" | "signature-drop" | "token-drop" | "token" | "vote" | "custom" | null, unknown>

    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractWrite.html b/packages/react/typedoc/functions/useContractWrite.html new file mode 100644 index 00000000000..b4233df44ec --- /dev/null +++ b/packages/react/typedoc/functions/useContractWrite.html @@ -0,0 +1,102 @@ +useContractWrite | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useContractWrite

    +
    +
      + +
    • Beta +

      Mke a write call to your contract

      +
      +
      +

      Type Parameters

      +
        +
      • +

        TContractAddress extends string

      • +
      • +

        TContract extends ValidContractInstance

      • +
      • +

        TContractInstance extends ValidContractInstance

      • +
      • +

        TFunctionName extends string

      • +
      • +

        TArgs extends any[]

      +
      +

      Parameters

      +
        +
      • +
        contract: TContractInstance extends ValidContractInstance
            ? RequiredParam<TContractInstance>
            : TContractAddress extends never
                ? RequiredParam<SmartContract<BaseContractForAddress<TContractAddress>>>
                : RequiredParam<SmartContract<BaseContract>>
        +

        the contract instance of the contract to call a function on

        +
        +
      • +
      • +
        functionName: RequiredParam<TFunctionName & string>
        +

        the name of the function to call

        +
        +
      +

      Returns UseMutationResult<Omit<{
          data: (() => Promise<unknown>);
          receipt: providers.TransactionReceipt;
      }, "data">, unknown, {
          args?: TArgs;
          overrides?: CallOverrides;
      }, unknown>

      a response object that includes the write function to call

      + +
      +

      Example

      const { contract } = useContract("{{contract_address}}");
      const { mutate: myFunction, isLoading, error } = useContractWrite(contract, "myFunction");

      // the function can be called as follows:
      // myFunction(["param 1", "param 2", ...]) +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateAccount.html b/packages/react/typedoc/functions/useCreateAccount.html new file mode 100644 index 00000000000..6d1c0697017 --- /dev/null +++ b/packages/react/typedoc/functions/useCreateAccount.html @@ -0,0 +1,86 @@ +useCreateAccount | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useCreateAccount

    +
    +
      + +
    • Beta +

      Create a account

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<SmartContract<BaseContract>>
        +

        an instance of a account factory contract

        +
        +
      +

      Returns UseMutationResult

      a mutation object that can be used to create a account

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: createAccount,
      isLoading,
      error,
      } = useCreateAccount(contract);

      if (error) {
      console.error("failed to create account", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => createAccount("0x...")}
      >
      Create Account
      </button>
      );
      }; +
      + +

      Twfeature

      AccountFactory

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateAuctionListing.html b/packages/react/typedoc/functions/useCreateAuctionListing.html new file mode 100644 index 00000000000..2bfbc5f98d0 --- /dev/null +++ b/packages/react/typedoc/functions/useCreateAuctionListing.html @@ -0,0 +1,91 @@ +useCreateAuctionListing | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useCreateAuctionListing

    +
    +
      + +
    • +

      Create a new english auction

      +
      +
      +

      Type Parameters

      +
        +
      • +

        TMarketplace extends Marketplace | MarketplaceV3

      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<TMarketplace>
        +

        an instance of a Marketplace contract

        +
        +
      +

      Returns UseMutationResult<TransactionResultWithId, unknown, TMarketplace extends Marketplace
          ? NewAuctionListing
          : {
              assetContractAddress: string;
              bidBufferBps?: string | number | bigint | BigNumber;
              buyoutBidAmount: string | number;
              currencyContractAddress?: string;
              endTimestamp?: number | Date;
              minimumBidAmount: string | number;
              quantity?: string | number | bigint | BigNumber;
              startTimestamp?: number | Date;
              timeBufferInSeconds?: string | number | bigint | BigNumber;
              tokenId: (string | number | bigint | BigNumber) & (string | number | bigint | BigNumber | undefined);
          }, unknown>

      a mutation object that can be used to create a new auction listing

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: createAuctionListing,
      isLoading,
      error,
      } = useCreateAuctionListing(contract);

      if (error) {
      console.error("failed to create auction listing", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => createAuctionListing(auctionListingData)}
      >
      Create Auction Listing!
      </button>
      );
      }; +
      + +

      Twfeature

      EnglishAuctions

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateDirectListing.html b/packages/react/typedoc/functions/useCreateDirectListing.html new file mode 100644 index 00000000000..2357f7cb8fd --- /dev/null +++ b/packages/react/typedoc/functions/useCreateDirectListing.html @@ -0,0 +1,91 @@ +useCreateDirectListing | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useCreateDirectListing

    +
    +
      + +
    • +

      Create a new direct listing

      +
      +
      +

      Type Parameters

      +
        +
      • +

        TMarketplace extends Marketplace | MarketplaceV3

      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<TMarketplace>
        +

        an instance of a Marketplace contract

        +
        +
      +

      Returns UseMutationResult<TransactionResultWithId, unknown, TMarketplace extends Marketplace
          ? NewDirectListing
          : {
              assetContractAddress: string;
              currencyContractAddress?: string;
              endTimestamp?: number | Date;
              isReservedListing?: boolean;
              pricePerToken: string | number;
              quantity?: string | number | bigint | BigNumber;
              startTimestamp?: number | Date;
              tokenId: (string | number | bigint | BigNumber) & (string | number | bigint | BigNumber | undefined);
          }, unknown>

      a mutation object that can be used to create a new direct listing

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: createDirectListing,
      isLoading,
      error,
      } = useCreateDirectListing(contract);

      if (error) {
      console.error("failed to create direct listing", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => createDirectListing(directListingData)}
      >
      Create Direct Listing!
      </button>
      );
      }; +
      + +

      Twfeature

      DirectListings

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateSessionKey.html b/packages/react/typedoc/functions/useCreateSessionKey.html new file mode 100644 index 00000000000..4a6f125b19d --- /dev/null +++ b/packages/react/typedoc/functions/useCreateSessionKey.html @@ -0,0 +1,75 @@ +useCreateSessionKey | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useCreateSessionKey

    +
    +
      + +
    • +

      Create and add a session key for the smart wallet

      +
      +

      Returns UseMutationResult<TransactionResult, unknown, CreateSessionKeyInput>

      +
      +

      Example

      const Component = () => {
      const {
      mutate: createSessionKey,
      isLoading,
      error,
      } = useCreateSessionKey();

      if (error) {
      console.error("failed to create session key", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => createSessionKey(
      "0x...",
      {
      approvedCallTargets: ["0x..."], // the addresses of contracts that the session key can call
      nativeTokenLimitPerTransaction: 0.1, // the maximum amount of native token (in ETH) that the session key can spend per transaction
      startDate: new Date(), // the date when the session key becomes active
      expirationDate = new Date(Date.now() + 24 * 60 * 60 * 1000); // the date when the session key expires
      }
      )}
      >
      Create Session Key
      </button>
      );
      }; +
      + +

      Twfeature

      Account

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateWalletInstance.html b/packages/react/typedoc/functions/useCreateWalletInstance.html new file mode 100644 index 00000000000..50509b1eb18 --- /dev/null +++ b/packages/react/typedoc/functions/useCreateWalletInstance.html @@ -0,0 +1,85 @@ +useCreateWalletInstance | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useCreateWalletInstance

    +
    +
      + +
    • +

      Returns (<I>(Wallet) => I)

      a method to create an instance of given wallet class

      + +
        +
      • +
          +
        • <I>(Wallet): I
        • +
        • +
          +

          Type Parameters

          +
          +
          +

          Parameters

          +
            +
          • +
            Wallet: WalletConfig
          +

          Returns I

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDelayedRevealLazyMint.html b/packages/react/typedoc/functions/useDelayedRevealLazyMint.html new file mode 100644 index 00000000000..7391745302d --- /dev/null +++ b/packages/react/typedoc/functions/useDelayedRevealLazyMint.html @@ -0,0 +1,107 @@ +useDelayedRevealLazyMint | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useDelayedRevealLazyMint

    +
    +
      + +
    • Beta +

      Lazy mint NFTs with delayed reveal

      +
      +
      +

      Type Parameters

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<TContract>
        +

        an instance of a DropContract

        +
        +
      • +
      • +
        Optional onProgress: ((progress) => void)
        +

        an optional callback that will be called with the progress of the upload

        +
        +
        +
          +
        • +
            +
          • (progress): void
          • +
          • +
            +

            Parameters

            +
              +
            • +
              progress: UploadProgressEvent
            +

            Returns void

      +

      Returns UseMutationResult<TransactionResultWithId[], unknown, DelayedRevealLazyMintInput, unknown>

      a mutation object that can be used to lazy mint a batch of NFTs

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: delayedRevealLazyMint,
      isLoading,
      error,
      } = useDelayedRevealLazyMint(contract);

      if (error) {
      console.error("failed to lazy mint NFT", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => delayedRevealLazyMint({ metadatas: [{ name: "My NFT!"}] })}
      >
      Delayed Reveal Lazy mint NFT!
      </button>
      );
      }; +
      + +

      Twfeature

      ERC721Revealable | ERC1155Revealable

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDirectListing.html b/packages/react/typedoc/functions/useDirectListing.html new file mode 100644 index 00000000000..87c7416cf57 --- /dev/null +++ b/packages/react/typedoc/functions/useDirectListing.html @@ -0,0 +1,91 @@ +useDirectListing | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useDirectListing

    +
    +
      + +
    • +

      Get a direct listing

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<MarketplaceV3>
        +

        an instance of a marketplace v3 contract

        +
        +
      • +
      • +
        listingId: RequiredParam<BigNumberish>
        +

        the listing id to check

        +
        +
      +

      Returns UseQueryResult

      a response object that includes the desired direct listing

      + +
      +

      Example

      const listingId = 0; // the listing id to check
      const { data: directListing, isLoading, error } = useListing(contract, listingId); +
      + +

      Twfeature

      DirectListings

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDirectListings.html b/packages/react/typedoc/functions/useDirectListings.html new file mode 100644 index 00000000000..56f89e77116 --- /dev/null +++ b/packages/react/typedoc/functions/useDirectListings.html @@ -0,0 +1,91 @@ +useDirectListings | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useDirectListings

    +
    +
      + +
    • +

      Get all direct listings

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<MarketplaceV3>
        +

        an instance of a marketplace v3 contract

        +
        +
      • +
      • +
        Optional filter: MarketplaceFilter
        +

        filter to pass to the query for the sake of pagination & filtering

        +
        +
      +

      Returns UseQueryResult

      a response object that includes an array of direct listings

      + +
      +

      Example

      const { data: directListings, isLoading, error } = useDirectListings(contract, { start: 0, count: 100 });
      +
      + +

      Twfeature

      DirectListings

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDirectListingsCount.html b/packages/react/typedoc/functions/useDirectListingsCount.html new file mode 100644 index 00000000000..78bfae88097 --- /dev/null +++ b/packages/react/typedoc/functions/useDirectListingsCount.html @@ -0,0 +1,86 @@ +useDirectListingsCount | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useDirectListingsCount

    +
    +
      + +
    • +

      Get the total count of direct listings

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<MarketplaceV3>
        +

        an instance of a marketplace v3 contract

        +
        +
      +

      Returns UseQueryResult

      a response object that includes the direct listings count

      + +
      +

      Example

      const { data: directListingsCount, isLoading, error } = useDirectListingsCount(contract);
      +
      + +

      Twfeature

      DirectListings

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDisconnect.html b/packages/react/typedoc/functions/useDisconnect.html new file mode 100644 index 00000000000..28c0f41e925 --- /dev/null +++ b/packages/react/typedoc/functions/useDisconnect.html @@ -0,0 +1,75 @@ +useDisconnect | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useDisconnect

    +
    +
      + +
    • +

      Returns (() => Promise<void>)

      a method to disconnect from the current active wallet

      + +
        +
      • +
          +
        • (): Promise<void>
        • +
        • +

          Returns Promise<void>

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useENS.html b/packages/react/typedoc/functions/useENS.html new file mode 100644 index 00000000000..aad26b65e1b --- /dev/null +++ b/packages/react/typedoc/functions/useENS.html @@ -0,0 +1,67 @@ +useENS | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useENS

    +
    +
      + +
    • +

      Returns UseQueryResult

    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEdition.html b/packages/react/typedoc/functions/useEdition.html new file mode 100644 index 00000000000..d02726bfbaf --- /dev/null +++ b/packages/react/typedoc/functions/useEdition.html @@ -0,0 +1,85 @@ +useEdition | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useEdition

    +
    +
      + +
    • +

      Hook for getting an instance of an Edition contract. This contract is used to interface with ERC1155 compliant NFTs.

      +
      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the Edition contract, found in your thirdweb dashboard

        +
        +
      +

      Returns Edition | undefined

      +
      +

      Example

      import { useContract } from '@thirdweb-dev/react'

      export default function Component() {
      const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "edition")

      // Now you can use the edition contract in the rest of the component

      // For example, this function will return all the NFTs on this contract
      async function getNFTs() {
      const nfts = await contract.getAll()
      return nfts
      }

      ...
      } +
      + +

      Deprecated

      This hook is deprecated and will be removed in a future major version. You should use useContract instead.

      +
      - const edition = useEdition("0x1234...");
      + const edition = useContract("0x1234...", "edition").contract; +
      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEditionDrop.html b/packages/react/typedoc/functions/useEditionDrop.html new file mode 100644 index 00000000000..856b3004006 --- /dev/null +++ b/packages/react/typedoc/functions/useEditionDrop.html @@ -0,0 +1,85 @@ +useEditionDrop | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useEditionDrop

    +
    +
      + +
    • +

      Hook for getting an instance of an EditionDrop contract. This contract is used to interface with ERC1155 compliant NFTs that can be lazily minted.

      +
      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the Edition Drop contract, found in your thirdweb dashboard

        +
        +
      +

      Returns EditionDrop | undefined

      +
      +

      Example

      import { useContract } from '@thirdweb-dev/react'

      export default function Component() {
      const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "edition-drop")

      // Now you can use the edition drop contract in the rest of the component

      // For example, this function will let the connected wallet claim a new NFT
      async function claim(tokenId, quantity) {
      await contract.claim(tokenId, quantity)
      }

      ...
      } +
      + +

      Deprecated

      This hook is deprecated and will be removed in a future major version. You should use useContract instead.

      +
      - const editionDrop = useEditionDrop("0x1234...");
      + const editionDrop = useContract("0x1234...", "edition-drop").contract; +
      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEnglishAuction.html b/packages/react/typedoc/functions/useEnglishAuction.html new file mode 100644 index 00000000000..51c47b5e258 --- /dev/null +++ b/packages/react/typedoc/functions/useEnglishAuction.html @@ -0,0 +1,91 @@ +useEnglishAuction | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useEnglishAuction

    +
    +
      + +
    • +

      Get an english auction

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<MarketplaceV3>
        +

        an instance of a marketplace v3 contract

        +
        +
      • +
      • +
        auctionId: RequiredParam<BigNumberish>
        +

        the auction id to check

        +
        +
      +

      Returns UseQueryResult

      a response object that includes the desired english auction

      + +
      +

      Example

      const auctionId = 0; // the listing id to check
      const { data: englishAuction, isLoading, error } = useEnglishAuction(contract, auctionId); +
      + +

      Twfeature

      EnglishAuctions

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEnglishAuctionWinningBid.html b/packages/react/typedoc/functions/useEnglishAuctionWinningBid.html new file mode 100644 index 00000000000..f0773712f4d --- /dev/null +++ b/packages/react/typedoc/functions/useEnglishAuctionWinningBid.html @@ -0,0 +1,91 @@ +useEnglishAuctionWinningBid | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useEnglishAuctionWinningBid

    +
    +
      + +
    • +

      Get the winning bid for an english auction

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<MarketplaceV3>
        +

        an instance of a marketplace contract

        +
        +
      • +
      • +
        auctionId: RequiredParam<BigNumberish>
        +

        the auction id to check

        +
        +
      +

      Returns UseQueryResult

      a response object that includes the Bid that is winning the auction

      + +
      +

      Example

      const listingId = 0;
      const { data: winningBid, isLoading, error } = useWinningBid(contract, listingId); +
      + +

      Twfeature

      EnglishAuctions

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEnglishAuctions.html b/packages/react/typedoc/functions/useEnglishAuctions.html new file mode 100644 index 00000000000..1d6b8f28ddb --- /dev/null +++ b/packages/react/typedoc/functions/useEnglishAuctions.html @@ -0,0 +1,91 @@ +useEnglishAuctions | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useEnglishAuctions

    +
    +
      + +
    • +

      Get all english auctions

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<MarketplaceV3>
        +

        an instance of a marketplace v3 contract

        +
        +
      • +
      • +
        Optional filter: MarketplaceFilter
        +

        filter to pass to the query for the sake of pagination & filtering

        +
        +
      +

      Returns UseQueryResult

      a response object that includes an array of english auctions

      + +
      +

      Example

      const { data: englishAuctions, isLoading, error } = useEnglishAuctions(contract, { start: 0, count: 100 });
      +
      + +

      Twfeature

      EnglishAuctions

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEnglishAuctionsCount.html b/packages/react/typedoc/functions/useEnglishAuctionsCount.html new file mode 100644 index 00000000000..e86280647fa --- /dev/null +++ b/packages/react/typedoc/functions/useEnglishAuctionsCount.html @@ -0,0 +1,86 @@ +useEnglishAuctionsCount | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useEnglishAuctionsCount

    +
    +
      + +
    • +

      Get the total count of english auctions

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<MarketplaceV3>
        +

        an instance of a marketplace v3 contract

        +
        +
      +

      Returns UseQueryResult

      a response object that includes the direct english actions count

      + +
      +

      Example

      const { data: englishAuctionsCount, isLoading, error } = useEnglishAuctionsCount(contract);
      +
      + +

      Twfeature

      EnglishAuctions

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useExecuteAuctionSale.html b/packages/react/typedoc/functions/useExecuteAuctionSale.html new file mode 100644 index 00000000000..73018834a96 --- /dev/null +++ b/packages/react/typedoc/functions/useExecuteAuctionSale.html @@ -0,0 +1,84 @@ +useExecuteAuctionSale | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useExecuteAuctionSale

    +
    +
      + +
    • Beta +

      Execute an auction sale. Can only be executed once the auction has ended and the auction has a winning bid.

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<Marketplace>
        +

        an instance of a Marketplace contract

        +
        +
      +

      Returns UseMutationResult<Omit<{
          data: (() => Promise<unknown>);
          receipt: providers.TransactionReceipt;
      }, "data">, unknown, ExecuteAuctionSale, unknown>

      a mutation object that can be used to accept an offer on a direct listing

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: executeAuctionSale,
      isLoading,
      error,
      } = useExecuteAuctionSale(contract);

      if (error) {
      console.error("failed to execute sale", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => executeAuctionSale({ listingId: 1 })}
      >
      Execute sale
      </button>
      );
      }; +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useFrameWallet.html b/packages/react/typedoc/functions/useFrameWallet.html new file mode 100644 index 00000000000..5a5fa7f0a27 --- /dev/null +++ b/packages/react/typedoc/functions/useFrameWallet.html @@ -0,0 +1,81 @@ +useFrameWallet | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useFrameWallet

    +
    +
      + +
    • +

      Returns ((connectOptions?) => Promise<FrameWallet>)

      +
        +
      • +
          +
        • (connectOptions?): Promise<FrameWallet>
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Optional connectOptions: {
                chainId?: number;
            }
            +
              +
            • +
              Optional chainId?: number
          +

          Returns Promise<FrameWallet>

    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useGrantRole.html b/packages/react/typedoc/functions/useGrantRole.html new file mode 100644 index 00000000000..ad03348ddc3 --- /dev/null +++ b/packages/react/typedoc/functions/useGrantRole.html @@ -0,0 +1,91 @@ +useGrantRole | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useGrantRole

    +
    +
      + +
    • Beta +

      Grant a role to a specific address

      +
      +
      +

      Type Parameters

      +
        +
      • +

        TContract extends ContractWithRoles

      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<TContract>
        +

        an instance of a SmartContract

        +
        +
      +

      Returns UseMutationResult

      a mutation object that can be used to grant a member of a role on the contract

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: grantRole,
      isLoading,
      error,
      } = useGrantRole(contract);

      if (error) {
      console.error("failed to grant role", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => grantRole({ role: "admin", address: {{wallet_address}} })}
      >
      Grant Role
      </button>
      );
      }; +
      + +

      Twfeature

      Permissions | PermissionsEnumerable

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useInstalledWallets.html b/packages/react/typedoc/functions/useInstalledWallets.html new file mode 100644 index 00000000000..c11717fe4c8 --- /dev/null +++ b/packages/react/typedoc/functions/useInstalledWallets.html @@ -0,0 +1,76 @@ +useInstalledWallets | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useInstalledWallets

    +
    +
      + +
    • +

      Returns {
          coinbaseWallet: boolean;
          metamask: boolean;
          trustWallet: boolean;
          zerionWallet: boolean;
      }

      +
        +
      • +
        coinbaseWallet: boolean
      • +
      • +
        metamask: boolean
      • +
      • +
        trustWallet: boolean
      • +
      • +
        zerionWallet: boolean
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useIsAccountDeployed.html b/packages/react/typedoc/functions/useIsAccountDeployed.html new file mode 100644 index 00000000000..d1b0166fb47 --- /dev/null +++ b/packages/react/typedoc/functions/useIsAccountDeployed.html @@ -0,0 +1,90 @@ +useIsAccountDeployed | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useIsAccountDeployed

    +
    +
      + +
    • Beta +

      Check if a account has been deployed for the given admin

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<SmartContract<BaseContract>>
        +

        an instance of a account factory contract

        +
        +
      • +
      • +
        admin: RequiredParam<string>
      • +
      • +
        Optional extraData: BytesLike
      +

      Returns UseQueryResult<boolean>

      a boolean indicating if a account has been deployed for the given admin

      + +
      +

      Example

      const { data: isAccountDeployed, isLoading, error } = useIsAccountDeployed(contract);
      +
      + +

      Twfeature

      AccountFactory

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useIsAddressRole.html b/packages/react/typedoc/functions/useIsAddressRole.html new file mode 100644 index 00000000000..039f4f72bef --- /dev/null +++ b/packages/react/typedoc/functions/useIsAddressRole.html @@ -0,0 +1,101 @@ +useIsAddressRole | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useIsAddressRole

    +
    +
      + +
    • Beta +

      Check if an address is a member of a specific role

      +
      +
      +

      Type Parameters

      +
        +
      • +

        TContract extends ContractWithRoles

      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<TContract>
        +

        an instance of a SmartContract

        +
        +
      • +
      • +
        role: RolesForContract<TContract>
        +

        the role to check the member against, see Role

        +
        +
      • +
      • +
        walletAddress: RequiredParam<string>
        +

        the address to check

        +
        +
      +

      Returns boolean

      true if the address is a member of the role, or false if not

      + +
      +

      Example

      const { data: isMember, isLoading, error } = useIsAddressRole(contract, "admin", "{{wallet_address}}");
      +
      + +

      Twfeature

      PermissionsEnumerable

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useIsWalletModalOpen.html b/packages/react/typedoc/functions/useIsWalletModalOpen.html new file mode 100644 index 00000000000..a65385b1d62 --- /dev/null +++ b/packages/react/typedoc/functions/useIsWalletModalOpen.html @@ -0,0 +1,67 @@ +useIsWalletModalOpen | @thirdweb-dev/react
    +
    + +
    + +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useLazyMint.html b/packages/react/typedoc/functions/useLazyMint.html new file mode 100644 index 00000000000..a748042264b --- /dev/null +++ b/packages/react/typedoc/functions/useLazyMint.html @@ -0,0 +1,107 @@ +useLazyMint | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useLazyMint

    +
    +
      + +
    • Beta +

      Lazy mint NFTs

      +
      +
      +

      Type Parameters

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<TContract>
        +

        an instance of a NFTContract with the drop extension

        +
        +
      • +
      • +
        Optional onProgress: ((progress) => void)
        +

        an optional callback that will be called with the progress of the upload

        +
        +
        +
          +
        • +
            +
          • (progress): void
          • +
          • +
            +

            Parameters

            +
              +
            • +
              progress: UploadProgressEvent
            +

            Returns void

      +

      Returns UseMutationResult<any, unknown, any, unknown>

      a mutation object that can be used to lazy mint a batch of NFTs

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: lazyMint,
      isLoading,
      error,
      } = useLazyMint(contract);

      if (error) {
      console.error("failed to lazy mint NFT", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => lazyMint({ metadatas: [{ name: "My NFT!"}] })}
      >
      Lazy mint NFT!
      </button>
      );
      }; +
      + +

      Twfeature

      ERC721LazyMintable | ERC1155LazyMintable

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useListing.html b/packages/react/typedoc/functions/useListing.html new file mode 100644 index 00000000000..a1a2665b909 --- /dev/null +++ b/packages/react/typedoc/functions/useListing.html @@ -0,0 +1,89 @@ +useListing | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useListing

    +
    +
      + +
    • Beta +

      Get a listing

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<Marketplace>
        +

        an instance of a marketplace contract

        +
        +
      • +
      • +
        listingId: RequiredParam<BigNumberish>
        +

        the listing id to check

        +
        +
      +

      Returns UseQueryResult

      a response object that includes the desired listing

      + +
      +

      Example

      const listingId = 0; // the listing id to check
      const { data: listing, isLoading, error } = useListing(contract, listingId); +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useListings.html b/packages/react/typedoc/functions/useListings.html new file mode 100644 index 00000000000..ff5242ef6c0 --- /dev/null +++ b/packages/react/typedoc/functions/useListings.html @@ -0,0 +1,89 @@ +useListings | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useListings

    +
    +
      + +
    • Beta +

      Get all listings

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<Marketplace>
        +

        an instance of a marketplace contract

        +
        +
      • +
      • +
        Optional filter: MarketplaceFilter
        +

        filter to pass to the query for the sake of pagination & filtering

        +
        +
      +

      Returns UseQueryResult

      a response object that includes an array of listings

      + +
      +

      Example

      const { data: listings, isLoading, error } = useListings(contract, { start: 0, count: 100 });
      +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useListingsCount.html b/packages/react/typedoc/functions/useListingsCount.html new file mode 100644 index 00000000000..4133ed2f057 --- /dev/null +++ b/packages/react/typedoc/functions/useListingsCount.html @@ -0,0 +1,84 @@ +useListingsCount | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useListingsCount

    +
    +
      + +
    • Beta +

      Get the total count of listings

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<Marketplace>
        +

        an instance of a marketplace contract

        +
        +
      +

      Returns UseQueryResult

      a response object that includes the listing count

      + +
      +

      Example

      const { data: listingsCount, isLoading, error } = useListingsCount(contract);
      +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useLogin.html b/packages/react/typedoc/functions/useLogin.html new file mode 100644 index 00000000000..b2ee2c3ec58 --- /dev/null +++ b/packages/react/typedoc/functions/useLogin.html @@ -0,0 +1,87 @@ +useLogin | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useLogin

    +
    +
      + +
    • Beta +

      Hook to securely login to a backend with the connected wallet. The backend +authentication URL must be configured on the ThirdwebProvider.

      +
      +

      Returns {
          isLoading: boolean;
          login: (() => Promise<any>);
      }

        +
      • A function to invoke to login with the connected wallet, and an isLoading state.
      • +
      + +
        +
      • +
        isLoading: boolean
      • +
      • +
        login: (() => Promise<any>)
        +
          +
        • +
            +
          • (): Promise<any>
          • +
          • +

            Returns Promise<any>

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useLogout.html b/packages/react/typedoc/functions/useLogout.html new file mode 100644 index 00000000000..0bae367484f --- /dev/null +++ b/packages/react/typedoc/functions/useLogout.html @@ -0,0 +1,81 @@ +useLogout | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useLogout

    +
    +
      + +
    • Beta +

      Hook to logout the connected wallet from the backend. +The backend logout URL must be configured on the ThirdwebProvider.

      +
      +

      Returns {
          isLoading: boolean;
          logout: UseMutateAsyncFunction;
      }

        +
      • A function to invoke to logout.
      • +
      + +
        +
      • +
        isLoading: boolean
      • +
      • +
        logout: UseMutateAsyncFunction
      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMagic.html b/packages/react/typedoc/functions/useMagic.html new file mode 100644 index 00000000000..6a49a5b736f --- /dev/null +++ b/packages/react/typedoc/functions/useMagic.html @@ -0,0 +1,78 @@ +useMagic | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMagic

    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMakeBid.html b/packages/react/typedoc/functions/useMakeBid.html new file mode 100644 index 00000000000..b748d7c9391 --- /dev/null +++ b/packages/react/typedoc/functions/useMakeBid.html @@ -0,0 +1,84 @@ +useMakeBid | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMakeBid

    +
    +
      + +
    • Beta +

      Make a bid on an auction listing

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<Marketplace>
        +

        an instance of a Marketplace contract

        +
        +
      +

      Returns UseMutationResult<Omit<{
          data: (() => Promise<unknown>);
          receipt: providers.TransactionReceipt;
      }, "data">, unknown, MakeBidParams, unknown>

      a mutation object that can be used to make a bid on an auction listing

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: makeBid,
      isLoading,
      error,
      } = useMakeBid(contract);

      if (error) {
      console.error("failed to make a bid", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => makeBid({ listingId: 1, bid: 2 })}
      >
      Bid!
      </button>
      );
      }; +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMakeOffer.html b/packages/react/typedoc/functions/useMakeOffer.html new file mode 100644 index 00000000000..f35fb79eb87 --- /dev/null +++ b/packages/react/typedoc/functions/useMakeOffer.html @@ -0,0 +1,84 @@ +useMakeOffer | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMakeOffer

    +
    +
      + +
    • Beta +

      Nake an offer on a direct or auction listing

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<Marketplace>
        +

        an instance of a Marketplace contract

        +
        +
      +

      Returns UseMutationResult<Omit<{
          data: (() => Promise<unknown>);
          receipt: providers.TransactionReceipt;
      }, "data">, unknown, MakeOfferParams, unknown>

      a mutation object that can be used to make a bid on an auction listing

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: makeOffer,
      isLoading,
      error,
      } = useMakeOffer(contract);

      if (error) {
      console.error("failed to make a bid", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => makeOffer({ listingId: 1, pricePerToken: 0.5, quantity: 1 })}
      >
      Bid!
      </button>
      );
      }; +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMarketplace.html b/packages/react/typedoc/functions/useMarketplace.html new file mode 100644 index 00000000000..a609f7794cc --- /dev/null +++ b/packages/react/typedoc/functions/useMarketplace.html @@ -0,0 +1,85 @@ +useMarketplace | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMarketplace

    +
    +
      + +
    • +

      Hook for getting an instance of a Marketplace contract. This contract is used to support marketplace for purchase and sale of on-chain assets.

      +
      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the Marketplace contract, found in your thirdweb dashboard

        +
        +
      +

      Returns Marketplace | undefined

      +
      +

      Example

      import { useContract } from '@thirdweb-dev/react'

      export default function Component() {
      const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "marketplace")

      // Now you can use the marketplace contract in the rest of the component

      // For example, this function will return all the listings on the marketplace
      async function getListings() {
      const listings = await contract.getAll()
      return listings
      }

      ...
      } +
      + +

      Deprecated

      This hook is deprecated and will be removed in a future major version. You should use useContract instead.

      +
      - const marketplace = useMarketplace("0x1234...");
      + const marketplace = useContract("0x1234...", "marketplace").contract; +
      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMetadata.html b/packages/react/typedoc/functions/useMetadata.html new file mode 100644 index 00000000000..f00c3997e1c --- /dev/null +++ b/packages/react/typedoc/functions/useMetadata.html @@ -0,0 +1,84 @@ +useMetadata | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMetadata

    +
    +
      + +
    • Beta +

      Get the metadata of this contract

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<ValidContractInstance>
        +

        an instance of a SmartContract

        +
        +
      +

      Returns UseQueryResult

      a CustomContractMetadata object containing the metadata

      + +
      +

      Example

      const { data: metadata, isLoading, error } = useMetadata(contract);
      +
      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMetamask.html b/packages/react/typedoc/functions/useMetamask.html new file mode 100644 index 00000000000..9ce54881f94 --- /dev/null +++ b/packages/react/typedoc/functions/useMetamask.html @@ -0,0 +1,81 @@ +useMetamask | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMetamask

    +
    +
      + +
    • +

      Returns ((connectOptions?) => Promise<MetaMaskWallet>)

      +
        +
      • +
          +
        • (connectOptions?): Promise<MetaMaskWallet>
        • +
        • +
          +

          Parameters

          +
            +
          • +
            Optional connectOptions: {
                chainId?: number;
            }
            +
              +
            • +
              Optional chainId?: number
          +

          Returns Promise<MetaMaskWallet>

    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMinimumNextBid.html b/packages/react/typedoc/functions/useMinimumNextBid.html new file mode 100644 index 00000000000..d5a7f69d290 --- /dev/null +++ b/packages/react/typedoc/functions/useMinimumNextBid.html @@ -0,0 +1,91 @@ +useMinimumNextBid | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMinimumNextBid

    +
    +
      + +
    • +

      Get the minimum next bid for an english auction

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<Marketplace | MarketplaceV3>
        +

        an instance of a marketplace contract

        +
        +
      • +
      • +
        listingId: RequiredParam<BigNumberish>
        +

        the listing id to check

        +
        +
      +

      Returns UseQueryResult

      a response object that includes the minimum next bid for the auction listing

      + +
      +

      Example

      const listingId = 0;
      const { data: minimumNextBid, isLoading, error } = useMinimumNextBid(contract, listingId); +
      + +

      Twfeature

      EnglishAucton

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMintNFT.html b/packages/react/typedoc/functions/useMintNFT.html new file mode 100644 index 00000000000..056cb73debf --- /dev/null +++ b/packages/react/typedoc/functions/useMintNFT.html @@ -0,0 +1,91 @@ +useMintNFT | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMintNFT

    +
    +
      + +
    • Beta +

      Mint an NFT to a specific wallet

      +
      +
      +

      Type Parameters

      +
      +
      +

      Parameters

      +
      +

      Returns UseMutationResult<MintNFTReturnType<TContract>, unknown, MintNFTParams, unknown>

      a mutation object that can be used to mint a new NFT token to the connected wallet

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: mintNft,
      isLoading,
      error,
      } = useMintNFT(contract);

      if (error) {
      console.error("failed to mint NFT", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => mintNft({ name: "My awesome NFT!", to: "{{wallet_address}}" })}
      >
      Mint!
      </button>
      );
      }; +
      + +

      Twfeature

      ERC721Mintable | ERC1155Mintable

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMintNFTSupply.html b/packages/react/typedoc/functions/useMintNFTSupply.html new file mode 100644 index 00000000000..fcb1a6dc613 --- /dev/null +++ b/packages/react/typedoc/functions/useMintNFTSupply.html @@ -0,0 +1,86 @@ +useMintNFTSupply | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMintNFTSupply

    +
    +
      + +
    • Beta +

      Increase the supply of an existing NFT

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: Erc1155<BaseERC1155 | BaseSignatureMintERC1155>
        +

        an instance of a Erc1155

        +
        +
      +

      Returns UseMutationResult<TransactionResultWithId, unknown, MintNFTSupplyParams, unknown>

      a mutation object that can be used to mint a more supply of a token id to the provided wallet

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: mintNftSupply,
      isLoading,
      error,
      } = useMintNFTSupply(contract);

      if (error) {
      console.error("failed to mint additional supply", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => mintNftSupply({ tokenId: 0, additionalSupply: 100, to: "{{wallet_address}}"})}
      >
      Mint Additional Supply!
      </button>
      );
      }; +
      + +

      Twfeature

      ERC1155Mintable

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMintToken.html b/packages/react/typedoc/functions/useMintToken.html new file mode 100644 index 00000000000..96f85068463 --- /dev/null +++ b/packages/react/typedoc/functions/useMintToken.html @@ -0,0 +1,86 @@ +useMintToken | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMintToken

    +
    +
      + +
    • Beta +

      Mint tokens

      +
      +
      +

      Parameters

      +
      +

      Returns UseMutationResult<Omit<{
          data: (() => Promise<unknown>);
          receipt: providers.TransactionReceipt;
      }, "data">, unknown, TokenParams, unknown>

      a mutation object that can be used to mint new tokens to the connected wallet

      + +
      +

      Example

      const Component = () => {
      const { contract } = useContract("{{contract_address}}");
      const {
      mutate: mintTokens,
      isLoading,
      error,
      } = useMintToken(contract);

      if (error) {
      console.error("failed to mint tokens", error);
      }

      return (
      <button
      disabled={isLoading}
      onClick={() => mintTokens({ to: "{{wallet_address}}", amount: 1000 })}
      >
      Mint!
      </button>
      );
      }; +
      + +

      Twfeature

      ERC20Mintable

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMultiwrap.html b/packages/react/typedoc/functions/useMultiwrap.html new file mode 100644 index 00000000000..0c0ba7695ab --- /dev/null +++ b/packages/react/typedoc/functions/useMultiwrap.html @@ -0,0 +1,85 @@ +useMultiwrap | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useMultiwrap

    +
    +
      + +
    • +

      Hook for getting an instance of an Multiwrap contract. This contract is an ERC721 in which you can wrap ERC721, ERC1155 and ERC20 tokens.

      +
      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the Multiwrap contract, found in your thirdweb dashboard

        +
        +
      +

      Returns Multiwrap | undefined

      +
      +

      Example

      import { useContract } from '@thirdweb-dev/react'

      export default function Component() {
      const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "multiwrap")

      // Now you can use the multiwrap contract in the rest of the component

      // For example, this function will let the connected wallet wrap tokens
      async function wrap(tokensToWrap, wrappedNFTMetadata) {
      await contract.wrap(tokensToWrap, wrappedNFTMetadata)
      }

      ...
      } +
      + +

      Deprecated

      This hook is deprecated and will be removed in a future major version. You should use useContract instead.

      +
      - const multiwrap = useMultiwrap("0x1234...");
      + const multiwrap = useContract("0x1234...", "multiwrap").contract; +
      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFT.html b/packages/react/typedoc/functions/useNFT.html new file mode 100644 index 00000000000..0f02ddba09e --- /dev/null +++ b/packages/react/typedoc/functions/useNFT.html @@ -0,0 +1,96 @@ +useNFT | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useNFT

    +
    +
      + +
    • Beta +

      Get a single NFT

      +
      +
      +

      Type Parameters

      +
      +
      +

      Parameters

      +
      +

      Returns UseQueryResult<NFT, unknown>

      a response object that includes the metadata for the given tokenId

      + +
      +

      Example

      const tokenId = 0; // the tokenId to look up
      const { data: nft, isLoading, error } = useNFT(contract, tokenId); +
      + +

      Twfeature

      ERC721 | ERC1155

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFTBalance.html b/packages/react/typedoc/functions/useNFTBalance.html new file mode 100644 index 00000000000..9fbbdb9905c --- /dev/null +++ b/packages/react/typedoc/functions/useNFTBalance.html @@ -0,0 +1,96 @@ +useNFTBalance | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useNFTBalance

    +
    +
      + +
    • Beta +

      Get NFT balance of a specific wallet

      +
      +
      +

      Parameters

      +
      +

      Returns UseQueryResult<BigNumber, unknown>

      a response object that includes the total balance of the owner

      + +
      +

      Example

      const { data: ownerBalance, isLoading, error } = useNFTBalance(contract, "{{wallet_address}}");
      // for ERC1155 contracts, you can also pass a tokenId
      const tokenId = 0;
      const { data: ownerBalance, isLoading, error } = useNFTBalance(contract, "{{wallet_address}}", tokenId); +
      + +

      Twfeature

      ERC721 | ERC1155

      + +

      See

      Documentation

      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFTCollection.html b/packages/react/typedoc/functions/useNFTCollection.html new file mode 100644 index 00000000000..2d6b33f27a5 --- /dev/null +++ b/packages/react/typedoc/functions/useNFTCollection.html @@ -0,0 +1,85 @@ +useNFTCollection | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useNFTCollection

    +
    +
      + +
    • +

      Hook for getting an instance of an NFTCollection contract. This contract is meant to interface with ERC721 compliant NFTs.

      +
      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the NFT Collection contract, found in your thirdweb dashboard

        +
        +
      +

      Returns NFTCollection | undefined

      +
      +

      Example

      import { useContract } from '@thirdweb-dev/react'

      export default function Component() {
      const { contract, isLoading, error } = useContract("<YOUR-CONTRACT-ADDRESS>", "nft-collection")

      // Now you can use the nftCollection contract in the rest of the component

      // For example, this function will return all the NFTs on this contract
      async function getNFTs() {
      const nfts = await contract.getAll()
      return nfts
      }

      ...
      } +
      + +

      Deprecated

      This hook is deprecated and will be removed in a future major version. You should use useContract instead.

      +
      - const nftCollection = useNFTCollection("0x1234...");
      + const nftCollection = useContract("0x1234...", "nft-collection").contract; +
      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFTDrop.html b/packages/react/typedoc/functions/useNFTDrop.html new file mode 100644 index 00000000000..29628fd8997 --- /dev/null +++ b/packages/react/typedoc/functions/useNFTDrop.html @@ -0,0 +1,85 @@ +useNFTDrop | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useNFTDrop

    +
    +
      + +
    • +

      Hook for getting an instance of an NFTDrop contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted.

      +
      +
      +

      Parameters

      +
        +
      • +
        contractAddress: RequiredParam<string>
        +

        the address of the NFT Drop contract, found in your thirdweb dashboard

        +
        +
      +

      Returns NFTDrop | undefined

      +
      +

      Example

      import { useContract } from '@thirdweb-dev/react'

      export default function Component() {
      const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "nft-drop")

      // Now you can use the nft drop contract in the rest of the component

      // For example, this function will let the connected wallet claim a new NFT
      async function claim(quantity) {
      await contract.claim(quantity)
      }

      ...
      } +
      + +

      Deprecated

      This hook is deprecated and will be removed in a future major version. You should use useContract instead.

      +
      - const nftDrop = useNFTDrop("0x1234...");
      + const nftDrop = useContract("0x1234...", "nft-drop").contract; +
      +
    +
    +
    +

    Generated using TypeDoc

    +
    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFTs.html b/packages/react/typedoc/functions/useNFTs.html new file mode 100644 index 00000000000..9e3a3b4e3a0 --- /dev/null +++ b/packages/react/typedoc/functions/useNFTs.html @@ -0,0 +1,97 @@ +useNFTs | @thirdweb-dev/react
    +
    + +
    +
    +
    +
    + +

    Function useNFTs

    +
    +
      + +
    • Beta +

      Get all NFTs

      +
      +
      +

      Type Parameters

      +
      +
      +

      Parameters

      +
        +
      • +
        contract: RequiredParam<TContract>
        +

        an instance of a NFTContract

        +
        +
      • +
      • +
        Optional queryParams: {}
        +

        query params to pass to the query for pagination

        +
        +
        +
        +

        Returns UseQueryResult<NFT[], unknown>

        a response object that includes an array of NFTs

        + +
        +

        Example

        const { data: nfts, isLoading, error } = useNFTs(contract, { start: 0, count: 100 });
        +
        + +

        Twfeature

        ERC721Supply | ERC721Enumerable | ERC1155Enumerable

        + +

        See

        Documentation

        +
      +
      +
      +

      Generated using TypeDoc

      +
      \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNetwork.html b/packages/react/typedoc/functions/useNetwork.html new file mode 100644 index 00000000000..975f80b41cf --- /dev/null +++ b/packages/react/typedoc/functions/useNetwork.html @@ -0,0 +1,78 @@ +useNetwork | @thirdweb-dev/react
      +
      + +
      +
      +
      +
      + +

      Function useNetwork

      +
      +
        + +
      • +

        Returns [NetworkMetadata, SwitchNetwork | undefined]

        +
        +

        Deprecated

          +
        • use useChain, useSwitchChain, useChainId instead
        • +
        +

        Hook for getting metadata about the network the current wallet is connected to and switching networks

        + +

        Example

        import { useNetwork } from "@thirdweb-dev/react";

        const App = () => {
        const [, switchNetwork] = useNetwork();
        return (
        // switchNetwork is undefined if the wallet does not support programmatic network switching
        // 137 is the chainId for Polygon in this example
        <button onClick={() => switchNetwork(137)}>
        Switch Network
        </button>
        );
        }; +
        +

        It's important to note that some wallet apps do not support programmatic network switching and switchNetwork will be undefined. +For those situations, you can typically switch networks in the wallet app this hook will still work.

        +
      +
      +
      +

      Generated using TypeDoc

      +
      \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNetworkMismatch.html b/packages/react/typedoc/functions/useNetworkMismatch.html new file mode 100644 index 00000000000..3c877711d74 --- /dev/null +++ b/packages/react/typedoc/functions/useNetworkMismatch.html @@ -0,0 +1,80 @@ +useNetworkMismatch | @thirdweb-dev/react
      +
      + +
      +
      +
      +
      + +

      Function useNetworkMismatch

      +
      +
        + +
      • +

        Hook for checking whether the connected wallet is on the correct network specified by the network passed to the <ThirdwebProvider />.

        +
        import { useNetworkMismatch } from "@thirdweb-dev/react"
        +
        +
        +

        Returns boolean

        true if the chainId of the connected wallet is different from the chainId of the network passed into

        + +
        +

        See

        Documentation

        + +

        Example

        You can check if a users wallet is connected to the correct chain ID as follows:

        +
        import { useNetworkMismatch } from "@thirdweb-dev/react"

        const App = () => {
        const isMismatched = useNetworkMismatch()

        return <div>{isMismatched}</div>
        } +
        +

        From here, you can prompt users to switch their network using the useNetwork hook.

        +
      +
      +
      +

      Generated using TypeDoc

      +
      \ No newline at end of file diff --git a/packages/react/typedoc/functions/useOffers.html b/packages/react/typedoc/functions/useOffers.html new file mode 100644 index 00000000000..7fe21982dc3 --- /dev/null +++ b/packages/react/typedoc/functions/useOffers.html @@ -0,0 +1,90 @@ +useOffers | @thirdweb-dev/react
      +
      + +
      +
      +
      +
      + +

      Function useOffers

      +
      +
        + +
      • Beta +

        Get all the offers for a listing

        +
        +
        +

        Parameters

        +
          +
        • +
          contract: RequiredParam<Marketplace>
          +

          an instance of a Marketplace contract

          +
          +
        • +
        • +
          listingId: RequiredParam<BigNumberish>
          +

          the id of the listing to fetch offers for

          +
          +
        +

        Returns {
            data: Record<string, any>[] | undefined;
            dataUpdatedAt: number;
            error: unknown;
            errorUpdateCount: number;
            errorUpdatedAt: number;
            failureCount: number;
            failureReason: unknown;
            fetchStatus: FetchStatus;
            isError: true;
            isFetched: boolean;
            isFetchedAfterMount: boolean;
            isFetching: boolean;
            isInitialLoading: boolean;
            isLoading: false;
            isLoadingError: false;
            isPaused: boolean;
            isPlaceholderData: boolean;
            isPreviousData: boolean;
            isRefetchError: true;
            isRefetching: boolean;
            isStale: boolean;
            isSuccess: false;
            refetch: (<TPageData>(options?) => Promise<QueryObserverResult>);
            remove: (() => void);
            status: "error";
        } | {
            data: Record<string, any>[] | undefined;
            dataUpdatedAt: number;
            error: null;
            errorUpdateCount: number;
            errorUpdatedAt: number;
            failureCount: number;
            failureReason: unknown;
            fetchStatus: FetchStatus;
            isError: false;
            isFetched: boolean;
            isFetchedAfterMount: boolean;
            isFetching: boolean;
            isInitialLoading: boolean;
            isLoading: false;
            isLoadingError: false;
            isPaused: boolean;
            isPlaceholderData: boolean;
            isPreviousData: boolean;
            isRefetchError: false;
            isRefetching: boolean;
            isStale: boolean;
            isSuccess: true;
            refetch: (<TPageData>(options?) => Promise<QueryObserverResult>);
            remove: (() => void);
            status: "success";
        } | {
            data: Record<string, any>[] | undefined;
            dataUpdatedAt: number;
            error: unknown;
            errorUpdateCount: number;
            errorUpdatedAt: number;
            failureCount: number;
            failureReason: unknown;
            fetchStatus: FetchStatus;
            isError: true;
            isFetched: boolean;
            isFetchedAfterMount: boolean;
            isFetching: boolean;
            isInitialLoading: boolean;
            isLoading: false;
            isLoadingError: true;
            isPaused: boolean;
            isPlaceholderData: boolean;
            isPreviousData: boolean;
            isRefetchError: false;
            isRefetching: boolean;
            isStale: boolean;
            isSuccess: false;
            refetch: (<TPageData>(options?) => Promise<QueryObserverResult>);
            remove: (() => void);
            status: "error";
        } | {
            data: Record<string, any>[] | undefined;
            dataUpdatedAt: number;
            error: null;
            errorUpdateCount: number;
            errorUpdatedAt: number;
            failureCount: number;
            failureReason: unknown;
            fetchStatus: FetchStatus;
            isError: false;
            isFetched: boolean;
            isFetchedAfterMount: boolean;
            isFetching: boolean;
            isInitialLoading: boolean;
            isLoading: true;
            isLoadingError: false;
            isPaused: boolean;
            isPlaceholderData: boolean;
            isPreviousData: boolean;
            isRefetchError: false;
            isRefetching: boolean;
            isStale: boolean;
            isSuccess: false;
            refetch: (<TPageData>(options?) => Promise<QueryObserverResult>);
            remove: (() => void);
            status: "loading";
        }

        +
        +

        Remarks

        Fetch all the offers for a specified direct or auction listing.

        + +

        Example

        const listingId = 0;
        const { data: offers, isLoading, error } = useOffers(contract, listingId); +
        + +

        See

        Documentation

        +
      +
      +
      +

      Generated using TypeDoc

      +
      \ No newline at end of file diff --git a/packages/react/typedoc/functions/useOwnedNFTs.html b/packages/react/typedoc/functions/useOwnedNFTs.html new file mode 100644 index 00000000000..624b14e3b14 --- /dev/null +++ b/packages/react/typedoc/functions/useOwnedNFTs.html @@ -0,0 +1,102 @@ +useOwnedNFTs | @thirdweb-dev/react
      +
      + +
      +
      +
      +
      + +

      Function useOwnedNFTs

      +
      +
        + +
      • Beta +

        Get all NFTs owned by a specific wallet

        +
        +
        +

        Type Parameters

        +
        +
        +

        Parameters

        +
          +
        • +
          contract: RequiredParam<TContract>
          +

          an instance of a NFTContract

          +
          +
        • +
        • +
          ownerWalletAddress: RequiredParam<string>
          +

          the wallet address to get owned tokens for

          +
          +
        • +
        • +
          Optional queryParams: {}
          +

          query params to pass to the query for pagination

          +
          +
          +
          +

          Returns UseQueryResult<NFT[], unknown>

          a response object that includes the list of owned tokens

          + +
          +

          Example

          const { data: ownedNFTs, isLoading, error } = useOwnedNFTs(contract, "{{wallet_address}}", { start: 0, count: 100 });
          +
          + +

          Twfeature

          ERC721Enumerable | ERC1155Enumerable | ERC721Supply

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePack.html b/packages/react/typedoc/functions/usePack.html new file mode 100644 index 00000000000..394ce3a134f --- /dev/null +++ b/packages/react/typedoc/functions/usePack.html @@ -0,0 +1,85 @@ +usePack | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function usePack

        +
        +
          + +
        • +

          Hook for getting an instance of a Pack contract. This contract supports the creation of on-chain luck-based lootboxes.

          +
          +
          +

          Parameters

          +
            +
          • +
            contractAddress: RequiredParam<string>
            +

            the address of the Pack contract, found in your thirdweb dashboard

            +
            +
          +

          Returns Pack | undefined

          +
          +

          Example

          import { useContract } from '@thirdweb-dev/react'

          export default function Component() {
          const { contract } = usePack("<YOUR-CONTRACT-ADDRESS>", "pack")

          // Now you can use the pack contract in the rest of the component

          // For example, this function will get all the packs on this contract
          async function getPacks() {
          const packs = await contract.getAll()
          return packs
          }

          ...
          } +
          + +

          Deprecated

          This hook is deprecated and will be removed in a future major version. You should use useContract instead.

          +
          - const pack = usePack("0x1234...");
          + const pack = useContract("0x1234...", "pack").contract; +
          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePaperWallet.html b/packages/react/typedoc/functions/usePaperWallet.html new file mode 100644 index 00000000000..9a6b7b89437 --- /dev/null +++ b/packages/react/typedoc/functions/usePaperWallet.html @@ -0,0 +1,78 @@ +usePaperWallet | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function usePaperWallet

        +
        +
          + +
        • +

          Returns ((options) => Promise<PaperWallet>)

          +
            +
          • +
              +
            • (options): Promise<PaperWallet>
            • +
            • +
              +

              Parameters

              +
                +
              • +
                options: {
                    chainId?: number;
                    email?: string;
                } & PaperConfig
              +

              Returns Promise<PaperWallet>

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePaperWalletUserEmail.html b/packages/react/typedoc/functions/usePaperWalletUserEmail.html new file mode 100644 index 00000000000..d5bebe23789 --- /dev/null +++ b/packages/react/typedoc/functions/usePaperWalletUserEmail.html @@ -0,0 +1,67 @@ +usePaperWalletUserEmail | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function usePaperWalletUserEmail

        +
        +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePlatformFees.html b/packages/react/typedoc/functions/usePlatformFees.html new file mode 100644 index 00000000000..58a3890bed5 --- /dev/null +++ b/packages/react/typedoc/functions/usePlatformFees.html @@ -0,0 +1,86 @@ +usePlatformFees | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function usePlatformFees

        +
        +
          + +
        • Beta +

          Get the platform fee recipient and basis points

          +
          +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<ValidContractInstance>
            +

            an instance of a SmartContract

            +
            +
          +

          Returns UseQueryResult<{
              platform_fee_basis_points: number;
              platform_fee_recipient: string;
          }, unknown>

          an object containing the platform fee basis points and the fee recipient address

          + +
          +

          Example

          const { data: platformFees, isLoading, error } = usePlatformFees(contract);
          +
          + +

          Twfeature

          PlatformFee

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePrimarySaleRecipient.html b/packages/react/typedoc/functions/usePrimarySaleRecipient.html new file mode 100644 index 00000000000..c97c4ecf99e --- /dev/null +++ b/packages/react/typedoc/functions/usePrimarySaleRecipient.html @@ -0,0 +1,87 @@ +usePrimarySaleRecipient | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function usePrimarySaleRecipient

        +
        +
          + +
        • Beta +

          Get the primary sale recipient

          +
          +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<ValidContractInstance>
            +

            an instance of a SmartContract

            +
            +
          +

          Returns UseQueryResult<string, unknown>

          the wallet address of the primary sales recipient

          + +
          +

          Example

          const { data: primarySaleRecipient, isLoading, error } = usePrimarySalesRecipient(contract);
          +
          +

          Use this to get the primary sales recipient of your SmartContract

          + +

          Twfeature

          PrimarySale

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRainbowWallet.html b/packages/react/typedoc/functions/useRainbowWallet.html new file mode 100644 index 00000000000..90613597e86 --- /dev/null +++ b/packages/react/typedoc/functions/useRainbowWallet.html @@ -0,0 +1,81 @@ +useRainbowWallet | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useRainbowWallet

        +
        +
          + +
        • +

          Returns ((connectOptions?) => Promise<RainbowWallet>)

          +
            +
          • +
              +
            • (connectOptions?): Promise<RainbowWallet>
            • +
            • +
              +

              Parameters

              +
                +
              • +
                Optional connectOptions: {
                    chainId?: number;
                }
                +
                  +
                • +
                  Optional chainId?: number
              +

              Returns Promise<RainbowWallet>

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRemoveAdmin.html b/packages/react/typedoc/functions/useRemoveAdmin.html new file mode 100644 index 00000000000..60aebbd106c --- /dev/null +++ b/packages/react/typedoc/functions/useRemoveAdmin.html @@ -0,0 +1,75 @@ +useRemoveAdmin | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useRemoveAdmin

        +
        +
          + +
        • +

          Add an additional admin on the smart wallet

          +
          +

          Returns UseMutationResult<TransactionResult, unknown, string>

          +
          +

          Example

          const Component = () => {
          const {
          mutate: removeAdmin,
          isLoading,
          error,
          } = useRemoveAdmin();

          if (error) {
          console.error("failed to remove admin", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => removeAdmin("0x...")}
          >
          Remove admin
          </button>
          );
          }; +
          + +

          Twfeature

          Account

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useResetClaimConditions.html b/packages/react/typedoc/functions/useResetClaimConditions.html new file mode 100644 index 00000000000..2b929f52329 --- /dev/null +++ b/packages/react/typedoc/functions/useResetClaimConditions.html @@ -0,0 +1,86 @@ +useResetClaimConditions | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useResetClaimConditions

        +
        +
          + +
        • Beta +

          Reset claim conditions

          +
          +
          +

          Parameters

          +
          +

          Returns UseMutationResult<Omit<{
              data: (() => Promise<unknown>);
              receipt: providers.TransactionReceipt;
          }, "data">, unknown, void, unknown>

          a mutation object that can be used to reset claim conditions

          + +
          +

          Example

          const Component = () => {
          const { contract } = useContract("{{contract_address}}");
          const {
          mutate: resetClaimConditions,
          isLoading,
          error,
          } = useResetClaimConditions(contract);

          if (error) {
          console.error("failed to reset claim conditions", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={resetClaimConditions}
          >
          Reset Claim Conditions
          </button>
          );
          }; +
          + +

          Twfeature

          ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useResolvedMediaType.html b/packages/react/typedoc/functions/useResolvedMediaType.html new file mode 100644 index 00000000000..270c88745c3 --- /dev/null +++ b/packages/react/typedoc/functions/useResolvedMediaType.html @@ -0,0 +1,93 @@ +useResolvedMediaType | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useResolvedMediaType

        +
        +
          + +
        • +
          +

          Parameters

          +
            +
          • +
            Optional uri: string
            +

            the uri to resolve (can be a url or a ipfs://<cid>)

            +
            +
          • +
          • +
            Optional mimeType: string
          • +
          • +
            Optional gatewayUrl: string
          +

          Returns {
              mimeType: undefined | string;
              url: string;
          }

          the fully resolved url + mime type of the media

          + +
            +
          • +
            mimeType: undefined | string
          • +
          • +
            url: string
          +
          +

          Example

          Usage with fully formed url:

          +
          const Component = () => {
          const resolved = useResolvedMediaType("https://example.com/video.mp4");
          console.log("mime type", resolved.data.mimeType);
          console.log("url", resolved.data.url);
          return null;
          } +
          +

          Usage with ipfs cid:

          +
          const Component = () => {
          const resolved = useResolvedMediaType("ipfs://QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvsd");
          console.log("mime type", resolved.data.mimeType);
          console.log("url", resolved.data.url);
          return null;
          } +
          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRevealLazyMint.html b/packages/react/typedoc/functions/useRevealLazyMint.html new file mode 100644 index 00000000000..89d49a9ad70 --- /dev/null +++ b/packages/react/typedoc/functions/useRevealLazyMint.html @@ -0,0 +1,91 @@ +useRevealLazyMint | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useRevealLazyMint

        +
        +
          + +
        • Beta +

          Reveal a batch of delayed reveal NFTs

          +
          +
          +

          Type Parameters

          +
          +
          +

          Parameters

          +
          +

          Returns UseMutationResult<Omit<{
              data: (() => Promise<unknown>);
              receipt: providers.TransactionReceipt;
          }, "data">, unknown, RevealLazyMintInput, unknown>

          a mutation object that can be used to reveal a batch of delayed reveal NFTs

          + +
          +

          Example

          const Component = () => {
          const { contract } = useContract("{{contract_address}}");
          const {
          mutate: revealLazyMint,
          isLoading,
          error,
          } = useRevealLazyMint(contract);

          if (error) {
          console.error("failed to reveal batch", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => revealLazyMint({ batchId: "0", password: "my-password" })}
          >
          Reveal batch!
          </button>
          );
          }; +
          + +

          Twfeature

          ERC721Revealable | ERC1155Revealable

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRevokeRole.html b/packages/react/typedoc/functions/useRevokeRole.html new file mode 100644 index 00000000000..2d66ed2c317 --- /dev/null +++ b/packages/react/typedoc/functions/useRevokeRole.html @@ -0,0 +1,91 @@ +useRevokeRole | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useRevokeRole

        +
        +
          + +
        • Beta +

          Revoke a role from a specific address

          +
          +
          +

          Type Parameters

          +
            +
          • +

            TContract extends ContractWithRoles

          +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<TContract>
            +

            an instance of a SmartContract

            +
            +
          +

          Returns UseMutationResult

          a mutation object that can be used to revoke a role from a member on the contract

          + +
          +

          Example

          const Component = () => {
          const { contract } = useContract("{{contract_address}}");
          const {
          mutate: revokeRole,
          isLoading,
          error,
          } = useRevokeRole(contract);

          if (error) {
          console.error("failed to revoke role", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => revokeRole({ role: "admin", address: {{wallet_address}} })}
          >
          Revoke Role
          </button>
          );
          }; +
          + +

          Twfeature

          Permissions | PermissionsEnumerable

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRevokeSessionKey.html b/packages/react/typedoc/functions/useRevokeSessionKey.html new file mode 100644 index 00000000000..3a6f6fc2835 --- /dev/null +++ b/packages/react/typedoc/functions/useRevokeSessionKey.html @@ -0,0 +1,75 @@ +useRevokeSessionKey | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useRevokeSessionKey

        +
        +
          + +
        • +

          Revoke a session key on the smart wallet

          +
          +

          Returns UseMutationResult<TransactionResult, unknown, string>

          +
          +

          Example

          const Component = () => {
          const {
          mutate: revokeSessionKey,
          isLoading,
          error,
          } = useRevokeSessionKey();

          if (error) {
          console.error("failed to revoke session key", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => revokeSessionKey("0x...")}
          >
          Revoke Session Key
          </button>
          );
          }; +
          + +

          Twfeature

          Account

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRoleMembers.html b/packages/react/typedoc/functions/useRoleMembers.html new file mode 100644 index 00000000000..8fa77544de1 --- /dev/null +++ b/packages/react/typedoc/functions/useRoleMembers.html @@ -0,0 +1,96 @@ +useRoleMembers | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useRoleMembers

        +
        +
          + +
        • Beta +

          Get all members of a specific role

          +
          +
          +

          Type Parameters

          +
            +
          • +

            TContract extends ContractWithRoles

          +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<TContract>
            +

            an instance of a SmartContract

            +
            +
          • +
          • +
            role: RolesForContract<TContract>
            +

            the role to get the members of, see Role

            +
            +
          +

          Returns UseQueryResult

          a list of addresses that are members of the role

          + +
          +

          Example

          const { data: members, isLoading, error } = useRoleMembers(SmartContract, "admin");
          +
          + +

          Twfeature

          Permissions

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRoyaltySettings.html b/packages/react/typedoc/functions/useRoyaltySettings.html new file mode 100644 index 00000000000..60cd7a643fa --- /dev/null +++ b/packages/react/typedoc/functions/useRoyaltySettings.html @@ -0,0 +1,86 @@ +useRoyaltySettings | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useRoyaltySettings

        +
        +
          + +
        • Beta +

          Get the royalty recipient and fee

          +
          +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<ValidContractInstance>
            +

            an instance of a SmartContract

            +
            +
          +

          Returns UseQueryResult<{
              fee_recipient: string;
              seller_fee_basis_points: number;
          }, unknown>

          an object containing recipient address and the royalty basis points

          + +
          +

          Example

          const { data: settings, isLoading, error } = useRoyaltySettings(contract);
          +
          + +

          Twfeature

          Royalty

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSDK.html b/packages/react/typedoc/functions/useSDK.html new file mode 100644 index 00000000000..e0efa157ffb --- /dev/null +++ b/packages/react/typedoc/functions/useSDK.html @@ -0,0 +1,74 @@ +useSDK | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSDK

        +
        +
          + +
        • +

          Returns ThirdwebSDK | undefined

          ThirdwebSDK +Access the instance of the thirdweb SDK created by the ThirdwebProvider +to call methods using the connected wallet on the desiredChainId.

          + +
          +

          Example

          const sdk = useSDK();
          +
          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSafe.html b/packages/react/typedoc/functions/useSafe.html new file mode 100644 index 00000000000..06662ed0147 --- /dev/null +++ b/packages/react/typedoc/functions/useSafe.html @@ -0,0 +1,78 @@ +useSafe | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSafe

        +
        +
          + +
        • +

          Returns ((connectProps) => Promise<SafeWallet>)

          +
            +
          • +
              +
            • (connectProps): Promise<SafeWallet>
            • +
            • +
              +

              Parameters

              +
                +
              • +
                connectProps: SafeConnectionArgs
              +

              Returns Promise<SafeWallet>

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetAllRoleMembers.html b/packages/react/typedoc/functions/useSetAllRoleMembers.html new file mode 100644 index 00000000000..d7c91e0fb77 --- /dev/null +++ b/packages/react/typedoc/functions/useSetAllRoleMembers.html @@ -0,0 +1,89 @@ +useSetAllRoleMembers | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSetAllRoleMembers

        +
        +
          + +
        • Beta +

          Overwrite the list of members for specific roles

          +
          +
          +

          Type Parameters

          +
            +
          • +

            TContract extends ContractWithRoles

          +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<TContract>
            +

            an instance of a SmartContract

            +
            +
          +

          Returns UseMutationResult

          a mutation object that can be used to overwrite all roles on the contract

          + +
          +

          Example

          const Component = () => {
          const { contract } = useContract("{{contract_address}}");
          const {
          mutate: overwriteRoles,
          isLoading,
          error,
          } = useSetAllRoleMembers(contract);

          if (error) {
          console.error("failed to overwrite roles", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => overwriteRoles({ rolesWithAddresses: { minter: ["{{wallet_address}"] } })}
          >
          Overwrite Roles
          </button>
          );
          }; +
          + +

          Twfeature

          Permissions

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetAppURI.html b/packages/react/typedoc/functions/useSetAppURI.html new file mode 100644 index 00000000000..937223c9cae --- /dev/null +++ b/packages/react/typedoc/functions/useSetAppURI.html @@ -0,0 +1,84 @@ +useSetAppURI | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSetAppURI

        +
        +
          + +
        • Beta +

          Set App URI

          +
          +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<ValidContractInstance>
            +

            an instance of a SmartContract

            +
            +
          +

          Returns UseMutationResult<Omit<{
              data: (() => Promise<unknown>);
              receipt: providers.TransactionReceipt;
          }, "data">, unknown, {
              uri: string;
          }, unknown>

          a mutation object that can be used to update the appURI of a contract

          + +
          +

          Example

          const Component = () => {
          const {
          mutate: useSetAppURI,
          isLoading,
          error,
          } = useSetAppURI(contract);

          if (error) {
          console.error("failed to update appURI", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => useSetAppURI({ uri })}
          >
          Update App URI
          </button>
          );
          }; +
          + +

          Twfeature

          AppUR

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetClaimConditions.html b/packages/react/typedoc/functions/useSetClaimConditions.html new file mode 100644 index 00000000000..a25a341164a --- /dev/null +++ b/packages/react/typedoc/functions/useSetClaimConditions.html @@ -0,0 +1,88 @@ +useSetClaimConditions | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSetClaimConditions

        +
        +
          + +
        • Beta +

          Set claim conditions

          +
          +
          +

          Parameters

          +
          +

          Returns UseMutationResult<{
              receipt: providers.TransactionReceipt;
          }, unknown, SetClaimConditionsParams, unknown>

          a mutation object that can be used to set claim conditions

          + +
          +

          Example

          const Component = () => {
          const { contract } = useContract("{{contract_address}}");
          const {
          mutate: setClaimConditions,
          isLoading,
          error,
          } = useSetClaimConditions(contract);

          if (error) {
          console.error("failed to set claim conditions", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => setClaimConditions({ phases: [{ price: 2, maxClaimableSupply: 100 }] })}
          >
          Set Claim Conditions!
          </button>
          );
          }; +
          + +

          Twfeature

          ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetConnectedWallet.html b/packages/react/typedoc/functions/useSetConnectedWallet.html new file mode 100644 index 00000000000..701b636e175 --- /dev/null +++ b/packages/react/typedoc/functions/useSetConnectedWallet.html @@ -0,0 +1,82 @@ +useSetConnectedWallet | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSetConnectedWallet

        +
        +
          + +
        • +

          Returns ((wallet, params?) => Promise<void>)

          a method to set a connected wallet instance

          + +
            +
          • +
              +
            • (wallet, params?): Promise<void>
            • +
            • +
              +

              Parameters

              +
              +

              Returns Promise<void>

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetConnectionStatus.html b/packages/react/typedoc/functions/useSetConnectionStatus.html new file mode 100644 index 00000000000..6899d517ebf --- /dev/null +++ b/packages/react/typedoc/functions/useSetConnectionStatus.html @@ -0,0 +1,80 @@ +useSetConnectionStatus | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSetConnectionStatus

        +
        +
          + +
        • +

          Returns ((status) => void)

          a method to create an instance of given wallet class

          + +
            +
          • +
              +
            • (status): void
            • +
            • +
              +

              Parameters

              +
                +
              • +
                status: "unknown" | "connected" | "disconnected" | "connecting"
              +

              Returns void

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetIsWalletModalOpen.html b/packages/react/typedoc/functions/useSetIsWalletModalOpen.html new file mode 100644 index 00000000000..7946c17fd13 --- /dev/null +++ b/packages/react/typedoc/functions/useSetIsWalletModalOpen.html @@ -0,0 +1,67 @@ +useSetIsWalletModalOpen | @thirdweb-dev/react
        +
        + +
        + +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetSharedMetadata.html b/packages/react/typedoc/functions/useSetSharedMetadata.html new file mode 100644 index 00000000000..739f52b4a6f --- /dev/null +++ b/packages/react/typedoc/functions/useSetSharedMetadata.html @@ -0,0 +1,81 @@ +useSetSharedMetadata | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSetSharedMetadataPrivate

        +
        +
          + +
        • Private +

          Set shared metadata +TODO add docs

          +
          +
          +

          Type Parameters

          +
          +
          +

          Parameters

          +
          +

          Returns UseMutationResult<Omit<{
              data: (() => Promise<unknown>);
              receipt: providers.TransactionReceipt;
          }, "data">, unknown, {
              animation_url?: any;
              description?: string | null;
              image?: any;
              name?: string | number | null;
          }, unknown>

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSharedMetadata.html b/packages/react/typedoc/functions/useSharedMetadata.html new file mode 100644 index 00000000000..2377eaa05f2 --- /dev/null +++ b/packages/react/typedoc/functions/useSharedMetadata.html @@ -0,0 +1,86 @@ +useSharedMetadata | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSharedMetadata

        +
        +
          + +
        • Beta +

          Get the shared metadata of an Open Edition NFT contract

          +
          +
          +

          Parameters

          +
          +

          Returns UseQueryResult<BasicNFTInput | undefined>

          a response object that includes the shared metadata of the contract

          + +
          +

          Example

          const { data: sharedMetadata, isLoading, error } = useSharedMetadata(contract);
          +
          + +

          Twfeature

          ERC721SharedMetadata

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSignatureDrop.html b/packages/react/typedoc/functions/useSignatureDrop.html new file mode 100644 index 00000000000..42f68726fbc --- /dev/null +++ b/packages/react/typedoc/functions/useSignatureDrop.html @@ -0,0 +1,85 @@ +useSignatureDrop | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSignatureDrop

        +
        +
          + +
        • +

          Hook for getting an instance of an SignatureDrop contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted.

          +
          +
          +

          Parameters

          +
            +
          • +
            Optional contractAddress: RequiredParam<string>
            +

            the address of the NFT Drop contract, found in your thirdweb dashboard

            +
            +
          +

          Returns SignatureDrop | undefined

          +
          +

          Example

          import { useContract } from '@thirdweb-dev/react'

          export default function Component() {
          const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "signature-drop")

          // Now you can use the Signature drop contract in the rest of the component

          // For example, this function will let the connected wallet claim a new NFT
          async function claim(quantity) {
          await contract.claim(quantity)
          }

          ...
          } +
          + +

          Deprecated

          This hook is deprecated and will be removed in a future major version. You should use useContract instead.

          +
          - const signatureDrop = useSignatureDrop("0x1234...");
          + const signatureDrop = useContract("0x1234...", "signature-drop").contract; +
          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSmartWallet.html b/packages/react/typedoc/functions/useSmartWallet.html new file mode 100644 index 00000000000..6029661776a --- /dev/null +++ b/packages/react/typedoc/functions/useSmartWallet.html @@ -0,0 +1,80 @@ +useSmartWallet | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSmartWallet

        +
        +
          + +
        • +

          Returns ((wallet, options) => Promise<SmartWallet>)

          +
            +
          • +
              +
            • (wallet, options): Promise<SmartWallet>
            • +
            • +
              +

              Parameters

              +
                +
              • +
                wallet: WalletConfig<any>
              • +
              • +
                options: SmartWalletConnectionArgs & SmartWalletConfigOptions
              +

              Returns Promise<SmartWallet>

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSplit.html b/packages/react/typedoc/functions/useSplit.html new file mode 100644 index 00000000000..1dac91403b1 --- /dev/null +++ b/packages/react/typedoc/functions/useSplit.html @@ -0,0 +1,85 @@ +useSplit | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSplit

        +
        +
          + +
        • +

          Hook for getting an instance of a Split contract. This contract supports fund distribution to multiple parties.

          +
          +
          +

          Parameters

          +
            +
          • +
            contractAddress: RequiredParam<string>
            +

            the address of the Split contract, found in your thirdweb dashboard

            +
            +
          +

          Returns Split | undefined

          +
          +

          Example

          import { useContract } from '@thirdweb-dev/react'

          export default function Component() {
          const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "split")

          // Now you can use the split contract in the rest of the component

          // For example, this function will return all the recipients of the split
          async function getRecipients() {
          const recipients = await contract.getAllRecipients()
          return recipients
          }

          ...
          } +
          + +

          Deprecated

          This hook is deprecated and will be removed in a future major version. You should use useContract instead.

          +
          - const split = useSplit("0x1234...");
          + const split = useContract("0x1234...", "split").contract; +
          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useStorage.html b/packages/react/typedoc/functions/useStorage.html new file mode 100644 index 00000000000..6268850ef67 --- /dev/null +++ b/packages/react/typedoc/functions/useStorage.html @@ -0,0 +1,73 @@ +useStorage | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useStorage

        +
        +
          + +
        • +

          Get the configured ThirdwebStorage instance

          +
          +

          Returns ThirdwebStorage | undefined

          The storageInterface configured on the ThirdwebProvider

          + +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useStorageUpload.html b/packages/react/typedoc/functions/useStorageUpload.html new file mode 100644 index 00000000000..4b7e8c7c2ce --- /dev/null +++ b/packages/react/typedoc/functions/useStorageUpload.html @@ -0,0 +1,87 @@ +useStorageUpload | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useStorageUpload

        +
        +
          + +
        • +

          Hook used to upload any files or JSON data to decentralized storage systems like IPFS, +using the storageInterface configured on the ThirdwebProvider

          +
          +
          +

          Type Parameters

          +
            +
          • +

            T extends UploadOptions = IpfsUploadBatchOptions

          +
          +

          Parameters

          +
            +
          • +
            Optional uploadOptions: T
          +

          Returns UseMutationResult

          Function used to upload files or JSON to decentralized storage systems

          + +
          +

          Example

          import { useStorageUpload } from "@thirdweb-dev/react";

          export default function Component() {
          const { mutateAsync: upload, isLoading } = useStorageUpload();

          async function uploadData() {
          const filesToUpload = [...];
          const uris = await upload({ data: files });
          console.log(uris);
          }

          return (
          <button onClick={uploadData}>
          Upload
          </button>
          )
          } +
          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSupportedChains.html b/packages/react/typedoc/functions/useSupportedChains.html new file mode 100644 index 00000000000..d2ee4c4bbe4 --- /dev/null +++ b/packages/react/typedoc/functions/useSupportedChains.html @@ -0,0 +1,67 @@ +useSupportedChains | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSupportedChains

        +
        +
          + +
        • +

          Returns Chain[]

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSupportedWallet.html b/packages/react/typedoc/functions/useSupportedWallet.html new file mode 100644 index 00000000000..7f7e40559a7 --- /dev/null +++ b/packages/react/typedoc/functions/useSupportedWallet.html @@ -0,0 +1,72 @@ +useSupportedWallet | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSupportedWallet

        +
        +
          + +
        • +
          +

          Parameters

          +
            +
          • +
            id: string
          +

          Returns WalletConfig

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSwitchAccount.html b/packages/react/typedoc/functions/useSwitchAccount.html new file mode 100644 index 00000000000..20db862ef34 --- /dev/null +++ b/packages/react/typedoc/functions/useSwitchAccount.html @@ -0,0 +1,80 @@ +useSwitchAccount | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSwitchAccount

        +
        +
          + +
        • Beta +

          Hook to switch the account of the active wallet

          +
          +

          Returns {
              isLoading: boolean;
              switchAccount: UseMutateAsyncFunction;
          }

            +
          • A function to invoke to switch account.
          • +
          + +
            +
          • +
            isLoading: boolean
          • +
          • +
            switchAccount: UseMutateAsyncFunction
          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSwitchChain.html b/packages/react/typedoc/functions/useSwitchChain.html new file mode 100644 index 00000000000..8aece21429d --- /dev/null +++ b/packages/react/typedoc/functions/useSwitchChain.html @@ -0,0 +1,80 @@ +useSwitchChain | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useSwitchChain

        +
        +
          + +
        • +

          Returns ((chain) => Promise<void>)

          a method to connect the wallet to network/chain with given chainId

          + +
            +
          • +
              +
            • (chain): Promise<void>
            • +
            • +
              +

              Parameters

              +
                +
              • +
                chain: number
              +

              Returns Promise<void>

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useThirdwebAuthContext.html b/packages/react/typedoc/functions/useThirdwebAuthContext.html new file mode 100644 index 00000000000..db270d7c88b --- /dev/null +++ b/packages/react/typedoc/functions/useThirdwebAuthContext.html @@ -0,0 +1,67 @@ +useThirdwebAuthContext | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useThirdwebAuthContext

        +
        +
          + +
        • +

          Returns ThirdwebAuthContext | undefined

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useThirdwebConfigContext.html b/packages/react/typedoc/functions/useThirdwebConfigContext.html new file mode 100644 index 00000000000..f7d0e6c13a5 --- /dev/null +++ b/packages/react/typedoc/functions/useThirdwebConfigContext.html @@ -0,0 +1,67 @@ +useThirdwebConfigContext | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useThirdwebConfigContext

        +
        +
          + +
        • +

          Returns ThirdwebConfigContext

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useThirdwebConnectedWalletContext.html b/packages/react/typedoc/functions/useThirdwebConnectedWalletContext.html new file mode 100644 index 00000000000..797f78ad008 --- /dev/null +++ b/packages/react/typedoc/functions/useThirdwebConnectedWalletContext.html @@ -0,0 +1,67 @@ +useThirdwebConnectedWalletContext | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useThirdwebConnectedWalletContext

        +
        +
          + +
        • +

          Returns ThirdwebConnectedWalletContext

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useToken.html b/packages/react/typedoc/functions/useToken.html new file mode 100644 index 00000000000..1299be3313a --- /dev/null +++ b/packages/react/typedoc/functions/useToken.html @@ -0,0 +1,85 @@ +useToken | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useToken

        +
        +
          + +
        • +

          Hook for getting an instance of a Token contract. This contract supports ERC20 compliant tokens.

          +
          +
          +

          Parameters

          +
            +
          • +
            contractAddress: RequiredParam<string>
            +

            the address of the Token contract, found in your thirdweb dashboard

            +
            +
          +

          Returns Token | undefined

          +
          +

          Example

          import { useContract } from '@thirdweb-dev/react'

          export default function Component() {
          const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "token")

          // Now you can use the token contract in the rest of the component

          // For example, this function will get the connected wallets token balance
          async function balance() {
          const balance = await contract.balance()
          return balance
          }

          ...
          } +
          + +

          Deprecated

          This hook is deprecated and will be removed in a future major version. You should use useContract instead.

          +
          - const token = useToken("0x1234...");
          + const token = useContract("0x1234...", "token").contract; +
          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTokenBalance.html b/packages/react/typedoc/functions/useTokenBalance.html new file mode 100644 index 00000000000..961e77f3b2b --- /dev/null +++ b/packages/react/typedoc/functions/useTokenBalance.html @@ -0,0 +1,88 @@ +useTokenBalance | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTokenBalance

        +
        +
          + +
        • Beta +

          Get token balance for a specific wallet

          +
          +
          +

          Parameters

          +
          +

          Returns UseQueryResult

          a response object that includes the balance of the address

          + +
          +

          Example

          const { data: balance, isLoading, error } = useTokenBalance(contract, "{{wallet_address}}");
          +
          + +

          Twfeature

          ERC20

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTokenDecimals.html b/packages/react/typedoc/functions/useTokenDecimals.html new file mode 100644 index 00000000000..b5bd8d92215 --- /dev/null +++ b/packages/react/typedoc/functions/useTokenDecimals.html @@ -0,0 +1,86 @@ +useTokenDecimals | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTokenDecimals

        +
        +
          + +
        • Beta +

          Get token decimals

          +
          +
          +

          Parameters

          +
          +

          Returns UseQueryResult

          a response object that includes the decimals of the ERC20 token

          + +
          +

          Example

          const { data: decimals, isLoading, error } = useTokenDecimals(contract);
          +
          + +

          Twfeature

          ERC20

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTokenDrop.html b/packages/react/typedoc/functions/useTokenDrop.html new file mode 100644 index 00000000000..eace574fc61 --- /dev/null +++ b/packages/react/typedoc/functions/useTokenDrop.html @@ -0,0 +1,85 @@ +useTokenDrop | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTokenDrop

        +
        +
          + +
        • +

          Hook for getting an instance of a Token Drop contract.

          +
          +
          +

          Parameters

          +
            +
          • +
            contractAddress: RequiredParam<string>
            +

            the address of the Token Drop contract, found in your thirdweb dashboard

            +
            +
          +

          Returns TokenDrop | undefined

          +
          +

          Example

          import { useContract } from '@thirdweb-dev/react'

          export default function Component() {
          const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "token-drop")

          // Now you can use the token drop contract in the rest of the component

          // For example, this function will get the connected wallets token balance
          async function balance() {
          const balance = await contract.balance()
          return balance
          }

          ...
          } +
          + +

          Deprecated

          This hook is deprecated and will be removed in a future major version. You should use useContract instead.

          +
          - const token = useTokenDrop("0x1234...");
          + const token = useContract("0x1234...", "token-drop").contract; +
          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTokenSupply.html b/packages/react/typedoc/functions/useTokenSupply.html new file mode 100644 index 00000000000..e0816366fe5 --- /dev/null +++ b/packages/react/typedoc/functions/useTokenSupply.html @@ -0,0 +1,86 @@ +useTokenSupply | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTokenSupply

        +
        +
          + +
        • Beta +

          Get the total supply for this token

          +
          +
          +

          Parameters

          +
          +

          Returns UseQueryResult

          a response object that includes the total minted supply

          + +
          +

          Example

          const { data: totalSupply, isLoading, error } = useTokenSupply(contract);
          +
          + +

          Twfeature

          ERC20

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTotalCirculatingSupply.html b/packages/react/typedoc/functions/useTotalCirculatingSupply.html new file mode 100644 index 00000000000..8f1461459c9 --- /dev/null +++ b/packages/react/typedoc/functions/useTotalCirculatingSupply.html @@ -0,0 +1,91 @@ +useTotalCirculatingSupply | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTotalCirculatingSupply

        +
        +
          + +
        • Beta +

          Get total minted supply count

          +
          +
          +

          Parameters

          +
          +

          Returns UseQueryResult<BigNumber, unknown>

          a response object that includes the total minted supply

          + +
          +

          Example

          const { contract } = useContract("{{contract_address}}");
          const { data: totalCirculatingSupply, isLoading, error } = useTotalCirculatingSupply(contract); +
          + +

          Twfeature

          ERC721Supply | ERC1155Enumerable

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTotalCount.html b/packages/react/typedoc/functions/useTotalCount.html new file mode 100644 index 00000000000..2f2917cb14c --- /dev/null +++ b/packages/react/typedoc/functions/useTotalCount.html @@ -0,0 +1,91 @@ +useTotalCount | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTotalCount

        +
        +
          + +
        • Beta +

          Get total supply count

          +
          +
          +

          Type Parameters

          +
          +
          +

          Parameters

          +
          +

          Returns UseQueryResult<BigNumber, unknown>

          a response object that includes the total count of NFTs

          + +
          +

          Example

          const { contract } = useContract("{{contract_address}}");
          const { data: count, isLoading, error } = useTotalCount(contract); +
          + +

          Twfeature

          ERC721Supply | ERC1155Enumerable

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTransferBatchToken.html b/packages/react/typedoc/functions/useTransferBatchToken.html new file mode 100644 index 00000000000..9fcde54d9c9 --- /dev/null +++ b/packages/react/typedoc/functions/useTransferBatchToken.html @@ -0,0 +1,86 @@ +useTransferBatchToken | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTransferBatchToken

        +
        +
          + +
        • Beta +

          Airdrop tokens to a list of wallets

          +
          +
          +

          Parameters

          +
          +

          Returns UseMutationResult<Omit<{
              data: (() => Promise<unknown>);
              receipt: providers.TransactionReceipt;
          }, "data">, unknown, TokenParams[], unknown>

          a mutation object that can be used to transfer batch tokens

          + +
          +

          Example

          const Component = () => {
          const { contract } = useContract("{{contract_address}}");
          const {
          mutate: transferBatchTokens,
          isLoading,
          error,
          } = useTransferToken(contract);

          if (error) {
          console.error("failed to transfer batch tokens", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => transferBatchTokens([{ to: "{{wallet_address}}", amount: 1000 }, { to: "{{wallet_address}}", amount: 2000 }])}
          >
          Airdrop
          </button>
          );
          }; +
          + +

          Twfeature

          ERC20

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTransferNFT.html b/packages/react/typedoc/functions/useTransferNFT.html new file mode 100644 index 00000000000..b51b96671c6 --- /dev/null +++ b/packages/react/typedoc/functions/useTransferNFT.html @@ -0,0 +1,91 @@ +useTransferNFT | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTransferNFT

        +
        +
          + +
        • Beta +

          Transfer an NFT

          +
          +
          +

          Type Parameters

          +
          +
          +

          Parameters

          +
          +

          Returns UseMutationResult<Omit<{
              data: (() => Promise<unknown>);
              receipt: providers.TransactionReceipt;
          }, "data">, unknown, TransferNFTParams, unknown>

          a mutation object that can be used to transfer NFTs

          + +
          +

          Example

          const Component = () => {
          const { contract } = useContract("{{contract_address}}");
          const {
          mutate: transferNFT,
          isLoading,
          error,
          } = useTransferNFT(contract);

          if (error) {
          console.error("failed to transfer NFT", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => transferNFT({
          to: "{{wallet_address}}",
          tokenId: 2
          })}
          >
          Transfer
          </button>
          );
          }; +
          + +

          Twfeature

          ERC721 | ERC1155

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTransferToken.html b/packages/react/typedoc/functions/useTransferToken.html new file mode 100644 index 00000000000..6008fefb309 --- /dev/null +++ b/packages/react/typedoc/functions/useTransferToken.html @@ -0,0 +1,86 @@ +useTransferToken | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTransferToken

        +
        +
          + +
        • Beta +

          Transfer tokens to a specific wallet

          +
          +
          +

          Parameters

          +
          +

          Returns UseMutationResult<Omit<{
              data: (() => Promise<unknown>);
              receipt: providers.TransactionReceipt;
          }, "data">, unknown, TokenParams, unknown>

          a mutation object that can be used to transfer tokens

          + +
          +

          Example

          const Component = () => {
          const { contract } = useContract("{{contract_address}}");
          const {
          mutate: transferTokens,
          isLoading,
          error,
          } = useTransferToken(contract);

          if (error) {
          console.error("failed to transfer tokens", error);
          }

          return (
          <button
          disabled={isLoading}
          onClick={() => transferTokens({ to: "{{wallet_address}}", amount: 1000 })}
          >
          Transfer
          </button>
          );
          }; +
          + +

          Twfeature

          ERC20

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTrustWallet.html b/packages/react/typedoc/functions/useTrustWallet.html new file mode 100644 index 00000000000..f982002f0dc --- /dev/null +++ b/packages/react/typedoc/functions/useTrustWallet.html @@ -0,0 +1,81 @@ +useTrustWallet | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useTrustWallet

        +
        +
          + +
        • +

          Returns ((connectOptions?) => Promise<TrustWallet>)

          +
            +
          • +
              +
            • (connectOptions?): Promise<TrustWallet>
            • +
            • +
              +

              Parameters

              +
                +
              • +
                Optional connectOptions: {
                    chainId?: number;
                }
                +
                  +
                • +
                  Optional chainId?: number
              +

              Returns Promise<TrustWallet>

        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUnclaimedNFTSupply.html b/packages/react/typedoc/functions/useUnclaimedNFTSupply.html new file mode 100644 index 00000000000..1029398927b --- /dev/null +++ b/packages/react/typedoc/functions/useUnclaimedNFTSupply.html @@ -0,0 +1,81 @@ +useUnclaimedNFTSupply | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useUnclaimedNFTSupply

        +
        +
          + +
        • +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<null | SmartContract<BaseContract> | NFTDrop | SignatureDrop>
            +

            an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)

            +
            +
          +

          Returns UseQueryResult<BigNumber, unknown>

          a response object that includes the number of NFTs that are unclaimed

          + +
          +

          Twfeature

          ERC721LazyMintable

          + +

          See

          Documentation

          +
        +
        +
        +

        Generated using TypeDoc

        +
        \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUnclaimedNFTs.html b/packages/react/typedoc/functions/useUnclaimedNFTs.html new file mode 100644 index 00000000000..4f312530c92 --- /dev/null +++ b/packages/react/typedoc/functions/useUnclaimedNFTs.html @@ -0,0 +1,92 @@ +useUnclaimedNFTs | @thirdweb-dev/react
        +
        + +
        +
        +
        +
        + +

        Function useUnclaimedNFTs

        +
        +
          + +
        • Beta +

          Get all unclaimed NFTs

          +
          +
          +

          Parameters

          +
            +
          • +
            contract: RequiredParam<NFTDrop>
            +

            an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)

            +
            +
          • +
          • +
            Optional queryParams: {}
            +

            query params to pass to the query for the sake of pagination

            +
            +
            +
            +

            Returns UseQueryResult<NFT[]>

            a response object that includes an array of NFTs that are unclaimed

            + +
            +

            Example

            const { data: unclaimedNfts, isLoading, error } = useUnclaimedNFTs(contract, { start: 0, count: 100 });
            +
            + +

            Twfeature

            ERC721LazyMintable

            + +

            See

            Documentation

            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUpdateMetadata.html b/packages/react/typedoc/functions/useUpdateMetadata.html new file mode 100644 index 00000000000..536d8b55b73 --- /dev/null +++ b/packages/react/typedoc/functions/useUpdateMetadata.html @@ -0,0 +1,84 @@ +useUpdateMetadata | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useUpdateMetadata

          +
          +
            + +
          • Beta +

            Set the metadata of this contract

            +
            +
            +

            Parameters

            +
              +
            • +
              contract: RequiredParam<ValidContractInstance>
              +

              an instance of a SmartContract

              +
              +
            +

            Returns UseMutationResult<any, any, any>

            a mutation object that can be used to update the metadata

            + +
            +

            Example

            const Component = () => {
            const { contract } = useContract("{{contract_address}}");
            const {
            mutate: updateMetadata,
            isLoading,
            error,
            } = useUpdateMetadata(contract);

            if (error) {
            console.error("failed to update metadata", error);
            }

            return (
            <button
            disabled={isLoading}
            onClick={() => updateMetadata({
            name: "My Contract",
            description: "This is my contract"
            })}
            >
            Update Contract Metadata
            </button>
            );
            }; +
            + +

            See

            Documentation

            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUpdatePlatformFees.html b/packages/react/typedoc/functions/useUpdatePlatformFees.html new file mode 100644 index 00000000000..b6fd939ed8c --- /dev/null +++ b/packages/react/typedoc/functions/useUpdatePlatformFees.html @@ -0,0 +1,86 @@ +useUpdatePlatformFees | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useUpdatePlatformFees

          +
          +
            + +
          • Beta +

            Set the platform fee recipient and basis points

            +
            +
            +

            Parameters

            +
              +
            • +
              contract: RequiredParam<ValidContractInstance>
              +

              an instance of a SmartContract

              +
              +
            +

            Returns UseMutationResult<Omit<{
                data: (() => Promise<unknown>);
                receipt: providers.TransactionReceipt;
            }, "data">, unknown, {
                fee_recipient?: string;
                platform_fee_basis_points?: number;
            }, unknown>

            a mutation object that can be used to update the platform fees settings

            + +
            +

            Example

            const Component = () => {
            const { contract } = useContract("{{contract_address}}");
            const {
            mutate: updatePlatformFees,
            isLoading,
            error,
            } = useUpdatePlatformFees(contract);

            if (error) {
            console.error("failed to update platform fees", error);
            }

            return (
            <button
            disabled={isLoading}
            onClick={() => updatePlatformFees({ updatePayload: { fee_recipient: "{{wallet_address}}", platform_fee_basis_points: 5_00 } })}
            >
            Update Platform fees
            </button>
            );
            }; +
            + +

            Twfeature

            PlatformFee

            + +

            See

            Documentation

            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUpdatePrimarySaleRecipient.html b/packages/react/typedoc/functions/useUpdatePrimarySaleRecipient.html new file mode 100644 index 00000000000..a63bf7e5126 --- /dev/null +++ b/packages/react/typedoc/functions/useUpdatePrimarySaleRecipient.html @@ -0,0 +1,86 @@ +useUpdatePrimarySaleRecipient | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useUpdatePrimarySaleRecipient

          +
          +
            + +
          • Beta +

            Set the primary sale recipient

            +
            +
            +

            Parameters

            +
              +
            • +
              contract: RequiredParam<ValidContractInstance>
              +

              an instance of a SmartContract

              +
              +
            +

            Returns UseMutationResult<{
                receipt: providers.TransactionReceipt;
            }, unknown, string, unknown>

            a mutation object that can be used to update the primary sales recipient

            + +
            +

            Example

            const Component = () => {
            const { contract } = useContract("{{contract_address}}");
            const {
            mutate: updatePrimarySalesRecipient,
            isLoading,
            error,
            } = useUpdatePrimarySaleRecipient(contract);

            if (error) {
            console.error("failed to update recipient", error);
            }

            return (
            <button
            disabled={isLoading}
            onClick={() => updatePrimarySalesRecipient({ newRecipient: "{{wallet_address}}" })}
            >
            Update Recipient
            </button>
            );
            }; +
            + +

            Twfeature

            PrimarySale

            + +

            See

            Documentation

            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUpdateRoyaltySettings.html b/packages/react/typedoc/functions/useUpdateRoyaltySettings.html new file mode 100644 index 00000000000..defc468ab78 --- /dev/null +++ b/packages/react/typedoc/functions/useUpdateRoyaltySettings.html @@ -0,0 +1,86 @@ +useUpdateRoyaltySettings | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useUpdateRoyaltySettings

          +
          +
            + +
          • Beta +

            Set the royalty recipient and fee

            +
            +
            +

            Parameters

            +
              +
            • +
              contract: RequiredParam<ValidContractInstance>
              +

              an instance of a SmartContract

              +
              +
            +

            Returns UseMutationResult<{
                data: (() => Promise<{
                    fee_recipient: string;
                    seller_fee_basis_points: number;
                }>);
                receipt: providers.TransactionReceipt;
            }, unknown, {
                fee_recipient?: string;
                seller_fee_basis_points?: number;
            }, unknown>

            a mutation object that can be used to update the royalty settings

            + +
            +

            Example

            const Component = () => {
            const { contract } = useContract("{{contract_address}}");
            const {
            mutate: updateRoyaltySettings,
            isLoading,
            error,
            } = useUpdateRoyaltySettings(contract);

            if (error) {
            console.error("failed to update royalty settings", error);
            }

            return (
            <button
            disabled={isLoading}
            onClick={() => updateRoyaltySettings({ updatePayload: { fee_recipient: "{{wallet_address}}", seller_fee_basis_points: 5_00 } })}
            >
            Update Royalty Settings
            </button>
            );
            }; +
            + +

            Twfeature

            Royalty

            + +

            See

            Documentation

            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUser.html b/packages/react/typedoc/functions/useUser.html new file mode 100644 index 00000000000..d68c874d269 --- /dev/null +++ b/packages/react/typedoc/functions/useUser.html @@ -0,0 +1,89 @@ +useUser | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useUser

          +
          +
            + +
          • Beta +

            Hook to get the currently logged in user.

            +
            +
            +

            Type Parameters

            +
              +
            • +

              TData extends Json = Json

            • +
            • +

              TContext extends Json = Json

            +

            Returns {
                isLoading: boolean;
                isLoggedIn: boolean;
                user: UserWithData<TData, TContext> | undefined;
            }

              +
            • The currently logged in user or null if not logged in, as well as a loading state.
            • +
            + +
              +
            • +
              isLoading: boolean
            • +
            • +
              isLoggedIn: boolean
            • +
            • +
              user: UserWithData<TData, TContext> | undefined
            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useValidDirectListings.html b/packages/react/typedoc/functions/useValidDirectListings.html new file mode 100644 index 00000000000..db6081d3b5c --- /dev/null +++ b/packages/react/typedoc/functions/useValidDirectListings.html @@ -0,0 +1,91 @@ +useValidDirectListings | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useValidDirectListings

          +
          +
            + +
          • +

            Get all valid direct listings

            +
            +
            +

            Parameters

            +
              +
            • +
              contract: RequiredParam<MarketplaceV3>
              +

              an instance of a marketplace v3 contract

              +
              +
            • +
            • +
              Optional filter: MarketplaceFilter
              +

              filter to pass to the query for the sake of pagination & filtering

              +
              +
            +

            Returns UseQueryResult

            a response object that includes an array of direct listings

            + +
            +

            Example

            const { data: validDirectListings, isLoading, error } = useValidDirectListings(contract, { start: 0, count: 100 });
            +
            + +

            Twfeature

            DirectListings

            + +

            See

            Documentation

            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useValidEnglishAuctions.html b/packages/react/typedoc/functions/useValidEnglishAuctions.html new file mode 100644 index 00000000000..fb311d4af3c --- /dev/null +++ b/packages/react/typedoc/functions/useValidEnglishAuctions.html @@ -0,0 +1,91 @@ +useValidEnglishAuctions | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useValidEnglishAuctions

          +
          +
            + +
          • +

            Get all valid english auctions

            +
            +
            +

            Parameters

            +
              +
            • +
              contract: RequiredParam<MarketplaceV3>
              +

              an instance of a marketplace v3 contract

              +
              +
            • +
            • +
              Optional filter: MarketplaceFilter
              +

              filter to pass to the query for the sake of pagination & filtering

              +
              +
            +

            Returns UseQueryResult

            a response object that includes an array of english auctions

            + +
            +

            Example

            const { data: validEnglishAuctions, isLoading, error } = useValidEnglishAuctions(contract, { start: 0, count: 100 });
            +
            + +

            Twfeature

            EnglishAuctions

            + +

            See

            Documentation

            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useVote.html b/packages/react/typedoc/functions/useVote.html new file mode 100644 index 00000000000..90ca9dc8351 --- /dev/null +++ b/packages/react/typedoc/functions/useVote.html @@ -0,0 +1,85 @@ +useVote | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useVote

          +
          +
            + +
          • +

            Hook for getting an instance of an Vote contract. This contract enables fully featured voting-based decentralized governance systems.

            +
            +
            +

            Parameters

            +
              +
            • +
              contractAddress: RequiredParam<string>
              +

              the address of the Vote contract, found in your thirdweb dashboard

              +
              +
            +

            Returns Vote | undefined

            +
            +

            Example

            import { useContract } from '@thirdweb-dev/react'

            export default function Component() {
            const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "vote")

            // Now you can use the vote contract in the rest of the component

            // For example, this function will get all the proposals on this contract
            async function getProposals() {
            const proposals = await contract.getAll()
            return proposals
            }

            ...
            } +
            + +

            Deprecated

            This hook is deprecated and will be removed in a future major version. You should use useContract instead.

            +
            - const vote = useVote("0x1234...");
            + const vote = useContract("0x1234...", "vote").contract; +
            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWallet.html b/packages/react/typedoc/functions/useWallet.html new file mode 100644 index 00000000000..579b945361f --- /dev/null +++ b/packages/react/typedoc/functions/useWallet.html @@ -0,0 +1,84 @@ +useWallet | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useWallet

          +
          +
            + +
          • +
            +

            Type Parameters

            +
              +
            • +

              T extends WalletId

            +
            +

            Parameters

            +
              +
            • +
              walletId: T
            +

            Returns WalletIdToWalletTypeMap[T] | undefined

            the current active wallet instance

            + +
          • + +
          • +

            Returns WalletInstance | undefined

          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWalletConfig.html b/packages/react/typedoc/functions/useWalletConfig.html new file mode 100644 index 00000000000..ee930d7b30f --- /dev/null +++ b/packages/react/typedoc/functions/useWalletConfig.html @@ -0,0 +1,69 @@ +useWalletConfig | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useWalletConfig

          +
          +
            + +
          • +

            Returns WalletConfig | undefined

            the current active wallet's configuration object

            + +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWalletConnect.html b/packages/react/typedoc/functions/useWalletConnect.html new file mode 100644 index 00000000000..8bf9c2a73d6 --- /dev/null +++ b/packages/react/typedoc/functions/useWalletConnect.html @@ -0,0 +1,85 @@ +useWalletConnect | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useWalletConnect

          +
          +
            + +
          • +

            Returns ((options?) => Promise<WalletConnect>)

            +
              +
            • +
                +
              • (options?): Promise<WalletConnect>
              • +
              • +
                +

                Parameters

                +
                  +
                • +
                  Optional options: {
                      chainId?: number;
                      projectId?: string;
                      qrModalOptions?: QRModalOptions;
                  }
                  +
                    +
                  • +
                    Optional chainId?: number
                  • +
                  • +
                    Optional projectId?: string
                  • +
                  • +
                    Optional qrModalOptions?: QRModalOptions
                +

                Returns Promise<WalletConnect>

          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWalletConnectV1.html b/packages/react/typedoc/functions/useWalletConnectV1.html new file mode 100644 index 00000000000..a71a536950b --- /dev/null +++ b/packages/react/typedoc/functions/useWalletConnectV1.html @@ -0,0 +1,81 @@ +useWalletConnectV1 | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useWalletConnectV1

          +
          +
            + +
          • +

            Returns ((options?) => Promise<WalletConnect>)

            +
              +
            • +
                +
              • (options?): Promise<WalletConnect>
              • +
              • +
                +

                Parameters

                +
                  +
                • +
                  Optional options: {
                      chainId?: number;
                  }
                  +
                    +
                  • +
                    Optional chainId?: number
                +

                Returns Promise<WalletConnect>

          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWalletContext.html b/packages/react/typedoc/functions/useWalletContext.html new file mode 100644 index 00000000000..6d7b9b9adcd --- /dev/null +++ b/packages/react/typedoc/functions/useWalletContext.html @@ -0,0 +1,67 @@ +useWalletContext | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useWalletContext

          +
          +
            + +
          • +

            Returns ThirdwebWalletContextData

          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWallets.html b/packages/react/typedoc/functions/useWallets.html new file mode 100644 index 00000000000..2ca55f2b7f9 --- /dev/null +++ b/packages/react/typedoc/functions/useWallets.html @@ -0,0 +1,69 @@ +useWallets | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useWallets

          +
          +
            + +
          • +

            Returns WalletConfig[]

            supportedWallets configured in the <ThirdwebProvider/>

            + +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWatchTransactions.html b/packages/react/typedoc/functions/useWatchTransactions.html new file mode 100644 index 00000000000..c8f928cfcd0 --- /dev/null +++ b/packages/react/typedoc/functions/useWatchTransactions.html @@ -0,0 +1,81 @@ +useWatchTransactions | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useWatchTransactions

          +
          +
            + +
          • +

            Hook that listens to transactions on a given chain for a given address.

            +
            import { useWatchTransactions } from "@thirdweb-dev/react"
            +
            +
            +
            +

            Parameters

            +
            +

            Returns Transaction[]

            an array of Transaction objects

            + +
            +

            Example

            const transactions = useWatchTransactions({
            address: "0x1234",
            network: "ethereum",
            }); +
            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWinningBid.html b/packages/react/typedoc/functions/useWinningBid.html new file mode 100644 index 00000000000..64110b8e5c3 --- /dev/null +++ b/packages/react/typedoc/functions/useWinningBid.html @@ -0,0 +1,89 @@ +useWinningBid | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function useWinningBid

          +
          +
            + +
          • Beta +

            Get the winning bid for an auction

            +
            +
            +

            Parameters

            +
              +
            • +
              contract: RequiredParam<Marketplace>
              +

              an instance of a marketplace contract

              +
              +
            • +
            • +
              listingId: RequiredParam<BigNumberish>
              +

              the listing id to check

              +
              +
            +

            Returns UseQueryResult

            a response object that includes the Offer that is winning the auction

            + +
            +

            Example

            const listingId = 0;
            const { data: winningBid, isLoading, error } = useWinningBid(contract, listingId); +
            + +

            See

            Documentation

            +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/walletConnect.html b/packages/react/typedoc/functions/walletConnect.html new file mode 100644 index 00000000000..1a761859538 --- /dev/null +++ b/packages/react/typedoc/functions/walletConnect.html @@ -0,0 +1,72 @@ +walletConnect | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function walletConnect

          +
          +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/walletConnectV1.html b/packages/react/typedoc/functions/walletConnectV1.html new file mode 100644 index 00000000000..9491911ffae --- /dev/null +++ b/packages/react/typedoc/functions/walletConnectV1.html @@ -0,0 +1,77 @@ +walletConnectV1 | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function walletConnectV1

          +
          +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/functions/zerionWallet.html b/packages/react/typedoc/functions/zerionWallet.html new file mode 100644 index 00000000000..54fa19f8216 --- /dev/null +++ b/packages/react/typedoc/functions/zerionWallet.html @@ -0,0 +1,72 @@ +zerionWallet | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Function zerionWallet

          +
          +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/index.html b/packages/react/typedoc/index.html new file mode 100644 index 00000000000..8ff39ed6247 --- /dev/null +++ b/packages/react/typedoc/index.html @@ -0,0 +1,520 @@ +@thirdweb-dev/react
          +
          + +
          +
          +
          +
          +

          @thirdweb-dev/react

          +

          +
          + +
          +

          +

          thirdweb React SDK

          +

          +npm version +Build Status +Join our Discord! + +

          +

          Ultimate collection of React hooks for your web3 apps

          +
          + +
          + +

          Installation

          The easiest way to get started with the React SDK is to use the CLI:

          +
          npx thirdweb create --app
          +
          +

          Alternatively, you can install the SDK into your existing project using npm or yarn:

          +
          npm install @thirdweb-dev/react @thirdweb-dev/sdk ethers@5
          +
          +
          yarn add @thirdweb-dev/react @thirdweb-dev/sdk ethers@5
          +
          +
          + +

          Getting Started

          Our SDK uses a Provider Pattern; meaning any component within the ThirdwebProvider will have access to the SDK. If you use the CLI to initialize your project, this is already set up for you.

          +

          Let's take a look at a typical setup:

          +
          + +

          Configure the ThirdwebProvider

          Specify the network your smart contracts are deployed to in the desiredChainId prop and wrap your application like so:

          +
          import { ChainId, ThirdwebProvider } from "@thirdweb-dev/react";

          const App = () => {
          return (
          <ThirdwebProvider desiredChainId={ChainId.Mainnet}>
          <YourApp />
          </ThirdwebProvider>
          );
          }; +
          +

          Below are examples of where to set this up in your application:

          +

          + Create React App • + Next.js • + Vite +

          + +
          + +

          Connect to a User's Wallet

          Now the provider is set up, we can use all of the hooks and UI components available in the SDK, such as the ConnectWallet component.

          +

          Once the user has connected their wallet, all the calls we make to interact with contracts using the SDK will be on behalf of the user.

          +
          import { ConnectWallet, useAddress } from "@thirdweb-dev/react";

          export const YourApp = () => {
          const address = useAddress();
          return (
          <div>
          <ConnectWallet />
          </div>
          );
          }; +
          +

          The ConnectWallet component handles everything for us, including switching networks, accounts, displaying balances and more.

          +

          We can then get the connected address using the useAddress hook anywhere in the app.

          +
          + +

          Interact With Contracts

          Connect to your smart contract using the useContract +hook like so:

          +
          import { useContract } from "@thirdweb-dev/react";

          export default function Home() {
          const { contract } = useContract("<CONTRACT_ADDRESS>");

          // Now you can use the contract in the rest of the component!
          } +
          +

          You can then use useContractRead and useContractWrite to read data and write transactions to the contract.

          +

          You pass the contract object returned from useContract to these hooks as the first parameter and the name of the function (or view/mapping, etc.) on your smart contract as the second parameter. If your function requires parameters, you can pass them as additional arguments.

          +

          For example, we can read the name of our contract like so:

          +
          import {
          useContract,
          useContractRead,
          useContractWrite,
          } from "@thirdweb-dev/react";

          export default function Home() {
          const { contract } = useContract("<CONTRACT_ADDRESS>");
          const { data: name, isLoading: loadingName } = useContractRead(
          contract,
          "name", // The name of the view/mapping/variable on your contract
          );
          const { mutate: setName, isLoading: settingName } = useContractWrite(
          contract,
          "setName", // The name of the function on your contract
          );
          } +
          +
          + +

          Using Extensions

          Each extension you implement in your smart contract unlocks new functionality in the SDK.

          +

          These hooks make it easy to interact with your smart contracts by implementing the complex logic for you under the hood.

          +

          For example, if your smart contract implements ERC721Supply, you unlock the ability to view all NFTs on that contract using the SDK; which fetches all of your NFT metadata and the current owner of each NFT in parallel. In the React SDK, that is available using useNFTs:

          +
          import { useContract, useNFTs } from "@thirdweb-dev/react";

          export default function Home() {
          const { contract } = useContract("<CONTRACT_ADDRESS>");
          const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);
          } +
          +

          If we want to mint an NFT and our contract implements ERC721Mintable, we can use the useMintNFT hook to mint an NFT from the connected wallet; handling all of the logic of uploading and pinning the metadata to IPFS for us behind the scenes.

          +
          import { useContract, useNFTs, useMintNFT } from "@thirdweb-dev/react";

          export default function Home() {
          const { contract } = useContract("<CONTRACT_ADDRESS>");
          const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);
          const { mutate: mintNFT, isLoading: isMintingNFT } = useMintNFT(contract);
          } +
          +
          + +

          UI Components

          The SDK provides many UI components to help you build your application.

          +

          For example, we can render each of the NFTs using the NFT Media Renderer +component, making use of the loading state from useNFTs:

          +
          import { useContract, useNFTs, ThirdwebNftMedia } from "@thirdweb-dev/react";

          export default function Home() {
          const { contract } = useContract("<CONTRACT_ADDRESS>");
          const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);

          return (
          <div>
          <h2>My NFTs</h2>
          {isReadingNfts ? (
          <p>Loading...</p>
          ) : (
          <div>
          {nfts.map((nft) => (
          <ThirdwebNftMedia
          key={nft.metadata.id}
          metadata={nft.metadata}
          height={200}
          />
          ))}
          </div>
          )}
          </div>
          );
          } +
          +

          The Web3Button component ensures the user has connected their wallet and is currently configured to the same network as your smart contract before calling the function. It also has access to the contract directly, allowing you to perform any action on your smart contract when the button is clicked.

          +

          For example, we can mint an NFT like so:

          +
          import {
          useContract,
          useNFTs,
          ThirdwebNftMedia,
          Web3Button,
          } from "@thirdweb-dev/react";

          const contractAddress = "<CONTRACT_ADDRESS>";
          export default function Home() {
          const { contract } = useContract(contractAddress);
          const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);

          return (
          <div>
          {/* ... Existing Display Logic here ... */}

          <Web3Button
          contractAddress={contractAddress}
          action={(contract) =>
          contract.erc721.mint({
          name: "Hello world!",
          image:
          // You can use a file or URL here!
          "ipfs://QmZbovNXznTHpYn2oqgCFQYP4ZCpKDquenv5rFCX8irseo/0.png",
          })
          }
          >
          Mint NFT
          </Web3Button>
          </div>
          );
          } +
          +
          + +

          Advanced Configuration

          The ThirdwebProvider offers a number of configuration options to control the behavior of the React and Typescript SDK.

          +

          These are all the configuration options of the <ThirdwebProvider />. +We provide defaults for all of these, but you customize them to suit your needs.

          +
          import { ChainId, IpfsStorage, ThirdwebProvider } from "@thirdweb-dev/react";

          const KitchenSinkExample = () => {
          return (
          <ThirdwebProvider
          desiredChainId={ChainId.Mainnet}
          chainRpc={{ [ChainId.Mainnet]: "https://mainnet.infura.io/v3" }}
          dAppMeta={{
          name: "Example App",
          description: "This is an example app",
          isDarkMode: false,
          logoUrl: "https://example.com/logo.png",
          url: "https://example.com",
          }}
          storageInterface={new IpfsStorage("https://your.ipfs.host.com")}
          supportedChains={[ChainId.Mainnet]}
          walletConnectors={[
          "walletConnect",
          { name: "injected", options: { shimDisconnect: false } },
          {
          name: "walletLink",
          options: {
          appName: "Example App",
          },
          },
          {
          name: "magic",
          options: {
          apiKey: "your-magic-api-key",
          rpcUrls: {
          [ChainId.Mainnet]: "https://mainnet.infura.io/v3",
          },
          },
          },
          ]}
          sdkOptions={{
          gasSettings: { maxPriceInGwei: 500, speed: "fast" },
          readonlySettings: {
          chainId: ChainId.Mainnet,
          rpcUrl: "https://mainnet.infura.io/v3",
          },
          gasless: {
          openzeppelin: {
          relayerUrl: "your-relayer-url",
          },
          },
          }}
          >
          <YourApp />
          </ThirdwebProvider>
          );
          }; +
          +

          Available hooks

          Main hooks

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          HookDescription
          useSDKAccess the instance of the thirdweb SDK created by the ThirdwebProvider.
          useContractUse this resolve a contract address to a smart contract instance.
          useContractWriteUse this to get data from a contract read-function call.
          useContractReadUse this to get a function to make a write call to your contract.
          useContractEventsUse this to get the contract metadata for a (built-in or custom) contract.
          useContractMetadataUse this to get the contract metadata for a (built-in or custom) contract.
          +

          Wallet connection

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          HookDescription
          useAddressHook for accessing the address of the connected wallet.
          useMetamaskHook for connecting to a Metamask wallet.
          useWalletConnectHook for connecting to a mobile wallet with Wallet Connect.
          useCoinbaseWalletHook for connecting to a Coinbase wallet.
          useMagicHook for connecting to an email wallet using magic link.
          useGnosisHook for connecting to a Gnosis Safe.
          useDisconnectHook for disconnecting the currently connected wallet.
          +

          Network connection

          + + + + + + + + + + + + + + + + + + +
          HookDescription
          useChainIdHook for accessing the chain ID of the network the current wallet is connected to
          useNetworkHook for getting metadata about the network the current wallet is connected to and switching networks.
          useNetworkMismatchHook for checking whether the connected wallet is on the correct network specified by the desiredChainId passed to the .
          +

          NFT

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          HookDescription
          useNFTUse this to get an individual NFT token of your NFTContract.
          useNFTsUse this to get a list of NFT tokens of your NFTContract.
          useTotalCirculatingSupplyUse this to get a the total (minted) supply of your NFTContract.
          useOwnedNFTsUse this to get a the owned NFTs for a specific Erc721OrErc1155 and wallet address.
          useNFTBalanceUse this to get a the total balance of a NFTContract and wallet address.
          useTotalCountUse this to get the total count of NFT tokens of your NFTContract.
          useMintNFTUse this to mint a new NFT on your Erc721OrErc1155.
          useMintNFTSupplyUse this mint extra supply on your Erc1155.
          useTransferNFTUse this to transfer tokens on your NFTContract.
          useAirdropNFTUse this to airdrop tokens on your Erc1155.
          useBurnNFTUse this to burn an NFT on your Erc721OrErc1155.
          +

          Token

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          HookDescription
          useTokenSupplyUse this to get a the total supply of your contract.
          useTokenBalanceUse this to get the balance of your contract for a given address.
          useTokenDecimalsUse this to get the decimals of your contract for a given address.
          useMintTokenUse this to mint new tokens on your contract.
          useClaimTokenUse this to claim tokens from your contract.
          useTransferTokenUse this to transfer tokens on your contract.
          useTransferBatchTokenUse this to transfer batch tokens on your contract.
          useBurnTokenUse this to burn tokens on your contract.
          +

          Marketplace

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          HookDescription
          useListingUse this to get a specific listing from the marketplace.
          useListingsUse this to get a list all listings from your marketplace contract.
          useListingsCountUse this to get a count of all listings on your marketplace contract.
          useActiveListingsUse this to get a list active listings from your marketplace contract.
          useWinningBidUse this to get a the winning bid for an auction listing from your marketplace contract.
          useAuctionWinnerUse this to get the winner of an auction listing from your marketplace contract.
          useBidBufferUse this to get the buffer in basis points between offers from your marketplace contract.
          useCreateDirectListingUse this to create a new Direct Listing on your marketplace contract.
          useCreateAuctionListingUse this to create a new Auction Listing on your marketplace contract.
          useCancelListingUse this to cancel a listing on your marketplace contract.
          useMakeBidUse this to place a bid on an auction listing from your marketplace contract.
          useBuyNowUse this to buy out an auction listing from your marketplace contract.
          useBuyDirectListingUse this to buy from a direct listing in your marketplace v3 contract.
          +

          Permissions Controls

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          HookDescription
          useAllRoleMembersUse this to get the roles of all members.
          useRoleMembersUse this to get the members of a role.
          useIsAddressRoleUse this to check if a WalletAddress is a member of a role.
          useSetAllRoleMembersUse this to OVERWRITE the list of addresses that are members of specific roles.
          useGrantRoleUse this to grant a WalletAddress a specific role.
          useRevokeRoleUse this to revoke a WalletAddress a specific role.
          +

          Drop

          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
          HookDescription
          useUnclaimedNFTsUse this to get a list of unclaimed NFT tokens of your ERC721 Drop contract.
          useClaimedNFTsUse this to get a list of claimed (minted) NFT tokens of your ERC721 Drop contract..
          useUnclaimedNFTSupplyUse this to get the total unclaimed NFT supply of your ERC721 Drop contract.
          useClaimedNFTSupplyUse this to get the total claimed (minted) NFT supply of your ERC721 Drop contract.
          useBatchesToRevealUse this to get a list of batches that are ready to be revealed.
          useClaimNFTUse this to claim a NFT on your DropContract
          useLazyMintUse this to lazy mint a batch of NFTs on your DropContract.
          useDelayedRevealLazyMintUse this to lazy mint a batch of delayed reveal NFTs on your DropContract.
          useRevealLazyMintUse this to reveal a batch of delayed reveal NFTs on your RevealableContract.
          +

          Claim Conditions

          + + + + + + + + + + + + + + + + + + + + + + + + + + +
          HookDescription
          useActiveClaimConditionUse this to get the active claim condition for ERC20, ERC721 or ERC1155 based contracts.
          useClaimConditionsUse this to get all claim conditions for ERC20, ERC721 or ERC1155 based contracts.
          useClaimIneligibilityReasonsUse this to check for reasons that prevent claiming for either ERC20, ERC721 or ERC1155 based contracts.
          useSetClaimConditionsUse this to set claim conditions on your DropContract.
          useResetClaimConditionsUse this to reset claim conditions on your DropContract.
          +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ISecureStorage.html b/packages/react/typedoc/interfaces/ISecureStorage.html new file mode 100644 index 00000000000..1fb2e83c1d2 --- /dev/null +++ b/packages/react/typedoc/interfaces/ISecureStorage.html @@ -0,0 +1,127 @@ +ISecureStorage | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Interface ISecureStorage

          +
          +

          Hierarchy

          +
            +
          • ISecureStorage
          +
          +
          +
          + +
          +
          +

          Methods

          +
          +
          +

          Methods

          +
          + +
            + +
          • +
            +

            Parameters

            +
              +
            • +
              key: string
            +

            Returns Promise<null | string>

          +
          + +
            + +
          • +
            +

            Parameters

            +
              +
            • +
              key: string
            +

            Returns Promise<void>

          +
          + +
            + +
          • +
            +

            Parameters

            +
              +
            • +
              key: string
            • +
            • +
              value: string
            +

            Returns Promise<void>

          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/MediaRendererProps.html b/packages/react/typedoc/interfaces/MediaRendererProps.html new file mode 100644 index 00000000000..a047acfd1f6 --- /dev/null +++ b/packages/react/typedoc/interfaces/MediaRendererProps.html @@ -0,0 +1,196 @@ +MediaRendererProps | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Interface MediaRendererProps

          +
          +

          The props for the MediaRenderer component.

          +
          +
          +
          +

          Hierarchy

          +
            +
          • SharedMediaProps +
              +
            • MediaRendererProps
          +
          +
          +
          + +
          +
          +

          Properties

          +
          + +
          alt?: string
          +

          The alt text for the media.

          +
          +
          +
          + +
          children?: ReactNode
          +
          + +
          className?: string
          +
          + +
          controls?: boolean
          +

          Show the media controls (where applicable) (default false)

          +
          +
          +
          + +
          gatewayUrl?: string
          +

          The IPFS gateway URL to use

          +
          +
          +
          + +
          height?: string
          +
          + +
          mimeType?: string
          +
          + +
          poster?: null | string
          +

          The media poster image uri. (if applicable)

          +
          +
          +
          + +
          requireInteraction?: boolean
          +

          Require user interaction to play the media. (default false)

          +
          +
          +
          + +
          src?: null | string
          +

          The media source uri.

          +
          +
          +
          + +
          style?: CSSProperties
          +
          + +
          width?: string
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/MediaType.html b/packages/react/typedoc/interfaces/MediaType.html new file mode 100644 index 00000000000..9626527734d --- /dev/null +++ b/packages/react/typedoc/interfaces/MediaType.html @@ -0,0 +1,94 @@ +MediaType | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Interface MediaType

          +
          +

          Hierarchy

          +
            +
          • MediaType
          +
          +
          +
          + +
          +
          +

          Properties

          +
          +
          +

          Properties

          +
          + +
          mimeType?: string
          +
          + +
          url?: string
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ThirdwebAuthConfig.html b/packages/react/typedoc/interfaces/ThirdwebAuthConfig.html new file mode 100644 index 00000000000..9fe45f458a1 --- /dev/null +++ b/packages/react/typedoc/interfaces/ThirdwebAuthConfig.html @@ -0,0 +1,120 @@ +ThirdwebAuthConfig | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Interface ThirdwebAuthConfigBeta

          +
          +

          The configuration to use the react SDK with an auth server.

          +
          +
          +
          +

          Hierarchy

          +
            +
          • ThirdwebAuthConfig
          +
          +
          +
          + +
          +
          +

          Properties

          +
          +
          +

          Properties

          +
          + +
          authUrl?: string
          +

          The backend URL of the authentication endoints. For example, if your endpoints are +at /api/auth/login, /api/auth/logout, etc. then this should be set to /api/auth.

          +
          +
          +
          + +
          domain: string
          +

          The frontend domain used to generate the login payload. +This domain should match the domain used on your auth backend.

          +
          +
          +
          + +
          secureStorage?: ISecureStorage
          +

          Secure storage to use for storing the auth token when using JWT tokens.

          +

          Do not use a storage option that stores values accessible outside +your aplication (like localStorage on web environments) since you may +be exposing your auth token to malicious actors.

          +

          ** By default auth uses cookies so no need to set this unless you want to specifically use JWT tokens **

          +
          +
          +
          +
          +

          Generated using TypeDoc

          +
          \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ThirdwebNftMediaProps.html b/packages/react/typedoc/interfaces/ThirdwebNftMediaProps.html new file mode 100644 index 00000000000..d32351b21ee --- /dev/null +++ b/packages/react/typedoc/interfaces/ThirdwebNftMediaProps.html @@ -0,0 +1,169 @@ +ThirdwebNftMediaProps | @thirdweb-dev/react
          +
          + +
          +
          +
          +
          + +

          Interface ThirdwebNftMediaProps

          +
          +

          The props for the ThirdwebNftMedia component.

          +
          +
          +
          +

          Hierarchy

          +
            +
          • SharedMediaProps +
              +
            • ThirdwebNftMediaProps
          +
          +
          +
          + +
          +
          +

          Properties

          +
          + +
          children?: ReactNode
          +
          + +
          className?: string
          +
          + +
          controls?: boolean
          +

          Show the media controls (where applicable) (default false)

          +
          +
          +
          + +
          height?: string
          +
          + +
          metadata: objectOutputType<{}, ZodUnion<[ZodEffects<ZodUnion<[ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>, ZodType<BN, ZodTypeDef, BN>]>, string, bigint | BigNumber | BN>, ZodUnknown]>, "strip">
          +

          The NFT metadata of the NFT returned by the thirdweb sdk.

          +
          +
          +

          Type declaration

          +
            +
            +
            + +
            mimeType?: string
            +
            + +
            requireInteraction?: boolean
            +

            Require user interaction to play the media. (default false)

            +
            +
            +
            + +
            style?: CSSProperties
            +
            + +
            width?: string
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ThirdwebProviderCoreProps.html b/packages/react/typedoc/interfaces/ThirdwebProviderCoreProps.html new file mode 100644 index 00000000000..309478277c6 --- /dev/null +++ b/packages/react/typedoc/interfaces/ThirdwebProviderCoreProps.html @@ -0,0 +1,253 @@ +ThirdwebProviderCoreProps | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Interface ThirdwebProviderCoreProps<TChains>

            +
            +

            The possible props for the ThirdwebProvider.

            +
            +
            +
            +

            Type Parameters

            +
              +
            • +

              TChains extends Chain[]

            +
            +

            Hierarchy

            +
            +
            +
            +
            + +
            +
            +

            Properties

            +
            + +
            activeChain?: string & {} | number & {} | Chain | TChains[number]["chainId"] | TChains[number]["slug"]
            +

            The network to use for the SDK.

            +
            +
            +
            + +
            authConfig?: ThirdwebAuthConfig
            +

            The configuration used for thirdweb auth usage. Enables users to login +to backends with their wallet.

            +
            +
            +
            + +
            autoConnect?: boolean
            +

            Whether or not to attempt auto-connect to a wallet.

            +
            +
            +
            + +
            autoConnectTimeout?: number
            +

            Timeout for auto-connecting wallet in milliseconds

            +

            If wallet fails to connect in this time, it will stop trying to connect and user will have to manually connect

            +
            +
            +

            Default Value

            15000
            +
            +
            +
            + +
            autoSwitch?: boolean
            +

            Whether or not to automatically switch to wallet's network to active chain

            +
            +
            +
            + +
            clientId?: string
            +
            + +
            createWalletStorage?: CreateAsyncStorage
            +
            + +
            dAppMeta?: DAppMetaData
            +

            Metadata to pass to wallet connect and walletlink wallet connect. (Used to show which dApp is being connected to in mobile wallets that support it) +Defaults to just the name being passed as thirdweb powered dApp.

            +
            +
            +
            + +
            queryClient?: QueryClient
            +
            + +
            sdkOptions?: Omit<undefined | {}, "chains">
            +

            The SDKOptions | Thirdweb SDK Options to pass to the thirdweb SDK +comes with sensible defaults

            +
            +
            +
            + +
            secretKey?: string
            +
            + +
            signerWallet?: WalletConfig<SignerWallet>
            +
            + +
            storageInterface?: IThirdwebStorage
            +

            The storage interface to use with the sdk.

            +
            +
            +
            + +
            supportedChains?: TChains
            +

            Chains to support. If not provided, will default to the chains supported by the SDK.

            +
            +
            +
            + +
            supportedWallets: WalletConfig[]
            +

            An array of wallets that the dApp supports +If not provided, will default to Metamask (injected), Coinbase wallet and Device wallet

            +
            +
            +

            Example

            You can Import the wallets you want to support from @thirdweb-dev/wallets and pass them to supportedWallets

            +
            import { ThirdwebProvider } from "@thirdweb-dev/react";

            const App = () => {
            return (
            <ThirdwebProvider>
            <YourApp />
            </ThirdwebProvider>
            );
            }; +
            +
            +
            + +
            theme?: "dark" | "light"
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ThirdwebSDKProviderProps.html b/packages/react/typedoc/interfaces/ThirdwebSDKProviderProps.html new file mode 100644 index 00000000000..4d1904c9ec7 --- /dev/null +++ b/packages/react/typedoc/interfaces/ThirdwebSDKProviderProps.html @@ -0,0 +1,168 @@ +ThirdwebSDKProviderProps | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Interface ThirdwebSDKProviderProps<TChains>

            +
            +

            Type Parameters

            +
              +
            • +

              TChains extends Chain[]

            +
            +

            Hierarchy

            +
              +
            • QueryClientProviderProps +
                +
              • ThirdwebSDKProviderProps
            +
            +
            +
            + +
            +
            +

            Properties

            +
            + +
            activeChain?: string & {} | number & {} | Chain | TChains[number]["chainId"] | TChains[number]["slug"]
            +

            The network to use for the SDK.

            +
            +
            +
            + +
            authConfig?: ThirdwebAuthConfig
            +

            The configuration used for thirdweb auth usage. Enables users to login +to backends with their wallet.

            +
            +
            +
            + +
            clientId?: string
            +
            + +
            queryClient?: QueryClient
            +
            + +
            sdkOptions?: Omit<undefined | {}, "chains">
            +

            The SDKOptions | Thirdweb SDK Options to pass to the thirdweb SDK +comes with sensible defaults

            +
            +
            +
            + +
            secretKey?: string
            +
            + +
            signer?: Signer
            +
            + +
            storageInterface?: IThirdwebStorage
            +

            The storage interface to use with the sdk.

            +
            +
            +
            + +
            supportedChains?: TChains
            +

            Chains to support. If not provided, will default to the chains supported by the SDK.

            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/UserWithData.html b/packages/react/typedoc/interfaces/UserWithData.html new file mode 100644 index 00000000000..c9d6ece35d7 --- /dev/null +++ b/packages/react/typedoc/interfaces/UserWithData.html @@ -0,0 +1,112 @@ +UserWithData | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Interface UserWithData<TData, TContext>

            +
            +

            Type Parameters

            +
              +
            • +

              TData extends Json = Json

            • +
            • +

              TContext extends Json = Json

            +
            +

            Hierarchy

            +
              +
            • User<TContext> +
                +
              • UserWithData
            +
            +
            +
            + +
            +
            +

            Properties

            +
            +
            +

            Properties

            +
            + +
            address: string
            +
            + +
            data?: TData
            +
            + +
            session?: TContext
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/modules.html b/packages/react/typedoc/modules.html new file mode 100644 index 00000000000..6c47205f5bb --- /dev/null +++ b/packages/react/typedoc/modules.html @@ -0,0 +1,326 @@ +@thirdweb-dev/react
            +
            + +
            +
            +
            +
            +

            @thirdweb-dev/react

            +
            +
            +

            Index

            +
            +

            Interfaces

            +
            +
            +

            Type Aliases

            +
            +
            +

            Variables

            +
            +
            +

            Functions

            +
            ConnectModalInline +ConnectWallet +MediaRenderer +NetworkSelector +ThirdwebAuthProvider +ThirdwebConfigProvider +ThirdwebConnectedWalletProvider +ThirdwebNftMedia +ThirdwebProvider +ThirdwebProviderCore +ThirdwebSDKProvider +Web3Button +bloctoWallet +coinbaseWallet +darkTheme +embeddedWallet +frameWallet +getErc1155 +getErc20 +getErc721 +getErcs +lightTheme +localWallet +magicLink +metamaskWallet +paperWallet +phantomWallet +rainbowWallet +resolveMimeType +safeWallet +shouldNeverPersistQuery +smartWallet +trustWallet +useAcceptDirectListingOffer +useAccountAdmins +useAccountAdminsAndSigners +useAccountSigners +useAccounts +useAccountsForAddress +useActiveChain +useActiveClaimCondition +useActiveClaimConditionForWallet +useActiveListings +useAddAdmin +useAddress +useAirdropNFT +useAllRoleMembers +useAppURI +useAuctionWinner +useAuth +useBalance +useBatchesToReveal +useBidBuffer +useBloctoWallet +useBurnNFT +useBurnToken +useBuyDirectListing +useBuyNow +useCancelDirectListing +useCancelEnglishAuction +useCancelListing +useChain +useChainId +useClaimConditions +useClaimIneligibilityReasons +useClaimNFT +useClaimToken +useClaimedNFTSupply +useClaimedNFTs +useClaimerProofs +useCoinbaseWallet +useCompilerMetadata +useConnect +useConnectionStatus +useContract +useContractEvents +useContractMetadata +useContractMetadataUpdate +useContractRead +useContractType +useContractWrite +useCreateAccount +useCreateAuctionListing +useCreateDirectListing +useCreateSessionKey +useCreateWalletInstance +useDelayedRevealLazyMint +useDirectListing +useDirectListings +useDirectListingsCount +useDisconnect +useENS +useEdition +useEditionDrop +useEnglishAuction +useEnglishAuctionWinningBid +useEnglishAuctions +useEnglishAuctionsCount +useExecuteAuctionSale +useFrameWallet +useGrantRole +useInstalledWallets +useIsAccountDeployed +useIsAddressRole +useIsWalletModalOpen +useLazyMint +useListing +useListings +useListingsCount +useLogin +useLogout +useMagic +useMakeBid +useMakeOffer +useMarketplace +useMetadata +useMetamask +useMinimumNextBid +useMintNFT +useMintNFTSupply +useMintToken +useMultiwrap +useNFT +useNFTBalance +useNFTCollection +useNFTDrop +useNFTs +useNetwork +useNetworkMismatch +useOffers +useOwnedNFTs +usePack +usePaperWallet +usePaperWalletUserEmail +usePlatformFees +usePrimarySaleRecipient +useRainbowWallet +useRemoveAdmin +useResetClaimConditions +useResolvedMediaType +useRevealLazyMint +useRevokeRole +useRevokeSessionKey +useRoleMembers +useRoyaltySettings +useSDK +useSafe +useSetAllRoleMembers +useSetAppURI +useSetClaimConditions +useSetConnectedWallet +useSetConnectionStatus +useSetIsWalletModalOpen +useSetSharedMetadata +useSharedMetadata +useSignatureDrop +useSmartWallet +useSplit +useStorage +useStorageUpload +useSupportedChains +useSupportedWallet +useSwitchAccount +useSwitchChain +useThirdwebAuthContext +useThirdwebConfigContext +useThirdwebConnectedWalletContext +useToken +useTokenBalance +useTokenDecimals +useTokenDrop +useTokenSupply +useTotalCirculatingSupply +useTotalCount +useTransferBatchToken +useTransferNFT +useTransferToken +useTrustWallet +useUnclaimedNFTSupply +useUnclaimedNFTs +useUpdateMetadata +useUpdatePlatformFees +useUpdatePrimarySaleRecipient +useUpdateRoyaltySettings +useUser +useValidDirectListings +useValidEnglishAuctions +useVote +useWallet +useWalletConfig +useWalletConnect +useWalletConnectV1 +useWalletContext +useWallets +useWatchTransactions +useWinningBid +walletConnect +walletConnectV1 +zerionWallet +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/AcceptDirectOffer.html b/packages/react/typedoc/types/AcceptDirectOffer.html new file mode 100644 index 00000000000..61ed91ef695 --- /dev/null +++ b/packages/react/typedoc/types/AcceptDirectOffer.html @@ -0,0 +1,70 @@ +AcceptDirectOffer | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias AcceptDirectOffer

            +
            AcceptDirectOffer: {
                addressOfOfferor: string;
                listingId: BigNumberish;
            }
            +
            +

            Type declaration

            +
              +
            • +
              addressOfOfferor: string
            • +
            • +
              listingId: BigNumberish
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/AirdropNFTParams.html b/packages/react/typedoc/types/AirdropNFTParams.html new file mode 100644 index 00000000000..ac89c95382d --- /dev/null +++ b/packages/react/typedoc/types/AirdropNFTParams.html @@ -0,0 +1,73 @@ +AirdropNFTParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias AirdropNFTParamsBeta

            +
            AirdropNFTParams: {
                addresses: AirdropInput;
                tokenId: BigNumberish;
            }
            +

            The params to pass to useTransferBatchNFT.

            +
            +
            +

            Type declaration

            +
              +
            • +
              addresses: AirdropInput
            • +
            • +
              tokenId: BigNumberish
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/BurnNFTParams.html b/packages/react/typedoc/types/BurnNFTParams.html new file mode 100644 index 00000000000..08b7de954a4 --- /dev/null +++ b/packages/react/typedoc/types/BurnNFTParams.html @@ -0,0 +1,73 @@ +BurnNFTParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias BurnNFTParamsBeta

            +
            BurnNFTParams: {
                amount?: Amount;
                tokenId: BigNumberish;
            }
            +

            The params for the useBurnNFT hook mutation.

            +
            +
            +

            Type declaration

            +
              +
            • +
              Optional amount?: Amount
            • +
            • +
              tokenId: BigNumberish
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/BuyNowParams.html b/packages/react/typedoc/types/BuyNowParams.html new file mode 100644 index 00000000000..eaec2a6cb2b --- /dev/null +++ b/packages/react/typedoc/types/BuyNowParams.html @@ -0,0 +1,68 @@ +BuyNowParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias BuyNowParams<TListingType>

            +
            BuyNowParams<TListingType>: TListingType extends ListingType.Direct
                ? {
                    buyAmount: BigNumberish;
                    buyForWallet?: WalletAddress;
                    id: BigNumberish;
                    type: ListingType.Direct;
                }
                : {
                    id: BigNumberish;
                    type: ListingType.Auction;
                }
            +
            +

            Type Parameters

            +
              +
            • +

              TListingType = ListingType

            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/Chain.html b/packages/react/typedoc/types/Chain.html new file mode 100644 index 00000000000..4b14a533997 --- /dev/null +++ b/packages/react/typedoc/types/Chain.html @@ -0,0 +1,78 @@ +Chain | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias Chain

            +
            Chain: {
                blockExplorers?: {
                    name: string;
                    url: string;
                }[];
                id: number;
                name: AddEthereumChainParameter["chainName"];
                nativeCurrency?: AddEthereumChainParameter["nativeCurrency"];
                rpcUrls: AddEthereumChainParameter["rpcUrls"];
                testnet?: boolean;
            }
            +
            +

            Type declaration

            +
              +
            • +
              Optional blockExplorers?: {
                  name: string;
                  url: string;
              }[]
            • +
            • +
              id: number
            • +
            • +
              name: AddEthereumChainParameter["chainName"]
            • +
            • +
              Optional nativeCurrency?: AddEthereumChainParameter["nativeCurrency"]
            • +
            • +
              rpcUrls: AddEthereumChainParameter["rpcUrls"]
            • +
            • +
              Optional testnet?: boolean
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ClaimIneligibilityParams.html b/packages/react/typedoc/types/ClaimIneligibilityParams.html new file mode 100644 index 00000000000..f646ef5c81c --- /dev/null +++ b/packages/react/typedoc/types/ClaimIneligibilityParams.html @@ -0,0 +1,73 @@ +ClaimIneligibilityParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias ClaimIneligibilityParamsBeta

            +
            ClaimIneligibilityParams: {
                quantity: string | number;
                walletAddress: WalletAddress;
            }
            +

            The options to be passed as the second parameter to the useClaimIneligibilityReasons` hook.

            +
            +
            +

            Type declaration

            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ClaimNFTParams.html b/packages/react/typedoc/types/ClaimNFTParams.html new file mode 100644 index 00000000000..fb3c933a470 --- /dev/null +++ b/packages/react/typedoc/types/ClaimNFTParams.html @@ -0,0 +1,80 @@ +ClaimNFTParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias ClaimNFTParamsBeta

            +
            ClaimNFTParams: {
                options?: ClaimOptions;
                quantity: BigNumberish;
                to?: WalletAddress;
                tokenId?: BigNumberish;
            }
            +

            The params for the useClaimNFT hook mutation.

            +
            +
            +

            Type declaration

            +
              +
            • +
              Optional options?: ClaimOptions
            • +
            • +
              quantity: BigNumberish
            • +
            • +
              Optional to?: WalletAddress
            • +
            • +
              Optional tokenId?: BigNumberish
              +

              tokenId is only used for ERC1155 tokens

              +
              +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ClaimNFTReturnType.html b/packages/react/typedoc/types/ClaimNFTReturnType.html new file mode 100644 index 00000000000..2af7c1054e7 --- /dev/null +++ b/packages/react/typedoc/types/ClaimNFTReturnType.html @@ -0,0 +1,66 @@ +ClaimNFTReturnType | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias ClaimNFTReturnTypeBeta

            +
            ClaimNFTReturnType: Awaited<ReturnType<Erc721["claimTo"]>> | Awaited<ReturnType<Erc1155["claimTo"]>>
            +

            The return type of the useClaimNFT hook.

            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ClaimTokenParams.html b/packages/react/typedoc/types/ClaimTokenParams.html new file mode 100644 index 00000000000..e430fe3ada5 --- /dev/null +++ b/packages/react/typedoc/types/ClaimTokenParams.html @@ -0,0 +1,72 @@ +ClaimTokenParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias ClaimTokenParams

            +
            ClaimTokenParams: {
                amount: Amount;
                checkERC20Allowance?: boolean;
                to: WalletAddress;
            }
            +
            +

            Type declaration

            +
              +
            • +
              amount: Amount
            • +
            • +
              Optional checkERC20Allowance?: boolean
            • +
            • +
              to: WalletAddress
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ConnectUIProps.html b/packages/react/typedoc/types/ConnectUIProps.html new file mode 100644 index 00000000000..8c7c7487b3e --- /dev/null +++ b/packages/react/typedoc/types/ConnectUIProps.html @@ -0,0 +1,199 @@ +ConnectUIProps | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias ConnectUIProps<I>

            +
            ConnectUIProps<I>: {
                connected: (() => void);
                goBack: (() => void);
                hide: (() => void);
                isOpen: boolean;
                modalSize: "compact" | "wide";
                onLocallyConnected?: ((walleInstance) => void);
                selectionData: any;
                setSelectionData: ((data) => void);
                show: (() => void);
                supportedWallets: WalletConfig[];
                theme: "dark" | "light";
                walletConfig: WalletConfig<I>;
            }
            +
            +

            Type Parameters

            +
            +
            +

            Type declaration

            +
              +
            • +
              connected: (() => void)
              +
                +
              • +
                  +
                • (): void
                • +
                • +

                  when the wallet is connected, call this function to indicate that the wallet is connected and it is safe to close the Modal

                  +
                  +

                  Returns void

                  +
            • +
            • +
              goBack: (() => void)
              +
                +
              • +
                  +
                • (): void
                • +
                • +

                  go back to the wallet selector screen in connect wallet modal

                  +
                  +

                  Returns void

                  +
            • +
            • +
              hide: (() => void)
              +
                +
              • +
                  +
                • (): void
                • +
                • +

                  temporarily hide the ConnectModal +This is useful when you want to open another modal and do not want to show the ConnectModal in the background

                  +
                  +

                  Returns void

                  +
            • +
            • +
              isOpen: boolean
              +

              indicates whether the connect wallet modal is open or not

              +
              +
            • +
            • +
              modalSize: "compact" | "wide"
              +

              Size of the modal

              +

              This is always compact on React Native

              +
              +
            • +
            • +
              Optional onLocallyConnected?: ((walleInstance) => void)
              +
                +
              • +
                  +
                • (walleInstance): void
                • +
                • +

                  Called when the wallet is connected but it's +part of another wallet's connection flow.

                  +
                  +
                  +

                  Parameters

                  +
                    +
                  • +
                    walleInstance: WalletInstance
                    +

                    the instance of the connected wallet

                    +
                    +
                  +

                  Returns void

                  +
            • +
            • +
              selectionData: any
              +

              selectionData passed from selectUI's onSelect function

              +
              +
            • +
            • +
              setSelectionData: ((data) => void)
              +
                +
              • +
                  +
                • (data): void
                • +
                • +

                  set selectionData

                  +
                  +
                  +

                  Parameters

                  +
                    +
                  • +
                    data: any
                  +

                  Returns void

                  +
            • +
            • +
              show: (() => void)
              +
                +
              • +
                  +
                • (): void
                • +
                • +

                  show the hidden connect wallet modal again

                  +
                  +

                  Returns void

                  +
            • +
            • +
              supportedWallets: WalletConfig[]
              +

              List of all supported wallets including your wallet.

              +
              +
            • +
            • +
              theme: "dark" | "light"
              +

              theme of the connect wallet modal

              +
              +
            • +
            • +
              walletConfig: WalletConfig<I>
              +

              WalletConfig object of your wallet

              +

              you can use this to connect to your wallet

              +

              1. Using useConnect hook

               const connect = useConnect();

              // call this function to connect to your wallet
              async function handleConnect() {
              await connect(walletConfig, options);
              }
              +
              +

              OR

              +

              2. Manually creating wallet instance and connecting

              const createWalletInstance = useCreateWalletInstance();
              const setConnectedWallet = useSetConnectedWallet();
              const setConnectionStatus = useSetConnectionStatus();

              // call this function to connect to your wallet
              async function handleConnect() {
              // create instance
              const walletInstance = createWalletInstance(walletConfig);
              // connect wallet
              setConnectionStatus('connecting);
              try {
              await walletInstance.connect(options);
              // set connected wallet
              setConnectedWallet(walletInstance);
              } catch {
              setConnectionStatus('disconnected');
              }
              } +
              +
              +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ConnectWalletProps.html b/packages/react/typedoc/types/ConnectWalletProps.html new file mode 100644 index 00000000000..c7557010980 --- /dev/null +++ b/packages/react/typedoc/types/ConnectWalletProps.html @@ -0,0 +1,188 @@ +ConnectWalletProps | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias ConnectWalletProps

            +
            ConnectWalletProps: {
                auth?: {
                    loginOptional?: boolean;
                    onLogin?: ((token) => void);
                    onLogout?: (() => void);
                };
                btnTitle?: string;
                className?: string;
                detailsBtn?: (() => JSX.Element);
                displayBalanceToken?: Record<number, string>;
                dropdownPosition?: DropDownPosition;
                hideTestnetFaucet?: boolean;
                modalSize?: "compact" | "wide";
                modalTitle?: string;
                modalTitleIconUrl?: string;
                networkSelector?: Omit<NetworkSelectorProps, "theme" | "onClose" | "chains" | "open">;
                privacyPolicyUrl?: string;
                style?: React.CSSProperties;
                supportedTokens?: SupportedTokens;
                switchToActiveChain?: boolean;
                termsOfServiceUrl?: string;
                theme?: "dark" | "light" | Theme;
                welcomeScreen?: WelcomeScreen;
            }
            +
            +

            Type declaration

            +
              +
            • +
              Optional auth?: {
                  loginOptional?: boolean;
                  onLogin?: ((token) => void);
                  onLogout?: (() => void);
              }
              +
                +
              • +
                Optional loginOptional?: boolean
              • +
              • +
                Optional onLogin?: ((token) => void)
                +
                  +
                • +
                    +
                  • (token): void
                  • +
                  • +
                    +

                    Parameters

                    +
                      +
                    • +
                      token: string
                    +

                    Returns void

              • +
              • +
                Optional onLogout?: (() => void)
                +
                  +
                • +
                    +
                  • (): void
                  • +
                  • +

                    Returns void

            • +
            • +
              Optional btnTitle?: string
            • +
            • +
              Optional className?: string
            • +
            • +
              Optional detailsBtn?: (() => JSX.Element)
              +
                +
              • +
                  +
                • (): JSX.Element
                • +
                • +

                  render a custom button to display the connected wallet details instead of the default button

                  +
                  +

                  Returns JSX.Element

                  +
            • +
            • +
              Optional displayBalanceToken?: Record<number, string>
              +

              Show balance of ERC20 token instead of the native token in the "Connected" button when connected to certain network

              +
              +
              +

              Example

              <ConnectWallet balanceToken={{
              1: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" // show USDC balance when connected to Ethereum mainnet
              }} /> +
              +
            • +
            • +
              Optional dropdownPosition?: DropDownPosition
            • +
            • +
              Optional hideTestnetFaucet?: boolean
              +

              Hide option to request testnet funds for testnets in dropdown

              +
              +
              +

              Default

              false
              +
              +
            • +
            • +
              Optional modalSize?: "compact" | "wide"
              +

              Set the size of the modal - compact or wide on desktop

              +

              Modal size is always compact on mobile

              +
              +
              +

              Default

              "wide"
              +
              +
            • +
            • +
              Optional modalTitle?: string
              +

              Set a custom title for the modal

              +
              +
              +

              Default

              "Connect"
              +
              +
            • +
            • +
              Optional modalTitleIconUrl?: string
              +

              Replace the thirdweb icon next to modalTitle and set your own iconUrl

              +

              Set to empty string to hide the icon

              +
              +
            • +
            • +
              Optional networkSelector?: Omit<NetworkSelectorProps, "theme" | "onClose" | "chains" | "open">
            • +
            • +
              Optional privacyPolicyUrl?: string
              +

              If provided, Modal will show a Privacy Policy message at the bottom with below link

              +
              +
            • +
            • +
              Optional style?: React.CSSProperties
            • +
            • +
              Optional supportedTokens?: SupportedTokens
              +

              Override the default supported tokens for each network

              +

              These tokens will be displayed in "Send Funds" Modal

              +
              +
            • +
            • +
              Optional switchToActiveChain?: boolean
              +

              Whether to show "Switch Network" button if the wallet is connected, +but it is not connected to the activeChain provided in ThirdwebProvider

              +

              Please, note that if you support multiple networks in your app this prop should +be set to false to allow users to switch between networks.

              +
              +
              +

              Default

              false
              +
              +
            • +
            • +
              Optional termsOfServiceUrl?: string
              +

              If provided, Modal will show a Terms of Service message at the bottom with below link

              +
              +
            • +
            • +
              Optional theme?: "dark" | "light" | Theme
            • +
            • +
              Optional welcomeScreen?: WelcomeScreen
              +

              Customize the welcome screen

              +

              Either provide a component to replace the default screen entirely

              +

              or an object with title, subtitle and imgSrc to change the content of the default screen

              +
              +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/DelayedRevealLazyMintInput.html b/packages/react/typedoc/types/DelayedRevealLazyMintInput.html new file mode 100644 index 00000000000..353f6b7987c --- /dev/null +++ b/packages/react/typedoc/types/DelayedRevealLazyMintInput.html @@ -0,0 +1,75 @@ +DelayedRevealLazyMintInput | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias DelayedRevealLazyMintInputBeta

            +
            DelayedRevealLazyMintInput: {
                metadatas: NFTMetadataInput[];
                password: string;
                placeholder: NFTMetadataInput;
            }
            +

            The params for the useDelayedRevealLazyMint hook mutation.

            +
            +
            +

            Type declaration

            +
              +
            • +
              metadatas: NFTMetadataInput[]
            • +
            • +
              password: string
            • +
            • +
              placeholder: NFTMetadataInput
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/DropContract.html b/packages/react/typedoc/types/DropContract.html new file mode 100644 index 00000000000..6752015eec5 --- /dev/null +++ b/packages/react/typedoc/types/DropContract.html @@ -0,0 +1,66 @@ +DropContract | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias DropContractBeta

            +
            DropContract: NFTDrop | EditionDrop | SignatureDrop | TokenDrop | SmartContract | null
            +

            The possible DROP contract types.

            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/Erc721OrErc1155.html b/packages/react/typedoc/types/Erc721OrErc1155.html new file mode 100644 index 00000000000..dda97342021 --- /dev/null +++ b/packages/react/typedoc/types/Erc721OrErc1155.html @@ -0,0 +1,66 @@ +Erc721OrErc1155 | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias Erc721OrErc1155Beta

            +
            Erc721OrErc1155: Erc721 | Erc1155
            +

            Possible NFT contract types.

            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ExecuteAuctionSale.html b/packages/react/typedoc/types/ExecuteAuctionSale.html new file mode 100644 index 00000000000..5811fbb1140 --- /dev/null +++ b/packages/react/typedoc/types/ExecuteAuctionSale.html @@ -0,0 +1,68 @@ +ExecuteAuctionSale | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias ExecuteAuctionSale

            +
            ExecuteAuctionSale: {
                listingId: BigNumberish;
            }
            +
            +

            Type declaration

            +
              +
            • +
              listingId: BigNumberish
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ExtraCoreWalletOptions.html b/packages/react/typedoc/types/ExtraCoreWalletOptions.html new file mode 100644 index 00000000000..82f69bcb5b6 --- /dev/null +++ b/packages/react/typedoc/types/ExtraCoreWalletOptions.html @@ -0,0 +1,68 @@ +ExtraCoreWalletOptions | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias ExtraCoreWalletOptions

            +
            ExtraCoreWalletOptions: {
                chain: Chain;
            }
            +
            +

            Type declaration

            +
              +
            • +
              chain: Chain
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/MakeBidParams.html b/packages/react/typedoc/types/MakeBidParams.html new file mode 100644 index 00000000000..7e2c14a9cd6 --- /dev/null +++ b/packages/react/typedoc/types/MakeBidParams.html @@ -0,0 +1,70 @@ +MakeBidParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias MakeBidParams

            +
            MakeBidParams: {
                bid: Price;
                listingId: BigNumberish;
            }
            +
            +

            Type declaration

            +
              +
            • +
              bid: Price
            • +
            • +
              listingId: BigNumberish
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/MakeOfferParams.html b/packages/react/typedoc/types/MakeOfferParams.html new file mode 100644 index 00000000000..be3226d0318 --- /dev/null +++ b/packages/react/typedoc/types/MakeOfferParams.html @@ -0,0 +1,72 @@ +MakeOfferParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias MakeOfferParams

            +
            MakeOfferParams: {
                listingId: BigNumberish;
                pricePerToken: Price;
                quantity?: Amount;
            }
            +
            +

            Type declaration

            +
              +
            • +
              listingId: BigNumberish
            • +
            • +
              pricePerToken: Price
            • +
            • +
              Optional quantity?: Amount
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/MintNFTParams.html b/packages/react/typedoc/types/MintNFTParams.html new file mode 100644 index 00000000000..b3d770ad58e --- /dev/null +++ b/packages/react/typedoc/types/MintNFTParams.html @@ -0,0 +1,75 @@ +MintNFTParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias MintNFTParamsBeta

            +
            MintNFTParams: {
                metadata: NFTMetadataOrUri;
                supply?: Amount;
                to: WalletAddress;
            }
            +

            The params for the useMintNFT hook mutation.

            +
            +
            +

            Type declaration

            +
              +
            • +
              metadata: NFTMetadataOrUri
            • +
            • +
              Optional supply?: Amount
            • +
            • +
              to: WalletAddress
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/MintNFTReturnType.html b/packages/react/typedoc/types/MintNFTReturnType.html new file mode 100644 index 00000000000..e020abac0fa --- /dev/null +++ b/packages/react/typedoc/types/MintNFTReturnType.html @@ -0,0 +1,71 @@ +MintNFTReturnType | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias MintNFTReturnType<TContract>Beta

            +
            MintNFTReturnType<TContract>: TContract extends Erc721
                ? Awaited<ReturnType<Erc721Mintable["to"]>>
                : TContract extends Erc1155
                    ? Awaited<ReturnType<Erc1155Mintable["to"]>>
                    : never
            +

            The return type of the useMintNFT hook.

            +
            +
            +

            Type Parameters

            +
              +
            • +

              TContract

            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/MintNFTSupplyParams.html b/packages/react/typedoc/types/MintNFTSupplyParams.html new file mode 100644 index 00000000000..f6a468b0d1d --- /dev/null +++ b/packages/react/typedoc/types/MintNFTSupplyParams.html @@ -0,0 +1,75 @@ +MintNFTSupplyParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias MintNFTSupplyParamsBeta

            +
            MintNFTSupplyParams: {
                additionalSupply: Amount;
                to: WalletAddress;
                tokenId: BigNumberish;
            }
            +

            The params to pass to useMintNFTSupply.

            +
            +
            +

            Type declaration

            +
              +
            • +
              additionalSupply: Amount
            • +
            • +
              to: WalletAddress
            • +
            • +
              tokenId: BigNumberish
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/NFTContract.html b/packages/react/typedoc/types/NFTContract.html new file mode 100644 index 00000000000..40cd2199722 --- /dev/null +++ b/packages/react/typedoc/types/NFTContract.html @@ -0,0 +1,69 @@ +NFTContract | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias NFTContractBeta

            +
            NFTContract: NFTCollection | Edition | Pack | Multiwrap | Exclude<DropContract, "TokenDrop">
            +

            The possible NFT contract types.

            +
            +
            +

            Example

            const { contract } = useContract("{{contract_address}}");
            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/NetworkSelectorProps.html b/packages/react/typedoc/types/NetworkSelectorProps.html new file mode 100644 index 00000000000..c41fbe3620f --- /dev/null +++ b/packages/react/typedoc/types/NetworkSelectorProps.html @@ -0,0 +1,107 @@ +NetworkSelectorProps | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias NetworkSelectorProps

            +
            NetworkSelectorProps: {
                chains?: Chain[];
                onClose?: (() => void);
                onCustomClick?: (() => void);
                onSwitch?: ((chain) => void);
                open: boolean;
                popularChains?: Chain[];
                recentChains?: Chain[];
                renderChain?: RenderChain;
                theme: "dark" | "light" | Theme;
            }
            +
            +

            Type declaration

            +
              +
            • +
              Optional chains?: Chain[]
            • +
            • +
              Optional onClose?: (() => void)
              +
                +
              • +
                  +
                • (): void
                • +
                • +

                  Returns void

            • +
            • +
              Optional onCustomClick?: (() => void)
              +
                +
              • +
                  +
                • (): void
                • +
                • +

                  Returns void

            • +
            • +
              Optional onSwitch?: ((chain) => void)
              +
                +
              • +
                  +
                • (chain): void
                • +
                • +
                  +

                  Parameters

                  +
                    +
                  • +
                    chain: Chain
                  +

                  Returns void

            • +
            • +
              open: boolean
            • +
            • +
              Optional popularChains?: Chain[]
            • +
            • +
              Optional recentChains?: Chain[]
            • +
            • +
              Optional renderChain?: RenderChain
            • +
            • +
              theme: "dark" | "light" | Theme
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/RequiredParam.html b/packages/react/typedoc/types/RequiredParam.html new file mode 100644 index 00000000000..d74f5176114 --- /dev/null +++ b/packages/react/typedoc/types/RequiredParam.html @@ -0,0 +1,71 @@ +RequiredParam | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias RequiredParam<T>Beta

            +
            RequiredParam<T>: T | null | undefined
            +

            Makes a parameter required to be passed, but still allows it to be null or undefined.

            +
            +
            +

            Type Parameters

            +
              +
            • +

              T

            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/RevealLazyMintInput.html b/packages/react/typedoc/types/RevealLazyMintInput.html new file mode 100644 index 00000000000..668e6624572 --- /dev/null +++ b/packages/react/typedoc/types/RevealLazyMintInput.html @@ -0,0 +1,73 @@ +RevealLazyMintInput | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias RevealLazyMintInputBeta

            +
            RevealLazyMintInput: {
                batchId: BigNumberish;
                password: string;
            }
            +

            The params for the useRevealLazyMint hook mutation.

            +
            +
            +

            Type declaration

            +
              +
            • +
              batchId: BigNumberish
            • +
            • +
              password: string
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/RevealableContract.html b/packages/react/typedoc/types/RevealableContract.html new file mode 100644 index 00000000000..589afb57d15 --- /dev/null +++ b/packages/react/typedoc/types/RevealableContract.html @@ -0,0 +1,66 @@ +RevealableContract | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias RevealableContractBeta

            +
            RevealableContract: NFTDrop | SignatureDrop | SmartContract | null
            +

            The possible revealable contract types.

            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/SelectUIProps.html b/packages/react/typedoc/types/SelectUIProps.html new file mode 100644 index 00000000000..b5720be4a38 --- /dev/null +++ b/packages/react/typedoc/types/SelectUIProps.html @@ -0,0 +1,114 @@ +SelectUIProps | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias SelectUIProps<I>

            +
            SelectUIProps<I>: {
                modalSize: "compact" | "wide";
                onSelect: ((selectionData) => void);
                supportedWallets: WalletConfig[];
                theme: "dark" | "light";
                walletConfig: WalletConfig<I>;
            }
            +
            +

            Type Parameters

            +
            +
            +

            Type declaration

            +
              +
            • +
              modalSize: "compact" | "wide"
              +

              Size of the modal

              +

              This is always compact on React Native

              +
              +
            • +
            • +
              onSelect: ((selectionData) => void)
              +
                +
              • +
                  +
                • (selectionData): void
                • +
                • +

                  Call this function to "select" your wallet and render the screen for connecting the wallet

                  +
                  +
                  +

                  Parameters

                  +
                    +
                  • +
                    selectionData: any
                    +

                    selectionData to be passed to connectUI's selectionData prop

                    +
                    +
                  +

                  Returns void

                  +
            • +
            • +
              supportedWallets: WalletConfig[]
              +

              List of all supported wallets including your wallet.

              +

              You can use this to conditionally render UI based on how many wallets are supported. +For example: You can render a larger UI if only one wallet (your wallet) is supported.

              +
              +
            • +
            • +
              theme: "dark" | "light"
              +

              theme of the connect wallet modal

              +
              +
            • +
            • +
              walletConfig: WalletConfig<I>
              +

              WalletConfig object of your wallet

              +

              you can use this get metadata of your wallet by doing walletConfig.meta

              +
              +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/SetClaimConditionsParams.html b/packages/react/typedoc/types/SetClaimConditionsParams.html new file mode 100644 index 00000000000..1bc5827ce55 --- /dev/null +++ b/packages/react/typedoc/types/SetClaimConditionsParams.html @@ -0,0 +1,73 @@ +SetClaimConditionsParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias SetClaimConditionsParamsBeta

            +
            SetClaimConditionsParams: {
                phases: ClaimConditionInput[];
                reset?: boolean;
            }
            +

            The params for the useSetClaimConditions hook mutation.

            +
            +
            +

            Type declaration

            +
              +
            • +
              phases: ClaimConditionInput[]
            • +
            • +
              Optional reset?: boolean
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/Theme.html b/packages/react/typedoc/types/Theme.html new file mode 100644 index 00000000000..55ace0a5a64 --- /dev/null +++ b/packages/react/typedoc/types/Theme.html @@ -0,0 +1,63 @@ +Theme | @thirdweb-dev/react
            +
            + +
            + +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/ThemeOverrides.html b/packages/react/typedoc/types/ThemeOverrides.html new file mode 100644 index 00000000000..956a35771ac --- /dev/null +++ b/packages/react/typedoc/types/ThemeOverrides.html @@ -0,0 +1,63 @@ +ThemeOverrides | @thirdweb-dev/react
            +
            + +
            + +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/TokenBurnParams.html b/packages/react/typedoc/types/TokenBurnParams.html new file mode 100644 index 00000000000..f28b3a0cdc0 --- /dev/null +++ b/packages/react/typedoc/types/TokenBurnParams.html @@ -0,0 +1,71 @@ +TokenBurnParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias TokenBurnParamsBeta

            +
            TokenBurnParams: {
                amount: Amount;
            }
            +

            The parameters to pass to the burn function.

            +
            +
            +

            Type declaration

            +
              +
            • +
              amount: Amount
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/TokenContract.html b/packages/react/typedoc/types/TokenContract.html new file mode 100644 index 00000000000..b747a6c5876 --- /dev/null +++ b/packages/react/typedoc/types/TokenContract.html @@ -0,0 +1,69 @@ +TokenContract | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias TokenContractBeta

            +
            TokenContract: TokenDrop | Token | SmartContract | null
            +

            The possible Token contract types.

            +
            +
            +

            Example

            const { contract } = useContract("{{contract_address}}");
            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/TokenParams.html b/packages/react/typedoc/types/TokenParams.html new file mode 100644 index 00000000000..512d5a4bc67 --- /dev/null +++ b/packages/react/typedoc/types/TokenParams.html @@ -0,0 +1,73 @@ +TokenParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias TokenParamsBeta

            +
            TokenParams: {
                amount: Amount;
                to: WalletAddress;
            }
            +

            The parameters to pass to the mint and transfer functions.

            +
            +
            +

            Type declaration

            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/TransferNFTParams.html b/packages/react/typedoc/types/TransferNFTParams.html new file mode 100644 index 00000000000..29ceb8b569e --- /dev/null +++ b/packages/react/typedoc/types/TransferNFTParams.html @@ -0,0 +1,75 @@ +TransferNFTParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias TransferNFTParamsBeta

            +
            TransferNFTParams: {
                amount?: Amount;
                to: WalletAddress;
                tokenId: BigNumberish;
            }
            +

            The params to pass to useTransferNFT.

            +
            +
            +

            Type declaration

            +
              +
            • +
              Optional amount?: Amount
            • +
            • +
              to: WalletAddress
            • +
            • +
              tokenId: BigNumberish
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/UseContractResult.html b/packages/react/typedoc/types/UseContractResult.html new file mode 100644 index 00000000000..e3b269e972c --- /dev/null +++ b/packages/react/typedoc/types/UseContractResult.html @@ -0,0 +1,73 @@ +UseContractResult | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias UseContractResult<TContract>

            +
            UseContractResult<TContract>: UseQueryResult<TContract | undefined> & {
                contract: TContract | undefined;
            }
            +
            +

            Type Parameters

            +
              +
            • +

              TContract extends ValidContractInstance = SmartContract

            +
            +

            Type declaration

            +
              +
            • +
              contract: TContract | undefined
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/UseWatchTransactionsParams.html b/packages/react/typedoc/types/UseWatchTransactionsParams.html new file mode 100644 index 00000000000..f0b3f38b7a9 --- /dev/null +++ b/packages/react/typedoc/types/UseWatchTransactionsParams.html @@ -0,0 +1,68 @@ +UseWatchTransactionsParams | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias UseWatchTransactionsParams

            +
            UseWatchTransactionsParams: Partial<Omit<WatchTransactionsParams, "onTransactions">> & {
                limit?: number;
            }
            +
            +

            Type declaration

            +
              +
            • +
              Optional limit?: number
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletAddress.html b/packages/react/typedoc/types/WalletAddress.html new file mode 100644 index 00000000000..9009b7a18bd --- /dev/null +++ b/packages/react/typedoc/types/WalletAddress.html @@ -0,0 +1,66 @@ +WalletAddress | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias WalletAddressBeta

            +
            WalletAddress: AddressOrEns
            +

            A wallet address.

            +
            +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletClass.html b/packages/react/typedoc/types/WalletClass.html new file mode 100644 index 00000000000..b851ead1aad --- /dev/null +++ b/packages/react/typedoc/types/WalletClass.html @@ -0,0 +1,85 @@ +WalletClass | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias WalletClass<I>

            +
            WalletClass<I>: {
                id: string;
                meta: typeof AbstractClientWallet["meta"];
                new (options): I;
            }
            +
            +

            Type Parameters

            +
            +
            +

            Type declaration

            +
              +
            • +
                +
              • new (options): I
              • +
              • +
                +

                Parameters

                +
                +

                Returns I

            • +
            • +
              id: string
            • +
            • +
              meta: typeof AbstractClientWallet["meta"]
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletConfig.html b/packages/react/typedoc/types/WalletConfig.html new file mode 100644 index 00000000000..f3f8f6d5cd7 --- /dev/null +++ b/packages/react/typedoc/types/WalletConfig.html @@ -0,0 +1,135 @@ +WalletConfig | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias WalletConfig<I>

            +
            WalletConfig<I>: {
                category?: "socialLogin" | "walletLogin";
                connectUI?: React.FC<ConnectUIProps<I>>;
                create: ((options) => I);
                id: string;
                isHeadless?: boolean;
                isInstalled?: (() => boolean);
                meta: typeof AbstractClientWallet["meta"];
                personalWallets?: WalletConfig[];
                recommended?: boolean;
                selectUI?: React.FC<SelectUIProps<I>>;
            }
            +
            +

            Type Parameters

            +
            +
            +

            Type declaration

            +
              +
            • +
              Optional category?: "socialLogin" | "walletLogin"
            • +
            • +
              Optional connectUI?: React.FC<ConnectUIProps<I>>
              +

              UI for connecting wallet

              +
              +
            • +
            • +
              create: ((options) => I)
              +
                +
              • +
                  +
                • (options): I
                • +
                • +
                  +

                  Parameters

                  +
                  +

                  Returns I

            • +
            • +
              id: string
            • +
            • +
              Optional isHeadless?: boolean
              +

              If the wallet can sign transactions without user interaction, set this to true.

              +
              +
              +

              Default

              false
              +
              +
            • +
            • +
              Optional isInstalled?: (() => boolean)
              +
                +
              • +
                  +
                • (): boolean
                • +
                • +

                  Returns boolean

            • +
            • +
              meta: typeof AbstractClientWallet["meta"]
            • +
            • +
              Optional personalWallets?: WalletConfig[]
              +

              An array of WalletConfig that users can use as a personal wallet to connect to your wallet

              +

              This is only required if your wallet requires a personal wallet to be connected such as a Safe Wallet or Smart Wallet

              +

              providing the personalWallets ensures that autoconnect and ConnectWallet modal works properly for your wallet.

              +
                +
              • autoconnect will connect the last connected personal wallet first and then connect your wallet
              • +
              • ConnectWallet modal will reopen once the personal wallet is connected so that you can render UI for connecting your wallet as the next step
              • +
              +
              +
            • +
            • +
              Optional recommended?: boolean
              +

              If true, this wallet will be tagged as "recommended" in ConnectWallet Modal and will be shown at the top of the list

              +
              +
              +

              Default

              false
              +
              +
            • +
            • +
              Optional selectUI?: React.FC<SelectUIProps<I>>
              +

              UI for selecting wallet - this UI is rendered in the wallet selection screen

              +
              +
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletInstance.html b/packages/react/typedoc/types/WalletInstance.html new file mode 100644 index 00000000000..13db76db253 --- /dev/null +++ b/packages/react/typedoc/types/WalletInstance.html @@ -0,0 +1,63 @@ +WalletInstance | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias WalletInstance

            +
            WalletInstance: AbstractClientWallet
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletOptions.html b/packages/react/typedoc/types/WalletOptions.html new file mode 100644 index 00000000000..f136841bdd3 --- /dev/null +++ b/packages/react/typedoc/types/WalletOptions.html @@ -0,0 +1,63 @@ +WalletOptions | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Type alias WalletOptions

            +
            WalletOptions: WalletOptions_<ExtraCoreWalletOptions>
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/variables/ThirdwebThemeContext.html b/packages/react/typedoc/variables/ThirdwebThemeContext.html new file mode 100644 index 00000000000..c4d9be6a0c7 --- /dev/null +++ b/packages/react/typedoc/variables/ThirdwebThemeContext.html @@ -0,0 +1,63 @@ +ThirdwebThemeContext | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Variable ThirdwebThemeContextConst

            +
            ThirdwebThemeContext: Context
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/variables/__DEV__.html b/packages/react/typedoc/variables/__DEV__.html new file mode 100644 index 00000000000..2c887d3592a --- /dev/null +++ b/packages/react/typedoc/variables/__DEV__.html @@ -0,0 +1,63 @@ +__DEV__ | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Variable __DEV__Const

            +
            __DEV__: boolean
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/variables/compilerMetadata.html b/packages/react/typedoc/variables/compilerMetadata.html new file mode 100644 index 00000000000..4cc60a396d9 --- /dev/null +++ b/packages/react/typedoc/variables/compilerMetadata.html @@ -0,0 +1,85 @@ +compilerMetadata | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Variable compilerMetadataConst

            +
            compilerMetadata: {
                cacheKey: ((contractAddress, chainId) => QueryKey);
                fetchQuery: typeof fetchCompilerMetadata;
                useQuery: typeof useCompilerMetadata;
            }
            +
            +

            Type declaration

            +
              +
            • +
              cacheKey: ((contractAddress, chainId) => QueryKey)
              +
                +
              • +
                  +
                • (contractAddress, chainId): QueryKey
                • +
                • +
                  +

                  Parameters

                  +
                  +

                  Returns QueryKey

            • +
            • +
              fetchQuery: typeof fetchCompilerMetadata
            • +
            • +
              useQuery: typeof useCompilerMetadata
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/variables/contractType.html b/packages/react/typedoc/variables/contractType.html new file mode 100644 index 00000000000..538dd70f71c --- /dev/null +++ b/packages/react/typedoc/variables/contractType.html @@ -0,0 +1,85 @@ +contractType | @thirdweb-dev/react
            +
            + +
            +
            +
            +
            + +

            Variable contractTypeConst

            +
            contractType: {
                cacheKey: ((contractAddress, chainId) => QueryKey);
                fetchQuery: typeof fetchContractType;
                useQuery: typeof useContractType;
            }
            +
            +

            Type declaration

            +
              +
            • +
              cacheKey: ((contractAddress, chainId) => QueryKey)
              +
                +
              • +
                  +
                • (contractAddress, chainId): QueryKey
                • +
                • +
                  +

                  Parameters

                  +
                  +

                  Returns QueryKey

            • +
            • +
              fetchQuery: typeof fetchContractType
            • +
            • +
              useQuery: typeof useContractType
            +
            +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/variables/defaultTokens.html b/packages/react/typedoc/variables/defaultTokens.html new file mode 100644 index 00000000000..953f1fec185 --- /dev/null +++ b/packages/react/typedoc/variables/defaultTokens.html @@ -0,0 +1,63 @@ +defaultTokens | @thirdweb-dev/react
            +
            + +
            + +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file diff --git a/packages/react/typedoc/variables/defaultWallets.html b/packages/react/typedoc/variables/defaultWallets.html new file mode 100644 index 00000000000..7e375537826 --- /dev/null +++ b/packages/react/typedoc/variables/defaultWallets.html @@ -0,0 +1,63 @@ +defaultWallets | @thirdweb-dev/react
            +
            + +
            + +
            +

            Generated using TypeDoc

            +
            \ No newline at end of file From bb39853d8c1212294f82098da91c912b93c0b81c Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Wed, 18 Oct 2023 20:10:33 -0400 Subject: [PATCH 04/19] remove typedoc --- packages/react/typedoc/.nojekyll | 1 - packages/react/typedoc/assets/highlight.css | 127 - packages/react/typedoc/assets/main.js | 59 - packages/react/typedoc/assets/navigation.js | 1 - packages/react/typedoc/assets/search.js | 1 - packages/react/typedoc/assets/style.css | 1383 - packages/react/typedoc/documentation.json | 51376 ---------------- .../typedoc/functions/ConnectModalInline.html | 72 - .../typedoc/functions/ConnectWallet.html | 78 - .../typedoc/functions/MediaRenderer.html | 84 - .../typedoc/functions/NetworkSelector.html | 74 - .../functions/ThirdwebAuthProvider.html | 74 - .../functions/ThirdwebConfigProvider.html | 74 - .../ThirdwebConnectedWalletProvider.html | 74 - .../typedoc/functions/ThirdwebNftMedia.html | 81 - .../typedoc/functions/ThirdwebProvider.html | 85 - .../functions/ThirdwebProviderCore.html | 77 - .../functions/ThirdwebSDKProvider.html | 83 - .../react/typedoc/functions/Web3Button.html | 84 - .../react/typedoc/functions/bloctoWallet.html | 72 - .../typedoc/functions/coinbaseWallet.html | 72 - .../react/typedoc/functions/darkTheme.html | 72 - .../typedoc/functions/embeddedWallet.html | 72 - .../react/typedoc/functions/frameWallet.html | 72 - .../react/typedoc/functions/getErc1155.html | 72 - .../react/typedoc/functions/getErc20.html | 72 - .../react/typedoc/functions/getErc721.html | 72 - packages/react/typedoc/functions/getErcs.html | 79 - .../react/typedoc/functions/lightTheme.html | 72 - .../react/typedoc/functions/localWallet.html | 72 - .../react/typedoc/functions/magicLink.html | 72 - .../typedoc/functions/metamaskWallet.html | 72 - .../react/typedoc/functions/paperWallet.html | 72 - .../typedoc/functions/phantomWallet.html | 72 - .../typedoc/functions/rainbowWallet.html | 72 - .../typedoc/functions/resolveMimeType.html | 72 - .../react/typedoc/functions/safeWallet.html | 72 - .../functions/shouldNeverPersistQuery.html | 77 - .../react/typedoc/functions/smartWallet.html | 74 - .../react/typedoc/functions/trustWallet.html | 72 - .../useAcceptDirectListingOffer.html | 86 - .../typedoc/functions/useAccountAdmins.html | 86 - .../functions/useAccountAdminsAndSigners.html | 86 - .../typedoc/functions/useAccountSigners.html | 86 - .../react/typedoc/functions/useAccounts.html | 86 - .../functions/useAccountsForAddress.html | 88 - .../typedoc/functions/useActiveChain.html | 71 - .../functions/useActiveClaimCondition.html | 93 - .../useActiveClaimConditionForWallet.html | 96 - .../typedoc/functions/useActiveListings.html | 89 - .../react/typedoc/functions/useAddAdmin.html | 75 - .../react/typedoc/functions/useAddress.html | 79 - .../typedoc/functions/useAirdropNFT.html | 86 - .../typedoc/functions/useAllRoleMembers.html | 91 - .../react/typedoc/functions/useAppURI.html | 89 - .../typedoc/functions/useAuctionWinner.html | 91 - packages/react/typedoc/functions/useAuth.html | 67 - .../react/typedoc/functions/useBalance.html | 79 - .../typedoc/functions/useBatchesToReveal.html | 88 - .../react/typedoc/functions/useBidBuffer.html | 91 - .../typedoc/functions/useBloctoWallet.html | 78 - .../react/typedoc/functions/useBurnNFT.html | 91 - .../react/typedoc/functions/useBurnToken.html | 86 - .../functions/useBuyDirectListing.html | 84 - .../react/typedoc/functions/useBuyNow.html | 84 - .../functions/useCancelDirectListing.html | 86 - .../functions/useCancelEnglishAuction.html | 86 - .../typedoc/functions/useCancelListing.html | 84 - .../react/typedoc/functions/useChain.html | 78 - .../react/typedoc/functions/useChainId.html | 78 - .../typedoc/functions/useClaimConditions.html | 93 - .../useClaimIneligibilityReasons.html | 93 - .../react/typedoc/functions/useClaimNFT.html | 91 - .../typedoc/functions/useClaimToken.html | 86 - .../functions/useClaimedNFTSupply.html | 83 - .../typedoc/functions/useClaimedNFTs.html | 94 - .../typedoc/functions/useClaimerProofs.html | 101 - .../typedoc/functions/useCoinbaseWallet.html | 81 - .../functions/useCompilerMetadata.html | 72 - .../react/typedoc/functions/useConnect.html | 85 - .../functions/useConnectionStatus.html | 76 - .../react/typedoc/functions/useContract.html | 158 - .../typedoc/functions/useContractEvents.html | 99 - .../functions/useContractMetadata.html | 89 - .../functions/useContractMetadataUpdate.html | 84 - .../typedoc/functions/useContractRead.html | 111 - .../typedoc/functions/useContractType.html | 72 - .../typedoc/functions/useContractWrite.html | 102 - .../typedoc/functions/useCreateAccount.html | 86 - .../functions/useCreateAuctionListing.html | 91 - .../functions/useCreateDirectListing.html | 91 - .../functions/useCreateSessionKey.html | 75 - .../functions/useCreateWalletInstance.html | 85 - .../functions/useDelayedRevealLazyMint.html | 107 - .../typedoc/functions/useDirectListing.html | 91 - .../typedoc/functions/useDirectListings.html | 91 - .../functions/useDirectListingsCount.html | 86 - .../typedoc/functions/useDisconnect.html | 75 - packages/react/typedoc/functions/useENS.html | 67 - .../react/typedoc/functions/useEdition.html | 85 - .../typedoc/functions/useEditionDrop.html | 85 - .../typedoc/functions/useEnglishAuction.html | 91 - .../useEnglishAuctionWinningBid.html | 91 - .../typedoc/functions/useEnglishAuctions.html | 91 - .../functions/useEnglishAuctionsCount.html | 86 - .../functions/useExecuteAuctionSale.html | 84 - .../typedoc/functions/useFrameWallet.html | 81 - .../react/typedoc/functions/useGrantRole.html | 91 - .../functions/useInstalledWallets.html | 76 - .../functions/useIsAccountDeployed.html | 90 - .../typedoc/functions/useIsAddressRole.html | 101 - .../functions/useIsWalletModalOpen.html | 67 - .../react/typedoc/functions/useLazyMint.html | 107 - .../react/typedoc/functions/useListing.html | 89 - .../react/typedoc/functions/useListings.html | 89 - .../typedoc/functions/useListingsCount.html | 84 - .../react/typedoc/functions/useLogin.html | 87 - .../react/typedoc/functions/useLogout.html | 81 - .../react/typedoc/functions/useMagic.html | 78 - .../react/typedoc/functions/useMakeBid.html | 84 - .../react/typedoc/functions/useMakeOffer.html | 84 - .../typedoc/functions/useMarketplace.html | 85 - .../react/typedoc/functions/useMetadata.html | 84 - .../react/typedoc/functions/useMetamask.html | 81 - .../typedoc/functions/useMinimumNextBid.html | 91 - .../react/typedoc/functions/useMintNFT.html | 91 - .../typedoc/functions/useMintNFTSupply.html | 86 - .../react/typedoc/functions/useMintToken.html | 86 - .../react/typedoc/functions/useMultiwrap.html | 85 - packages/react/typedoc/functions/useNFT.html | 96 - .../typedoc/functions/useNFTBalance.html | 96 - .../typedoc/functions/useNFTCollection.html | 85 - .../react/typedoc/functions/useNFTDrop.html | 85 - packages/react/typedoc/functions/useNFTs.html | 97 - .../react/typedoc/functions/useNetwork.html | 78 - .../typedoc/functions/useNetworkMismatch.html | 80 - .../react/typedoc/functions/useOffers.html | 90 - .../react/typedoc/functions/useOwnedNFTs.html | 102 - packages/react/typedoc/functions/usePack.html | 85 - .../typedoc/functions/usePaperWallet.html | 78 - .../functions/usePaperWalletUserEmail.html | 67 - .../typedoc/functions/usePlatformFees.html | 86 - .../functions/usePrimarySaleRecipient.html | 87 - .../typedoc/functions/useRainbowWallet.html | 81 - .../typedoc/functions/useRemoveAdmin.html | 75 - .../functions/useResetClaimConditions.html | 86 - .../functions/useResolvedMediaType.html | 93 - .../typedoc/functions/useRevealLazyMint.html | 91 - .../typedoc/functions/useRevokeRole.html | 91 - .../functions/useRevokeSessionKey.html | 75 - .../typedoc/functions/useRoleMembers.html | 96 - .../typedoc/functions/useRoyaltySettings.html | 86 - packages/react/typedoc/functions/useSDK.html | 74 - packages/react/typedoc/functions/useSafe.html | 78 - .../functions/useSetAllRoleMembers.html | 89 - .../react/typedoc/functions/useSetAppURI.html | 84 - .../functions/useSetClaimConditions.html | 88 - .../functions/useSetConnectedWallet.html | 82 - .../functions/useSetConnectionStatus.html | 80 - .../functions/useSetIsWalletModalOpen.html | 67 - .../functions/useSetSharedMetadata.html | 81 - .../typedoc/functions/useSharedMetadata.html | 86 - .../typedoc/functions/useSignatureDrop.html | 85 - .../typedoc/functions/useSmartWallet.html | 80 - .../react/typedoc/functions/useSplit.html | 85 - .../react/typedoc/functions/useStorage.html | 73 - .../typedoc/functions/useStorageUpload.html | 87 - .../typedoc/functions/useSupportedChains.html | 67 - .../typedoc/functions/useSupportedWallet.html | 72 - .../typedoc/functions/useSwitchAccount.html | 80 - .../typedoc/functions/useSwitchChain.html | 80 - .../functions/useThirdwebAuthContext.html | 67 - .../functions/useThirdwebConfigContext.html | 67 - .../useThirdwebConnectedWalletContext.html | 67 - .../react/typedoc/functions/useToken.html | 85 - .../typedoc/functions/useTokenBalance.html | 88 - .../typedoc/functions/useTokenDecimals.html | 86 - .../react/typedoc/functions/useTokenDrop.html | 85 - .../typedoc/functions/useTokenSupply.html | 86 - .../functions/useTotalCirculatingSupply.html | 91 - .../typedoc/functions/useTotalCount.html | 91 - .../functions/useTransferBatchToken.html | 86 - .../typedoc/functions/useTransferNFT.html | 91 - .../typedoc/functions/useTransferToken.html | 86 - .../typedoc/functions/useTrustWallet.html | 81 - .../functions/useUnclaimedNFTSupply.html | 81 - .../typedoc/functions/useUnclaimedNFTs.html | 92 - .../typedoc/functions/useUpdateMetadata.html | 84 - .../functions/useUpdatePlatformFees.html | 86 - .../useUpdatePrimarySaleRecipient.html | 86 - .../functions/useUpdateRoyaltySettings.html | 86 - packages/react/typedoc/functions/useUser.html | 89 - .../functions/useValidDirectListings.html | 91 - .../functions/useValidEnglishAuctions.html | 91 - packages/react/typedoc/functions/useVote.html | 85 - .../react/typedoc/functions/useWallet.html | 84 - .../typedoc/functions/useWalletConfig.html | 69 - .../typedoc/functions/useWalletConnect.html | 85 - .../typedoc/functions/useWalletConnectV1.html | 81 - .../typedoc/functions/useWalletContext.html | 67 - .../react/typedoc/functions/useWallets.html | 69 - .../functions/useWatchTransactions.html | 81 - .../typedoc/functions/useWinningBid.html | 89 - .../typedoc/functions/walletConnect.html | 72 - .../typedoc/functions/walletConnectV1.html | 77 - .../react/typedoc/functions/zerionWallet.html | 72 - packages/react/typedoc/index.html | 520 - .../typedoc/interfaces/ISecureStorage.html | 127 - .../interfaces/MediaRendererProps.html | 196 - .../react/typedoc/interfaces/MediaType.html | 94 - .../interfaces/ThirdwebAuthConfig.html | 120 - .../interfaces/ThirdwebNftMediaProps.html | 169 - .../interfaces/ThirdwebProviderCoreProps.html | 253 - .../interfaces/ThirdwebSDKProviderProps.html | 168 - .../typedoc/interfaces/UserWithData.html | 112 - packages/react/typedoc/modules.html | 326 - .../typedoc/types/AcceptDirectOffer.html | 70 - .../react/typedoc/types/AirdropNFTParams.html | 73 - .../react/typedoc/types/BurnNFTParams.html | 73 - .../react/typedoc/types/BuyNowParams.html | 68 - packages/react/typedoc/types/Chain.html | 78 - .../types/ClaimIneligibilityParams.html | 73 - .../react/typedoc/types/ClaimNFTParams.html | 80 - .../typedoc/types/ClaimNFTReturnType.html | 66 - .../react/typedoc/types/ClaimTokenParams.html | 72 - .../react/typedoc/types/ConnectUIProps.html | 199 - .../typedoc/types/ConnectWalletProps.html | 188 - .../types/DelayedRevealLazyMintInput.html | 75 - .../react/typedoc/types/DropContract.html | 66 - .../react/typedoc/types/Erc721OrErc1155.html | 66 - .../typedoc/types/ExecuteAuctionSale.html | 68 - .../typedoc/types/ExtraCoreWalletOptions.html | 68 - .../react/typedoc/types/MakeBidParams.html | 70 - .../react/typedoc/types/MakeOfferParams.html | 72 - .../react/typedoc/types/MintNFTParams.html | 75 - .../typedoc/types/MintNFTReturnType.html | 71 - .../typedoc/types/MintNFTSupplyParams.html | 75 - packages/react/typedoc/types/NFTContract.html | 69 - .../typedoc/types/NetworkSelectorProps.html | 107 - .../react/typedoc/types/RequiredParam.html | 71 - .../typedoc/types/RevealLazyMintInput.html | 73 - .../typedoc/types/RevealableContract.html | 66 - .../react/typedoc/types/SelectUIProps.html | 114 - .../types/SetClaimConditionsParams.html | 73 - packages/react/typedoc/types/Theme.html | 63 - .../react/typedoc/types/ThemeOverrides.html | 63 - .../react/typedoc/types/TokenBurnParams.html | 71 - .../react/typedoc/types/TokenContract.html | 69 - packages/react/typedoc/types/TokenParams.html | 73 - .../typedoc/types/TransferNFTParams.html | 75 - .../typedoc/types/UseContractResult.html | 73 - .../types/UseWatchTransactionsParams.html | 68 - .../react/typedoc/types/WalletAddress.html | 66 - packages/react/typedoc/types/WalletClass.html | 85 - .../react/typedoc/types/WalletConfig.html | 135 - .../react/typedoc/types/WalletInstance.html | 63 - .../react/typedoc/types/WalletOptions.html | 63 - .../variables/ThirdwebThemeContext.html | 63 - packages/react/typedoc/variables/__DEV__.html | 63 - .../typedoc/variables/compilerMetadata.html | 85 - .../react/typedoc/variables/contractType.html | 85 - .../typedoc/variables/defaultTokens.html | 63 - .../typedoc/variables/defaultWallets.html | 63 - 263 files changed, 75329 deletions(-) delete mode 100644 packages/react/typedoc/.nojekyll delete mode 100644 packages/react/typedoc/assets/highlight.css delete mode 100644 packages/react/typedoc/assets/main.js delete mode 100644 packages/react/typedoc/assets/navigation.js delete mode 100644 packages/react/typedoc/assets/search.js delete mode 100644 packages/react/typedoc/assets/style.css delete mode 100644 packages/react/typedoc/documentation.json delete mode 100644 packages/react/typedoc/functions/ConnectModalInline.html delete mode 100644 packages/react/typedoc/functions/ConnectWallet.html delete mode 100644 packages/react/typedoc/functions/MediaRenderer.html delete mode 100644 packages/react/typedoc/functions/NetworkSelector.html delete mode 100644 packages/react/typedoc/functions/ThirdwebAuthProvider.html delete mode 100644 packages/react/typedoc/functions/ThirdwebConfigProvider.html delete mode 100644 packages/react/typedoc/functions/ThirdwebConnectedWalletProvider.html delete mode 100644 packages/react/typedoc/functions/ThirdwebNftMedia.html delete mode 100644 packages/react/typedoc/functions/ThirdwebProvider.html delete mode 100644 packages/react/typedoc/functions/ThirdwebProviderCore.html delete mode 100644 packages/react/typedoc/functions/ThirdwebSDKProvider.html delete mode 100644 packages/react/typedoc/functions/Web3Button.html delete mode 100644 packages/react/typedoc/functions/bloctoWallet.html delete mode 100644 packages/react/typedoc/functions/coinbaseWallet.html delete mode 100644 packages/react/typedoc/functions/darkTheme.html delete mode 100644 packages/react/typedoc/functions/embeddedWallet.html delete mode 100644 packages/react/typedoc/functions/frameWallet.html delete mode 100644 packages/react/typedoc/functions/getErc1155.html delete mode 100644 packages/react/typedoc/functions/getErc20.html delete mode 100644 packages/react/typedoc/functions/getErc721.html delete mode 100644 packages/react/typedoc/functions/getErcs.html delete mode 100644 packages/react/typedoc/functions/lightTheme.html delete mode 100644 packages/react/typedoc/functions/localWallet.html delete mode 100644 packages/react/typedoc/functions/magicLink.html delete mode 100644 packages/react/typedoc/functions/metamaskWallet.html delete mode 100644 packages/react/typedoc/functions/paperWallet.html delete mode 100644 packages/react/typedoc/functions/phantomWallet.html delete mode 100644 packages/react/typedoc/functions/rainbowWallet.html delete mode 100644 packages/react/typedoc/functions/resolveMimeType.html delete mode 100644 packages/react/typedoc/functions/safeWallet.html delete mode 100644 packages/react/typedoc/functions/shouldNeverPersistQuery.html delete mode 100644 packages/react/typedoc/functions/smartWallet.html delete mode 100644 packages/react/typedoc/functions/trustWallet.html delete mode 100644 packages/react/typedoc/functions/useAcceptDirectListingOffer.html delete mode 100644 packages/react/typedoc/functions/useAccountAdmins.html delete mode 100644 packages/react/typedoc/functions/useAccountAdminsAndSigners.html delete mode 100644 packages/react/typedoc/functions/useAccountSigners.html delete mode 100644 packages/react/typedoc/functions/useAccounts.html delete mode 100644 packages/react/typedoc/functions/useAccountsForAddress.html delete mode 100644 packages/react/typedoc/functions/useActiveChain.html delete mode 100644 packages/react/typedoc/functions/useActiveClaimCondition.html delete mode 100644 packages/react/typedoc/functions/useActiveClaimConditionForWallet.html delete mode 100644 packages/react/typedoc/functions/useActiveListings.html delete mode 100644 packages/react/typedoc/functions/useAddAdmin.html delete mode 100644 packages/react/typedoc/functions/useAddress.html delete mode 100644 packages/react/typedoc/functions/useAirdropNFT.html delete mode 100644 packages/react/typedoc/functions/useAllRoleMembers.html delete mode 100644 packages/react/typedoc/functions/useAppURI.html delete mode 100644 packages/react/typedoc/functions/useAuctionWinner.html delete mode 100644 packages/react/typedoc/functions/useAuth.html delete mode 100644 packages/react/typedoc/functions/useBalance.html delete mode 100644 packages/react/typedoc/functions/useBatchesToReveal.html delete mode 100644 packages/react/typedoc/functions/useBidBuffer.html delete mode 100644 packages/react/typedoc/functions/useBloctoWallet.html delete mode 100644 packages/react/typedoc/functions/useBurnNFT.html delete mode 100644 packages/react/typedoc/functions/useBurnToken.html delete mode 100644 packages/react/typedoc/functions/useBuyDirectListing.html delete mode 100644 packages/react/typedoc/functions/useBuyNow.html delete mode 100644 packages/react/typedoc/functions/useCancelDirectListing.html delete mode 100644 packages/react/typedoc/functions/useCancelEnglishAuction.html delete mode 100644 packages/react/typedoc/functions/useCancelListing.html delete mode 100644 packages/react/typedoc/functions/useChain.html delete mode 100644 packages/react/typedoc/functions/useChainId.html delete mode 100644 packages/react/typedoc/functions/useClaimConditions.html delete mode 100644 packages/react/typedoc/functions/useClaimIneligibilityReasons.html delete mode 100644 packages/react/typedoc/functions/useClaimNFT.html delete mode 100644 packages/react/typedoc/functions/useClaimToken.html delete mode 100644 packages/react/typedoc/functions/useClaimedNFTSupply.html delete mode 100644 packages/react/typedoc/functions/useClaimedNFTs.html delete mode 100644 packages/react/typedoc/functions/useClaimerProofs.html delete mode 100644 packages/react/typedoc/functions/useCoinbaseWallet.html delete mode 100644 packages/react/typedoc/functions/useCompilerMetadata.html delete mode 100644 packages/react/typedoc/functions/useConnect.html delete mode 100644 packages/react/typedoc/functions/useConnectionStatus.html delete mode 100644 packages/react/typedoc/functions/useContract.html delete mode 100644 packages/react/typedoc/functions/useContractEvents.html delete mode 100644 packages/react/typedoc/functions/useContractMetadata.html delete mode 100644 packages/react/typedoc/functions/useContractMetadataUpdate.html delete mode 100644 packages/react/typedoc/functions/useContractRead.html delete mode 100644 packages/react/typedoc/functions/useContractType.html delete mode 100644 packages/react/typedoc/functions/useContractWrite.html delete mode 100644 packages/react/typedoc/functions/useCreateAccount.html delete mode 100644 packages/react/typedoc/functions/useCreateAuctionListing.html delete mode 100644 packages/react/typedoc/functions/useCreateDirectListing.html delete mode 100644 packages/react/typedoc/functions/useCreateSessionKey.html delete mode 100644 packages/react/typedoc/functions/useCreateWalletInstance.html delete mode 100644 packages/react/typedoc/functions/useDelayedRevealLazyMint.html delete mode 100644 packages/react/typedoc/functions/useDirectListing.html delete mode 100644 packages/react/typedoc/functions/useDirectListings.html delete mode 100644 packages/react/typedoc/functions/useDirectListingsCount.html delete mode 100644 packages/react/typedoc/functions/useDisconnect.html delete mode 100644 packages/react/typedoc/functions/useENS.html delete mode 100644 packages/react/typedoc/functions/useEdition.html delete mode 100644 packages/react/typedoc/functions/useEditionDrop.html delete mode 100644 packages/react/typedoc/functions/useEnglishAuction.html delete mode 100644 packages/react/typedoc/functions/useEnglishAuctionWinningBid.html delete mode 100644 packages/react/typedoc/functions/useEnglishAuctions.html delete mode 100644 packages/react/typedoc/functions/useEnglishAuctionsCount.html delete mode 100644 packages/react/typedoc/functions/useExecuteAuctionSale.html delete mode 100644 packages/react/typedoc/functions/useFrameWallet.html delete mode 100644 packages/react/typedoc/functions/useGrantRole.html delete mode 100644 packages/react/typedoc/functions/useInstalledWallets.html delete mode 100644 packages/react/typedoc/functions/useIsAccountDeployed.html delete mode 100644 packages/react/typedoc/functions/useIsAddressRole.html delete mode 100644 packages/react/typedoc/functions/useIsWalletModalOpen.html delete mode 100644 packages/react/typedoc/functions/useLazyMint.html delete mode 100644 packages/react/typedoc/functions/useListing.html delete mode 100644 packages/react/typedoc/functions/useListings.html delete mode 100644 packages/react/typedoc/functions/useListingsCount.html delete mode 100644 packages/react/typedoc/functions/useLogin.html delete mode 100644 packages/react/typedoc/functions/useLogout.html delete mode 100644 packages/react/typedoc/functions/useMagic.html delete mode 100644 packages/react/typedoc/functions/useMakeBid.html delete mode 100644 packages/react/typedoc/functions/useMakeOffer.html delete mode 100644 packages/react/typedoc/functions/useMarketplace.html delete mode 100644 packages/react/typedoc/functions/useMetadata.html delete mode 100644 packages/react/typedoc/functions/useMetamask.html delete mode 100644 packages/react/typedoc/functions/useMinimumNextBid.html delete mode 100644 packages/react/typedoc/functions/useMintNFT.html delete mode 100644 packages/react/typedoc/functions/useMintNFTSupply.html delete mode 100644 packages/react/typedoc/functions/useMintToken.html delete mode 100644 packages/react/typedoc/functions/useMultiwrap.html delete mode 100644 packages/react/typedoc/functions/useNFT.html delete mode 100644 packages/react/typedoc/functions/useNFTBalance.html delete mode 100644 packages/react/typedoc/functions/useNFTCollection.html delete mode 100644 packages/react/typedoc/functions/useNFTDrop.html delete mode 100644 packages/react/typedoc/functions/useNFTs.html delete mode 100644 packages/react/typedoc/functions/useNetwork.html delete mode 100644 packages/react/typedoc/functions/useNetworkMismatch.html delete mode 100644 packages/react/typedoc/functions/useOffers.html delete mode 100644 packages/react/typedoc/functions/useOwnedNFTs.html delete mode 100644 packages/react/typedoc/functions/usePack.html delete mode 100644 packages/react/typedoc/functions/usePaperWallet.html delete mode 100644 packages/react/typedoc/functions/usePaperWalletUserEmail.html delete mode 100644 packages/react/typedoc/functions/usePlatformFees.html delete mode 100644 packages/react/typedoc/functions/usePrimarySaleRecipient.html delete mode 100644 packages/react/typedoc/functions/useRainbowWallet.html delete mode 100644 packages/react/typedoc/functions/useRemoveAdmin.html delete mode 100644 packages/react/typedoc/functions/useResetClaimConditions.html delete mode 100644 packages/react/typedoc/functions/useResolvedMediaType.html delete mode 100644 packages/react/typedoc/functions/useRevealLazyMint.html delete mode 100644 packages/react/typedoc/functions/useRevokeRole.html delete mode 100644 packages/react/typedoc/functions/useRevokeSessionKey.html delete mode 100644 packages/react/typedoc/functions/useRoleMembers.html delete mode 100644 packages/react/typedoc/functions/useRoyaltySettings.html delete mode 100644 packages/react/typedoc/functions/useSDK.html delete mode 100644 packages/react/typedoc/functions/useSafe.html delete mode 100644 packages/react/typedoc/functions/useSetAllRoleMembers.html delete mode 100644 packages/react/typedoc/functions/useSetAppURI.html delete mode 100644 packages/react/typedoc/functions/useSetClaimConditions.html delete mode 100644 packages/react/typedoc/functions/useSetConnectedWallet.html delete mode 100644 packages/react/typedoc/functions/useSetConnectionStatus.html delete mode 100644 packages/react/typedoc/functions/useSetIsWalletModalOpen.html delete mode 100644 packages/react/typedoc/functions/useSetSharedMetadata.html delete mode 100644 packages/react/typedoc/functions/useSharedMetadata.html delete mode 100644 packages/react/typedoc/functions/useSignatureDrop.html delete mode 100644 packages/react/typedoc/functions/useSmartWallet.html delete mode 100644 packages/react/typedoc/functions/useSplit.html delete mode 100644 packages/react/typedoc/functions/useStorage.html delete mode 100644 packages/react/typedoc/functions/useStorageUpload.html delete mode 100644 packages/react/typedoc/functions/useSupportedChains.html delete mode 100644 packages/react/typedoc/functions/useSupportedWallet.html delete mode 100644 packages/react/typedoc/functions/useSwitchAccount.html delete mode 100644 packages/react/typedoc/functions/useSwitchChain.html delete mode 100644 packages/react/typedoc/functions/useThirdwebAuthContext.html delete mode 100644 packages/react/typedoc/functions/useThirdwebConfigContext.html delete mode 100644 packages/react/typedoc/functions/useThirdwebConnectedWalletContext.html delete mode 100644 packages/react/typedoc/functions/useToken.html delete mode 100644 packages/react/typedoc/functions/useTokenBalance.html delete mode 100644 packages/react/typedoc/functions/useTokenDecimals.html delete mode 100644 packages/react/typedoc/functions/useTokenDrop.html delete mode 100644 packages/react/typedoc/functions/useTokenSupply.html delete mode 100644 packages/react/typedoc/functions/useTotalCirculatingSupply.html delete mode 100644 packages/react/typedoc/functions/useTotalCount.html delete mode 100644 packages/react/typedoc/functions/useTransferBatchToken.html delete mode 100644 packages/react/typedoc/functions/useTransferNFT.html delete mode 100644 packages/react/typedoc/functions/useTransferToken.html delete mode 100644 packages/react/typedoc/functions/useTrustWallet.html delete mode 100644 packages/react/typedoc/functions/useUnclaimedNFTSupply.html delete mode 100644 packages/react/typedoc/functions/useUnclaimedNFTs.html delete mode 100644 packages/react/typedoc/functions/useUpdateMetadata.html delete mode 100644 packages/react/typedoc/functions/useUpdatePlatformFees.html delete mode 100644 packages/react/typedoc/functions/useUpdatePrimarySaleRecipient.html delete mode 100644 packages/react/typedoc/functions/useUpdateRoyaltySettings.html delete mode 100644 packages/react/typedoc/functions/useUser.html delete mode 100644 packages/react/typedoc/functions/useValidDirectListings.html delete mode 100644 packages/react/typedoc/functions/useValidEnglishAuctions.html delete mode 100644 packages/react/typedoc/functions/useVote.html delete mode 100644 packages/react/typedoc/functions/useWallet.html delete mode 100644 packages/react/typedoc/functions/useWalletConfig.html delete mode 100644 packages/react/typedoc/functions/useWalletConnect.html delete mode 100644 packages/react/typedoc/functions/useWalletConnectV1.html delete mode 100644 packages/react/typedoc/functions/useWalletContext.html delete mode 100644 packages/react/typedoc/functions/useWallets.html delete mode 100644 packages/react/typedoc/functions/useWatchTransactions.html delete mode 100644 packages/react/typedoc/functions/useWinningBid.html delete mode 100644 packages/react/typedoc/functions/walletConnect.html delete mode 100644 packages/react/typedoc/functions/walletConnectV1.html delete mode 100644 packages/react/typedoc/functions/zerionWallet.html delete mode 100644 packages/react/typedoc/index.html delete mode 100644 packages/react/typedoc/interfaces/ISecureStorage.html delete mode 100644 packages/react/typedoc/interfaces/MediaRendererProps.html delete mode 100644 packages/react/typedoc/interfaces/MediaType.html delete mode 100644 packages/react/typedoc/interfaces/ThirdwebAuthConfig.html delete mode 100644 packages/react/typedoc/interfaces/ThirdwebNftMediaProps.html delete mode 100644 packages/react/typedoc/interfaces/ThirdwebProviderCoreProps.html delete mode 100644 packages/react/typedoc/interfaces/ThirdwebSDKProviderProps.html delete mode 100644 packages/react/typedoc/interfaces/UserWithData.html delete mode 100644 packages/react/typedoc/modules.html delete mode 100644 packages/react/typedoc/types/AcceptDirectOffer.html delete mode 100644 packages/react/typedoc/types/AirdropNFTParams.html delete mode 100644 packages/react/typedoc/types/BurnNFTParams.html delete mode 100644 packages/react/typedoc/types/BuyNowParams.html delete mode 100644 packages/react/typedoc/types/Chain.html delete mode 100644 packages/react/typedoc/types/ClaimIneligibilityParams.html delete mode 100644 packages/react/typedoc/types/ClaimNFTParams.html delete mode 100644 packages/react/typedoc/types/ClaimNFTReturnType.html delete mode 100644 packages/react/typedoc/types/ClaimTokenParams.html delete mode 100644 packages/react/typedoc/types/ConnectUIProps.html delete mode 100644 packages/react/typedoc/types/ConnectWalletProps.html delete mode 100644 packages/react/typedoc/types/DelayedRevealLazyMintInput.html delete mode 100644 packages/react/typedoc/types/DropContract.html delete mode 100644 packages/react/typedoc/types/Erc721OrErc1155.html delete mode 100644 packages/react/typedoc/types/ExecuteAuctionSale.html delete mode 100644 packages/react/typedoc/types/ExtraCoreWalletOptions.html delete mode 100644 packages/react/typedoc/types/MakeBidParams.html delete mode 100644 packages/react/typedoc/types/MakeOfferParams.html delete mode 100644 packages/react/typedoc/types/MintNFTParams.html delete mode 100644 packages/react/typedoc/types/MintNFTReturnType.html delete mode 100644 packages/react/typedoc/types/MintNFTSupplyParams.html delete mode 100644 packages/react/typedoc/types/NFTContract.html delete mode 100644 packages/react/typedoc/types/NetworkSelectorProps.html delete mode 100644 packages/react/typedoc/types/RequiredParam.html delete mode 100644 packages/react/typedoc/types/RevealLazyMintInput.html delete mode 100644 packages/react/typedoc/types/RevealableContract.html delete mode 100644 packages/react/typedoc/types/SelectUIProps.html delete mode 100644 packages/react/typedoc/types/SetClaimConditionsParams.html delete mode 100644 packages/react/typedoc/types/Theme.html delete mode 100644 packages/react/typedoc/types/ThemeOverrides.html delete mode 100644 packages/react/typedoc/types/TokenBurnParams.html delete mode 100644 packages/react/typedoc/types/TokenContract.html delete mode 100644 packages/react/typedoc/types/TokenParams.html delete mode 100644 packages/react/typedoc/types/TransferNFTParams.html delete mode 100644 packages/react/typedoc/types/UseContractResult.html delete mode 100644 packages/react/typedoc/types/UseWatchTransactionsParams.html delete mode 100644 packages/react/typedoc/types/WalletAddress.html delete mode 100644 packages/react/typedoc/types/WalletClass.html delete mode 100644 packages/react/typedoc/types/WalletConfig.html delete mode 100644 packages/react/typedoc/types/WalletInstance.html delete mode 100644 packages/react/typedoc/types/WalletOptions.html delete mode 100644 packages/react/typedoc/variables/ThirdwebThemeContext.html delete mode 100644 packages/react/typedoc/variables/__DEV__.html delete mode 100644 packages/react/typedoc/variables/compilerMetadata.html delete mode 100644 packages/react/typedoc/variables/contractType.html delete mode 100644 packages/react/typedoc/variables/defaultTokens.html delete mode 100644 packages/react/typedoc/variables/defaultWallets.html diff --git a/packages/react/typedoc/.nojekyll b/packages/react/typedoc/.nojekyll deleted file mode 100644 index e2ac6616add..00000000000 --- a/packages/react/typedoc/.nojekyll +++ /dev/null @@ -1 +0,0 @@ -TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/packages/react/typedoc/assets/highlight.css b/packages/react/typedoc/assets/highlight.css deleted file mode 100644 index e69082b7c00..00000000000 --- a/packages/react/typedoc/assets/highlight.css +++ /dev/null @@ -1,127 +0,0 @@ -:root { - --light-hl-0: #795E26; - --dark-hl-0: #DCDCAA; - --light-hl-1: #000000; - --dark-hl-1: #D4D4D4; - --light-hl-2: #A31515; - --dark-hl-2: #CE9178; - --light-hl-3: #0000FF; - --dark-hl-3: #569CD6; - --light-hl-4: #AF00DB; - --dark-hl-4: #C586C0; - --light-hl-5: #001080; - --dark-hl-5: #9CDCFE; - --light-hl-6: #800000; - --dark-hl-6: #808080; - --light-hl-7: #267F99; - --dark-hl-7: #4EC9B0; - --light-hl-8: #E50000; - --dark-hl-8: #9CDCFE; - --light-hl-9: #000000FF; - --dark-hl-9: #D4D4D4; - --light-hl-10: #0070C1; - --dark-hl-10: #4FC1FF; - --light-hl-11: #800000; - --dark-hl-11: #569CD6; - --light-hl-12: #008000; - --dark-hl-12: #6A9955; - --light-hl-13: #098658; - --dark-hl-13: #B5CEA8; - --light-hl-14: #CD3131; - --dark-hl-14: #F44747; - --light-code-background: #FFFFFF; - --dark-code-background: #1E1E1E; -} - -@media (prefers-color-scheme: light) { :root { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); - --hl-9: var(--light-hl-9); - --hl-10: var(--light-hl-10); - --hl-11: var(--light-hl-11); - --hl-12: var(--light-hl-12); - --hl-13: var(--light-hl-13); - --hl-14: var(--light-hl-14); - --code-background: var(--light-code-background); -} } - -@media (prefers-color-scheme: dark) { :root { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); - --hl-9: var(--dark-hl-9); - --hl-10: var(--dark-hl-10); - --hl-11: var(--dark-hl-11); - --hl-12: var(--dark-hl-12); - --hl-13: var(--dark-hl-13); - --hl-14: var(--dark-hl-14); - --code-background: var(--dark-code-background); -} } - -:root[data-theme='light'] { - --hl-0: var(--light-hl-0); - --hl-1: var(--light-hl-1); - --hl-2: var(--light-hl-2); - --hl-3: var(--light-hl-3); - --hl-4: var(--light-hl-4); - --hl-5: var(--light-hl-5); - --hl-6: var(--light-hl-6); - --hl-7: var(--light-hl-7); - --hl-8: var(--light-hl-8); - --hl-9: var(--light-hl-9); - --hl-10: var(--light-hl-10); - --hl-11: var(--light-hl-11); - --hl-12: var(--light-hl-12); - --hl-13: var(--light-hl-13); - --hl-14: var(--light-hl-14); - --code-background: var(--light-code-background); -} - -:root[data-theme='dark'] { - --hl-0: var(--dark-hl-0); - --hl-1: var(--dark-hl-1); - --hl-2: var(--dark-hl-2); - --hl-3: var(--dark-hl-3); - --hl-4: var(--dark-hl-4); - --hl-5: var(--dark-hl-5); - --hl-6: var(--dark-hl-6); - --hl-7: var(--dark-hl-7); - --hl-8: var(--dark-hl-8); - --hl-9: var(--dark-hl-9); - --hl-10: var(--dark-hl-10); - --hl-11: var(--dark-hl-11); - --hl-12: var(--dark-hl-12); - --hl-13: var(--dark-hl-13); - --hl-14: var(--dark-hl-14); - --code-background: var(--dark-code-background); -} - -.hl-0 { color: var(--hl-0); } -.hl-1 { color: var(--hl-1); } -.hl-2 { color: var(--hl-2); } -.hl-3 { color: var(--hl-3); } -.hl-4 { color: var(--hl-4); } -.hl-5 { color: var(--hl-5); } -.hl-6 { color: var(--hl-6); } -.hl-7 { color: var(--hl-7); } -.hl-8 { color: var(--hl-8); } -.hl-9 { color: var(--hl-9); } -.hl-10 { color: var(--hl-10); } -.hl-11 { color: var(--hl-11); } -.hl-12 { color: var(--hl-12); } -.hl-13 { color: var(--hl-13); } -.hl-14 { color: var(--hl-14); } -pre, code { background: var(--code-background); } diff --git a/packages/react/typedoc/assets/main.js b/packages/react/typedoc/assets/main.js deleted file mode 100644 index d0aa8d5f9ad..00000000000 --- a/packages/react/typedoc/assets/main.js +++ /dev/null @@ -1,59 +0,0 @@ -"use strict"; -"use strict";(()=>{var Pe=Object.create;var ne=Object.defineProperty;var Ie=Object.getOwnPropertyDescriptor;var Oe=Object.getOwnPropertyNames;var _e=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var Me=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Fe=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Oe(e))!Re.call(t,i)&&i!==n&&ne(t,i,{get:()=>e[i],enumerable:!(r=Ie(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Pe(_e(t)):{},Fe(e||!t||!t.__esModule?ne(n,"default",{value:t,enumerable:!0}):n,t));var ae=Me((se,oe)=>{(function(){var t=function(e){var n=new t.Builder;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),n.searchPipeline.add(t.stemmer),e.call(n,n),n.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(n){e.console&&console.warn&&console.warn(n)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var n=Object.create(null),r=Object.keys(e),i=0;i0){var d=t.utils.clone(n)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(r.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. -`,e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(r){var i=t.Pipeline.registeredFunctions[r];if(i)n.add(i);else throw new Error("Cannot load unregistered function: "+r)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(n){t.Pipeline.warnIfFunctionNotRegistered(n),this._stack.push(n)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");r=r+1,this._stack.splice(r,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var r=this._stack.indexOf(e);if(r==-1)throw new Error("Cannot find existingFn");this._stack.splice(r,0,n)},t.Pipeline.prototype.remove=function(e){var n=this._stack.indexOf(e);n!=-1&&this._stack.splice(n,1)},t.Pipeline.prototype.run=function(e){for(var n=this._stack.length,r=0;r1&&(oe&&(r=s),o!=e);)i=r-n,s=n+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(n+=r[u+1]*i[d+1],u+=2,d+=2);return n},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),n=1,r=0;n0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return r},t.TokenSet.fromString=function(e){for(var n=new t.TokenSet,r=n,i=0,s=e.length;i=e;n--){var r=this.uncheckedNodes[n],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(n){var r=new t.QueryParser(e,n);r.parse()})},t.Index.prototype.query=function(e){for(var n=new t.Query(this.fields),r=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,n){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=n||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,n;do e=this.next(),n=e.charCodeAt(0);while(n>47&&n<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var n=e.next();if(n==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(n.charCodeAt(0)==92){e.escapeCharacter();continue}if(n==":")return t.QueryLexer.lexField;if(n=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(n=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(n=="+"&&e.width()===1||n=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(n.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,n){this.lexer=new t.QueryLexer(e),this.query=n,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var n=e.peekLexeme();if(n!=null)switch(n.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+n.type;throw n.str.length>=1&&(r+=" with value '"+n.str+"'"),new t.QueryParseError(r,n.start,n.end)}},t.QueryParser.parsePresence=function(e){var n=e.consumeLexeme();if(n!=null){switch(n.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+n.str+"'";throw new t.QueryParseError(r,n.start,n.end)}var i=e.peekLexeme();if(i==null){var r="expecting term or field, found nothing";throw new t.QueryParseError(r,n.start,n.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var r="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(r,i.start,i.end)}}},t.QueryParser.parseField=function(e){var n=e.consumeLexeme();if(n!=null){if(e.query.allFields.indexOf(n.str)==-1){var r=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+n.str+"', possible fields: "+r;throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.fields=[n.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,n.start,n.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var n=e.consumeLexeme();if(n!=null){e.currentClause.term=n.str.toLowerCase(),n.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(r==null){e.nextClause();return}switch(r.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new t.QueryParseError(i,r.start,r.end)}}},t.QueryParser.parseEditDistance=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.editDistance=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var n=e.consumeLexeme();if(n!=null){var r=parseInt(n.str,10);if(isNaN(r)){var i="boost must be numeric";throw new t.QueryParseError(i,n.start,n.end)}e.currentClause.boost=r;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,n){typeof define=="function"&&define.amd?define(n):typeof se=="object"?oe.exports=n():e.lunr=n()}(this,function(){return t})})()});var re=[];function G(t,e){re.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){re.forEach(n=>{e.querySelectorAll(n.selector).forEach(r=>{r.dataset.hasInstance||(new n.constructor({el:r,app:this}),r.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),n=e?.parentElement;for(;n&&!n.classList.contains(".tsd-navigation");)n instanceof HTMLDetailsElement&&(n.open=!0),n=n.parentElement;if(e){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let n=e.parentElement;for(;n&&n.tagName!=="SECTION";)n=n.parentElement;if(n&&n.offsetParent==null){this.alwaysVisibleMember=n,n.classList.add("always-visible");let r=document.createElement("p");r.classList.add("warning"),r.textContent="This member is normally hidden due to your filter settings.",n.prepend(r)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let n;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(n),n=setTimeout(()=>{e.classList.remove("visible"),n=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var de=De(ae());async function le(t,e){if(!window.searchData)return;let n=await fetch(window.searchData),r=new Blob([await n.arrayBuffer()]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();t.data=i,t.index=de.Index.load(i.index),e.classList.remove("loading"),e.classList.add("ready")}function he(){let t=document.getElementById("tsd-search");if(!t)return;let e={base:t.dataset.base+"/"},n=document.getElementById("tsd-search-script");t.classList.add("loading"),n&&(n.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),n.addEventListener("load",()=>{le(e,t)}),le(e,t));let r=document.querySelector("#tsd-search input"),i=document.querySelector("#tsd-search .results");if(!r||!i)throw new Error("The input field or the result list wrapper was not found");let s=!1;i.addEventListener("mousedown",()=>s=!0),i.addEventListener("mouseup",()=>{s=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{s||(s=!1,t.classList.remove("has-focus"))}),Ae(t,i,r,e)}function Ae(t,e,n,r){n.addEventListener("input",ie(()=>{Ne(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(e,n):s.key=="Escape"?n.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),n.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!n.matches(":focus")&&s.key==="/"&&(n.focus(),s.preventDefault())})}function Ne(t,e,n,r){if(!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s;if(i){let o=i.split(" ").map(a=>a.length?`*${a}*`:"").join(" ");s=r.index.search(o)}else s=[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o`,d=ce(l.name,i);globalThis.DEBUG_SEARCH_WEIGHTS&&(d+=` (score: ${s[o].score.toFixed(2)})`),l.parent&&(d=` - ${ce(l.parent,i)}.${d}`);let v=document.createElement("li");v.classList.value=l.classes??"";let f=document.createElement("a");f.href=r.base+l.url,f.innerHTML=u+d,v.append(f),e.appendChild(v)}}function ue(t,e){let n=t.querySelector(".current");if(!n)n=t.querySelector(e==1?"li:first-child":"li:last-child"),n&&n.classList.add("current");else{let r=n;if(e===1)do r=r.nextElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);else do r=r.previousElementSibling??void 0;while(r instanceof HTMLElement&&r.offsetParent==null);r&&(n.classList.remove("current"),r.classList.add("current"))}}function Ve(t,e){let n=t.querySelector(".current");if(n||(n=t.querySelector("li:first-child")),n){let r=n.querySelector("a");r&&(window.location.href=r.href),e.blur()}}function ce(t,e){if(e==="")return t;let n=t.toLocaleLowerCase(),r=e.toLocaleLowerCase(),i=[],s=0,o=n.indexOf(r);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(K(t.substring(s))),i.join("")}var Be={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Be[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",B="mouseup",J={x:0,y:0},fe=!1,ee=!1,He=!1,D=!1,me=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(me?"is-mobile":"not-mobile");me&&"ontouchstart"in document.documentElement&&(He=!0,F="touchstart",pe="touchmove",B="touchend");document.addEventListener(F,t=>{ee=!0,D=!1;let e=F=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(pe,t=>{if(ee&&!D){let e=F=="touchstart"?t.targetTouches[0]:t,n=J.x-(e.pageX||0),r=J.y-(e.pageY||0);D=Math.sqrt(n*n+r*r)>10}});document.addEventListener(B,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(B,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){D||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!D&&this.active&&n.target.closest(".col-sidebar")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var Z=class extends C{constructor(n){super(n);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let r=Q.getItem(this.key);this.el.open=r?r==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update());let i=this.summary.querySelector("a");i&&i.addEventListener("click",()=>{location.assign(i.href)}),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ge(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}var Le;function be(){let t=document.getElementById("tsd-nav-script");t&&(t.addEventListener("load",xe),xe())}async function xe(){let t=document.getElementById("tsd-nav-container");if(!t||!window.navigationData)return;let n=await(await fetch(window.navigationData)).arrayBuffer(),r=new Blob([n]).stream().pipeThrough(new DecompressionStream("gzip")),i=await new Response(r).json();Le=t.dataset.base+"/",t.innerHTML="";for(let s of i)we(s,t,[]);window.app.createComponents(t),window.app.ensureActivePageVisible()}function we(t,e,n){let r=e.appendChild(document.createElement("li"));if(t.children){let i=[...n,t.text],s=r.appendChild(document.createElement("details"));s.className=t.class?`${t.class} tsd-index-accordion`:"tsd-index-accordion",s.dataset.key=i.join("$");let o=s.appendChild(document.createElement("summary"));o.className="tsd-accordion-summary",o.innerHTML='',Ee(t,o);let a=s.appendChild(document.createElement("div"));a.className="tsd-accordion-details";let l=a.appendChild(document.createElement("ul"));l.className="tsd-nested-navigation";for(let u of t.children)we(u,l,i)}else Ee(t,r,t.class)}function Ee(t,e,n){if(t.path){let r=e.appendChild(document.createElement("a"));r.href=Le+t.path,n&&(r.className=n),location.href===r.href&&r.classList.add("current"),t.kind&&(r.innerHTML=``),r.appendChild(document.createElement("span")).textContent=t.text}else e.appendChild(document.createElement("span")).textContent=t.text}G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var Se=document.getElementById("tsd-theme");Se&&ge(Se);var je=new U;Object.defineProperty(window,"app",{value:je});he();be();})(); -/*! Bundled license information: - -lunr/lunr.js: - (** - * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 - * Copyright (C) 2020 Oliver Nightingale - * @license MIT - *) - (*! - * lunr.utils - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Set - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.tokenizer - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Pipeline - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Vector - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.stemmer - * Copyright (C) 2020 Oliver Nightingale - * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt - *) - (*! - * lunr.stopWordFilter - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.trimmer - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.TokenSet - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Index - * Copyright (C) 2020 Oliver Nightingale - *) - (*! - * lunr.Builder - * Copyright (C) 2020 Oliver Nightingale - *) -*/ diff --git a/packages/react/typedoc/assets/navigation.js b/packages/react/typedoc/assets/navigation.js deleted file mode 100644 index d254fb70a2f..00000000000 --- a/packages/react/typedoc/assets/navigation.js +++ /dev/null @@ -1 +0,0 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE52cW3PbuBlA/4ufs03sbTbTffMtHU8i25Xs+KHTycAkJGEMXgqC1mp3+t8LkpJIXL6L9LI74+/gAARxB5V//3Vm5R/27Pezu4XMWiMXtjJiJc8+nNXCrt3fVWmlWYpMNh995G9rW2jHvakyP/v94vNv//twkM1krsRclrk00jyaqm6SwhgjpU/bOl24QxRTPK2VyTfy9bK16+uqXKpV0hVjHOn90vaFgJ83SXLUDnxXrpauKyNpfURzsljcfNuno3MIYSyD50aaF2XXN8KKpHQKYKLLLJO1vVFGZvZhuZRmtFn33puPERDYPv3jy/nni6nRPY0r/v3Xp0dhRNFEwiBO+a5aU4IyL0ibtvfVBhKNMcpzvRaqDAX9H8mUWqjirpRardSr0spu06WBOJYfrCw/ynXNpXWV7A8Rvm8kWM6n6k2WSAkncdJXlaVrl893Qe/a2bwo0/UitJYW800IynkjtdjKfC7fpdDfxZ/bmeuid2Xd2tANk2QeriCuZNaILLZOYpTn1mRfLs4fjPv/+fnnz6EqCJO2P9y0ZuVlm1lVlQuho9YTE7TTPUg3/g5v4KHuEkZvKU1R7pl4k1cqTzdLL8gx9QMl7JqESZtrBmCH9oJME9ydI4BpXLR1rYGBLIFQVodDzXkSIi3SbirztpDa9dgqnH13ugRDeefyv62bC4e2EAq9IG0iB4UTRoMhiXjVEqrEmKCcQwUBg6wXpE22H+Jdzrnq+2W62UAc5X9ayyJq1/0fWSkf3qUxbv0VlcePkq5uAutWJumHC8IsG/QyvSDLhJSJWR4jysaNX+CoFAGU0a1V948wl02ro6eMAIbxRdhs3RdFZEhLg0kqj2F6ucxzI5tI6wV5JtfgIU8fYlqCDZinSe26AM9d2VhRZlFn8qM8FzBRHzU/7zdJfU/sGkP354PwXRjVjWjjZmrK+e5fp9qfP29uf/z8mTLtQkjirCpqpaWZSStybyM2WkIG1Q1N3J+bp6oxjmhyuRSui/Q9ukl5PIAWDa8JM+0IRLVbOc+qXOi7Uqty8oDLthy63ceY8pW//R1ariO2AUBE3nlJSuQBiChYTqRUAYLIpqcl+1OBlDHFMbTDUMAR+yRP3dW7zA/7JE4eqSSMzPaHPph9zzB0nMIeUbrpmRFH2XEM7eSgCLNOMET6Il9/vWqtrcqUa4wiilddudYM98RpHNFklSpfRSNhkU8gqlyYt2AtOFoOQUQgi1eZ5/sGmbL4BKJausUE8kyTMCJZSRvty0fHGCUVF59gwcUnMvmXi3M4vQuSggZO3iCJtVqtLfhGxyimqDKh4fcwCSOSQqxU9l2VbynFIYgJ3DqgEM0bXBCfQFS1qKWBPZMwJlmL0lYFopkCiMgI1zerDSzyAEwkm0q/y5kqpL8Smqh8BJE1Yon0vTGKKdZVq/N7t2s2j9I0qrH/aqXZJn1pFJMXwiBrmEkYkVjTNohkEkYkbSOnR/3fXeFVuQquBEYpgpOZVG3ptkaFKpODQcgcobss84Vala7qOeKRZmXBMh8jJFRMydfKRHvQpG4EKbFV7zK44wiMByJUfTjL+m1st3uoXcMQblF3lvR7xzt4Rh7KKryXwj043DmoNJzsdo0ffgFTiBDmed84IdUuTEqw9sBqBIdLOshyAAiR1vNKy1m3XII7jwcRwrp+nt9Boj5ICIYLhxfl9hzg0DZlKJ1LDlnsGk98JbR/yOKl30Uphc3WsnmqhnNdUOVRhFLlVy0y8B/ihIbYFgQIIRsueiHPEKUV/aEHIunjlGbrzXmgzcdI6X21gVUuiAuuu5aiOQVLkBz1bbnSqlnvegbq9lGOnFNiXlmRaSs5YSWS3+WY4C4nFP69BaTyKYbS+xpgLkVDyFM8Ixu4j+3DDAnWy0aAIZL54fIQ000wrhStu4HgqLpLw2qJy3YMoSMPPyKIEkKH04ESO5+Opf1BHejqoyxFd+VvhW3BqgswUhpcj4WyxAUZJLl9l/Di3Id4QvIV+Nhx0ufa/RdaQaRhXgZuzAAHwgnCk0E7+QDhyV6MIp+4Zwidka4ydtsjSDdlWLph0iMmtATKkbOm95jkqBduS+AU3yQ40AYYRwpdJSbE2L1iKE9+KwXYkyyhZ9TyEfXrodCw4kPHCK+R1psgKXWToUP8COCi2/sFYHARIil6JHCbPgVgnDvsUnafxOHujjjFz1kgH7M09tluL+reott7sdQjfkwmUPMMqKOUWANNoYQc+a7QVxOfF4bir/g1jU/gqn8aUdruQAMQHeK4ph8MXW55dAPv2UKMkDa7yexG1rpyIyNkDTlSOxwrIY/tMZRueJj+U4CHGtxMRByuJeYK3vSATwysKYGYDHjTAGcCOGLo/16twJ1zHyOTVy1YjD6IC2bd5RmQvo9RyftPdEFBH6UV2H3HIU5pzJu0tRbgimdCnDDPELsJ3i5itrtkRCRdmJCoUhVtce/+gFS9B5FCCx9A7KIsBXpm4DG0DjvNOMQJTaut2hgBrTwO8RPaA1xhZGU5AD+BHgFSdF1pLbGlj8ec9pzI2m0XPc0LDcT0KdDugy4o/RA9pVBDyplqiu7kHvfvKbyo/dAFPekQJASbEj06O8RxzaPIoPrqQidU1iP+IYRPUIU7gM+NNLeFUNCVSgol5FrYZWWKr1JCdThFCJlRhTDbbmE7l5mqlQRXASkUl8+pjzlChtDJonqX2MXmhKBUTfTbANAZo6S8+64kT/woNjT7HKVlHFQcc0LhWDfnIEvtEeCIyLOfECOk5H0v+7J3Xm2FttuFtNh6OaBw5eLmG6BxESKpWEIV3oWIxNKy7sIjjtZiN+KHOKnhdaoYpMX+172I2Ae5YuoqIUGSau4GNIWS8sVamG7wQNfxEQdPjLbJf1HNL7VR791VQJAfKzM0p0CoVqWrQyOR1ZjHnDCjL/DP4nyCKG6tFSjpYqcUL/z3HHxr6p9yiIo1QM+1rsBrFo8hdG4vUxlX0v6OGuwJPsVU4u/BpwjlRrllKn7j4jEcHXblPyFwVfCPU/SBtDJB8tTDDyl4co9l66eDJzufRCIiQ2Q7nNwKMzrU8JNIdCs6RRgFvHEL3UJoqCd4DEcHj3WH+KnPjZ5VTAiqmFboa2Wy1m0h3DKIsKZgTgZIzx0BQrT7fWj/TRramiKQJ4ZPRCYET8UpHqtk6BfaPoGrnsuM92VMDPLFULfxGELXf2pArDt8iCNk7KFjkCXm76fhBJyMeHuaJEvoG/DougvhiX8IrXLWVXWCZKh594wplJBX4KcgXeiEMRntppwemv4hdkKT+j02KEMu5T3mCN2P5G+5YoqpRNYbRywv8MtO1h1n9IN+UBZwhJa6gWfduW+oF7phvs0N/So3+HukOsOf0nRfEoD9YRqPCvqf/wNJnJ7GBk8AAA==" \ No newline at end of file diff --git a/packages/react/typedoc/assets/search.js b/packages/react/typedoc/assets/search.js deleted file mode 100644 index 64b9e61dedc..00000000000 --- a/packages/react/typedoc/assets/search.js +++ /dev/null @@ -1 +0,0 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE82dW3PjNvLov8v4df5e40Jd8pZMknOmdnM5mcnmYSqVoiXaZg0lKhRlx9na735wIaVGsxskJOXkVE3V2CbQaKJx/XUD/M+bpn7Zv/ni03/efC636zdfKPn2zTbfFG++eLMuHvJD1X6sPxfb/Zu3bw5NZf76nDdlfl8V+38Ez2+f2k1lEq2qfL8vjMQ3b/77lhf6S15VRRuR2iWIip3po9jDvviwyZsu21Hsw2G7ast6u/9HmCAuNsvU7Cj5t9/a110xTeIN+tsxLyjn7Ztd3hTbdqD0LXoH8j3vq3rV1uxbwsdTq25Vl9v7fF+wQsMEU8UWm/tivS7WrNgwwVSxD435n5UJnk4VaGosr1iB4OlUgZv8sVz9q9x+JsQdn00WVrT5Jt9/ZhUME0wVu8t3RcPKBE8nC3zKt2294UXC51OFNrlpePULKzR4PlXoPn/g28/p4WRx0VFnP3XIOQlsm8OeFwieThX44lK/q7fbYkWJDJ6fJfTfYkzsv8VUwX8WjcnOvj98PFXkOm8+f3wqNtQgfnw2ebgoH59aTtrpYVScvFvORXaaE0NxdsrY/+NMKT88F01Tros9Je74MGFWfb/3lf1dvc6rH3bFlp4JB8lSJu6inVgKlTKlINO7GcHmybXWBL2om/6XCasAm6xXkNP+Ozt30GW6R1fS/yTr5vjb+Bv4dEctyXfoxgK2bwfPk5p+kPPHpt7h5j9McH5tRSXejFQVoempWHEnwbLM5v8+HwwM8YJvYbapKvT2ZTRpieFpRIs+y5U0uG+3H8u2SlQC5LqSHhs76JyhSZDv6rq8X9Xbn5vqXJVO2a+k2dosSctq/1W7TVMpyHe+Lhd3XqBIJ/1/ZukawdfhKsokX9cv2x/rfWmHwEQth7mvZMD80D6l6dLl+DuNZlXozSXOMJd7BaZCqvqx3P6ws7WcJ/azQK1bLOgcJUeMV2//ZQu5RMuTiOvod2Xj9vr1f5CXKXp83ViF1of2Yo29jP+Pq9Qo2P9FX6NO7QszlbpvX1Mn0T7LlQa5bdG+1M3nD0VlstVNmi7DzFfS6slszz4W+9YU8G1+WBWJrY7KfiXN9i9lu3r6WH9pVuvPxbunPHWMoQVcczX0ofzznIVZl+1aq+Wi2ex/ePhQNM/lqkhel1HZr6TZrimf89Xrj3VVrl6TFSNyX0mvl6Ja1Zviw6opisQ2hbNeq60fdru6aYs18n1Ma+eDzNdaV5f7XZW/fpVX+XZVOOmJK0ZSwAWLtsHe3lGZ99uq3FJ0YZhoKrz5nhmsT7JRiiR8gPJSAIFKcilCYGWOQQRS34TN+1jBI9t3MvvYovRdVe+T9Thlu0STK5ii12R8gxFR6fg6XCXtBh16XK9dpA+fYaiVnZYnN/4jdOpzXU2PXb07VHnz7ix1cOaradUUK5P3PKVQ3ivqtF0XDbUem6ASzHrFzv7BLfXS+9gx39/f3b0qfX/Pzuzv3Qvxo+Jh39abd2ZJ9fmMESnI/PdXGdCnrzd17jgJXo1cEHx8Kpv1S3Fv8j2bPQ+1IsBJ4kuC7PT+3xXrMv/J9Y0CLQbKrVmfP+QrUyHDVNECwvVls0oQeeOT0/VIKMtRvapNKdQnv7TQXb1vgXUmlHvMcWnRj3lbvOTBRmdC8UGuS1V4KdeApE4ovc9wacFPhfVEp5R8zHFp0UO/1YTSaa9Vu1//T7n/n3L7VDSl2VCdp1CImqZ0twFouo4iTfH7oWyK91aDfBUA/wlakbmvreKq3rZNXaUMeDcgz9XVeSqrdVMk1RPIc211NuWm+AinxgnqgDxXUAfFZmz3rd2fr3E0ZRiagVJdKU6AFHtDPRiPHhhkoV6OM0oXAHcdLW+BuIvUHdtnjQVdnqP7QOhf+QbxOLVz1A8l/pW6jwSZnaM8Enll7cN+/9NIXCROcqUeP5R5M/jreF8P0w/ehnvnj2PN7ePUyMjJ74sl3qC/jb8rTI3egY3yig5n/dNrxXpBcTfwDxMivvqkUGnurd5NGO7eJYSZT35DQujN8M/jb4syDF+Je/Nvo/HqYYIrvTOWeIP+Nv62MDV6B+49v4ofTEAprvSmA5E3+I/j7xokxy/Cve2Ppwj5n/dF880mLytaRSplQsjqj9FA/TDBlSoVS7xBfxuvUpgavQP3nv4xH6SOk1zpXYcybwZ/HX/fMP3gbSa9MxlDP0z0V7x3J3Xw5ubvie9uchDvxS5jin1dPRdrt+P5yC87cLJrLWdIuTfkkwnLmkEe8g2ZBemhYYaPdCVvDxF0NVnRsXALvBO+VGlym3wlzUGrCzbXhPLB8zRgHAUDo82WbQ2spJuYnUcb3CjKOJUzahqqMFg9PYj//qF1SVmkTiacXm12677O2zxN9A3IRr8frX8q8o1oEKe+ScXz4DdS/gj7TVIgin8jOqQT4CS1WAgcUSmNAyepMw0FR3S7gAanmTMChGPWTGXCaUpFsHBMqVQynKRUbESNjT6pfHhMKcJJ2iclJjycZOrW5JfiXn11aNuaOql3ejj5pK+fxb/jlxUoRVSwkoMqcOcfzZK0Lf44jY6nSweoZFN1x37md3VDvQCVbPIKg8o8Oo0OEic4qPsYRuxZmFzMDSEiPr0M342Lg/xyt7PE6QylQNYrKZMf2hpvW6frE+a+kkphyN90ZeJRf8lqrJoib7vN4Ie2bvLHc5SipVzReChWKc12IwFLl7Smj2akg6dOzmpUJyFXUnBfPm4HQCphUAizX6ulVaXJ+X59TvM6ZU2bfqfXWGGacPvP4vWc6gJ5/yL1cuI4R0JTY85yXLcG+5kEBV6eMRcR4ZfXVXX92Z/uO0tLmPmvUtAPoe97pc5Rcyjir2qbh/bJDGQP5eN5o+Ap81+k4O+Honl954aQMzQMc19PRbD8/e23r7/592+/ESve7kmCKyLmhZjigEAOwQjpvy7jx3R/OtcHRH+M5XfPTZkf2rw9MKE4OFVKhYF1kIsX2K649yVSXqsqOdE33MMJlUxl416Yq52vy/0q1qJOz69UE0jgTfin8bcGiUP1uTf0K81wng7vnTkluNI7Yok36G/jbwlTo3eIjzJM/5kUwUb72OAkQrvCTIoEwR+OHq6RPk8kvJZ9GMk3zLMJ9iJyMe86Xi+Rq//IdFevlUDwDf0opU6OmejX5GqkO+lAa9s9PKdFByiLbtIpGMuGPviDobTQ7mGCuC/X66bYM92ie5gyA9pxA2zywpnJP0zRjtj4hBqeEqRqGdFxqqj9U32o1t8Xz0XzY9Hsy337f+xykZDMpEw6AfuTdyesf8ybfHMsw5/8CZ4lSSUHXy90+qg7fjRpIGvs/GygF8cUzOLjsQYVHi/rFqQfL3TEu16up5Zarq9R3gbC1JESNzF6mlCm53qTa7dPfU65FzShruDxY7+EBr3SvGfNTh8/v5+sCshwcfXv3bm76YWD9Jc37/0x4HlyOw+y/L9uBKD08YONVEuA6nMH5czQbS+FwuvfEdWG2S42T1Os6s3GxsBMNk+Y5QoN5H8X+bqCa4dRC4Ec55TP3Cj58/vQy+bVCB9eOn0R0ibeItlrx8WClOvpZd12qacUeMl1VFzR4yetSR282vEhdtCOI6rALH9HVRzLn3yVHaqP0wuwneuH4T0TEY2O6c+rjnDWeapfppfcpf47zGCLPlog1QROb+5Qcv1VPjjrH1HkmP7vqAVf+PiUR1dDp/okJ/WoKpMulJ3WCF/4XUlEAZTrGp3BLanMFu7rfLD8jjVNlO0qmrQfzlVmkPNv6a5Ijb7JLlN7Ln6d1PCYcU2nRsUkGXDk9jtKkck3303TwN73uDKv9Poufc4l8/4dzWioSN+Q5okNiXglfq35odtbUUvN4NmlK82hsLGFZqgaa3ufbGpptyDDhGLPsvJ44eMLLEqLk+7pswuv06TJZaRSUgYoXpPJ41OKNtRcz6sQn+pTyuWGRb7s8VFxpHwGgVpR9F7WPrkSAD2Kmsg/nVKJCBKXMYFAuiznAshBeVP4I10ibZqBLx0WP8l9juV+80fb5DYuw8vA8UBePp3o0oYQkTrWJhit2Qj84XVz44XfrqJXzTECJhqSrueE6g2vG+jibL70UUS8r41ImBo4brP28TxEIVSy5MDxLyeFUp1STQ8Vt3FWP9MH1hixN6cs8QBQoDQXCl5vRgIXcdnHHJcWvS9Wh6aYENiMNcAZz1AEWvj9hzFFwhQjY5lenFiFGQDbYjNR5M0pOf1GSFGm0H1aofurFNoUm/q5SCk3yJFYNDEEeAtPGATChGcMaF7ApCEtSJo6qKHoiGmvRuU47x2hpKkvS+RJmvjNuqPcvN8WVflY3pdV2b46l/mADjDJLvYjxOSOehQ43aPbHBzhMV2RWywgTa2R9eTvh3zbmsTnKAbyXqrTcKPfusymca3dJ3v2ZAPhkl2+/Y/IHScBjO6cP/Mpt0LSNbg95kxTZNSruR98TGOSOn3GS7Uho4+CrPQARaVMiUeyGd1FgvUDF5UMk6SKPr14RPgpUar4oJ/9VOT7eEFU8vSYsEDlb+vo/TvRLInxpFPqc5guoZCfbFueVAyVMqGgH5tykzevH/LKSFqVu+CERHjbEJEyoaCfd+u8TSiOT59SjfVrXrWvxhRtuX3kajBMlPxOkwohk6bYqcrbh7rZfFsUTAkwRbpdRsUP0yUU8h2+8GNwuZ19mqx1XGyYJu3IS2vvavgIZ2Z8POSYIioYnPBZUVJPx3xWU0VG1w8ReWPrhkA/NtZy9VTAE5Lj5d2CPOMFJ7oQEoof9yIQepyUZyrEtIUw2neCRiDPORUSlP9QtKunZA2CXGcZBfWXza6siibeHXGq6f2GkQ5fNEH05AZFyBzvQ0jXc/oRX+6UvoRyn9+fJqgxpU+R+lzWryKaTehbYxWU0r8imkzqY6PGIuel+Jx0xkQ31nHDVBcU4KfkacX4tGcU9s2zqV7+XCdIc4Zws1XhDraAFGcI/sWeII5LdkmSQNfPUK39ocL76sHzlCXYduW2o+vvv/3IrRlhkuStcETwu7PEQnU+HHa7ijqkQ6Y7S/dYEThV0tkvM7AU+4/1T8VzAT5yjM6ABYlS9Td6RfQ2TxME/iv/8/W7ktvm9U8TBH5dVPlrsfZvFpdOJk3aho+Xcbbwf5V7uwtk6sU/TKmWsilWbVRokCRB9Dfbx6rcP315CC/AC2SHadKrgenp/dNzK4IRG6ZJEP7vvCrXU0ogEp5d40wRKFHqW0wqg0p5hnHf1Qd2BIBJzjZzpAAi4fmWiJRDpUxGmvFGFaZJEP5Lud2aLF+VzOLl9PzsqhkrgkudUkWnvKSDEidJmVXL9VeHhwdO7PFxCvQqt+XmsPm++KNlKyVMkzJNuyOLE8Z8ImFyMV2lTignTJlSkI3equIlwCTJoqdU1TBhcjFTpkoqZUq7yj8XfIPyDxPF/cC3/OPjpKFsVezaoCIjJXCpU0aiP4rV4dj6rLeAGYMG6RIKcUoxA7N/ljLeHF6/B0eswsHGPUsTNqF541QJBbD7gbStAL+hS9zJfazbvIpMxafnyULLZnWocls/sf0bnTalMb1sYxvc4+O02o3eC3J6njaJtaz1u4fp4mJVGyRJMV+Tb/emF7LaggQpY1nZrJt6x0o9PU/qsM2Wldg9THFJP+WN/bBCjOKFadL83ZPk42TDIrrr8nZN+Rxet4BqvKp+qqviu2Jzz463YZokj/CI5PPEvt93AVI2Oy04SJJW/1NqZJAsoYj/ZXpGy2t+fJxGTurPBS/z9DxphP5cbOPD8jFBqtjo0AlTpAr+uliVm7xizBYkSRxIXV5+EHWPU8lfRObp+RmjckRukOQM0Y51TpB/Spc4UkdkHx+njRWrlV2bfF3sqvq1YFbyg2RpC3Cbk6UI/mn6PtBnjG4AfZIzdP22buL3kA3SpRfywd1qHS+gS5MifL3+cr1hbyfrniYNnjZmPSITJEg24gdTc0YO9D4TdjylSh70xwrAqdLN6F48bkWf5FzRX27XU5oKTpwCRutHzrju0fkhDIysm+NvIzEMx3RHLRnfeDXlFXCxt32uiYUnBjAkaTEevsCp070FUzHl/l91vuZdO7xaMOf5FYQbGvw4AdbEPLteU+uF3Zx+ndTYbMKTqnxzm/Iig7JvjxknqzB669WYfXllplp4RB/k2N5zbM0+uZJ9j6Ju+l/GbeuS9QryoT5jyqMSb7ssk4qdYMvHx2L9nhnJWB2CjNfSJNKqooqMtqi4HtjLAr6Lh5wr7VPKztXdIh1dNAZJrtRQhzJvBn8db7ph+sHbMEbcn/PKnHq3WNqZyl7W8BL0ndQUU3WFR2ht8/2lbJ+Cu4/AAVD4PNqawrPJU6XdRL8+GSjHFJWjHU60tJw4cxf75MQUBfZ+2T1NgVPiixRAvhp/SOXrpt7RDQ4kSHEBxY5mfZN8Guv7bz/yGnYPk5xszeei3VU5R5hAgjQt39VVdw8Wq+spSYLoH+Htd+FBE3vVXCIEi8CvZJ7GmuX4OCUSpuaiLu2TlMluV5XciG8fpTSWQ9WWL03OvObxcYp2ZoOat4em4GsvSJIi2h+b/3lX1VxobJAkXXRUaEpv8Vf4f1fuNzn8klzYX8JEKdoyX78KtQ4TnSM++rGGMFEK/9jtfv7pPS3VP0v0WUTkHR+njO/ff2DG9u8/TBXTXyHw4et/TrjmAKRKefWv/8m89Nf/jMduE5fBABXCO+eI20tw2unrn4TPtpGFRL/aBtcH7GtxijmsdoY+fb4rqTHpW3GMKvSn4i5SJ+HLcIxSsQ/DXaLatO/A0Uoxn4G7SJ3VpE8mMvqs6C8mXqLQlO9f0tqQn7+8qBVN+dol03zIj11eoszEz/PR6lzydb6IgoNLY4ib1C78iBcWMnr3C/ogV/wiwIHc2BWAwYfCmBLcf2NldIkuKcX1u0Nj8qwGF8MQ5aHk55fc7FY/N8BRzxV5Snd+WfdVvfr8zR9mRdxALxNX5CD5+SW3xb7dDm5YGRZ5SpdUFn3nH33/UPAsvjhCUt1Wj7yTBzy5tGNiUWPdEyrFVX49rYxbl3C0mBFT55sAQ8ZLPCY+o1TSPDY2gjfR6elVzITETTIVUDC5AunyJlUiyDpakY7eoFO/XgvwJL3nMDKDZ0lSv2lWcyl+aMz/QmQZkouepul7itqkGxN+fnFzIgWONqiBmpNHgFh50XFgkHFk4LfWfY9XCWPF93muowPdoaIqjHWpcQ1wkzqF7JItCj++tEGR8sba00DHJKPGihy16SDziEn99F1MqsajUUGmc7XAZg0Cx0nLEikuNS4ncsy+lLJJJh4peNTKVP5RQzsvSl6hENxpChHZr6XZYEwdr5zLSmeaXqzRXbW5pTe0eBPb4ND+kdJuQYYJxZ5pvrMMN6nEfaQBE6XuJzXYxMbyU9Ha4GHWxqfnSeulr/zpEbIpBs8ubYpDYWNNMVQtabRjCxsd58KcZ6xO+KJHViYjJWPDWbcbsy6Hj5Iag7+bwt5WxEgeJkiST96v8X67OwzegE14aTMckTzWJiNvwDQS56N/qivoPEpR5TYUkKrWhA902IEZd/2JusHsV9ZsZ6S91A3u2VMr7ZT7cr3obhJrv39Bwz23xSY01XvrwR6MpWNVfco1WYHzTH+xzc8y9rvuCiNyhgwfXkz2h9ImXe+eDhH4kmJLJpQrbsTYVe10ydMuaJ9afk1+NiZSfD3id00qnV6WRKs9vi4ZK51rtuyycZggaSrvLo6gtzDw2cVbmIGw0S1MoBp3PMBfajDcJ3PF3cIcEwoec+gM/G98yfcRR9xImZTZ3OUTrOHA02uYDoubYjyo4BnmY4qcaECYe2SaaspV8SM+qzquB853DV2Y0TamxuhwO6rBAJSCm1nCC1w6xIefX4xKSYGjrHSgZmIjixY7oZkN809Cpj88uMT1tGpF6BRmPlur4Rfx2Ht0vGqpF+hM+RIeKXH8K3gDTRONHi94gtUJAaMV7K/2YeDM6VHSzP3ueC6fX9Je0StOypu0rD3HPx4rbXRpe6GnPFr2CPxJLH/1VKw+f/PTO3n3ZVXVL8R3LqPK0NnP1QwEtD4W7TfNiopl7p5c48wWFHXT/zLSoPpkvYJMvRbIHz2p0NtTrkmFj9i2cN7vdBV8pitpIO/SFXB5zix/0IaiZhiNChiIi9WoeZYmLFI58i4h9vsXd8OIdUjnq3CzGl62iZMlDfc/EwLIgZ9PSJX369s3prjijzdf/OfNc9G4c19fvJG36nZpUj6URbU2CT/1QYCrerOxTeHX7tm/zSKjbmwKn+Qfpko/3b3NFrdKL3799e2nPod74P7gkhkrfhJUMhEkk+Y3SSWTQTJlflNvxfJ2fjcLkqkgmTa/aUqaDpKZ9vope5upW6mDVFmQamZ+m1HCZkGyufltTiWbB8kW5rcFlWwRJDM2+bSkki3D2rWVLUgzCGQHZwjaEqEphK1yQRpDhNYQttaFIlOGBhG24gVpEhHaRNjKFxmZMrSLsPUvZoT9RGgZYS0gSNuI0DjCGkGQ5hGhfYS1g1hShYcWskPPJ0laSIYWsgPeJ0laSKLO4nqLfKvV7WyRhSlDC0lrBklaSIYWktYMkrSQDC0krRkkaSEZWkhaO0iy78jQRHLOdWwZWkhaM0jSljK0kFyyIkMLKWch0ugqtJByFiK7pQotpCQ7UKEBzY1od2/18nYxD02pQgMpzRpdhQZS1gqKbEgqNJCyVlBkV1ehgZQzENmQVGghZc2gyIakQgsp1kIqtJC2ZlBki9OhhbQ1gyJbnA4tpFkL6dBC2lmIbHEazTrWDIpsSDq0kM7YwkMDaWcgssXp0ECa7UE6tI+2RtBki9OhfbS1ghbEGKdD+2TWCJpsRllon8waQZPNKAvtk1kraE2pmYUGyqwVNNk6stBAmVsXkK0jQysDawZNGj0LLZRZM2jS6FlooczaQZO2zEITZdYOGTlnZKGJMtZEWWiimbVDRo4Js9BEM8E1pFlooRk/C81CC82sGTKyfcxCC800W3hooJlbu5ENaYaWb9YKGTkezUIDzawVMrIhzUIDzZyB6EVhaKCZNUNGNqRZaKG5sxDZkOahheasheahhebWDBnZ4uahhebswnoeGmhuzTAjm+Y8tNDcmmFGtrh5aKG5W2GTzWOO1tjWDDPS6vPQQnNrhhlp9Xloobk1w4y0+jy00MKaYUYtOBehgRbWDLM5lTA00EKys/8iNNBCsaP2IrTQwlloQRUeGmjhDEQtYRehfRbWCPM7KmFonoXbA4m3en6rZjJMiXZB1gZz0uSL0DwLdpGwCK2ztDaYk21jGZpnaY1A7fuWoXWWbiNE2XsZGmfp9kFUTS5D2yytBeZkq1yGxlmyK4RlaJylMw7ZfJehdZbsCmEZGmfpjEOObku0S2WNs8T7VGcdeg92h3aqd+z45h/BpNYQc3rDdoc2q3fsGOcfwaTOTuTA6Z/BtKyl/COY1BpkwezW0Z71ztpkQe/X79Cu9W7Bq4C2rXfWLgt6c3+HbOYIAi12ABesXRY0CcB4QbArb4H5gqMICxobYMIg2KWDwIjBgYQFNQIIzBgcSqCHNIExg4MJC7LfCAwaHE5Y0P0BowZHFBh1kckcUmDURbhBOKiwoPuOxEjIGmZB4g5EHITjCuQsKRByEA4skPOkQMxBOLJAz5QCUQfh2AI9VwrEHYTDC+RsKRB5EI4vkPOlQOhBOMJAzpgCwQehIhZD+EE4yLCkxw8EIITjDEt6/FAY41m7LOlBAVEI4VjDkmF+yGiONizp7otIhHC8YUlzP8QihCMOyxlpYEQjhGMOS7qjIR4hHHZY0j0CIQnhwAO9+xEISgiHHpb0dIKwhHD0wUyJdGJkOAcgzKRIJ8YI1jHYO9rMCFAIxyHMvEg1YcQohCMRZl4k0yLTORhhJkYyLTKdwxFmYiTTItM5ImEmRjItMl3moTnZ6RGvEI5KmJmRTItM57iEEGS3R8xCODIhGB6PsIVwcEIwSD7D/NxZjqHyCF4IhyjoSRPRC+EYhWAYPgIYwmEKwWF8ZLuMXUUKRDGEYxVC0HMsAhmCJxkCoQwx86ajhwlEM8SMX0ginCFm3nL0kIKQhph5y9HjxAw7P1ynox0LAoENMWOX/gKRDeH4haDdEALBDTHjLYfohnAMwywWaC8MspzjGIL2WwgEOcTc+6vohok4h3A4Q9DeC4FYh3BEQ9AODIFwh3BQQ9CuCYGIh5h769HtYo7dV67n0X4HgbiHcHTDrBzoxMh+DnCYpQM5kyL6IRb8dgDxD+Ewh6AdCwIxEOFIh1lnkEogDCIW3uVIzjUIhAjHOwTtNxAIhogFv41DOEQ46iFoL4NASEQ48CFo/4FAVEQsvPEYByQyHk9GBEIjwgEQQfsRBKIjwlEQs4ahEyPjeUai6eECYRLhOQntKBAIlYglv59DrEQ4JCJot4JAvEQs+SkPARPhuIhZGtFyke2W/CYcURPh4IigXRYCkRPp6IigvRYSoRPJoxOJ0Im885ajXamInUienUjETuQd76eUiJ1IB0iY8UcieiIdIRG0q0UifCLvvOnIFi8RP5E8P5GIn0jHSOith0T8RDpIQruwJAIo0odn0D4fiQiK5AmKRARF+hAN2vEjEUKRPEKRCKHILkyDDtlBEEUKtstJxFCkj9VgWgSCKNKBEsYYCKJIR0qYZolDNmTEcDhoQ3rD0SEWg7gN3nA4cEMqflaUOHZDanZWlDh6Q3rL0ZEeOIDD4RJB+8QkjuGIBHHgKA4HTERGbe0kjuNwxETQPjSJcIp0yETQbjSJeIpU3nb0IIGAilTeG0D3UERUpKMmgvZ+SYRUpMMmgnaAScRUpOMmgvaBSQRVpPIhUrStEVWRjpwI2hMmEVaRDp2IGT0rIa4iHTsRM9qCCKxIB0/EjLYgIivS0RMxoy2I0Ir0aGVOWxChFenRypy2IEIr0qMV2p8lEVqRfPCHRGRFerIypyiMRGRFerIyp0cthFakRyu020gitiI1H0mF0Ir0aIX2HUnEVqRnK7RTSCK4Ij1coV09EtEV6ekK7cCRiK5IT1dot4xEdEV6ukL7ZSSiK9IhFEF7WyTiK9LzFdqHIhFfkZ6v0J4RifiKdBBFLJiIPWRBT1hoL4ZEhEU6jCJoN4ZEjEV6xkI7HCRiLNKBFLGgLYgoi/SUhQbjElEW6SkLTcYloizSUxYajUtEWaRDKYJm4xJxFuk5Cw3HJeIskucsEnEW6TnLkgKsEmEWyQeSSARZpIcsS3LCRoxFesaypFisRIhFesRCM3eJEIv0iIUG6RIhFjnnF50IsEgPWJg6Q3ab83sFRFekpytMnSGzLe74OkN0RTqAImkXgUR0RTqAImkXgUR0RTqCImkXgUR4RTqCIu/o5o7winQMRd7RzR0BFukYiryjBywEWKRjKPKOHrAQYJGOocg7Jn4Y2c9RFHlHt02EWOTSx3nTbRMhFrn0od60BRFikY6iSNpVIBFikY6iSNpVIBFikY6jSNpVIBFkkY6jSJr/SwRZpCMpkub/EmEW6UiKpKG+RJhFOpYiaVIvEWiRjqVIGr9LBFqUYymSxu8KgRblaIqk8btCqEXd+UhJOiIboRbleIqkQblCsEV1sIWOy0a0RTmgImlQrhBtUQ6oSBqUK0RblAMqkgblCtEW5ZCKpEG5QrxF3fltOxOdjywovE+WCdDHsfzOgjQoV4i4KIdVJBNTj5iLEv7QBW1BxFyUAyuSiaxH1EU5sCKZ4HpEXZRDK5LG3wpxF+XQiqSZtkLcRTm2ImmmrRB4UR680ExbIfKi/GkZGlQrhF6UPzBDg2qF0IvyZ2ZoUK0QfFH+2AwNqhWCL6o7OUNbENEX5Q/P0EhZIfqi/PkZmhMrRF+UQyyS5sQK8Rflj9HQ8FchAKMcY5E0eFX4MI0/TUODV4XP0/gDNTT1VPhIjWMskkaZanCsxlmQ5pMKn6zxR2tohqfw4Rrljz/RFsTnaxxjkTQ/U/iIjWMskg4rV/iUjWMskqZiCh+0cYxF0lRMIQCjfGQLTcUUAjDKMRZJUzGFAIxyjEXSVEwhAKMcY5E0FVMIwCjHWCRNxRQCMMpRFklTMYUQjNL+DBttQcRglMMskqZiCjEY5TCLpKmYQgxGOdAiaSqmEIVRDrRImoopRGGUAy2SpmIKURjlQIukqZhCFEY50CJpKqYQhVEOtEg6flshCqMcaJF0ILVCFEY50CJp1qUQhVEOtEgaYClEYVTmDyPSFkQURjnQImmApRCFUQ60SBpgKURhlAMtkgZYClEY5U/t0ABLIQqjHGiRNMBSiMIoB1okDbAUojBqxkJQhRiMcphF0qxLIQaj+EgXhQiMcpDF7D2p0EuFCIxymEXSWEwhBqPmbKSEQghGzb3t6CaEIIyay4jGiMKoubcd3d4QhlFz1vOnEIRRjrNImswpBGGUIy2SJnMKYRjlUAv7esh6DrZIGuMpRGKUoy2SxngKoRjFx7koRGKUJzE08VOIxKhFzHqIxChPYmg8qBCJUZ7E0MGzCpEY5UnMkm7JiMQoT2Lo8FmFSIzyJIZmeQqRGOVJDM3yFCIxyoe60MRLIRKjHGxRNPFSiMQoB1sUTbwUIjFq6Y9r0eZGJEYt/clu2oKIxCgf7EITL4VIjPJng2jipRCJUT7chSZeCpEY5Y8I0cRLIRKjfMALTbwUIjHKnxSiiZdCJEY72KJo4qURidE+5IUmXhqRGO1gi6KJl0YkRvugF5p4aURitIMtiiZeGpEY7c8M0cRLIxKjHWxRNPHSiMRoB1sUTbw0IjHax73QxEsjEqMdbFE08dKIxOjuXhIKfWsEYrRjLYqmYxqBGO0vJyHjvDXiMNrHvpBx3hphGO0vKCHjvDWiMNrHvpAx7BpBGO0vKSHj6DViMNrHvpBx9BohGO1vKiFjzTUiMNrfVUIGW2gEYLRkJz+N8Iv2kS90hIpG+EX7yBeaamqEX7QjLIqmmhrhF+0Ii6Kppkb4RftjRDTV1Ai/aOlvx6B7KcIvWnr3O2loRF+0AyyKJqAa0RfN32OiEXvRDq8ouaCCnDRiL1r5brd8q7Nbs2dCiZH5/H0mNCzViL1oxQYLakRetNIxJZDx/L0mNITViLxof7UJDWE1Ii+6u92EbnCIvGh/wQkNYTUiL5q/40TjS050zHr4nhN/0YnKyIrDV534u06YWsbXnfj7Tpg7VAY3nrD7Bo2vPPFhL5zGyHr+3hPm1hV884m/+oS7eAVZT7P+W42vP/FxL5zGyHoOqyjmqhbEXHQmIqZGzEU7rKJozK0Rc9EZ3/cQcdEOqpBnOjXiLTrLYvoi2/kzRTRp14i3aIdUFE3aNeItOvNXC9HdFPEWzZ8q0oi26NldxNCItuhZbNxEtEXPvO3osQLRFu3PFdG4XyPaov1NKTTu14i2aJ62aERb9Mxbj+55iLZoT1toz4BGvEXPvPXIBodwi/YBL7RjQCPconncohFu0T7ihfYhaIRb9FzyCiPaov0FKrS/QSPaonnaohFt0fNYz0O0RftTRXQIoEa0RTugominh0a0RfuoF6aHINqi5954dKNHtEV72kJ7SDTiLXrBBixpRFu0v1rFLHoJ2qIRbdELbz260SPaoh1QUbQzRSPaovljRRqxFu1wCqsxst7CW4+ebhBr0f5YEdMuEGvRnrXQHh2NWIte8l0PkRbtSQvzeoi0aE9aaE+RRqRFe9JCe4o0Ii2aP1akEWfRnrNwGiPrec5Ce6A04izacxbaA6URZ9H8wSKNKIv2lIUZLRBlyTxloSeyDFGWzFMW2g2WIcqSecpCu8EyRFky/mhRhhhL5hkL7THLEGPJPGOhPWYZYiyZZyy0xyxDjCXzjIX2mGWIsWSesdAeswwxlswzFtpjliHGkvnrWWiPWYYgS+YhC+0xyzrI4m4Ifi6atli/9zcFf/r05rff1sXzb7+9efufN7919wfbY+tOrL1K2B5W/+I///3v6cZg+5sV31/wfcqoTtlcprdvzM7Y/7/0/5utpP+/+113v5v9gf+/S2/WWf5/7f+fd7/PO7mLLv+yy7fs8i27v9uLhLofVP9D1v+w6H4wddj9IPsfuuLs4fjuh15gr5E9At79MO9/6NMseoGLvqxeT3uksfuhl7zs1JC9qrJXVfYayl4x2Stmz1P5H2T/6FjFfR3aoH3/Q6+Y7KvPRsZ2P3RFWG9c90Mnx7qwuh+6QlX/XhYRdT/09lOq/6H/i9b9D4vetn2avjL17GjuXmBflp3nux/6NMs+TV+Huq+67I5rm7n7dMbafTqj9h8+Ac3UTH7Hhqq9iUgZbflcrJ7ychv0jrsM9I6+wVowyIg5fja3/wop0MTsJ0+aZHe8CPvFEJjTOnhOnW0RKbz/TDMsdQ5K1bN43vqh7r9TAqsQDBF2wmZE+G9Abx/aXXfBOdRiBrVgLVm1MNcMjDHzOZen+7QDKEzCilZ9G1PHttqPQ303txMkI/zQPoVVASSLSKZVvX0oH8OmtIQDba+V7+yMFHtBPBQBDSEVW4uHtjblb4tVUC3LBShfsR3hlLktN0V9aMOXgLMFb0cjZP9StqunMPMdzMy1I/dFQ/vNLVDtGWyBc67i73Eu2PQXnLL3Vb36XPyxq+qmaMJWK0Hvt0SZF9DWL3lVFUFlaZCZy9raj0BV4cQK3lWxZR6aLd3TtIKjzILN/7qtX4jssM/pJTdcrPLVU/G5CMY3e+bi1Dr7wV6yHXeVt8Vj3YQylARNZMEZejhOZ6Bj2kOnXefiWrkTELx4Bqw1Y1/bfrnFfWsjP325BVYeqIHsjte+rMxoG7zAHHSNRb9qkKz69qsw5baoysfyvqxKszYbWNKeYDxVieZaoBNFt6RMwk7HdZ9eQOO+ZDhYJcJ6tbwgIsR9hJFqklDEkm1O9vMYLhnMC6q1X70s+gUg26FXVWl+DQcT6/YDg1e/XhFsU6nL7X2+L4bDAmwjXsqSbSn1ZldWRXP6gDvsbkvY3dh38WN5Eb6MBlUq+Cr1eTf1Oq/KrfkX1G0G6pYdZzoRhzLs5TPYy/kq7PLuzLIibNsaDhNLtml6AUMTSDAVKm7uD3IPVIBrDMXbz3+mG/cKe1TwZLtZpPLapq6Ccmeg3OPOQ7ISmsKMsmHdwxXtgh0WXEb/7vu2bvLHQApse4JdCK3z3c423SAnmJPtnX1czuZz+1SEnVmCBic5q+FuIuGspNj3XRcP+aFq3RAU1Dcoky3S5+0qK6hs8K5sZvcl7MZ9HLnK/3w143pb+o9aw1kdLjxn/Fu0eVntzaoizAxrgMta7ndGk/u8srNa6z+OCdYywOAZN16s6w2el2dwElKs3qZ3rY7fvIeaw6F/xq0YbfZ1/bLd1Xu3+wonICCBs2CxuS/W62I9HClAtXPD1PH7Y3DKmsOFAPfa3Ve7YD5YzXeREt0XtWDGBczITQY+o13nDlVWcOGnOBMX/jOKuf+M4j5HS1dobs2Oy8Uf1tJGDV/fx08/w/UcXEtKriIeCrNV+P1QoEUkHGNkT5HkgrP+g1lxEPM0EMLVxqMbI1/RNg2uAtkVz2PRUlaA60CLH2OZUduB6z3LF2NZcfOZC5iXGyN8XrQ4m8GcXA81Ocu22IRDAzQx2+Ae6/t89Tmc/KF52SKfivLxKezLIF9PnuzdxEz+ch1OnHBjJZZcF7PZ2mLfbovWzAortCMMTMRIQOtO2C/F4ggCe8wmuYml3Jue2hTE5C3ggtreHMMJeCrydYVYlL0eDlQDV/vl3uyvWtun0NtACLHgGlq5r+p8XW4DgGKjrU/z2KxnmvOeMs97prnglarqx8diHc5RNqL9JHfOV0e9C+dEe+kbqAqux1W2HQ4XMxDlcDbsPmuLsQZcC/QtQve7Rr3s0RLbRqt6lVfDAQ+YhjOMqT9UeQu4uGA3zi6fH+fzKhx54KzD50Ycyh6yADbj6m+TP5ZmM7cNxg8wxXIm2+Sfi/tyTe2J4XKCnVFsfgdSKQkLKIEbfTamldrPd66LJuTZC7h1EtyoGWQf7F0gRmQ3jk4E3rjAardX23NZ0VYVrkDFop+Q2aGX2u4u4I5DHj1JYyIQG4N1P+Mrr803+T5oNHMwCi9Zs3cZh11LQPLJZi+NAFThcGJe9D4ocQREvQ+K3cTa3QTDCaFfJOOGzC4/A3fgfKbZbUEnw3tEKN8AtIpmpVgKsS//DDSA+4Ps6D/r0SO7SXSyhuBVwqFsNGtpdixo5QfnanZFM2BUEtai5CyxzZ2H6tCYbr0KHUsSLt0lN4qaFclL3XzeF5X7+mtQjYGDx9dexg2OSM5gdIGsfsZZwLQHcsMH4bdm6Xe9XVX1PqRRoBJnXBWYfAezINqYOSFcU2ZgdJlzFqi3buKsXmmmBnmYveWTF4Lm0LD9x/KhWTBwKHIN1uysnKVCXeG2nPVmmqwDJw6cvuacdfFKKQMNdMaWNtwGKphRs56EXb4rGmLQhStVzh67fL83zTlcYemgYntvAtswTOl7u7ChCBC0kWBnjt1TvjXtkngHCDrZ8p9y5PW1t/adDMxuNXZVviqe6mqNfOZwh6XZRd2u3h2qvCF8KWCRxM6yu3rfhsXCbcmcW1vsmnJVmAofECoF+7BesMU25XO+et3VZgjAG3cI2diVxe+H3PrsQuIwhzuqY5hAH4Ch2Y2OYxfe3RC2XLhe6Cc2zS64GmOB+/qFaD5w88iNik2xMr8SZoTwiy268H9ZYw8DfAPWwdEUm/q5GKIBuMNnXdV+fTvwBUKv74zP+/uhbAq/xA9rDCrONsMuv1nZFI3/WnvQkuFWSveLNa5Jmk06stocvn/GV96+rp4Latm4hMMGGyjgoXN+b6YHEr7CvQ47p46Razgtat4eO7OyqZD3HcJfdrOwzx8IeCfgjoPNuv5Mscc7uMnpl0OaHX33xcosj7Ez/C5QoB8I2A1bBNYo2Be4ydPP8eZVBm5CuOeRLFL2+bGbDlYEO6L2WYdeuixgHFwDMlPXHvUfCQmuYh2Epts4x7FpvT7sak+5wSFm1Fx/3lOAEs6hrOPE5IxUPvTRsjh3/1QfqvXWdKTGLiXKfTtk2tDfKNiVkJH0EioA34ENc9qXj1u0BIB8SrOrJ5+R2u/CAYhd1O43eUO4ZwXkamyLb1bBkAsKZBle17/cqP2Qh8Eb9mwxKLWPQ+Sbbfsabh+DDXW3ZuxZh2BdGEScYLAby2IZaxveO5y47VltUPv9+pUFD0dRQ/cnHD3GVSEWwDB0Uag+fPWuD1ZllzR+55GvVji6z97QAcYGtmW6/G3NBHZCmM9OsKaVbPb1w75ons2iEy8WYRwH10g6T0DYsyC+ZdvFEBjDLVvPvLu1xawPadE9+rjTfQVzM64rwCy+mqZch5sHGcw4bPayWb8U90ywI4y6lYqbOqEQM308l2gjIuCaXrJhFr0YrwcpCK7IJOsHBoL8Bv8Y/DGUCD11kg1m7CVuH1oHVIOuAVeaoy/XSxhMsws4brGuhF4M9S7QWHNurMYCrP82eBu44GHXKZSUwRvBkA3BkrhelFnFUS9l78049TN27iWkDPRRMPJEs67VXpTrWXZFXfwRBuAGmzG2nuuwaPgWqp+V+n6uj3HE2THK/hhKz+ppR3kbQEqxWPimfL+1Emh+B1kmbzqbH3m1gkAN3b/WMdDuuA6fHU8RcFMHF0coIdVgQ6bMO233D0XDxLHDPQm7Jmybw55a18C5sNsSsB5UNN1A56cQfeAXO7of9gU8FtE5EgenIyRctCh28PDS7EycrzdosWGvnwPYnH0dJCLfrv3iEQkLGDw3+ZyEhbmhl0axBAfkfjDrQeK8BdwzKHbZA+QQbwIJnGJ9I04GffQENlfBuulOAoKdUDhVwcmPdfUwkkwVES0Z2knGa8iK7NpfWEPwBRUbdGJlrNeu0YT1C3Oz8ac+NzawgIH9gg1ttpmPh1qCwmFUs2InO5u/qpq6MvPB5h43EEjSFQu5rIzd7tCU4dwWRLXFGroP1Hopt2iDJ4PQaHaD50SEZ2DsPX3AyxWp+S6YMKx5uExgibrLbNbvjog4wBRoAMm+5EfQvXXi3x8Gg15wwoLlOjY7c7JjDjfjservjmmEdoeDCztFdpkHmFvOg+MhMeUPr8HgH477sAGzgfBeyjZkChLunRTL5UzelbV+xSsBw8AVi8aOgorto5Hy1DXpUBIcDNg95VESqQw0CxvWb0UMR2q4AmfhQ58VxXfB7aBgV982c4i6wuEYbkZiE58TUqytOz54ewg/JHtKMhQwIBcSui0kC/2PUuxK22yvw7kK7vjYfXUvIjgD0xT5flAxcKTIIu28P8YSvg+c5dhw1j73sK/CXafSsVplT4vAaU6wAM+JiJ0VgeaNNrLhuUEROJGidegz29bZ5u0htERA5GPrIWpfIeHRQclCH5DbTBp4dQhP8Eg28grIoKpSwhOQkg01JKQcdmt0FkNCSirZA4pAlmni61ACdDyyJ4MDCftDheoWMmIW8wMZw+MssGZZjy+Q8NKUuCogpmeJ/8E5W0w1UmAQOmFVtJ16EX4eIecCKIkl0EdJkRkOTpWsH+ooqHOFIF+ShGOiYkNqjlL8IOLib/HqKyTrkXmSPJYSjo2w5bGhplYUWzsCujmXMW2gCLSJgMtY9sjlQMaw9cAtgWL9ZE7Qnhwlg819xEjFcIcm4XkqxUYLnDLbPUkoAM40sT4cWURBYCZZejSQgewBN/DslQ1DIYRB4OqQ5XcDSXarYyyMzoLL8LxezDwoBAk2Uh1rF/GjMRJ6dRQb5WfkcMdR4CKTPfVg8j82uTs2GBYP/WOKjbQ22Y9x+4QzBx4xibXSct+Nz+tiV9WvYWiIhFJUbIlnxPi9+/BtYK9nzx86Ef41XNgmDkuTQdQOL4Qe/+Cct4zlpkY+OOWy529PmcM+JmBbjq0JI6MdnOHY82JWxDDiH85p7FFEn3UQtg/7NBsMYvK6yP2w1cD1QSyjC90PZ2E4OMaQ6TFuP8wOq5uNKXbZm89F64LqgiEELhkVGwNoBZBrd7jgZKMnu9yDuHVQ4bEZ1jTvcnPYbIs/2kHtwe7KusO9jHYAO+Crs/6EU2ZiUwljVRUby9SJIPZgEA2w8R82u1kXly9NvgttB9tOrKd2YdHh3h5GQbDRsqfMm3K/yVHArYKbUB1b4eC6hx5qxTqafUYC1cksuDwhXvCqrroYmLD2oO1iQMCIwGsaBfd8KsYkBjQDRr0oNu7O5HSdHeWFKrPub5v3ZUuAFBjxo9hjGSb7Dh1rVHB7qmJQkwl3hqhDxNZLIL/5rTHDVhm6moLDKpF2Y0a69qFuNg8Fij6Gh3VkzIuza0ozaL7axZJZnZe7QSAsdHtJ9kiCkUScAoZzbH9KULIHcm1VhHMVtGTM/8JG38INaWyF4KNgCRcHHHtiL+8iSKN8EK50Yvu+LqZ0TZ/+gggnNhPEto3QoOz9Ql6GGcuHKz/YS9jAsmN+ZkcNm7iaRcYl1nkDGwcbT+IEvOZV+2rsM1jHCXiaTka1eCnbp+HNFsG9DhFz2BDZsBJhuZF863CEgutOHXPYmbeNOL7g8UPFRs50YgjfF4yfii1dx/oEXMDHgKSVEwYEhZM8HHfZOPlADk1IIcoQ7KkLLyi+rwkGzagcs21ubG8nQCeMo1dsqIMVE5EBJ2L2RJyVUT5uTYUYOYNVAOxpsSUsE0wKEWsk864qw0gWGAWuYgMVEbStoINSx3ZoXebDzh54D0XAISpGYyKBoApuUnUMGqAQzlAIjHmJIZ1IzCZcVMWmYC9i6GKDFEbEgkxQXCKOwRLQ6y5j67MwqJASBS9rkTEIwYQVUjKhd1fGMM3w/BN0BaiYs8rHfxELfngjh2IPFPYS1mbBtskrNLbDDs+e5T2KGHR2qEFsyeQjlYebRXiGTOnI2NfWZopalc3qYBaxdmYeyoKxz4q9i+8oa9Do4Sk6FWMWfciZC3kgPP5wJGCDlYGcwSYcrpnYwEMggNhFw1GYPU/oRJChbzCiKjaYHrashzoAQJHaDEQMrQrnExmDMd5fRyMZOKnEZmovg90nwQhgGUNpnZzR3VKwsBt9t+jaFI6TsQF3uG+C3SYWW/WcV+U65tqB68TY5OUERZ0SsAPE4nWe6xahOziexbxc1PFjSH9iQRnH6QBH0cMFt4ihv6ME7JaCcXqCjVzGEp6D26HgQlnEIsX4aQ0aQLDXtRxFoMgB6PmI9ZIXN37aMSwfNgI1D458RDrHQAwRBwy39lm0Thh3VHADJWcXXxtUACN8GXk8Xsiirs4y9orUcDUExbDhv2z7hIF0Yt6f6ekv35dsSBfbXINl3qTcYVMNmgo3R0T84zCuU7Jbp8i1dXCSYpcMZimo7g9tG8JSyPkFi8pfCrPS2BT7VVOgGxrhlYOs5uU6DOaE67XjFw1Y6vln0VgP63CoCy458FLoFeivb9/syl3h7pL94tOv//3v/wUY/9AeKp8BAA=="; \ No newline at end of file diff --git a/packages/react/typedoc/assets/style.css b/packages/react/typedoc/assets/style.css deleted file mode 100644 index 108428c3f3c..00000000000 --- a/packages/react/typedoc/assets/style.css +++ /dev/null @@ -1,1383 +0,0 @@ -:root { - /* Light */ - --light-color-background: #f2f4f8; - --light-color-background-secondary: #eff0f1; - --light-color-warning-text: #222; - --light-color-background-warning: #e6e600; - --light-color-icon-background: var(--light-color-background); - --light-color-accent: #c5c7c9; - --light-color-active-menu-item: var(--light-color-accent); - --light-color-text: #222; - --light-color-text-aside: #6e6e6e; - --light-color-link: #1f70c2; - - --light-color-ts-project: #b111c9; - --light-color-ts-module: var(--light-color-ts-project); - --light-color-ts-namespace: var(--light-color-ts-project); - --light-color-ts-enum: #7e6f15; - --light-color-ts-enum-member: var(--light-color-ts-enum); - --light-color-ts-variable: #4760ec; - --light-color-ts-function: #572be7; - --light-color-ts-class: #1f70c2; - --light-color-ts-interface: #108024; - --light-color-ts-constructor: var(--light-color-ts-class); - --light-color-ts-property: var(--light-color-ts-variable); - --light-color-ts-method: var(--light-color-ts-function); - --light-color-ts-call-signature: var(--light-color-ts-method); - --light-color-ts-index-signature: var(--light-color-ts-property); - --light-color-ts-constructor-signature: var(--light-color-ts-constructor); - --light-color-ts-parameter: var(--light-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --light-color-ts-type-parameter: var(--light-color-ts-type-alias); - --light-color-ts-accessor: var(--light-color-ts-property); - --light-color-ts-get-signature: var(--light-color-ts-accessor); - --light-color-ts-set-signature: var(--light-color-ts-accessor); - --light-color-ts-type-alias: #d51270; - /* reference not included as links will be colored with the kind that it points to */ - - --light-external-icon: url("data:image/svg+xml;utf8,"); - --light-color-scheme: light; - - /* Dark */ - --dark-color-background: #2b2e33; - --dark-color-background-secondary: #1e2024; - --dark-color-background-warning: #bebe00; - --dark-color-warning-text: #222; - --dark-color-icon-background: var(--dark-color-background-secondary); - --dark-color-accent: #9096a2; - --dark-color-active-menu-item: #5d5d6a; - --dark-color-text: #f5f5f5; - --dark-color-text-aside: #dddddd; - --dark-color-link: #00aff4; - - --dark-color-ts-project: #e358ff; - --dark-color-ts-module: var(--dark-color-ts-project); - --dark-color-ts-namespace: var(--dark-color-ts-project); - --dark-color-ts-enum: #f4d93e; - --dark-color-ts-enum-member: var(--dark-color-ts-enum); - --dark-color-ts-variable: #798dff; - --dark-color-ts-function: #a280ff; - --dark-color-ts-class: #8ac4ff; - --dark-color-ts-interface: #6cff87; - --dark-color-ts-constructor: var(--dark-color-ts-class); - --dark-color-ts-property: var(--dark-color-ts-variable); - --dark-color-ts-method: var(--dark-color-ts-function); - --dark-color-ts-call-signature: var(--dark-color-ts-method); - --dark-color-ts-index-signature: var(--dark-color-ts-property); - --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); - --dark-color-ts-parameter: var(--dark-color-ts-variable); - /* type literal not included as links will never be generated to it */ - --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); - --dark-color-ts-accessor: var(--dark-color-ts-property); - --dark-color-ts-get-signature: var(--dark-color-ts-accessor); - --dark-color-ts-set-signature: var(--dark-color-ts-accessor); - --dark-color-ts-type-alias: #ff6492; - /* reference not included as links will be colored with the kind that it points to */ - - --dark-external-icon: url("data:image/svg+xml;utf8,"); - --dark-color-scheme: dark; -} - -@media (prefers-color-scheme: light) { - :root { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); - --color-accent: var(--light-color-accent); - --color-active-menu-item: var(--light-color-active-menu-item); - --color-text: var(--light-color-text); - --color-text-aside: var(--light-color-text-aside); - --color-link: var(--light-color-link); - - --color-ts-module: var(--light-color-ts-module); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-enum-member: var(--light-color-ts-enum-member); - --color-ts-variable: var(--light-color-ts-variable); - --color-ts-function: var(--light-color-ts-function); - --color-ts-class: var(--light-color-ts-class); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-constructor: var(--light-color-ts-constructor); - --color-ts-property: var(--light-color-ts-property); - --color-ts-method: var(--light-color-ts-method); - --color-ts-call-signature: var(--light-color-ts-call-signature); - --color-ts-index-signature: var(--light-color-ts-index-signature); - --color-ts-constructor-signature: var( - --light-color-ts-constructor-signature - ); - --color-ts-parameter: var(--light-color-ts-parameter); - --color-ts-type-parameter: var(--light-color-ts-type-parameter); - --color-ts-accessor: var(--light-color-ts-accessor); - --color-ts-get-signature: var(--light-color-ts-get-signature); - --color-ts-set-signature: var(--light-color-ts-set-signature); - --color-ts-type-alias: var(--light-color-ts-type-alias); - - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); - } -} - -@media (prefers-color-scheme: dark) { - :root { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); - --color-accent: var(--dark-color-accent); - --color-active-menu-item: var(--dark-color-active-menu-item); - --color-text: var(--dark-color-text); - --color-text-aside: var(--dark-color-text-aside); - --color-link: var(--dark-color-link); - - --color-ts-module: var(--dark-color-ts-module); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-enum-member: var(--dark-color-ts-enum-member); - --color-ts-variable: var(--dark-color-ts-variable); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-constructor: var(--dark-color-ts-constructor); - --color-ts-property: var(--dark-color-ts-property); - --color-ts-method: var(--dark-color-ts-method); - --color-ts-call-signature: var(--dark-color-ts-call-signature); - --color-ts-index-signature: var(--dark-color-ts-index-signature); - --color-ts-constructor-signature: var( - --dark-color-ts-constructor-signature - ); - --color-ts-parameter: var(--dark-color-ts-parameter); - --color-ts-type-parameter: var(--dark-color-ts-type-parameter); - --color-ts-accessor: var(--dark-color-ts-accessor); - --color-ts-get-signature: var(--dark-color-ts-get-signature); - --color-ts-set-signature: var(--dark-color-ts-set-signature); - --color-ts-type-alias: var(--dark-color-ts-type-alias); - - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); - } -} - -html { - color-scheme: var(--color-scheme); -} - -body { - margin: 0; -} - -:root[data-theme="light"] { - --color-background: var(--light-color-background); - --color-background-secondary: var(--light-color-background-secondary); - --color-background-warning: var(--light-color-background-warning); - --color-warning-text: var(--light-color-warning-text); - --color-icon-background: var(--light-color-icon-background); - --color-accent: var(--light-color-accent); - --color-active-menu-item: var(--light-color-active-menu-item); - --color-text: var(--light-color-text); - --color-text-aside: var(--light-color-text-aside); - --color-link: var(--light-color-link); - - --color-ts-module: var(--light-color-ts-module); - --color-ts-namespace: var(--light-color-ts-namespace); - --color-ts-enum: var(--light-color-ts-enum); - --color-ts-enum-member: var(--light-color-ts-enum-member); - --color-ts-variable: var(--light-color-ts-variable); - --color-ts-function: var(--light-color-ts-function); - --color-ts-class: var(--light-color-ts-class); - --color-ts-interface: var(--light-color-ts-interface); - --color-ts-constructor: var(--light-color-ts-constructor); - --color-ts-property: var(--light-color-ts-property); - --color-ts-method: var(--light-color-ts-method); - --color-ts-call-signature: var(--light-color-ts-call-signature); - --color-ts-index-signature: var(--light-color-ts-index-signature); - --color-ts-constructor-signature: var( - --light-color-ts-constructor-signature - ); - --color-ts-parameter: var(--light-color-ts-parameter); - --color-ts-type-parameter: var(--light-color-ts-type-parameter); - --color-ts-accessor: var(--light-color-ts-accessor); - --color-ts-get-signature: var(--light-color-ts-get-signature); - --color-ts-set-signature: var(--light-color-ts-set-signature); - --color-ts-type-alias: var(--light-color-ts-type-alias); - - --external-icon: var(--light-external-icon); - --color-scheme: var(--light-color-scheme); -} - -:root[data-theme="dark"] { - --color-background: var(--dark-color-background); - --color-background-secondary: var(--dark-color-background-secondary); - --color-background-warning: var(--dark-color-background-warning); - --color-warning-text: var(--dark-color-warning-text); - --color-icon-background: var(--dark-color-icon-background); - --color-accent: var(--dark-color-accent); - --color-active-menu-item: var(--dark-color-active-menu-item); - --color-text: var(--dark-color-text); - --color-text-aside: var(--dark-color-text-aside); - --color-link: var(--dark-color-link); - - --color-ts-module: var(--dark-color-ts-module); - --color-ts-namespace: var(--dark-color-ts-namespace); - --color-ts-enum: var(--dark-color-ts-enum); - --color-ts-enum-member: var(--dark-color-ts-enum-member); - --color-ts-variable: var(--dark-color-ts-variable); - --color-ts-function: var(--dark-color-ts-function); - --color-ts-class: var(--dark-color-ts-class); - --color-ts-interface: var(--dark-color-ts-interface); - --color-ts-constructor: var(--dark-color-ts-constructor); - --color-ts-property: var(--dark-color-ts-property); - --color-ts-method: var(--dark-color-ts-method); - --color-ts-call-signature: var(--dark-color-ts-call-signature); - --color-ts-index-signature: var(--dark-color-ts-index-signature); - --color-ts-constructor-signature: var( - --dark-color-ts-constructor-signature - ); - --color-ts-parameter: var(--dark-color-ts-parameter); - --color-ts-type-parameter: var(--dark-color-ts-type-parameter); - --color-ts-accessor: var(--dark-color-ts-accessor); - --color-ts-get-signature: var(--dark-color-ts-get-signature); - --color-ts-set-signature: var(--dark-color-ts-set-signature); - --color-ts-type-alias: var(--dark-color-ts-type-alias); - - --external-icon: var(--dark-external-icon); - --color-scheme: var(--dark-color-scheme); -} - -.always-visible, -.always-visible .tsd-signatures { - display: inherit !important; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - line-height: 1.2; -} - -h1 > a, -h2 > a, -h3 > a, -h4 > a, -h5 > a, -h6 > a { - text-decoration: none; - color: var(--color-text); -} - -h1 { - font-size: 1.875rem; - margin: 0.67rem 0; -} - -h2 { - font-size: 1.5rem; - margin: 0.83rem 0; -} - -h3 { - font-size: 1.25rem; - margin: 1rem 0; -} - -h4 { - font-size: 1.05rem; - margin: 1.33rem 0; -} - -h5 { - font-size: 1rem; - margin: 1.5rem 0; -} - -h6 { - font-size: 0.875rem; - margin: 2.33rem 0; -} - -.uppercase { - text-transform: uppercase; -} - -dl, -menu, -ol, -ul { - margin: 1em 0; -} - -dd { - margin: 0 0 0 40px; -} - -.container { - max-width: 1700px; - padding: 0 2rem; -} - -/* Footer */ -.tsd-generator { - border-top: 1px solid var(--color-accent); - padding-top: 1rem; - padding-bottom: 1rem; - max-height: 3.5rem; -} - -.tsd-generator > p { - margin-top: 0; - margin-bottom: 0; - padding: 0 1rem; -} - -.container-main { - margin: 0 auto; - /* toolbar, footer, margin */ - min-height: calc(100vh - 41px - 56px - 4rem); -} - -@keyframes fade-in { - from { - opacity: 0; - } - to { - opacity: 1; - } -} -@keyframes fade-out { - from { - opacity: 1; - visibility: visible; - } - to { - opacity: 0; - } -} -@keyframes fade-in-delayed { - 0% { - opacity: 0; - } - 33% { - opacity: 0; - } - 100% { - opacity: 1; - } -} -@keyframes fade-out-delayed { - 0% { - opacity: 1; - visibility: visible; - } - 66% { - opacity: 0; - } - 100% { - opacity: 0; - } -} -@keyframes pop-in-from-right { - from { - transform: translate(100%, 0); - } - to { - transform: translate(0, 0); - } -} -@keyframes pop-out-to-right { - from { - transform: translate(0, 0); - visibility: visible; - } - to { - transform: translate(100%, 0); - } -} -body { - background: var(--color-background); - font-family: "Segoe UI", sans-serif; - font-size: 16px; - color: var(--color-text); -} - -a { - color: var(--color-link); - text-decoration: none; -} -a:hover { - text-decoration: underline; -} -a.external[target="_blank"] { - background-image: var(--external-icon); - background-position: top 3px right; - background-repeat: no-repeat; - padding-right: 13px; -} - -code, -pre { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - padding: 0.2em; - margin: 0; - font-size: 0.875rem; - border-radius: 0.8em; -} - -pre { - position: relative; - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; - padding: 10px; - border: 1px solid var(--color-accent); -} -pre code { - padding: 0; - font-size: 100%; -} -pre > button { - position: absolute; - top: 10px; - right: 10px; - opacity: 0; - transition: opacity 0.1s; - box-sizing: border-box; -} -pre:hover > button, -pre > button.visible { - opacity: 1; -} - -blockquote { - margin: 1em 0; - padding-left: 1em; - border-left: 4px solid gray; -} - -.tsd-typography { - line-height: 1.333em; -} -.tsd-typography ul { - list-style: square; - padding: 0 0 0 20px; - margin: 0; -} -.tsd-typography .tsd-index-panel h3, -.tsd-index-panel .tsd-typography h3, -.tsd-typography h4, -.tsd-typography h5, -.tsd-typography h6 { - font-size: 1em; -} -.tsd-typography h5, -.tsd-typography h6 { - font-weight: normal; -} -.tsd-typography p, -.tsd-typography ul, -.tsd-typography ol { - margin: 1em 0; -} -.tsd-typography table { - border-collapse: collapse; - border: none; -} -.tsd-typography td, -.tsd-typography th { - padding: 6px 13px; - border: 1px solid var(--color-accent); -} -.tsd-typography thead, -.tsd-typography tr:nth-child(even) { - background-color: var(--color-background-secondary); -} - -.tsd-breadcrumb { - margin: 0; - padding: 0; - color: var(--color-text-aside); -} -.tsd-breadcrumb a { - color: var(--color-text-aside); - text-decoration: none; -} -.tsd-breadcrumb a:hover { - text-decoration: underline; -} -.tsd-breadcrumb li { - display: inline; -} -.tsd-breadcrumb li:after { - content: " / "; -} - -.tsd-comment-tags { - display: flex; - flex-direction: column; -} -dl.tsd-comment-tag-group { - display: flex; - align-items: center; - overflow: hidden; - margin: 0.5em 0; -} -dl.tsd-comment-tag-group dt { - display: flex; - margin-right: 0.5em; - font-size: 0.875em; - font-weight: normal; -} -dl.tsd-comment-tag-group dd { - margin: 0; -} -code.tsd-tag { - padding: 0.25em 0.4em; - border: 0.1em solid var(--color-accent); - margin-right: 0.25em; - font-size: 70%; -} -h1 code.tsd-tag:first-of-type { - margin-left: 0.25em; -} - -dl.tsd-comment-tag-group dd:before, -dl.tsd-comment-tag-group dd:after { - content: " "; -} -dl.tsd-comment-tag-group dd pre, -dl.tsd-comment-tag-group dd:after { - clear: both; -} -dl.tsd-comment-tag-group p { - margin: 0; -} - -.tsd-panel.tsd-comment .lead { - font-size: 1.1em; - line-height: 1.333em; - margin-bottom: 2em; -} -.tsd-panel.tsd-comment .lead:last-child { - margin-bottom: 0; -} - -.tsd-filter-visibility h4 { - font-size: 1rem; - padding-top: 0.75rem; - padding-bottom: 0.5rem; - margin: 0; -} -.tsd-filter-item:not(:last-child) { - margin-bottom: 0.5rem; -} -.tsd-filter-input { - display: flex; - width: fit-content; - width: -moz-fit-content; - align-items: center; - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - cursor: pointer; -} -.tsd-filter-input input[type="checkbox"] { - cursor: pointer; - position: absolute; - width: 1.5em; - height: 1.5em; - opacity: 0; -} -.tsd-filter-input input[type="checkbox"]:disabled { - pointer-events: none; -} -.tsd-filter-input svg { - cursor: pointer; - width: 1.5em; - height: 1.5em; - margin-right: 0.5em; - border-radius: 0.33em; - /* Leaving this at full opacity breaks event listeners on Firefox. - Don't remove unless you know what you're doing. */ - opacity: 0.99; -} -.tsd-filter-input input[type="checkbox"]:focus + svg { - transform: scale(0.95); -} -.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { - transform: scale(1); -} -.tsd-checkbox-background { - fill: var(--color-accent); -} -input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { - stroke: var(--color-text); -} -.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { - fill: var(--color-background); - stroke: var(--color-accent); - stroke-width: 0.25rem; -} -.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { - stroke: var(--color-accent); -} - -.tsd-theme-toggle { - padding-top: 0.75rem; -} -.tsd-theme-toggle > h4 { - display: inline; - vertical-align: middle; - margin-right: 0.75rem; -} - -.tsd-hierarchy { - list-style: square; - margin: 0; -} -.tsd-hierarchy .target { - font-weight: bold; -} - -.tsd-panel-group.tsd-index-group { - margin-bottom: 0; -} -.tsd-index-panel .tsd-index-list { - list-style: none; - line-height: 1.333em; - margin: 0; - padding: 0.25rem 0 0 0; - overflow: hidden; - display: grid; - grid-template-columns: repeat(3, 1fr); - column-gap: 1rem; - grid-template-rows: auto; -} -@media (max-width: 1024px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(2, 1fr); - } -} -@media (max-width: 768px) { - .tsd-index-panel .tsd-index-list { - grid-template-columns: repeat(1, 1fr); - } -} -.tsd-index-panel .tsd-index-list li { - -webkit-page-break-inside: avoid; - -moz-page-break-inside: avoid; - -ms-page-break-inside: avoid; - -o-page-break-inside: avoid; - page-break-inside: avoid; -} - -.tsd-flag { - display: inline-block; - padding: 0.25em 0.4em; - border-radius: 4px; - color: var(--color-comment-tag-text); - background-color: var(--color-comment-tag); - text-indent: 0; - font-size: 75%; - line-height: 1; - font-weight: normal; -} - -.tsd-anchor { - position: relative; - top: -100px; -} - -.tsd-member { - position: relative; -} -.tsd-member .tsd-anchor + h3 { - display: flex; - align-items: center; - margin-top: 0; - margin-bottom: 0; - border-bottom: none; -} - -.tsd-navigation.settings { - margin: 1rem 0; -} -.tsd-navigation > a, -.tsd-navigation .tsd-accordion-summary { - width: calc(100% - 0.5rem); -} -.tsd-navigation a, -.tsd-navigation summary > span, -.tsd-page-navigation a { - display: inline-flex; - align-items: center; - padding: 0.25rem; - color: var(--color-text); - text-decoration: none; - box-sizing: border-box; -} -.tsd-navigation a.current, -.tsd-page-navigation a.current { - background: var(--color-active-menu-item); -} -.tsd-navigation a:hover, -.tsd-page-navigation a:hover { - text-decoration: underline; -} -.tsd-navigation ul, -.tsd-page-navigation ul { - margin-top: 0; - margin-bottom: 0; - padding: 0; - list-style: none; -} -.tsd-navigation li, -.tsd-page-navigation li { - padding: 0; - max-width: 100%; -} -.tsd-nested-navigation { - margin-left: 3rem; -} -.tsd-nested-navigation > li > details { - margin-left: -1.5rem; -} -.tsd-small-nested-navigation { - margin-left: 1.5rem; -} -.tsd-small-nested-navigation > li > details { - margin-left: -1.5rem; -} - -.tsd-nested-navigation > li > a, -.tsd-nested-navigation > li > span { - width: calc(100% - 1.75rem - 0.5rem); -} - -.tsd-page-navigation ul { - padding-left: 1.75rem; -} - -#tsd-sidebar-links a { - margin-top: 0; - margin-bottom: 0.5rem; - line-height: 1.25rem; -} -#tsd-sidebar-links a:last-of-type { - margin-bottom: 0; -} - -a.tsd-index-link { - padding: 0.25rem 0 !important; - font-size: 1rem; - line-height: 1.25rem; - display: inline-flex; - align-items: center; - color: var(--color-text); -} -.tsd-accordion-summary { - list-style-type: none; /* hide marker on non-safari */ - outline: none; /* broken on safari, so just hide it */ -} -.tsd-accordion-summary::-webkit-details-marker { - display: none; /* hide marker on safari */ -} -.tsd-accordion-summary, -.tsd-accordion-summary a { - user-select: none; - -moz-user-select: none; - -webkit-user-select: none; - -ms-user-select: none; - - cursor: pointer; -} -.tsd-accordion-summary a { - width: calc(100% - 1.5rem); -} -.tsd-accordion-summary > * { - margin-top: 0; - margin-bottom: 0; - padding-top: 0; - padding-bottom: 0; -} -.tsd-index-accordion .tsd-accordion-summary > svg { - margin-left: 0.25rem; -} -.tsd-index-content > :not(:first-child) { - margin-top: 0.75rem; -} -.tsd-index-heading { - margin-top: 1.5rem; - margin-bottom: 0.75rem; -} - -.tsd-kind-icon { - margin-right: 0.5rem; - width: 1.25rem; - height: 1.25rem; - min-width: 1.25rem; - min-height: 1.25rem; -} -.tsd-kind-icon path { - transform-origin: center; - transform: scale(1.1); -} -.tsd-signature > .tsd-kind-icon { - margin-right: 0.8rem; -} - -.tsd-panel { - margin-bottom: 2.5rem; -} -.tsd-panel.tsd-member { - margin-bottom: 4rem; -} -.tsd-panel:empty { - display: none; -} -.tsd-panel > h1, -.tsd-panel > h2, -.tsd-panel > h3 { - margin: 1.5rem -1.5rem 0.75rem -1.5rem; - padding: 0 1.5rem 0.75rem 1.5rem; -} -.tsd-panel > h1.tsd-before-signature, -.tsd-panel > h2.tsd-before-signature, -.tsd-panel > h3.tsd-before-signature { - margin-bottom: 0; - border-bottom: none; -} - -.tsd-panel-group { - margin: 4rem 0; -} -.tsd-panel-group.tsd-index-group { - margin: 2rem 0; -} -.tsd-panel-group.tsd-index-group details { - margin: 2rem 0; -} - -#tsd-search { - transition: background-color 0.2s; -} -#tsd-search .title { - position: relative; - z-index: 2; -} -#tsd-search .field { - position: absolute; - left: 0; - top: 0; - right: 2.5rem; - height: 100%; -} -#tsd-search .field input { - box-sizing: border-box; - position: relative; - top: -50px; - z-index: 1; - width: 100%; - padding: 0 10px; - opacity: 0; - outline: 0; - border: 0; - background: transparent; - color: var(--color-text); -} -#tsd-search .field label { - position: absolute; - overflow: hidden; - right: -40px; -} -#tsd-search .field input, -#tsd-search .title, -#tsd-toolbar-links a { - transition: opacity 0.2s; -} -#tsd-search .results { - position: absolute; - visibility: hidden; - top: 40px; - width: 100%; - margin: 0; - padding: 0; - list-style: none; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); -} -#tsd-search .results li { - background-color: var(--color-background); - line-height: initial; - padding: 4px; -} -#tsd-search .results li:nth-child(even) { - background-color: var(--color-background-secondary); -} -#tsd-search .results li.state { - display: none; -} -#tsd-search .results li.current:not(.no-results), -#tsd-search .results li:hover:not(.no-results) { - background-color: var(--color-accent); -} -#tsd-search .results a { - display: flex; - align-items: center; - padding: 0.25rem; - box-sizing: border-box; -} -#tsd-search .results a:before { - top: 10px; -} -#tsd-search .results span.parent { - color: var(--color-text-aside); - font-weight: normal; -} -#tsd-search.has-focus { - background-color: var(--color-accent); -} -#tsd-search.has-focus .field input { - top: 0; - opacity: 1; -} -#tsd-search.has-focus .title, -#tsd-search.has-focus #tsd-toolbar-links a { - z-index: 0; - opacity: 0; -} -#tsd-search.has-focus .results { - visibility: visible; -} -#tsd-search.loading .results li.state.loading { - display: block; -} -#tsd-search.failure .results li.state.failure { - display: block; -} - -#tsd-toolbar-links { - position: absolute; - top: 0; - right: 2rem; - height: 100%; - display: flex; - align-items: center; - justify-content: flex-end; -} -#tsd-toolbar-links a { - margin-left: 1.5rem; -} -#tsd-toolbar-links a:hover { - text-decoration: underline; -} - -.tsd-signature { - margin: 0 0 1rem 0; - padding: 1rem 0.5rem; - border: 1px solid var(--color-accent); - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 14px; - overflow-x: auto; -} - -.tsd-signature-symbol { - color: var(--color-text-aside); - font-weight: normal; -} - -.tsd-signature-type { - font-style: italic; - font-weight: normal; -} - -.tsd-signatures { - padding: 0; - margin: 0 0 1em 0; - list-style-type: none; -} -.tsd-signatures .tsd-signature { - margin: 0; - border-color: var(--color-accent); - border-width: 1px 0; - transition: background-color 0.1s; -} -.tsd-description .tsd-signatures .tsd-signature { - border-width: 1px; -} - -ul.tsd-parameter-list, -ul.tsd-type-parameter-list { - list-style: square; - margin: 0; - padding-left: 20px; -} -ul.tsd-parameter-list > li.tsd-parameter-signature, -ul.tsd-type-parameter-list > li.tsd-parameter-signature { - list-style: none; - margin-left: -20px; -} -ul.tsd-parameter-list h5, -ul.tsd-type-parameter-list h5 { - font-size: 16px; - margin: 1em 0 0.5em 0; -} -.tsd-sources { - margin-top: 1rem; - font-size: 0.875em; -} -.tsd-sources a { - color: var(--color-text-aside); - text-decoration: underline; -} -.tsd-sources ul { - list-style: none; - padding: 0; -} - -.tsd-page-toolbar { - position: sticky; - z-index: 1; - top: 0; - left: 0; - width: 100%; - color: var(--color-text); - background: var(--color-background-secondary); - border-bottom: 1px var(--color-accent) solid; - transition: transform 0.3s ease-in-out; -} -.tsd-page-toolbar a { - color: var(--color-text); - text-decoration: none; -} -.tsd-page-toolbar a.title { - font-weight: bold; -} -.tsd-page-toolbar a.title:hover { - text-decoration: underline; -} -.tsd-page-toolbar .tsd-toolbar-contents { - display: flex; - justify-content: space-between; - height: 2.5rem; - margin: 0 auto; -} -.tsd-page-toolbar .table-cell { - position: relative; - white-space: nowrap; - line-height: 40px; -} -.tsd-page-toolbar .table-cell:first-child { - width: 100%; -} -.tsd-page-toolbar .tsd-toolbar-icon { - box-sizing: border-box; - line-height: 0; - padding: 12px 0; -} - -.tsd-widget { - display: inline-block; - overflow: hidden; - opacity: 0.8; - height: 40px; - transition: - opacity 0.1s, - background-color 0.2s; - vertical-align: bottom; - cursor: pointer; -} -.tsd-widget:hover { - opacity: 0.9; -} -.tsd-widget.active { - opacity: 1; - background-color: var(--color-accent); -} -.tsd-widget.no-caption { - width: 40px; -} -.tsd-widget.no-caption:before { - margin: 0; -} - -.tsd-widget.options, -.tsd-widget.menu { - display: none; -} -input[type="checkbox"] + .tsd-widget:before { - background-position: -120px 0; -} -input[type="checkbox"]:checked + .tsd-widget:before { - background-position: -160px 0; -} - -img { - max-width: 100%; -} - -.tsd-anchor-icon { - display: inline-flex; - align-items: center; - margin-left: 0.5rem; - vertical-align: middle; - color: var(--color-text); -} - -.tsd-anchor-icon svg { - width: 1em; - height: 1em; - visibility: hidden; -} - -.tsd-anchor-link:hover > .tsd-anchor-icon svg { - visibility: visible; -} - -.deprecated { - text-decoration: line-through !important; -} - -.warning { - padding: 1rem; - color: var(--color-warning-text); - background: var(--color-background-warning); -} - -.tsd-kind-project { - color: var(--color-ts-project); -} -.tsd-kind-module { - color: var(--color-ts-module); -} -.tsd-kind-namespace { - color: var(--color-ts-namespace); -} -.tsd-kind-enum { - color: var(--color-ts-enum); -} -.tsd-kind-enum-member { - color: var(--color-ts-enum-member); -} -.tsd-kind-variable { - color: var(--color-ts-variable); -} -.tsd-kind-function { - color: var(--color-ts-function); -} -.tsd-kind-class { - color: var(--color-ts-class); -} -.tsd-kind-interface { - color: var(--color-ts-interface); -} -.tsd-kind-constructor { - color: var(--color-ts-constructor); -} -.tsd-kind-property { - color: var(--color-ts-property); -} -.tsd-kind-method { - color: var(--color-ts-method); -} -.tsd-kind-call-signature { - color: var(--color-ts-call-signature); -} -.tsd-kind-index-signature { - color: var(--color-ts-index-signature); -} -.tsd-kind-constructor-signature { - color: var(--color-ts-constructor-signature); -} -.tsd-kind-parameter { - color: var(--color-ts-parameter); -} -.tsd-kind-type-literal { - color: var(--color-ts-type-literal); -} -.tsd-kind-type-parameter { - color: var(--color-ts-type-parameter); -} -.tsd-kind-accessor { - color: var(--color-ts-accessor); -} -.tsd-kind-get-signature { - color: var(--color-ts-get-signature); -} -.tsd-kind-set-signature { - color: var(--color-ts-set-signature); -} -.tsd-kind-type-alias { - color: var(--color-ts-type-alias); -} - -/* if we have a kind icon, don't color the text by kind */ -.tsd-kind-icon ~ span { - color: var(--color-text); -} - -* { - scrollbar-width: thin; - scrollbar-color: var(--color-accent) var(--color-icon-background); -} - -*::-webkit-scrollbar { - width: 0.75rem; -} - -*::-webkit-scrollbar-track { - background: var(--color-icon-background); -} - -*::-webkit-scrollbar-thumb { - background-color: var(--color-accent); - border-radius: 999rem; - border: 0.25rem solid var(--color-icon-background); -} - -/* mobile */ -@media (max-width: 769px) { - .tsd-widget.options, - .tsd-widget.menu { - display: inline-block; - } - - .container-main { - display: flex; - } - html .col-content { - float: none; - max-width: 100%; - width: 100%; - } - html .col-sidebar { - position: fixed !important; - overflow-y: auto; - -webkit-overflow-scrolling: touch; - z-index: 1024; - top: 0 !important; - bottom: 0 !important; - left: auto !important; - right: 0 !important; - padding: 1.5rem 1.5rem 0 0; - width: 75vw; - visibility: hidden; - background-color: var(--color-background); - transform: translate(100%, 0); - } - html .col-sidebar > *:last-child { - padding-bottom: 20px; - } - html .overlay { - content: ""; - display: block; - position: fixed; - z-index: 1023; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.75); - visibility: hidden; - } - - .to-has-menu .overlay { - animation: fade-in 0.4s; - } - - .to-has-menu .col-sidebar { - animation: pop-in-from-right 0.4s; - } - - .from-has-menu .overlay { - animation: fade-out 0.4s; - } - - .from-has-menu .col-sidebar { - animation: pop-out-to-right 0.4s; - } - - .has-menu body { - overflow: hidden; - } - .has-menu .overlay { - visibility: visible; - } - .has-menu .col-sidebar { - visibility: visible; - transform: translate(0, 0); - display: flex; - flex-direction: column; - gap: 1.5rem; - max-height: 100vh; - padding: 1rem 2rem; - } - .has-menu .tsd-navigation { - max-height: 100%; - } -} - -/* one sidebar */ -@media (min-width: 770px) { - .container-main { - display: grid; - grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); - grid-template-areas: "sidebar content"; - margin: 2rem auto; - } - - .col-sidebar { - grid-area: sidebar; - } - .col-content { - grid-area: content; - padding: 0 1rem; - } -} -@media (min-width: 770px) and (max-width: 1399px) { - .col-sidebar { - max-height: calc(100vh - 2rem - 42px); - overflow: auto; - position: sticky; - top: 42px; - padding-top: 1rem; - } - .site-menu { - margin-top: 1rem; - } -} - -/* two sidebars */ -@media (min-width: 1200px) { - .container-main { - grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); - grid-template-areas: "sidebar content toc"; - } - - .col-sidebar { - display: contents; - } - - .page-menu { - grid-area: toc; - padding-left: 1rem; - } - .site-menu { - grid-area: sidebar; - } - - .site-menu { - margin-top: 1rem 0; - } - - .page-menu, - .site-menu { - max-height: calc(100vh - 2rem - 42px); - overflow: auto; - position: sticky; - top: 42px; - } -} diff --git a/packages/react/typedoc/documentation.json b/packages/react/typedoc/documentation.json deleted file mode 100644 index ba33cdf4c28..00000000000 --- a/packages/react/typedoc/documentation.json +++ /dev/null @@ -1,51376 +0,0 @@ -{ - "id": 0, - "name": "@thirdweb-dev/react", - "variant": "project", - "kind": 1, - "flags": {}, - "children": [ - { - "id": 467, - "name": "ISecureStorage", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 468, - "name": "getItem", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 3, - "character": 4 - } - ], - "signatures": [ - { - "id": 469, - "name": "getItem", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 3, - "character": 4 - } - ], - "parameters": [ - { - "id": 470, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 475, - "name": "removeItem", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 5, - "character": 4 - } - ], - "signatures": [ - { - "id": 476, - "name": "removeItem", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 5, - "character": 4 - } - ], - "parameters": [ - { - "id": 477, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 471, - "name": "setItem", - "variant": "declaration", - "kind": 2048, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 4, - "character": 4 - } - ], - "signatures": [ - { - "id": 472, - "name": "setItem", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 4, - "character": 4 - } - ], - "parameters": [ - { - "id": 473, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 474, - "name": "value", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - ], - "groups": [ - { - "title": "Methods", - "children": [ - 468, - 475, - 471 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 2, - "character": 17 - } - ] - }, - { - "id": 169, - "name": "MediaRendererProps", - "variant": "declaration", - "kind": 256, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The props for the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "MediaRenderer", - "target": 265 - }, - { - "kind": "text", - "text": " component." - } - ] - }, - "children": [ - { - "id": 171, - "name": "alt", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The alt text for the media." - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 35, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L35" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 180, - "name": "children", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 17, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L17" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.children" - } - }, - { - "id": 176, - "name": "className", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 4, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L4" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.className" - } - }, - { - "id": 179, - "name": "controls", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Show the media controls (where applicable) (default false)" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 15, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L15" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.controls" - } - }, - { - "id": 173, - "name": "gatewayUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The IPFS gateway URL to use" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 43, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L43" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 175, - "name": "height", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 45, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L45" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.height" - } - }, - { - "id": 181, - "name": "mimeType", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 19, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L19" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.mimeType" - } - }, - { - "id": 172, - "name": "poster", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The media poster image uri. (if applicable)" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 39, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L39" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 178, - "name": "requireInteraction", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Require user interaction to play the media. (default false)" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 11, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.requireInteraction" - } - }, - { - "id": 170, - "name": "src", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The media source uri." - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 31, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L31" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - }, - { - "id": 177, - "name": "style", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 5, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L5" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.CSSProperties" - }, - "name": "CSSProperties", - "package": "@types/react", - "qualifiedName": "React.CSSProperties" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.style" - } - }, - { - "id": 174, - "name": "width", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 44, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L44" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.width" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 171, - 180, - 176, - 179, - 173, - 175, - 181, - 172, - 178, - 170, - 177, - 174 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 27, - "character": 17, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L27" - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps" - }, - "name": "SharedMediaProps", - "package": "@thirdweb-dev/react" - } - ] - }, - { - "id": 268, - "name": "MediaType", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 270, - "name": "mimeType", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 500, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L500" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 269, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 499, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L499" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 270, - 269 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 498, - "character": 17, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L498" - } - ] - }, - { - "id": 463, - "name": "ThirdwebAuthConfig", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configuration to use the react SDK with an [auth](https://portal.thirdweb.com/auth) server." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "children": [ - { - "id": 464, - "name": "authUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The backend URL of the authentication endoints. For example, if your endpoints are\nat " - }, - { - "kind": "code", - "text": "`/api/auth/login`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`/api/auth/logout`" - }, - { - "kind": "text", - "text": ", etc. then this should be set to " - }, - { - "kind": "code", - "text": "`/api/auth`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 17, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 465, - "name": "domain", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The frontend domain used to generate the login payload.\nThis domain should match the domain used on your auth backend." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 22, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 466, - "name": "secureStorage", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Secure storage to use for storing the auth token when using JWT tokens.\n\nDo not use a storage option that stores values accessible outside\nyour aplication (like localStorage on web environments) since you may\nbe exposing your auth token to malicious actors.\n\n** By default auth uses cookies so no need to set this unless you want to specifically use JWT tokens **" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 32, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 467, - "name": "ISecureStorage", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 464, - 465, - 466 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 12, - "character": 17 - } - ] - }, - { - "id": 271, - "name": "ThirdwebNftMediaProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The props for the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "ThirdwebNftMedia", - "target": 282, - "tsLinkText": "" - }, - { - "kind": "text", - "text": " component." - } - ] - }, - "children": [ - { - "id": 280, - "name": "children", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 17, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L17" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.children" - } - }, - { - "id": 276, - "name": "className", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 4, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L4" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.className" - } - }, - { - "id": 279, - "name": "controls", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Show the media controls (where applicable) (default false)" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 15, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L15" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.controls" - } - }, - { - "id": 275, - "name": "height", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/NftMedia.tsx", - "line": 15, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L15" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.height" - } - }, - { - "id": 272, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The NFT metadata of the NFT returned by the thirdweb sdk." - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/NftMedia.tsx", - "line": 13, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L13" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "objectOutputType" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 273, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/sdk/dist/declarations/src/core/schema/nft.d.ts", - "line": 278, - "character": 303 - } - ] - } - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodUnion" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodEffects" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodUnion" - }, - "typeArguments": [ - { - "type": "tuple", - "elements": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodBigInt" - }, - "name": "ZodBigInt", - "package": "zod" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodType" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodTypeDef" - }, - "name": "ZodTypeDef", - "package": "zod" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - } - ], - "name": "ZodType", - "package": "zod" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodType" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+bn.js@5.1.1/node_modules/@types/bn.js/index.d.ts", - "qualifiedName": "BN" - }, - "name": "BN", - "package": "@types/bn.js" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodTypeDef" - }, - "name": "ZodTypeDef", - "package": "zod" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+bn.js@5.1.1/node_modules/@types/bn.js/index.d.ts", - "qualifiedName": "BN" - }, - "name": "BN", - "package": "@types/bn.js" - } - ], - "name": "ZodType", - "package": "zod" - } - ] - } - ], - "name": "ZodUnion", - "package": "zod" - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+bn.js@5.1.1/node_modules/@types/bn.js/index.d.ts", - "qualifiedName": "BN" - }, - "name": "BN", - "package": "@types/bn.js" - } - ] - } - ], - "name": "ZodEffects", - "package": "zod" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/types.d.ts", - "qualifiedName": "ZodUnknown" - }, - "name": "ZodUnknown", - "package": "zod" - } - ] - } - ], - "name": "ZodUnion", - "package": "zod" - }, - { - "type": "literal", - "value": "strip" - } - ], - "name": "objectOutputType", - "package": "zod" - } - }, - { - "id": 281, - "name": "mimeType", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 19, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L19" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.mimeType" - } - }, - { - "id": 278, - "name": "requireInteraction", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Require user interaction to play the media. (default false)" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 11, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L11" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.requireInteraction" - } - }, - { - "id": 277, - "name": "style", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/types.ts", - "line": 5, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/types.ts#L5" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.CSSProperties" - }, - "name": "CSSProperties", - "package": "@types/react", - "qualifiedName": "React.CSSProperties" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.style" - } - }, - { - "id": 274, - "name": "width", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/NftMedia.tsx", - "line": 14, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L14" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "overwrites": { - "type": "reference", - "target": -1, - "name": "SharedMediaProps.width" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 280, - 276, - 279, - 275, - 272, - 281, - 278, - 277, - 274 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/components/NftMedia.tsx", - "line": 9, - "character": 17, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L9" - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps" - }, - "name": "SharedMediaProps", - "package": "@thirdweb-dev/react" - } - ] - }, - { - "id": 297, - "name": "ThirdwebProviderCoreProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The possible props for the ThirdwebProvider." - } - ] - }, - "children": [ - { - "id": 308, - "name": "activeChain", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The network to use for the SDK." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 30, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 309, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ] - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "reflection", - "declaration": { - "id": 310, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ] - }, - { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "chainId" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - } - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "slug" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - } - } - ] - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.activeChain" - } - }, - { - "id": 315, - "name": "authConfig", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configuration used for thirdweb auth usage. Enables users to login\nto backends with their wallet." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 26, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 463, - "name": "ThirdwebAuthConfig", - "package": "@thirdweb-dev/react-core" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.authConfig" - } - }, - { - "id": 300, - "name": "autoConnect", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether or not to attempt auto-connect to a wallet." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 38, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 304, - "name": "autoConnectTimeout", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Timeout for auto-connecting wallet in milliseconds\n\nIf wallet fails to connect in this time, it will stop trying to connect and user will have to manually connect" - } - ], - "blockTags": [ - { - "tag": "@defaultValue", - "content": [ - { - "kind": "code", - "text": "```ts\n15000\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 52, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 303, - "name": "autoSwitch", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether or not to automatically switch to wallet's network to active chain" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 44, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 306, - "name": "clientId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 31, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.clientId" - } - }, - { - "id": 302, - "name": "createWalletStorage", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 40, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/core/AsyncStorage.ts", - "qualifiedName": "CreateAsyncStorage" - }, - "name": "CreateAsyncStorage", - "package": "@thirdweb-dev/wallets" - } - }, - { - "id": 299, - "name": "dAppMeta", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Metadata to pass to wallet connect and walletlink wallet connect. (Used to show *which* dApp is being connected to in mobile wallets that support it)\nDefaults to just the name being passed as " - }, - { - "kind": "code", - "text": "`thirdweb powered dApp`" - }, - { - "kind": "text", - "text": "." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 34, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/core/types/dAppMeta.ts", - "qualifiedName": "DAppMetaData" - }, - "name": "DAppMetaData", - "package": "@thirdweb-dev/wallets" - } - }, - { - "id": 316, - "name": "queryClient", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/query-client.d.ts", - "line": 4, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/queryClient.ts", - "qualifiedName": "QueryClient" - }, - "name": "QueryClient", - "package": "@tanstack/query-core" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.queryClient" - } - }, - { - "id": 312, - "name": "sdkOptions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SDKOptions | Thirdweb SDK Options", - "target": { - "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", - "qualifiedName": "SDKOptions" - }, - "tsLinkText": "Thirdweb SDK Options" - }, - { - "kind": "text", - "text": " to pass to the thirdweb SDK\ncomes with sensible defaults" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 17, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 313, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/sdk/dist/declarations/src/evm/schema/sdk-options.d.ts", - "line": 169, - "character": 3 - } - ] - } - } - ] - }, - { - "type": "literal", - "value": "chains" - } - ], - "name": "Omit", - "package": "typescript" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.sdkOptions" - } - }, - { - "id": 307, - "name": "secretKey", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 32, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.secretKey" - } - }, - { - "id": 305, - "name": "signerWallet", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 53, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/signer.ts", - "qualifiedName": "SignerWallet" - }, - "name": "SignerWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 314, - "name": "storageInterface", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The storage interface to use with the sdk." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../storage/src/types/index.ts", - "qualifiedName": "IThirdwebStorage" - }, - "name": "IThirdwebStorage", - "package": "@thirdweb-dev/storage" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.storageInterface" - } - }, - { - "id": 311, - "name": "supportedChains", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Chains to support. If not provided, will default to the chains supported by the SDK." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "Omit.supportedChains" - } - }, - { - "id": 298, - "name": "supportedWallets", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of wallets that the dApp supports\nIf not provided, will default to Metamask (injected), Coinbase wallet and Device wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "You can Import the wallets you want to support from " - }, - { - "kind": "code", - "text": "`@thirdweb-dev/wallets`" - }, - { - "kind": "text", - "text": " and pass them to " - }, - { - "kind": "code", - "text": "`supportedWallets`" - }, - { - "kind": "text", - "text": "\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"App.jsx\"\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n \n \n \n );\n};\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 29, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 385, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 301, - "name": "theme", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 39, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "dark" - }, - { - "type": "literal", - "value": "light" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 308, - 315, - 300, - 304, - 303, - 306, - 302, - 299, - 316, - 312, - 307, - 305, - 314, - 311, - 298, - 301 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 9, - "character": 17 - } - ], - "typeParameters": [ - { - "id": 317, - "name": "TChains", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1350, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - ], - "name": "ThirdwebSDKProviderProps", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "literal", - "value": "signer" - } - ], - "name": "Omit", - "package": "typescript" - } - ] - }, - { - "id": 1350, - "name": "ThirdwebSDKProviderProps", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1357, - "name": "activeChain", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The network to use for the SDK." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 30, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "reflection", - "declaration": { - "id": 1358, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ] - }, - { - "type": "intersection", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "reflection", - "declaration": { - "id": 1359, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {} - } - } - ] - }, - { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "chainId" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - } - }, - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "slug" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "intrinsic", - "name": "number" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - } - } - ] - } - }, - { - "id": 1356, - "name": "authConfig", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The configuration used for thirdweb auth usage. Enables users to login\nto backends with their wallet." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 26, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 463, - "name": "ThirdwebAuthConfig", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1360, - "name": "clientId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 31, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1362, - "name": "queryClient", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/query-client.d.ts", - "line": 4, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/queryClient.ts", - "qualifiedName": "QueryClient" - }, - "name": "QueryClient", - "package": "@tanstack/query-core" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "QueryClientProviderProps.queryClient" - } - }, - { - "id": 1353, - "name": "sdkOptions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SDKOptions | Thirdweb SDK Options", - "target": { - "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", - "qualifiedName": "SDKOptions" - }, - "tsLinkText": "Thirdweb SDK Options" - }, - { - "kind": "text", - "text": " to pass to the thirdweb SDK\ncomes with sensible defaults" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 17, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 1354, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/sdk/dist/declarations/src/evm/schema/sdk-options.d.ts", - "line": 169, - "character": 3 - } - ] - } - } - ] - }, - { - "type": "literal", - "value": "chains" - } - ], - "name": "Omit", - "package": "typescript" - } - }, - { - "id": 1361, - "name": "secretKey", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 32, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1352, - "name": "signer", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-signer@5.7.0/node_modules/@ethersproject/abstract-signer/src.ts/index.ts", - "qualifiedName": "Signer" - }, - "name": "Signer", - "package": "@ethersproject/abstract-signer" - } - }, - { - "id": 1355, - "name": "storageInterface", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The storage interface to use with the sdk." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../storage/src/types/index.ts", - "qualifiedName": "IThirdwebStorage" - }, - "name": "IThirdwebStorage", - "package": "@thirdweb-dev/storage" - } - }, - { - "id": 1351, - "name": "supportedChains", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Chains to support. If not provided, will default to the chains supported by the SDK." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1357, - 1356, - 1360, - 1362, - 1353, - 1361, - 1352, - 1355, - 1351 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/types.d.ts", - "line": 7, - "character": 17 - } - ], - "typeParameters": [ - { - "id": 1363, - "name": "TChains", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/providers/query-client.tsx", - "qualifiedName": "QueryClientProviderProps" - }, - "name": "QueryClientProviderProps", - "package": "@thirdweb-dev/react-core" - } - ] - }, - { - "id": 1263, - "name": "UserWithData", - "variant": "declaration", - "kind": 256, - "flags": {}, - "children": [ - { - "id": 1265, - "name": "address", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/auth/dist/declarations/src/core/schema/common.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "User.address" - } - }, - { - "id": 1264, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", - "line": 3, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": -1, - "name": "TData", - "refersToTypeParameter": true - } - }, - { - "id": 1266, - "name": "session", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/auth/dist/declarations/src/core/schema/common.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": -1, - "name": "TContext", - "refersToTypeParameter": true - }, - "inheritedFrom": { - "type": "reference", - "target": -1, - "name": "User.session" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1265, - 1264, - 1266 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", - "line": 2, - "character": 17 - } - ], - "typeParameters": [ - { - "id": 1267, - "name": "TData", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "Json" - }, - "name": "Json", - "package": "@thirdweb-dev/auth" - }, - "default": { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "Json" - }, - "name": "Json", - "package": "@thirdweb-dev/auth" - } - }, - { - "id": 1268, - "name": "TContext", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "Json" - }, - "name": "Json", - "package": "@thirdweb-dev/auth" - }, - "default": { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "Json" - }, - "name": "Json", - "package": "@thirdweb-dev/auth" - } - } - ], - "extendedTypes": [ - { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "User" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContext", - "refersToTypeParameter": true - } - ], - "name": "User", - "package": "@thirdweb-dev/auth" - } - ] - }, - { - "id": 1443, - "name": "AcceptDirectOffer", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 193, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1444, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1446, - "name": "addressOfOfferor", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 195, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1445, - "name": "listingId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 194, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1446, - 1445 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 193, - "character": 32 - } - ] - } - } - }, - { - "id": 1396, - "name": "AirdropNFTParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params to pass to " - }, - { - "kind": "code", - "text": "`useTransferBatchNFT`" - }, - { - "kind": "text", - "text": "." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 97, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1397, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1399, - "name": "addresses", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 99, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/airdrop/airdrop.ts", - "qualifiedName": "AirdropInput" - }, - "name": "AirdropInput", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1398, - "name": "tokenId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 98, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1399, - 1398 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 97, - "character": 31 - } - ] - } - } - }, - { - "id": 1412, - "name": "BurnNFTParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params for the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useBurnNFT", - "target": 1097 - }, - { - "kind": "text", - "text": " hook mutation." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 131, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1413, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1415, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 133, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Amount" - }, - "name": "Amount", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1414, - "name": "tokenId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 132, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1415, - 1414 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 131, - "character": 28 - } - ] - } - } - }, - { - "id": 1450, - "name": "BuyNowParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 200, - "character": 12 - } - ], - "typeParameters": [ - { - "id": 1459, - "name": "TListingType", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "default": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/enums/marketplace/ListingType.ts", - "qualifiedName": "ListingType" - }, - "name": "ListingType", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TListingType", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/enums/marketplace/ListingType.ts", - "qualifiedName": "ListingType.Direct" - }, - "name": "ListingType.Direct", - "package": "@thirdweb-dev/sdk" - }, - "trueType": { - "type": "reflection", - "declaration": { - "id": 1451, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1454, - "name": "buyAmount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 203, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 1455, - "name": "buyForWallet", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 204, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1452, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 201, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 1453, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 202, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/enums/marketplace/ListingType.ts", - "qualifiedName": "ListingType.Direct" - }, - "name": "ListingType.Direct", - "package": "@thirdweb-dev/sdk" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1454, - 1455, - 1452, - 1453 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 200, - "character": 97 - } - ] - } - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 1456, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1457, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 206, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 1458, - "name": "type", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 207, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/enums/marketplace/ListingType.ts", - "qualifiedName": "ListingType.Auction" - }, - "name": "ListingType.Auction", - "package": "@thirdweb-dev/sdk" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1457, - 1458 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 205, - "character": 4 - } - ] - } - } - } - }, - { - "id": 1369, - "name": "Chain", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 23, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1370, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1375, - "name": "blockExplorers", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 28, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reflection", - "declaration": { - "id": 1376, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1377, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 29, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1378, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 30, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1377, - 1378 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 28, - "character": 21 - } - ] - } - } - } - }, - { - "id": 1371, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 24, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1372, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 25, - "character": 4 - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "chainName" - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "AddEthereumChainParameter" - }, - "name": "AddEthereumChainParameter", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 1373, - "name": "nativeCurrency", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 26, - "character": 4 - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "nativeCurrency" - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "AddEthereumChainParameter" - }, - "name": "AddEthereumChainParameter", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 1374, - "name": "rpcUrls", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 27, - "character": 4 - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "rpcUrls" - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "AddEthereumChainParameter" - }, - "name": "AddEthereumChainParameter", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 1379, - "name": "testnet", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 32, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1375, - 1371, - 1372, - 1373, - 1374, - 1379 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 23, - "character": 20 - } - ] - } - } - }, - { - "id": 494, - "name": "ClaimIneligibilityParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The options to be passed as the second parameter to the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useClaimIneligibilityReasons", - "target": 524, - "tsLinkText": "" - }, - { - "kind": "text", - "text": "` hook." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 11, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 495, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 497, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 496, - "name": "walletAddress", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 497, - 496 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 11, - "character": 39 - } - ] - } - } - }, - { - "id": 1427, - "name": "ClaimNFTParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params for the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useClaimNFT", - "target": 716 - }, - { - "kind": "text", - "text": " hook mutation." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 169, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1428, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1431, - "name": "options", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 172, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", - "qualifiedName": "ClaimOptions" - }, - "name": "ClaimOptions", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1430, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 171, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 1429, - "name": "to", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 170, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1432, - "name": "tokenId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "tokenId is only used for ERC1155 tokens" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 176, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1431, - 1430, - 1429, - 1432 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 169, - "character": 29 - } - ] - } - } - }, - { - "id": 1433, - "name": "ClaimNFTReturnType", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The return type of the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useClaimNFT", - "target": 716 - }, - { - "kind": "text", - "text": " hook." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 183, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Awaited" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "ReturnType" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "claimTo" - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", - "qualifiedName": "Erc721" - }, - "name": "Erc721", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "ReturnType", - "package": "typescript" - } - ], - "name": "Awaited", - "package": "typescript" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Awaited" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "ReturnType" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "claimTo" - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "name": "Erc1155", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "ReturnType", - "package": "typescript" - } - ], - "name": "Awaited", - "package": "typescript" - } - ] - } - }, - { - "id": 1460, - "name": "ClaimTokenParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 214, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1461, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1463, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 216, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Amount" - }, - "name": "Amount", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1464, - "name": "checkERC20Allowance", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 217, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1462, - "name": "to", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 215, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1463, - 1464, - 1462 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 214, - "character": 31 - } - ] - } - } - }, - { - "id": 403, - "name": "ConnectUIProps", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 49, - "character": 12 - } - ], - "typeParameters": [ - { - "id": 431, - "name": "I", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - }, - "default": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 404, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 408, - "name": "connected", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 58, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 409, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 58, - "character": 15 - } - ], - "signatures": [ - { - "id": 410, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "when the wallet is connected, call this function to indicate that the wallet is connected and it is safe to close the Modal" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 415, - "name": "goBack", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 70, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 416, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 70, - "character": 12 - } - ], - "signatures": [ - { - "id": 417, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "go back to the wallet selector screen in connect wallet modal" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 405, - "name": "hide", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 54, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 406, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 54, - "character": 10 - } - ], - "signatures": [ - { - "id": 407, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "temporarily hide the ConnectModal\nThis is useful when you want to open another modal and do not want to show the ConnectModal in the background" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 411, - "name": "isOpen", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "indicates whether the connect wallet modal is open or not" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 426, - "name": "modalSize", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Size of the modal\n\nThis is always " - }, - { - "kind": "code", - "text": "`compact`" - }, - { - "kind": "text", - "text": " on React Native" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 134, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "compact" - }, - { - "type": "literal", - "value": "wide" - } - ] - } - }, - { - "id": 427, - "name": "onLocallyConnected", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 140, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 428, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 140, - "character": 25 - } - ], - "signatures": [ - { - "id": 429, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Called when the wallet is connected but it's\npart of another wallet's connection flow." - } - ] - }, - "parameters": [ - { - "id": 430, - "name": "walleInstance", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the instance of the connected wallet" - } - ] - }, - "type": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 420, - "name": "selectionData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "selectionData passed from " - }, - { - "kind": "code", - "text": "`selectUI`" - }, - { - "kind": "text", - "text": "'s " - }, - { - "kind": "code", - "text": "`onSelect`" - }, - { - "kind": "text", - "text": " function" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 119, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 421, - "name": "setSelectionData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 124, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 422, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 124, - "character": 22 - } - ], - "signatures": [ - { - "id": 423, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "set selectionData" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [] - } - ] - }, - "parameters": [ - { - "id": 424, - "name": "data", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 412, - "name": "show", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 66, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 413, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 66, - "character": 10 - } - ], - "signatures": [ - { - "id": 414, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "show the hidden connect wallet modal again" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 425, - "name": "supportedWallets", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "List of all supported wallets including your wallet." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 128, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 385, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 418, - "name": "theme", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "theme of the connect wallet modal" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 74, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "dark" - }, - { - "type": "literal", - "value": "light" - } - ] - } - }, - { - "id": 419, - "name": "walletConfig", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "code", - "text": "`WalletConfig`" - }, - { - "kind": "text", - "text": " object of your wallet\n\nyou can use this to connect to your wallet\n\n### 1. Using " - }, - { - "kind": "code", - "text": "`useConnect`" - }, - { - "kind": "text", - "text": " hook\n" - }, - { - "kind": "code", - "text": "```ts\n const connect = useConnect();\n\n // call this function to connect to your wallet\n async function handleConnect() {\n await connect(walletConfig, options);\n }\n\n```" - }, - { - "kind": "text", - "text": "\n\nOR\n\n### 2. Manually creating wallet instance and connecting\n" - }, - { - "kind": "code", - "text": "```ts\nconst createWalletInstance = useCreateWalletInstance();\nconst setConnectedWallet = useSetConnectedWallet();\nconst setConnectionStatus = useSetConnectionStatus();\n\n// call this function to connect to your wallet\nasync function handleConnect() {\n // create instance\n const walletInstance = createWalletInstance(walletConfig);\n // connect wallet\n setConnectionStatus('connecting);\n try {\n await walletInstance.connect(options);\n // set connected wallet\n setConnectedWallet(walletInstance);\n } catch {\n setConnectionStatus('disconnected');\n }\n}\n```" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 115, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 408, - 415, - 405, - 411, - 426, - 427, - 420, - 421, - 412, - 425, - 418, - 419 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 49, - "character": 72 - } - ] - } - } - }, - { - "id": 88, - "name": "ConnectWalletProps", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 37, - "character": 12, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L37" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 89, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 99, - "name": "auth", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 60, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L60" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 100, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 101, - "name": "loginOptional", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 61, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L61" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 102, - "name": "onLogin", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 62, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L62" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 103, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 62, - "character": 14, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L62" - } - ], - "signatures": [ - { - "id": 104, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 105, - "name": "token", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 106, - "name": "onLogout", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 63, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L63" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 107, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 63, - "character": 15, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L63" - } - ], - "signatures": [ - { - "id": 108, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 101, - 102, - 106 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 60, - "character": 9, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L60" - } - ] - } - } - }, - { - "id": 92, - "name": "btnTitle", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 41, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L41" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 90, - "name": "className", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 38, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L38" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 95, - "name": "detailsBtn", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 58, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L58" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 96, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 58, - "character": 15, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L58" - } - ], - "signatures": [ - { - "id": 97, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "render a custom button to display the connected wallet details instead of the default button" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "__global.JSX.Element" - }, - "name": "JSX.Element", - "package": "@types/react", - "qualifiedName": "__global.JSX.Element" - } - } - ] - } - } - }, - { - "id": 118, - "name": "displayBalanceToken", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Show balance of ERC20 token instead of the native token in the \"Connected\" button when connected to certain network" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```tsx\n\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 136, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L136" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "id": 98, - "name": "dropdownPosition", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 59, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L59" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/ConnectWallet/Details.tsx", - "qualifiedName": "DropDownPosition" - }, - "name": "DropDownPosition", - "package": "@thirdweb-dev/react" - } - }, - { - "id": 111, - "name": "hideTestnetFaucet", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hide option to request testnet funds for testnets in dropdown" - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "```ts\nfalse\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 78, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L78" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 113, - "name": "modalSize", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set the size of the modal - " - }, - { - "kind": "code", - "text": "`compact`" - }, - { - "kind": "text", - "text": " or " - }, - { - "kind": "code", - "text": "`wide`" - }, - { - "kind": "text", - "text": " on desktop\n\nModal size is always " - }, - { - "kind": "code", - "text": "`compact`" - }, - { - "kind": "text", - "text": " on mobile" - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "```ts\n\"wide\"\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 98, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L98" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "compact" - }, - { - "type": "literal", - "value": "wide" - } - ] - } - }, - { - "id": 93, - "name": "modalTitle", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set a custom title for the modal" - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "```ts\n\"Connect\"\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 46, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L46" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 94, - "name": "modalTitleIconUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Replace the thirdweb icon next to modalTitle and set your own iconUrl\n\nSet to empty string to hide the icon" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 53, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L53" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 110, - "name": "networkSelector", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 68, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L68" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reference", - "target": 130, - "name": "NetworkSelectorProps", - "package": "@thirdweb-dev/react" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "theme" - }, - { - "type": "literal", - "value": "onClose" - }, - { - "type": "literal", - "value": "chains" - }, - { - "type": "literal", - "value": "open" - } - ] - } - ], - "name": "Omit", - "package": "typescript" - } - }, - { - "id": 115, - "name": "privacyPolicyUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If provided, Modal will show a Privacy Policy message at the bottom with below link" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 108, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L108" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 109, - "name": "style", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 66, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L66" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.CSSProperties" - }, - "name": "React.CSSProperties", - "package": "@types/react" - } - }, - { - "id": 117, - "name": "supportedTokens", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Override the default supported tokens for each network\n\nThese tokens will be displayed in \"Send Funds\" Modal" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 124, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L124" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/ConnectWallet/defaultTokens.ts", - "qualifiedName": "SupportedTokens" - }, - "name": "SupportedTokens", - "package": "@thirdweb-dev/react" - } - }, - { - "id": 112, - "name": "switchToActiveChain", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Whether to show \"Switch Network\" button if the wallet is connected,\nbut it is not connected to the " - }, - { - "kind": "code", - "text": "`activeChain`" - }, - { - "kind": "text", - "text": " provided in " - }, - { - "kind": "code", - "text": "`ThirdwebProvider`" - }, - { - "kind": "text", - "text": "\n\nPlease, note that if you support multiple networks in your app this prop should\nbe set to " - }, - { - "kind": "code", - "text": "`false`" - }, - { - "kind": "text", - "text": " to allow users to switch between networks." - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "```ts\nfalse\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 89, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L89" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 114, - "name": "termsOfServiceUrl", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If provided, Modal will show a Terms of Service message at the bottom with below link" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 103, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L103" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 91, - "name": "theme", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 39, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L39" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "dark" - }, - { - "type": "literal", - "value": "light" - }, - { - "type": "reference", - "target": 68, - "name": "Theme", - "package": "@thirdweb-dev/react" - } - ] - } - }, - { - "id": 116, - "name": "welcomeScreen", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Customize the welcome screen\n\nEither provide a component to replace the default screen entirely\n\nor an object with title, subtitle and imgSrc to change the content of the default screen" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 117, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L117" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/ConnectWallet/screens/types.ts", - "qualifiedName": "WelcomeScreen" - }, - "name": "WelcomeScreen", - "package": "@thirdweb-dev/react" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 99, - 92, - 90, - 95, - 118, - 98, - 111, - 113, - 93, - 94, - 110, - 115, - 109, - 117, - 112, - 114, - 91, - 116 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 37, - "character": 33, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L37" - } - ] - } - } - }, - { - "id": 1418, - "name": "DelayedRevealLazyMintInput", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params for the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useDelayedRevealLazyMint", - "target": 728 - }, - { - "kind": "text", - "text": " hook mutation." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 150, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1419, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1421, - "name": "metadatas", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 152, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "NFTMetadataInput" - }, - "name": "NFTMetadataInput", - "package": "@thirdweb-dev/sdk" - } - } - }, - { - "id": 1422, - "name": "password", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 153, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 1420, - "name": "placeholder", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 151, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "NFTMetadataInput" - }, - "name": "NFTMetadataInput", - "package": "@thirdweb-dev/sdk" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1421, - 1422, - 1420 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 150, - "character": 41 - } - ] - } - } - }, - { - "id": 1416, - "name": "DropContract", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The possible DROP contract types." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 139, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", - "qualifiedName": "NFTDrop" - }, - "name": "NFTDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/edition-drop.ts", - "qualifiedName": "EditionDrop" - }, - "name": "EditionDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/signature-drop.ts", - "qualifiedName": "SignatureDrop" - }, - "name": "SignatureDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/token-drop.ts", - "qualifiedName": "TokenDrop" - }, - "name": "TokenDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 1390, - "name": "Erc721OrErc1155", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Possible NFT contract types." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 83, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", - "qualifiedName": "Erc721" - }, - "name": "Erc721", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "name": "Erc1155", - "package": "@thirdweb-dev/sdk" - } - ] - } - }, - { - "id": 1447, - "name": "ExecuteAuctionSale", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 197, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1448, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1449, - "name": "listingId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 198, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1449 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 197, - "character": 33 - } - ] - } - } - }, - { - "id": 451, - "name": "ExtraCoreWalletOptions", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 4, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 452, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 453, - "name": "chain", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 5, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 453 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 4, - "character": 37 - } - ] - } - } - }, - { - "id": 1434, - "name": "MakeBidParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 184, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1435, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1437, - "name": "bid", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 186, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Price" - }, - "name": "Price", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1436, - "name": "listingId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 185, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1437, - 1436 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 184, - "character": 28 - } - ] - } - } - }, - { - "id": 1438, - "name": "MakeOfferParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 188, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1439, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1440, - "name": "listingId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 189, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 1441, - "name": "pricePerToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 190, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Price" - }, - "name": "Price", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1442, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 191, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Amount" - }, - "name": "Amount", - "package": "@thirdweb-dev/sdk" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1440, - 1441, - 1442 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 188, - "character": 30 - } - ] - } - } - }, - { - "id": 1405, - "name": "MintNFTParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params for the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useMintNFT", - "target": 1073 - }, - { - "kind": "text", - "text": " hook mutation." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 115, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1406, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1407, - "name": "metadata", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 116, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "NFTMetadataOrUri" - }, - "name": "NFTMetadataOrUri", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1409, - "name": "supply", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 118, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Amount" - }, - "name": "Amount", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1408, - "name": "to", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 117, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1407, - 1409, - 1408 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 115, - "character": 28 - } - ] - } - } - }, - { - "id": 1410, - "name": "MintNFTReturnType", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The return type of the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useMintNFT", - "target": 1073 - }, - { - "kind": "text", - "text": " hook." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 125, - "character": 12 - } - ], - "typeParameters": [ - { - "id": 1411, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", - "qualifiedName": "Erc721" - }, - "name": "Erc721", - "package": "@thirdweb-dev/sdk" - }, - "trueType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Awaited" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "ReturnType" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "to" - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-721-mintable.ts", - "qualifiedName": "Erc721Mintable" - }, - "name": "Erc721Mintable", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "ReturnType", - "package": "typescript" - } - ], - "name": "Awaited", - "package": "typescript" - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "name": "Erc1155", - "package": "@thirdweb-dev/sdk" - }, - "trueType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Awaited" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "ReturnType" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "to" - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155-mintable.ts", - "qualifiedName": "Erc1155Mintable" - }, - "name": "Erc1155Mintable", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "ReturnType", - "package": "typescript" - } - ], - "name": "Awaited", - "package": "typescript" - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - }, - { - "id": 1400, - "name": "MintNFTSupplyParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params to pass to " - }, - { - "kind": "code", - "text": "`useMintNFTSupply`" - }, - { - "kind": "text", - "text": "." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 105, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1401, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1403, - "name": "additionalSupply", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 107, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Amount" - }, - "name": "Amount", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1404, - "name": "to", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 108, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1402, - "name": "tokenId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 106, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1403, - 1404, - 1402 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 105, - "character": 34 - } - ] - } - } - }, - { - "id": 1388, - "name": "NFTContract", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The possible NFT contract types." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\n```" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 69, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-collection.ts", - "qualifiedName": "NFTCollection" - }, - "name": "NFTCollection", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/edition.ts", - "qualifiedName": "Edition" - }, - "name": "Edition", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/pack.ts", - "qualifiedName": "Pack" - }, - "name": "Pack", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/multiwrap.ts", - "qualifiedName": "Multiwrap" - }, - "name": "Multiwrap", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Exclude" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "literal", - "value": "TokenDrop" - } - ], - "name": "Exclude", - "package": "typescript" - } - ] - } - }, - { - "id": 130, - "name": "NetworkSelectorProps", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 42, - "character": 12, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L42" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 131, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 137, - "name": "chains", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 46, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L46" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - }, - { - "id": 133, - "name": "onClose", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 44, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L44" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 134, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 44, - "character": 12, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L44" - } - ], - "signatures": [ - { - "id": 135, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 145, - "name": "onCustomClick", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 51, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L51" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 146, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 51, - "character": 18, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L51" - } - ], - "signatures": [ - { - "id": 147, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 141, - "name": "onSwitch", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 50, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L50" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 142, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 50, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L50" - } - ], - "signatures": [ - { - "id": 143, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 144, - "name": "chain", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 136, - "name": "open", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 45, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L45" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 138, - "name": "popularChains", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 47, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L47" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - }, - { - "id": 139, - "name": "recentChains", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 48, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L48" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - }, - { - "id": 140, - "name": "renderChain", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 49, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L49" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "RenderChain" - }, - "name": "RenderChain", - "package": "@thirdweb-dev/react" - } - }, - { - "id": 132, - "name": "theme", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 43, - "character": 2, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L43" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "dark" - }, - { - "type": "literal", - "value": "light" - }, - { - "type": "reference", - "target": 68, - "name": "Theme", - "package": "@thirdweb-dev/react" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 137, - 133, - 145, - 141, - 136, - 138, - 139, - 140, - 132 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 42, - "character": 35, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L42" - } - ] - } - } - }, - { - "id": 383, - "name": "RequiredParam", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Makes a parameter required to be passed, but still allows it to be null or undefined." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/query-utils/required-param.d.ts", - "line": 6, - "character": 12 - } - ], - "typeParameters": [ - { - "id": 384, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - }, - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 1423, - "name": "RevealLazyMintInput", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params for the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useRevealLazyMint", - "target": 736 - }, - { - "kind": "text", - "text": " hook mutation." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 160, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1424, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1425, - "name": "batchId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 161, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 1426, - "name": "password", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 162, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1425, - 1426 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 160, - "character": 34 - } - ] - } - } - }, - { - "id": 1417, - "name": "RevealableContract", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The possible revealable contract types." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 144, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", - "qualifiedName": "NFTDrop" - }, - "name": "NFTDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/signature-drop.ts", - "qualifiedName": "SignatureDrop" - }, - "name": "SignatureDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 432, - "name": "SelectUIProps", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 142, - "character": 12 - } - ], - "typeParameters": [ - { - "id": 442, - "name": "I", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - }, - "default": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 433, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 441, - "name": "modalSize", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Size of the modal\n\nThis is always " - }, - { - "kind": "code", - "text": "`compact`" - }, - { - "kind": "text", - "text": " on React Native" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 171, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "compact" - }, - { - "type": "literal", - "value": "wide" - } - ] - } - }, - { - "id": 434, - "name": "onSelect", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 148, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 435, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 148, - "character": 14 - } - ], - "signatures": [ - { - "id": 436, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Call this function to \"select\" your wallet and render the screen for connecting the wallet" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [] - } - ] - }, - "parameters": [ - { - "id": 437, - "name": "selectionData", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "selectionData to be passed to " - }, - { - "kind": "code", - "text": "`connectUI`" - }, - { - "kind": "text", - "text": "'s " - }, - { - "kind": "code", - "text": "`selectionData`" - }, - { - "kind": "text", - "text": " prop" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 439, - "name": "supportedWallets", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "List of all supported wallets including your wallet.\n\nYou can use this to conditionally render UI based on how many wallets are supported.\nFor example: You can render a larger UI if only one wallet (your wallet) is supported." - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 161, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 385, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 440, - "name": "theme", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "theme of the connect wallet modal" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 165, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "dark" - }, - { - "type": "literal", - "value": "light" - } - ] - } - }, - { - "id": 438, - "name": "walletConfig", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "code", - "text": "`WalletConfig`" - }, - { - "kind": "text", - "text": " object of your wallet\n\nyou can use this get metadata of your wallet by doing " - }, - { - "kind": "code", - "text": "`walletConfig.meta`" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 154, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 441, - 434, - 439, - 440, - 438 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 142, - "character": 71 - } - ] - } - } - }, - { - "id": 498, - "name": "SetClaimConditionsParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params for the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useSetClaimConditions", - "target": 534, - "tsLinkText": "" - }, - { - "kind": "text", - "text": " hook mutation." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 20, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 499, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 500, - "name": "phases", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 21, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", - "qualifiedName": "ClaimConditionInput" - }, - "name": "ClaimConditionInput", - "package": "@thirdweb-dev/sdk" - } - } - }, - { - "id": 501, - "name": "reset", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 22, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 500, - 501 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 20, - "character": 39 - } - ] - } - } - }, - { - "id": 68, - "name": "Theme", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/design-system/index.ts", - "line": 88, - "character": 12, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L88" - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "target": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "darkThemeObj" - }, - "name": "darkThemeObj", - "package": "@thirdweb-dev/react" - } - } - }, - { - "id": 69, - "name": "ThemeOverrides", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/design-system/index.ts", - "line": 92, - "character": 12, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L92" - } - ], - "type": { - "type": "mapped", - "parameter": "key", - "parameterType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Exclude" - }, - "typeArguments": [ - { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "reference", - "target": 68, - "name": "Theme", - "package": "@thirdweb-dev/react" - } - }, - { - "type": "literal", - "value": "type" - } - ], - "name": "Exclude", - "package": "typescript" - }, - "templateType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": -1, - "name": "key", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": 68, - "name": "Theme", - "package": "@thirdweb-dev/react" - } - } - ], - "name": "Partial", - "package": "typescript" - }, - "optionalModifier": "+" - } - }, - { - "id": 1385, - "name": "TokenBurnParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters to pass to the burn function." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 58, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1386, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1387, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 59, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Amount" - }, - "name": "Amount", - "package": "@thirdweb-dev/sdk" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1387 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 58, - "character": 30 - } - ] - } - } - }, - { - "id": 1389, - "name": "TokenContract", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The possible Token contract types." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\n```" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 78, - "character": 12 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/token-drop.ts", - "qualifiedName": "TokenDrop" - }, - "name": "TokenDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/token.ts", - "qualifiedName": "Token" - }, - "name": "Token", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 1381, - "name": "TokenParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The parameters to pass to the mint and transfer functions." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 49, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1382, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1384, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Amount" - }, - "name": "Amount", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1383, - "name": "to", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 50, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1384, - 1383 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 49, - "character": 26 - } - ] - } - } - }, - { - "id": 1391, - "name": "TransferNFTParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The params to pass to " - }, - { - "kind": "code", - "text": "`useTransferNFT`" - }, - { - "kind": "text", - "text": "." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 88, - "character": 12 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1392, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1395, - "name": "amount", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 91, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/currency.ts", - "qualifiedName": "Amount" - }, - "name": "Amount", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 1393, - "name": "to", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 89, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1394, - "name": "tokenId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 90, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1395, - 1393, - 1394 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 88, - "character": 32 - } - ] - } - } - }, - { - "id": 692, - "name": "UseContractResult", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 21, - "character": 12 - } - ], - "typeParameters": [ - { - "id": 695, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - }, - "default": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - }, - { - "type": "reflection", - "declaration": { - "id": 693, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 694, - "name": "contract", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 22, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 694 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 21, - "character": 129 - } - ] - } - } - ] - } - }, - { - "id": 1484, - "name": "UseWatchTransactionsParams", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", - "line": 3, - "character": 12 - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Partial" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/functions/watchTransactions.ts", - "qualifiedName": "WatchTransactionsParams" - }, - "name": "WatchTransactionsParams", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "literal", - "value": "onTransactions" - } - ], - "name": "Omit", - "package": "typescript" - } - ], - "name": "Partial", - "package": "typescript" - }, - { - "type": "reflection", - "declaration": { - "id": 1485, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1486, - "name": "limit", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", - "line": 4, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1486 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", - "line": 3, - "character": 100 - } - ] - } - } - ] - } - }, - { - "id": 1380, - "name": "WalletAddress", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A wallet address." - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 38, - "character": 12 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/schema/shared/AddressOrEnsSchema.ts", - "qualifiedName": "AddressOrEns" - }, - "name": "AddressOrEns", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 443, - "name": "WalletClass", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 9, - "character": 12 - } - ], - "typeParameters": [ - { - "id": 449, - "name": "I", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - }, - "default": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 444, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 445, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 10, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 446, - "name": "meta", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "meta" - }, - "objectType": { - "type": "query", - "queryType": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/base.ts", - "qualifiedName": "AbstractClientWallet" - }, - "name": "AbstractClientWallet", - "package": "@thirdweb-dev/wallets" - } - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 445, - 446 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 9, - "character": 69 - } - ], - "signatures": [ - { - "id": 447, - "name": "new WalletClass", - "variant": "signature", - "kind": 16384, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 11, - "character": 4 - } - ], - "parameters": [ - { - "id": 448, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 454, - "name": "WalletOptions", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - } - ] - } - } - }, - { - "id": 385, - "name": "WalletConfig", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 14, - "character": 12 - } - ], - "typeParameters": [ - { - "id": 402, - "name": "I", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - }, - "default": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 386, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 387, - "name": "category", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 15, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "socialLogin" - }, - { - "type": "literal", - "value": "walletLogin" - } - ] - } - }, - { - "id": 394, - "name": "connectUI", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "UI for connecting wallet" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 22, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.FC" - }, - "typeArguments": [ - { - "type": "reference", - "target": 403, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - ], - "name": "ConnectUIProps", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "React.FC", - "package": "@types/react" - } - }, - { - "id": 390, - "name": "create", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 18, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 391, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 18, - "character": 12 - } - ], - "signatures": [ - { - "id": 392, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 393, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 454, - "name": "WalletOptions", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - } - ] - } - } - }, - { - "id": 388, - "name": "id", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 16, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 401, - "name": "isHeadless", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If the wallet can sign transactions without user interaction, set this to true." - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "```ts\nfalse\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 47, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 396, - "name": "isInstalled", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 27, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 397, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 27, - "character": 18 - } - ], - "signatures": [ - { - "id": 398, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - } - } - }, - { - "id": 389, - "name": "meta", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 17, - "character": 4 - } - ], - "type": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "meta" - }, - "objectType": { - "type": "query", - "queryType": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/base.ts", - "qualifiedName": "AbstractClientWallet" - }, - "name": "AbstractClientWallet", - "package": "@thirdweb-dev/wallets" - } - } - } - }, - { - "id": 399, - "name": "personalWallets", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "An array of " - }, - { - "kind": "code", - "text": "`WalletConfig`" - }, - { - "kind": "text", - "text": " that users can use as a personal wallet to connect to your wallet\n\nThis is only required if your wallet requires a personal wallet to be connected such as a Safe Wallet or Smart Wallet\n\nproviding the " - }, - { - "kind": "code", - "text": "`personalWallets`" - }, - { - "kind": "text", - "text": " ensures that autoconnect and ConnectWallet modal works properly for your wallet.\n* autoconnect will connect the last connected personal wallet first and then connect your wallet\n* ConnectWallet modal will reopen once the personal wallet is connected so that you can render UI for connecting your wallet as the next step" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 37, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 385, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 400, - "name": "recommended", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, this wallet will be tagged as \"recommended\" in ConnectWallet Modal and will be shown at the top of the list" - } - ], - "blockTags": [ - { - "tag": "@default", - "content": [ - { - "kind": "code", - "text": "```ts\nfalse\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 42, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 395, - "name": "selectUI", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "UI for selecting wallet - this UI is rendered in the wallet selection screen" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 26, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.FC" - }, - "typeArguments": [ - { - "type": "reference", - "target": 432, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - ], - "name": "SelectUIProps", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "React.FC", - "package": "@types/react" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 387, - 394, - 390, - 388, - 401, - 396, - 389, - 399, - 400, - 395 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 14, - "character": 70 - } - ] - } - } - }, - { - "id": 450, - "name": "WalletInstance", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 8, - "character": 12 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/base.ts", - "qualifiedName": "AbstractClientWallet" - }, - "name": "AbstractClientWallet", - "package": "@thirdweb-dev/wallets" - } - }, - { - "id": 454, - "name": "WalletOptions", - "variant": "declaration", - "kind": 2097152, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/types/wallet.d.ts", - "line": 7, - "character": 12 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/base.ts", - "qualifiedName": "WalletOptions" - }, - "typeArguments": [ - { - "type": "reference", - "target": 451, - "name": "ExtraCoreWalletOptions", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "WalletOptions_", - "package": "@thirdweb-dev/wallets", - "qualifiedName": "WalletOptions" - } - }, - { - "id": 292, - "name": "ThirdwebThemeContext", - "variant": "declaration", - "kind": 32, - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/theme-context.d.ts", - "line": 2, - "character": 21 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "" - }, - "name": "Context", - "package": "@types/react" - } - }, - { - "id": 318, - "name": "__DEV__", - "variant": "declaration", - "kind": 32, - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/constants/runtime.d.ts", - "line": 1, - "character": 21 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 615, - "name": "compilerMetadata", - "variant": "declaration", - "kind": 32, - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 16, - "character": 21 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 616, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 617, - "name": "cacheKey", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 17, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 618, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 17, - "character": 14 - } - ], - "signatures": [ - { - "id": 619, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 620, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "ContractAddress" - }, - "name": "ContractAddress", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 621, - "name": "chainId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/constants/chains/SUPPORTED_CHAIN_ID.ts", - "qualifiedName": "SUPPORTED_CHAIN_ID" - }, - "name": "SUPPORTED_CHAIN_ID", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "QueryKey", - "package": "@tanstack/react-query" - } - } - ] - } - } - }, - { - "id": 623, - "name": "fetchQuery", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 19, - "character": 4 - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "fetchCompilerMetadata" - }, - "name": "fetchCompilerMetadata", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 622, - "name": "useQuery", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 18, - "character": 4 - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "target": 612, - "name": "useCompilerMetadata", - "package": "@thirdweb-dev/react-core" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 617, - 623, - 622 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 16, - "character": 39 - } - ] - } - } - }, - { - "id": 603, - "name": "contractType", - "variant": "declaration", - "kind": 32, - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 9, - "character": 21 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 604, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 605, - "name": "cacheKey", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 10, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 606, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 10, - "character": 14 - } - ], - "signatures": [ - { - "id": 607, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 608, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "ContractAddress" - }, - "name": "ContractAddress", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 609, - "name": "chainId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/constants/chains/SUPPORTED_CHAIN_ID.ts", - "qualifiedName": "SUPPORTED_CHAIN_ID" - }, - "name": "SUPPORTED_CHAIN_ID", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "QueryKey", - "package": "@tanstack/react-query" - } - } - ] - } - } - }, - { - "id": 611, - "name": "fetchQuery", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "fetchContractType" - }, - "name": "fetchContractType", - "package": "@thirdweb-dev/react-core" - } - } - }, - { - "id": 610, - "name": "useQuery", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "query", - "queryType": { - "type": "reference", - "target": 600, - "name": "useContractType", - "package": "@thirdweb-dev/react-core" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 605, - 611, - 610 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 9, - "character": 35 - } - ] - } - } - }, - { - "id": 1, - "name": "defaultTokens", - "variant": "declaration", - "kind": 32, - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/defaultTokens.ts", - "line": 34, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/defaultTokens.ts#L34" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/ConnectWallet/defaultTokens.ts", - "qualifiedName": "SupportedTokens" - }, - "name": "SupportedTokens", - "package": "@thirdweb-dev/react" - }, - "defaultValue": "..." - }, - { - "id": 2, - "name": "defaultWallets", - "variant": "declaration", - "kind": 32, - "flags": { - "isConst": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/defaultWallets.ts", - "line": 10, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/defaultWallets.ts#L10" - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - }, - "defaultValue": "..." - }, - { - "id": 119, - "name": "ConnectModalInline", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "line": 27, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L27" - } - ], - "signatures": [ - { - "id": 120, - "name": "ConnectModalInline", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "line": 27, - "character": 34, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L27" - } - ], - "parameters": [ - { - "id": 121, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reference", - "target": 88, - "name": "ConnectWalletProps", - "package": "@thirdweb-dev/react" - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "auth" - }, - { - "type": "literal", - "value": "supportedTokens" - }, - { - "type": "literal", - "value": "dropdownPosition" - }, - { - "type": "literal", - "value": "networkSelector" - }, - { - "type": "literal", - "value": "detailsBtn" - }, - { - "type": "literal", - "value": "hideTestnetFaucet" - }, - { - "type": "literal", - "value": "switchToActiveChain" - } - ] - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "reflection", - "declaration": { - "id": 122, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 123, - "name": "onModalHide", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "line": 38, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L38" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 124, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "line": 38, - "character": 18, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L38" - } - ], - "signatures": [ - { - "id": 125, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "line": 38, - "character": 18, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L38" - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 123 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "line": 37, - "character": 6, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx#L37" - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", - "qualifiedName": "JSX.Element" - }, - "name": "Element", - "package": "@types/react", - "qualifiedName": "JSX.Element" - } - } - ] - }, - { - "id": 84, - "name": "ConnectWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx", - "line": 146, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/ConnectWallet.tsx#L146" - } - ], - "signatures": [ - { - "id": 85, - "name": "ConnectWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A component that allows the user to connect their wallet.\n\nThe button must be descendant of " - }, - { - "kind": "code", - "text": "`ThirdwebProvider`" - }, - { - "kind": "text", - "text": " in order to function." - } - ] - }, - "sources": [ - { - "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "line": 562, - "character": 8 - } - ], - "parameters": [ - { - "id": 86, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 88, - "name": "ConnectWalletProps", - "package": "@thirdweb-dev/react" - } - }, - { - "id": 87, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - } - } - ] - }, - { - "id": 265, - "name": "MediaRenderer", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 378, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L378" - } - ], - "signatures": [ - { - "id": 266, - "name": "MediaRenderer", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This component can be used to render any media type, including image, audio, video, and html files.\nIts convenient for rendering NFT media files, as these can be a variety of different types.\nThe component falls back to a external link if the media type is not supported.\nThe default size is 300px by 300px, but this can be changed using the " - }, - { - "kind": "code", - "text": "`width`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`height`" - }, - { - "kind": "text", - "text": " props.\n\nProps: " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "MediaRendererProps", - "target": 169, - "tsLinkText": "" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "We can take a video file hosted on IPFS and render it using this component as follows\n" - }, - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n return \n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can try switching out the " - }, - { - "kind": "code", - "text": "`src`" - }, - { - "kind": "text", - "text": " prop to different types of URLs and media types to explore the possibilities." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "line": 392, - "character": 8 - } - ], - "parameters": [ - { - "id": 267, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 169, - "name": "MediaRendererProps", - "package": "@thirdweb-dev/react" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.RefAttributes" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "HTMLMediaElement" - }, - "name": "HTMLMediaElement", - "package": "typescript" - } - ], - "name": "RefAttributes", - "package": "@types/react", - "qualifiedName": "React.RefAttributes" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - } - } - ] - }, - { - "id": 126, - "name": "NetworkSelector", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx", - "line": 68, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/ConnectWallet/NetworkSelector.tsx#L68" - } - ], - "signatures": [ - { - "id": 127, - "name": "NetworkSelector", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "line": 562, - "character": 8 - } - ], - "parameters": [ - { - "id": 128, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 130, - "name": "NetworkSelectorProps", - "package": "@thirdweb-dev/react" - } - }, - { - "id": 129, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - } - } - ] - }, - { - "id": 457, - "name": "ThirdwebAuthProvider", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/ThirdwebAuthProvider.d.ts", - "line": 3, - "character": 21 - } - ], - "signatures": [ - { - "id": 458, - "name": "ThirdwebAuthProvider", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "line": 562, - "character": 8 - } - ], - "parameters": [ - { - "id": 459, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.PropsWithChildren" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 460, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 461, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/ThirdwebAuthProvider.d.ts", - "line": 4, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": 463, - "name": "ThirdwebAuthConfig", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 461 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/ThirdwebAuthProvider.d.ts", - "line": 3, - "character": 70 - } - ] - } - } - ], - "name": "PropsWithChildren", - "package": "@types/react", - "qualifiedName": "React.PropsWithChildren" - } - }, - { - "id": 462, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - } - } - ] - }, - { - "id": 478, - "name": "ThirdwebConfigProvider", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", - "line": 8, - "character": 21 - } - ], - "signatures": [ - { - "id": 479, - "name": "ThirdwebConfigProvider", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "line": 562, - "character": 8 - } - ], - "parameters": [ - { - "id": 480, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.PropsWithChildren" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 481, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 482, - "name": "value", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", - "line": 9, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", - "qualifiedName": "ThirdwebConfigContext" - }, - "name": "ThirdwebConfigContext", - "package": "@thirdweb-dev/react-core" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 482 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", - "line": 8, - "character": 72 - } - ] - } - } - ], - "name": "PropsWithChildren", - "package": "@types/react", - "qualifiedName": "React.PropsWithChildren" - } - }, - { - "id": 483, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - } - } - ] - }, - { - "id": 486, - "name": "ThirdwebConnectedWalletProvider", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", - "line": 11, - "character": 21 - } - ], - "signatures": [ - { - "id": 487, - "name": "ThirdwebConnectedWalletProvider", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "line": 562, - "character": 8 - } - ], - "parameters": [ - { - "id": 488, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.PropsWithChildren" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 489, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 490, - "name": "signer", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-signer@5.7.0/node_modules/@ethersproject/abstract-signer/src.ts/index.ts", - "qualifiedName": "Signer" - }, - "name": "Signer", - "package": "@ethersproject/abstract-signer" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 490 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", - "line": 11, - "character": 81 - } - ] - } - } - ], - "name": "PropsWithChildren", - "package": "@types/react", - "qualifiedName": "React.PropsWithChildren" - } - }, - { - "id": 491, - "name": "context", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - } - } - ] - }, - { - "id": 282, - "name": "ThirdwebNftMedia", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/components/NftMedia.tsx", - "line": 44, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/NftMedia.tsx#L44" - } - ], - "signatures": [ - { - "id": 283, - "name": "ThirdwebNftMedia", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "This component can be used to render NFTs from the thirdweb SDK.\nIt will render the animation_url if it exists, otherwise it will render the image.\nThe default size is 300px by 300px, but this can be changed using the " - }, - { - "kind": "code", - "text": "`width`" - }, - { - "kind": "text", - "text": " and " - }, - { - "kind": "code", - "text": "`height`" - }, - { - "kind": "text", - "text": " props.\n\nProps: " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "ThirdwebNftMediaProps", - "target": 271, - "tsLinkText": "" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nimport { ThirdwebNftMedia, useContract, useNFT } from \"@thirdweb-dev/react\";\nexport default function NFTCollectionRender() {\n const { contract } = useContract();\n const { data: nft, isLoading } = useNFT(contract, 0);\n\n return (\n
            \n {!isLoading && nft ? (\n \n ) : (\n

            Loading...

            \n )}\n
            \n );\n}\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "line": 392, - "character": 8 - } - ], - "parameters": [ - { - "id": 284, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": 271, - "name": "ThirdwebNftMediaProps", - "package": "@thirdweb-dev/react" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.RefAttributes" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.dom.d.ts", - "qualifiedName": "HTMLMediaElement" - }, - "name": "HTMLMediaElement", - "package": "typescript" - } - ], - "name": "RefAttributes", - "package": "@types/react", - "qualifiedName": "React.RefAttributes" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.ReactNode" - }, - "name": "ReactNode", - "package": "@types/react", - "qualifiedName": "React.ReactNode" - } - } - ] - }, - { - "id": 148, - "name": "ThirdwebProvider", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", - "line": 66, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/thirdweb-provider.tsx#L66" - } - ], - "signatures": [ - { - "id": 149, - "name": "ThirdwebProvider", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "``" - }, - { - "kind": "text", - "text": " component lets you control what networks you want users to connect to,\nwhat types of wallets can connect to your app, and the settings for the [Thirdweb SDK](https://docs.thirdweb.com/typescript)." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "You can wrap your application with the provider as follows:\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"App.jsx\"\nimport { ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n \n \n \n );\n};\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/providers/thirdweb-provider.tsx", - "line": 66, - "character": 32, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/thirdweb-provider.tsx#L66" - } - ], - "typeParameter": [ - { - "id": 150, - "name": "TChains", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - }, - "default": { - "type": "array", - "elementType": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 151, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2134, - "character": 37 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 152, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2170, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 153, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2202, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 154, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2235, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 155, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2267, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 156, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2295, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 157, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2323, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 158, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2355, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 159, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2383, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 160, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2415, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 161, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2443, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 162, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2471, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 163, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2499, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 164, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2527, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 165, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2555, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 166, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2585, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 167, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/chains/dist/declarations/src/index.d.ts", - "line": 2613, - "character": 4 - } - ] - } - } - ] - } - } - } - ], - "parameters": [ - { - "id": 168, - "name": "__namedParameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.PropsWithChildren" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderProps" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - ], - "name": "ThirdwebProviderProps", - "package": "@thirdweb-dev/react" - } - ], - "name": "PropsWithChildren", - "package": "@types/react", - "qualifiedName": "React.PropsWithChildren" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", - "qualifiedName": "JSX.Element" - }, - "name": "Element", - "package": "@types/react", - "qualifiedName": "JSX.Element" - } - } - ] - }, - { - "id": 293, - "name": "ThirdwebProviderCore", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 55, - "character": 21 - } - ], - "signatures": [ - { - "id": 294, - "name": "ThirdwebProviderCore", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-provider.d.ts", - "line": 55, - "character": 43 - } - ], - "typeParameter": [ - { - "id": 295, - "name": "TChains", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - } - ], - "parameters": [ - { - "id": 296, - "name": "__namedParameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.PropsWithChildren" - }, - "typeArguments": [ - { - "type": "reference", - "target": 297, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - ], - "name": "ThirdwebProviderCoreProps", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "PropsWithChildren", - "package": "@types/react", - "qualifiedName": "React.PropsWithChildren" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", - "qualifiedName": "JSX.Element" - }, - "name": "Element", - "package": "@types/react", - "qualifiedName": "JSX.Element" - } - } - ] - }, - { - "id": 1342, - "name": "ThirdwebSDKProvider", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/thirdweb-sdk-provider.d.ts", - "line": 13, - "character": 21 - } - ], - "signatures": [ - { - "id": 1343, - "name": "ThirdwebSDKProvider", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A basic wrapper around the Thirdweb SDK.\n\nYou can use this in order to be able to pass a provider & signer directly to the SDK." - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "Utilizing this provider will mean hooks for wallet management are not available, if you need those please use the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "ThirdwebProvider", - "target": 148 - }, - { - "kind": "text", - "text": " instead." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/providers/thirdweb-sdk-provider.d.ts", - "line": 13, - "character": 42 - } - ], - "typeParameter": [ - { - "id": 1344, - "name": "TChains", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - } - ], - "parameters": [ - { - "id": 1345, - "name": "__namedParameters", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.PropsWithChildren" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1350, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TChains", - "refersToTypeParameter": true - } - ], - "name": "ThirdwebSDKProviderProps", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "PropsWithChildren", - "package": "@types/react", - "qualifiedName": "React.PropsWithChildren" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", - "qualifiedName": "JSX.Element" - }, - "name": "Element", - "package": "@types/react", - "qualifiedName": "JSX.Element" - } - } - ] - }, - { - "id": 285, - "name": "Web3Button", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", - "line": 76, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/Web3Button/index.tsx#L76" - } - ], - "signatures": [ - { - "id": 286, - "name": "Web3Button", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A component that allows the user to call an on-chain function on a contract.\n\nThe button has to be wrapped in a " - }, - { - "kind": "code", - "text": "`ThirdwebProvider`" - }, - { - "kind": "text", - "text": " in order to function." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { Web3Button } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n
            \n contract.erc721.transfer(\"0x...\", 1)} />\n
            \n)\n}\n```" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/Web3Button/index.tsx", - "line": 76, - "character": 26, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/Web3Button/index.tsx#L76" - } - ], - "typeParameter": [ - { - "id": 287, - "name": "TAction", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/evm/components/Web3Button/index.tsx", - "qualifiedName": "ActionFn" - }, - "name": "ActionFn", - "package": "@thirdweb-dev/react" - } - } - ], - "parameters": [ - { - "id": 288, - "name": "props", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "React.PropsWithChildren" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "src/evm/components/Web3Button/index.tsx", - "qualifiedName": "Web3ButtonProps" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TAction", - "refersToTypeParameter": true - } - ], - "name": "Web3ButtonProps", - "package": "@thirdweb-dev/react" - } - ], - "name": "PropsWithChildren", - "package": "@types/react", - "qualifiedName": "React.PropsWithChildren" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/jsx-runtime.d.ts", - "qualifiedName": "JSX.Element" - }, - "name": "Element", - "package": "@types/react", - "qualifiedName": "JSX.Element" - } - } - ] - }, - { - "id": 9, - "name": "bloctoWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", - "line": 19, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L19" - } - ], - "signatures": [ - { - "id": 10, - "name": "bloctoWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx", - "line": 19, - "character": 28, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/blocto/bloctoWallet.tsx#L19" - } - ], - "parameters": [ - { - "id": 11, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", - "qualifiedName": "BloctoAdditionalOptions" - }, - "name": "BloctoAdditionalOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/blocto.ts", - "qualifiedName": "BloctoWallet" - }, - "name": "BloctoWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 12, - "name": "coinbaseWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", - "line": 28, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L28" - } - ], - "signatures": [ - { - "id": 13, - "name": "coinbaseWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx", - "line": 28, - "character": 30, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/coinbase/coinbaseWallet.tsx#L28" - } - ], - "parameters": [ - { - "id": 14, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/coinbase/coinbaseWallet.tsx", - "qualifiedName": "CoinbaseWalletOptions" - }, - "name": "CoinbaseWalletOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/coinbase-wallet.ts", - "qualifiedName": "CoinbaseWallet" - }, - "name": "CoinbaseWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 62, - "name": "darkTheme", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/design-system/index.ts", - "line": 149, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L149" - } - ], - "signatures": [ - { - "id": 63, - "name": "darkTheme", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/design-system/index.ts", - "line": 149, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L149" - } - ], - "parameters": [ - { - "id": 64, - "name": "overrides", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 69, - "name": "ThemeOverrides", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 68, - "name": "Theme", - "package": "@thirdweb-dev/react" - } - } - ] - }, - { - "id": 15, - "name": "embeddedWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", - "line": 22, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx#L22" - } - ], - "signatures": [ - { - "id": 16, - "name": "embeddedWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", - "line": 22, - "character": 30, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/embeddedWallet/embeddedWallet.tsx#L22" - } - ], - "parameters": [ - { - "id": 17, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/embeddedWallet/types.ts", - "qualifiedName": "EmbeddedWalletConfig" - }, - "name": "EmbeddedWalletConfig", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/embedded-wallet.ts", - "qualifiedName": "EmbeddedWallet" - }, - "name": "EmbeddedWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 18, - "name": "frameWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", - "line": 12, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L12" - } - ], - "signatures": [ - { - "id": 19, - "name": "frameWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/frame/frameWallet.tsx", - "line": 12, - "character": 27, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/frame/frameWallet.tsx#L12" - } - ], - "parameters": [ - { - "id": 20, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/frame/frameWallet.tsx", - "qualifiedName": "FrameConfig" - }, - "name": "FrameConfig", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/frame.ts", - "qualifiedName": "FrameWallet" - }, - "name": "FrameWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 1472, - "name": "getErc1155", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 224, - "character": 24 - } - ], - "signatures": [ - { - "id": 1473, - "name": "getErc1155", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 224, - "character": 24 - } - ], - "parameters": [ - { - "id": 1474, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "name": "Erc1155", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1478, - "name": "getErc20", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 226, - "character": 24 - } - ], - "signatures": [ - { - "id": 1479, - "name": "getErc20", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 226, - "character": 24 - } - ], - "parameters": [ - { - "id": 1480, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-20.ts", - "qualifiedName": "Erc20" - }, - "name": "Erc20", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1475, - "name": "getErc721", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 225, - "character": 24 - } - ], - "signatures": [ - { - "id": 1476, - "name": "getErc721", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 225, - "character": 24 - } - ], - "parameters": [ - { - "id": 1477, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", - "qualifiedName": "Erc721" - }, - "name": "Erc721", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1465, - "name": "getErcs", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 219, - "character": 24 - } - ], - "signatures": [ - { - "id": 1466, - "name": "getErcs", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 219, - "character": 24 - } - ], - "parameters": [ - { - "id": 1467, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1468, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1469, - "name": "erc1155", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 220, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "" - }, - "name": "BaseERC1155", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "" - }, - "name": "BaseSignatureMintERC1155", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "Erc1155", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 1471, - "name": "erc20", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 222, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-20.ts", - "qualifiedName": "Erc20" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "" - }, - "name": "BaseERC20", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "" - }, - "name": "BaseSignatureMintERC20", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "Erc20", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 1470, - "name": "erc721", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 221, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-721.ts", - "qualifiedName": "Erc721" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "" - }, - "name": "BaseERC721", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "Erc721", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1469, - 1471, - 1470 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/types.d.ts", - "line": 219, - "character": 88 - } - ] - } - } - } - ] - }, - { - "id": 65, - "name": "lightTheme", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/design-system/index.ts", - "line": 145, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L145" - } - ], - "signatures": [ - { - "id": 66, - "name": "lightTheme", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/design-system/index.ts", - "line": 145, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/design-system/index.ts#L145" - } - ], - "parameters": [ - { - "id": 67, - "name": "overrides", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 69, - "name": "ThemeOverrides", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 68, - "name": "Theme", - "package": "@thirdweb-dev/react" - } - } - ] - }, - { - "id": 21, - "name": "localWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/localWallet/localWallet.tsx", - "line": 11, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/localWallet/localWallet.tsx#L11" - } - ], - "signatures": [ - { - "id": 22, - "name": "localWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/localWallet/localWallet.tsx", - "line": 11, - "character": 27, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/localWallet/localWallet.tsx#L11" - } - ], - "parameters": [ - { - "id": 23, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/localWallet/types.ts", - "qualifiedName": "LocalWalletConfigOptions" - }, - "name": "LocalWalletConfigOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/localWallet/types.ts", - "qualifiedName": "LocalWalletConfig" - }, - "name": "LocalWalletConfig", - "package": "@thirdweb-dev/react" - } - } - ] - }, - { - "id": 24, - "name": "magicLink", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", - "line": 30, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/magic/magicLink.tsx#L30" - } - ], - "signatures": [ - { - "id": 25, - "name": "magicLink", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", - "line": 30, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/magic/magicLink.tsx#L30" - } - ], - "parameters": [ - { - "id": 26, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/connectors/magic/types.ts", - "qualifiedName": "MagicAuthOptions" - }, - "name": "MagicAuthOptions", - "package": "@thirdweb-dev/wallets" - }, - { - "type": "reflection", - "declaration": { - "id": 27, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 28, - "name": "recommended", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, the wallet will be tagged as \"reccomended\" in ConnectWallet Modal" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", - "line": 35, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/magic/magicLink.tsx#L35" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 28 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/magic/magicLink.tsx", - "line": 31, - "character": 39, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/magic/magicLink.tsx#L31" - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/magic/types.ts", - "qualifiedName": "ConfiguredMagicLinkWallet" - }, - "name": "ConfiguredMagicLinkWallet", - "package": "@thirdweb-dev/react" - } - } - ] - }, - { - "id": 29, - "name": "metamaskWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", - "line": 23, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L23" - } - ], - "signatures": [ - { - "id": 30, - "name": "metamaskWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx", - "line": 23, - "character": 30, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/metamask/metamaskWallet.tsx#L23" - } - ], - "parameters": [ - { - "id": 31, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/metamask/metamaskWallet.tsx", - "qualifiedName": "MetamaskWalletOptions" - }, - "name": "MetamaskWalletOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/metamask.ts", - "qualifiedName": "MetaMaskWallet" - }, - "name": "MetaMaskWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 32, - "name": "paperWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/paper/paperWallet.tsx", - "line": 18, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/paper/paperWallet.tsx#L18" - } - ], - "signatures": [ - { - "id": 33, - "name": "paperWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/paper/paperWallet.tsx", - "line": 18, - "character": 27, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/paper/paperWallet.tsx#L18" - } - ], - "parameters": [ - { - "id": 34, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/paper/types.ts", - "qualifiedName": "PaperConfig" - }, - "name": "PaperConfig", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/paper-wallet.ts", - "qualifiedName": "PaperWallet" - }, - "name": "PaperWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 35, - "name": "phantomWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", - "line": 15, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L15" - } - ], - "signatures": [ - { - "id": 36, - "name": "phantomWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/phantom/phantomWallet.tsx", - "line": 15, - "character": 29, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/phantom/phantomWallet.tsx#L15" - } - ], - "parameters": [ - { - "id": 37, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/phantom/phantomWallet.tsx", - "qualifiedName": "PhantomWalletOptions" - }, - "name": "PhantomWalletOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/phantom.ts", - "qualifiedName": "PhantomWallet" - }, - "name": "PhantomWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 38, - "name": "rainbowWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", - "line": 25, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L25" - } - ], - "signatures": [ - { - "id": 39, - "name": "rainbowWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx", - "line": 25, - "character": 29, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/rainbow/RainbowWallet.tsx#L25" - } - ], - "parameters": [ - { - "id": 40, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/rainbow/RainbowWallet.tsx", - "qualifiedName": "RainbowWalletOptions" - }, - "name": "RainbowWalletOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/rainbow-wallet.ts", - "qualifiedName": "RainbowWallet" - }, - "name": "RainbowWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 289, - "name": "resolveMimeType", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/utils/ipfs.d.ts", - "line": 4, - "character": 24 - } - ], - "signatures": [ - { - "id": 290, - "name": "resolveMimeType", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/utils/ipfs.d.ts", - "line": 4, - "character": 24 - } - ], - "parameters": [ - { - "id": 291, - "name": "url", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - }, - { - "id": 41, - "name": "safeWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", - "line": 16, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L16" - } - ], - "signatures": [ - { - "id": 42, - "name": "safeWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", - "line": 16, - "character": 26, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L16" - } - ], - "parameters": [ - { - "id": 43, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/safe/types.ts", - "qualifiedName": "SafeWalletConfigOptions" - }, - "name": "SafeWalletConfigOptions", - "package": "@thirdweb-dev/react" - }, - { - "type": "reflection", - "declaration": { - "id": 44, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 45, - "name": "recommended", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "If true, the wallet will be tagged as \"reccomended\" in ConnectWallet Modal" - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", - "line": 21, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L21" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 45 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/safe/safeWallet.tsx", - "line": 17, - "character": 37, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/safe/safeWallet.tsx#L17" - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/safe/types.ts", - "qualifiedName": "SafeWalletConfig" - }, - "name": "SafeWalletConfig", - "package": "@thirdweb-dev/react" - } - } - ] - }, - { - "id": 379, - "name": "shouldNeverPersistQuery", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/query-utils/query-key.d.ts", - "line": 8, - "character": 24 - } - ], - "signatures": [ - { - "id": 380, - "name": "shouldNeverPersistQuery", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/query-utils/query-key.d.ts", - "line": 8, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 381, - "name": "TKey", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+query-core@4.33.0/node_modules/@tanstack/query-core/src/types.ts", - "qualifiedName": "QueryKey" - }, - "name": "QueryKey", - "package": "@tanstack/query-core" - } - } - ], - "parameters": [ - { - "id": 382, - "name": "key", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": -1, - "name": "TKey", - "refersToTypeParameter": true - } - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 46, - "name": "smartWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx", - "line": 12, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx#L12" - } - ], - "signatures": [ - { - "id": 47, - "name": "smartWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx", - "line": 12, - "character": 27, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/smartWallet/smartWallet.tsx#L12" - } - ], - "parameters": [ - { - "id": 48, - "name": "wallet", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 49, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/smartWallet/types.ts", - "qualifiedName": "SmartWalletConfigOptions" - }, - "name": "SmartWalletConfigOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/smartWallet/types.ts", - "qualifiedName": "SmartWalletConfig" - }, - "name": "SmartWalletConfig", - "package": "@thirdweb-dev/react" - } - } - ] - }, - { - "id": 50, - "name": "trustWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", - "line": 22, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L22" - } - ], - "signatures": [ - { - "id": 51, - "name": "trustWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx", - "line": 22, - "character": 27, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/trustWallet/TrustWallet.tsx#L22" - } - ], - "parameters": [ - { - "id": 52, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/trustWallet/TrustWallet.tsx", - "qualifiedName": "TrustWalletOptions" - }, - "name": "TrustWalletOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/trust.ts", - "qualifiedName": "TrustWallet" - }, - "name": "TrustWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 878, - "name": "useAcceptDirectListingOffer", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 706, - "character": 24 - } - ], - "signatures": [ - { - "id": 879, - "name": "useAcceptDirectListingOffer", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Accept a specific offer on a direct listing" - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "will accept the latest offer by the given offeror." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: acceptOffer,\n isLoading,\n error,\n } = useAcceptDirectListingOffer(contract);\n\n if (error) {\n console.error(\"failed to accept offer\", error);\n }\n\n return (\n acceptOffer({ listingId: 1, addressOfOfferor: \"{{wallet_address}}\" })}\n >\n Accept offer\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to accept an offer on a direct listing" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useacceptdirectlistingoffer?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 706, - "character": 24 - } - ], - "parameters": [ - { - "id": 880, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 881, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 883, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 708, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 884, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 708, - "character": 10 - } - ], - "signatures": [ - { - "id": 885, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 882, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 707, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 883, - 882 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 706, - "character": 114 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1443, - "name": "AcceptDirectOffer", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1230, - "name": "useAccountAdmins", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 37, - "character": 24 - } - ], - "signatures": [ - { - "id": 1231, - "name": "useAccountAdmins", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all admins of account" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccountSigners(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of all admins of the provided account" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Account" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useaccountadmins?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 37, - "character": 24 - } - ], - "parameters": [ - { - "id": 1232, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a account" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1380, - "name": "WalletAddress", - "package": "@thirdweb-dev/react-core" - } - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1233, - "name": "useAccountAdminsAndSigners", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 52, - "character": 24 - } - ], - "signatures": [ - { - "id": 1234, - "name": "useAccountAdminsAndSigners", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all signers and admins of account" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccountSigners(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of all admins of the provided account" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Account" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useaccountadmins?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 52, - "character": 24 - } - ], - "parameters": [ - { - "id": 1235, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a account" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/account.ts", - "qualifiedName": "SignerWithPermissions" - }, - "name": "SignerWithPermissions", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1219, - "name": "useAccountSigners", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 22, - "character": 24 - } - ], - "signatures": [ - { - "id": 1220, - "name": "useAccountSigners", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all signers of account" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccountSigners(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of all signers of the provided account" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Account" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useaccountsigners?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 22, - "character": 24 - } - ], - "parameters": [ - { - "id": 1221, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a account" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/account.ts", - "qualifiedName": "SignerWithPermissions" - }, - "name": "SignerWithPermissions", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1209, - "name": "useAccounts", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", - "line": 23, - "character": 24 - } - ], - "signatures": [ - { - "id": 1210, - "name": "useAccounts", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all accounts" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: accounts, isLoading, error } = useAccounts(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of all accounts with their associated admin" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "AccountFactory" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useaccounts?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", - "line": 23, - "character": 24 - } - ], - "parameters": [ - { - "id": 1211, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a account factory contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1215, - "name": "useAccountsForAddress", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", - "line": 38, - "character": 24 - } - ], - "signatures": [ - { - "id": 1216, - "name": "useAccountsForAddress", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all accounts associated with the provided address" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: accountsForAddress, isLoading, error } = useAccountsForAddress(contract, \"{{account_address}}\");\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of all accounts associated with the adress" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "AccountFactory" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useaccountsforaddress?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", - "line": 38, - "character": 24 - } - ], - "parameters": [ - { - "id": 1217, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a account factory contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1218, - "name": "address", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 375, - "name": "useActiveChain", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 100, - "character": 24 - } - ], - "signatures": [ - { - "id": 376, - "name": "useActiveChain", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is renamed to " - }, - { - "kind": "code", - "text": "`useChain`" - }, - { - "kind": "text", - "text": "\n\nuse the " - }, - { - "kind": "code", - "text": "`useChain`" - }, - { - "kind": "text", - "text": " hook instead" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 100, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 502, - "name": "useActiveClaimCondition", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 42, - "character": 24 - } - ], - "signatures": [ - { - "id": 503, - "name": "useActiveClaimCondition", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the active claim condition" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: activeClaimCondition, isLoading, error } = useActiveClaimCondition(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object with the currently active claim condition" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useactiveclaimcondition?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 42, - "character": 24 - } - ], - "parameters": [ - { - "id": 504, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the " - }, - { - "kind": "code", - "text": "`claimConditions`" - }, - { - "kind": "text", - "text": " extension." - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 505, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 506, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", - "qualifiedName": "ClaimConditionFetchOptions" - }, - "name": "ClaimConditionFetchOptions", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", - "qualifiedName": "ClaimCondition" - }, - "name": "ClaimCondition", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 529, - "name": "useActiveClaimConditionForWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 116, - "character": 24 - } - ], - "signatures": [ - { - "id": 530, - "name": "useActiveClaimConditionForWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the active claim condition for a specific wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: activeClaimConditionForWallet, isLoading, error } = useActiveClaimConditionForWallet(contract, \"{{wallet_address}}\");\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "the active claim conditon for the wallet address or null if there is no active claim condition" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useactiveclaimconditionforwallet?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 116, - "character": 24 - } - ], - "parameters": [ - { - "id": 531, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the " - }, - { - "kind": "code", - "text": "`claimConditions`" - }, - { - "kind": "text", - "text": " extension." - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 532, - "name": "walletAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the wallet address to check the active claim condition for" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 533, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", - "qualifiedName": "ClaimCondition" - }, - "name": "ClaimCondition", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 786, - "name": "useActiveListings", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 189, - "character": 24 - } - ], - "signatures": [ - { - "id": 787, - "name": "useActiveListings", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all active listings" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: listings, isLoading, error } = useActiveListings(contract, { seller: \"{{wallet_adress}}\", tokenContract: \"0x...\", tokenId: 1, start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of listings" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useactivelistings?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 189, - "character": 24 - } - ], - "parameters": [ - { - "id": 788, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 789, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "filter to pass to the query for the sake of pagination & filtering" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", - "qualifiedName": "MarketplaceFilter" - }, - "name": "MarketplaceFilter", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1222, - "name": "useAddAdmin", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 157, - "character": 24 - } - ], - "signatures": [ - { - "id": 1223, - "name": "useAddAdmin", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Add an additional admin on the smart wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const {\n mutate: addAdmin,\n isLoading,\n error,\n } = useAddAdmin();\n\n if (error) {\n console.error(\"failed to add admin\", error);\n }\n\n return (\n addAdmin(\"0x...\")}\n >\n Add admin\n \n );\n};\n```" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Account" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 157, - "character": 24 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/types.ts", - "qualifiedName": "TransactionResult" - }, - "name": "TransactionResult", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 371, - "name": "useAddress", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 48, - "character": 24 - } - ], - "signatures": [ - { - "id": 372, - "name": "useAddress", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for accessing the address of the connected wallet\n\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useAddress } from \"@thirdweb-dev/react\"\n```" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "To get the address of the connected wallet, you can use the hook as follows:\n\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useAddress } from \"@thirdweb-dev/react\"\n\nconst App = () => {\n const address = useAddress()\n\n return
            {address}
            \n}\n```" - }, - { - "kind": "text", - "text": "\n\nThe " - }, - { - "kind": "code", - "text": "`address`" - }, - { - "kind": "text", - "text": " variable will hold the address of the connected wallet if a user has connected using one of the supported wallet connection hooks." - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useaddress?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 48, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1089, - "name": "useAirdropNFT", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 282, - "character": 24 - } - ], - "signatures": [ - { - "id": 1090, - "name": "useAirdropNFT", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Airdrop NFTs to a list of wallets" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: airdropNFT,\n isLoading,\n error,\n } = useAirdropNFT(contract);\n\n if (error) {\n console.error(\"failed to transfer batch NFTs\", error);\n }\n\n return (\n airdropNFT({\n tokenId: 2,\n addresses: [\n { address: \"{{wallet_address}}\", quantity: 2 },\n { address: \"{{wallet_address}}\", quantity: 4 } }\n ]\n )}\n >\n Airdrop NFT\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to transfer batch NFTs" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC1155" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useairdropnft?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 282, - "character": 24 - } - ], - "parameters": [ - { - "id": 1091, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "Erc1155", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "BaseERC1155" - }, - "name": "BaseERC1155", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "BaseSignatureMintERC1155" - }, - "name": "BaseSignatureMintERC1155", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "Erc1155", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1092, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1094, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 284, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1095, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 284, - "character": 10 - } - ], - "signatures": [ - { - "id": 1096, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1093, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 283, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1094, - 1093 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 282, - "character": 81 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1396, - "name": "AirdropNFTParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1123, - "name": "useAllRoleMembers", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 35, - "character": 24 - } - ], - "signatures": [ - { - "id": 1124, - "name": "useAllRoleMembers", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all members of all roles" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst { data: roles, isLoading, error } = useAllRoleMembers(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a list of addresses for all supported roles on the contract." - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "PermissionsEnumerable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useallrolemembers?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 35, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1125, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "ContractWithRoles" - }, - "name": "ContractWithRoles", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1126, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1326, - "name": "useAppURI", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 18, - "character": 24 - } - ], - "signatures": [ - { - "id": 1327, - "name": "useAppURI", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get App URI" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: contractMetadata, isLoading, error } = useAppURI(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the appURI of the contract" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "AppURI" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 18, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1328, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - } - ], - "parameters": [ - { - "id": 1329, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - }, - { - "kind": "text", - "text": " instance of the contract to get the appURI of" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 798, - "name": "useAuctionWinner", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 237, - "character": 24 - } - ], - "signatures": [ - { - "id": 799, - "name": "useAuctionWinner", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the winner of an english auction" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst listingId = 0;\nconst { data: auctionWinner, isLoading, error } = useAuctionWinner(contract, listingId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the address of the winner of the auction or undefined if there is no winner yet" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useauctionwinner?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 237, - "character": 24 - } - ], - "parameters": [ - { - "id": 800, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 801, - "name": "listingId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the listing id to check" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1256, - "name": "useAuth", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/index.d.ts", - "line": 7, - "character": 24 - } - ], - "signatures": [ - { - "id": 1257, - "name": "useAuth", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/index.d.ts", - "line": 7, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/auth.ts", - "qualifiedName": "ThirdwebAuth" - }, - "name": "ThirdwebAuth", - "package": "@thirdweb-dev/auth" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 366, - "name": "useBalance", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 10, - "character": 24 - } - ], - "signatures": [ - { - "id": 367, - "name": "useBalance", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "A hook to get the native or (optional) ERC20 token balance of the connected wallet." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "the balance of the connected wallet (native or ERC20)" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 10, - "character": 24 - } - ], - "parameters": [ - { - "id": 368, - "name": "tokenAddress", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the token contract, if empty will use the chain's native token" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 712, - "name": "useBatchesToReveal", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 71, - "character": 24 - } - ], - "signatures": [ - { - "id": 713, - "name": "useBatchesToReveal", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all unrevealed batches" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that gets the batches to still be revealed" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Revealable | ERC1155Revealable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usebatchestoreveal?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 71, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 714, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1417, - "name": "RevealableContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 715, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "RevealableContract", - "target": 1417, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "BatchToReveal", - "package": "@thirdweb-dev/sdk" - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 802, - "name": "useBidBuffer", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 253, - "character": 24 - } - ], - "signatures": [ - { - "id": 803, - "name": "useBidBuffer", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the bid buffer for an english auction" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: bidBuffer, isLoading, error } = useBidBuffer(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of listings" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usebidbuffer?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 253, - "character": 24 - } - ], - "parameters": [ - { - "id": 804, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 805, - "name": "listingId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the listing id to check (only necessary for marketplace v3)" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 224, - "name": "useBloctoWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", - "line": 5, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L5" - } - ], - "signatures": [ - { - "id": 225, - "name": "useBloctoWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", - "line": 5, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L5" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 226, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", - "line": 8, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L8" - } - ], - "signatures": [ - { - "id": 227, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", - "line": 8, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L8" - } - ], - "parameters": [ - { - "id": 228, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 229, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 230, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", - "line": 8, - "character": 23, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L8" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 230 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useBloctoWallet.ts", - "line": 8, - "character": 21, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useBloctoWallet.ts#L8" - } - ] - } - }, - { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", - "qualifiedName": "BloctoAdditionalOptions" - }, - "name": "BloctoAdditionalOptions", - "package": "@thirdweb-dev/react" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/blocto.ts", - "qualifiedName": "BloctoWallet" - }, - "name": "BloctoWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 1097, - "name": "useBurnNFT", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 320, - "character": 24 - } - ], - "signatures": [ - { - "id": 1098, - "name": "useBurnNFT", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Burn an NFT" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: burnNFT,\n isLoading,\n error,\n } = useBurnNFT(contract);\n\n if (error) {\n console.error(\"failed to burn NFT\", error);\n }\n\n return (\n burnNFT({ tokenId: 0, amount: 1 })}\n >\n Burn!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to burn an NFT token from the connected wallet" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Burnable | ERC1155Burnable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useburnnft?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 320, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1099, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1100, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1101, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1103, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 322, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1104, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 322, - "character": 10 - } - ], - "signatures": [ - { - "id": 1105, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1102, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 321, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1103, - 1102 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 320, - "character": 126 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1412, - "name": "BurnNFTParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1196, - "name": "useBurnToken", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 254, - "character": 24 - } - ], - "signatures": [ - { - "id": 1197, - "name": "useBurnToken", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Burn tokens" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: burnTokens,\n isLoading,\n error,\n } = useBurnToken(contract);\n\n if (error) {\n console.error(\"failed to burn tokens\", error);\n }\n\n return (\n burnTokens({ amount: 1000 })}\n >\n Burn!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to burn tokens from the connected wallet" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20Burnable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useburntoken?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 254, - "character": 24 - } - ], - "parameters": [ - { - "id": 1198, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "TokenContract", - "target": 1389, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1389, - "name": "TokenContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1199, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1201, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 256, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1202, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 256, - "character": 10 - } - ], - "signatures": [ - { - "id": 1203, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1200, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 255, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1201, - 1200 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 254, - "character": 101 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1385, - "name": "TokenBurnParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1034, - "name": "useBuyDirectListing", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 817, - "character": 24 - } - ], - "signatures": [ - { - "id": 1035, - "name": "useBuyDirectListing", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Buy a direct listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\", \"marketplace-v3\");\n const {\n mutate: buyNow,\n isLoading,\n error,\n } = useBuyDirectListing(contract);\n\n if (error) {\n console.error(\"failed to buy direct listing\", error);\n }\n\n return (\n buyNow({listingId: 1, quantity: 1, buyer: \"{{address}}\"})}\n >\n Buy listing!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to buy out a direct listing" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useBuyDirectListing?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 817, - "character": 24 - } - ], - "parameters": [ - { - "id": 1036, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a MarketplaceV3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1037, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1039, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 819, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1040, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 819, - "character": 10 - } - ], - "signatures": [ - { - "id": 1041, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1038, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 818, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1039, - 1038 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 817, - "character": 108 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "BuyFromListingParams" - }, - "name": "BuyFromListingParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1026, - "name": "useBuyNow", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 780, - "character": 24 - } - ], - "signatures": [ - { - "id": 1027, - "name": "useBuyNow", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Buy out an auction listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: buyNow,\n isLoading,\n error,\n } = useBuyNow(contract);\n\n if (error) {\n console.error(\"failed to buyout listing\", error);\n }\n\n return (\n buyNow({listingId: 1, type: ListingType.Auction})}\n >\n Buy listing!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to buy out an auction listing" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usebuynow?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 780, - "character": 24 - } - ], - "parameters": [ - { - "id": 1028, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1029, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1031, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 782, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1032, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 782, - "character": 10 - } - ], - "signatures": [ - { - "id": 1033, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1030, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 781, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1031, - 1030 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 780, - "character": 96 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1450, - "name": "BuyNowParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 846, - "name": "useCancelDirectListing", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 557, - "character": 24 - } - ], - "signatures": [ - { - "id": 847, - "name": "useCancelDirectListing", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Cancel a direct listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: cancelDirectListing,\n isLoading,\n error,\n } = useCancelDirectListing(contract);\n\n if (error) {\n console.error(\"failed to cancel direct listing\", error);\n }\n\n return (\n \n Cancel Direct Listing\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to cancel a direct listing" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "DirectListings" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecanceldirectlisting?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 557, - "character": 24 - } - ], - "parameters": [ - { - "id": 848, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 849, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 851, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 559, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 852, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 559, - "character": 10 - } - ], - "signatures": [ - { - "id": 853, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 850, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 558, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 851, - 850 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 557, - "character": 111 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 854, - "name": "useCancelEnglishAuction", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 594, - "character": 24 - } - ], - "signatures": [ - { - "id": 855, - "name": "useCancelEnglishAuction", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Cancel an english auction" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: cancelEnglishAuction,\n isLoading,\n error,\n } = useCancelEnglishAuction(contract);\n\n if (error) {\n console.error(\"failed to cancel english auction\", error);\n }\n\n return (\n \n Cancel English Auction\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to cancel an english auction" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecancelenglishauction?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 594, - "character": 24 - } - ], - "parameters": [ - { - "id": 856, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 857, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 859, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 596, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 860, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 596, - "character": 10 - } - ], - "signatures": [ - { - "id": 861, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 858, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 595, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 859, - 858 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 594, - "character": 112 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 838, - "name": "useCancelListing", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 520, - "character": 24 - } - ], - "signatures": [ - { - "id": 839, - "name": "useCancelListing", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Cancel a listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: cancelListing,\n isLoading,\n error,\n } = useCancelListing(contract);\n\n if (error) {\n console.error(\"failed to cancel auction listing\", error);\n }\n\n return (\n \n Cancel Auction Listing!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to cancel a listing" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecancellisting?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 520, - "character": 24 - } - ], - "parameters": [ - { - "id": 840, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 841, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 843, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 522, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 844, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 522, - "character": 10 - } - ], - "signatures": [ - { - "id": 845, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 842, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 521, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 843, - 842 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 520, - "character": 103 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Pick" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/AuctionListing.ts", - "qualifiedName": "AuctionListing" - }, - "name": "AuctionListing", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/DirectListing.ts", - "qualifiedName": "DirectListing" - }, - "name": "DirectListing", - "package": "@thirdweb-dev/sdk" - } - ] - }, - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "type" - }, - { - "type": "literal", - "value": "id" - } - ] - } - ], - "name": "Pick", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 377, - "name": "useChain", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 92, - "character": 24 - } - ], - "signatures": [ - { - "id": 378, - "name": "useChain", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for accessing the active Chain the current wallet is connected to\n\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useChain } from \"@thirdweb-dev/react-core\"\n```" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "You can get the chain of the connected wallet by using the hook as follows:\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useChain } from \"@thirdweb-dev/react-core\"\n\nconst App = () => {\n const chain = useChain()\n\n return
            {chain.chainId}
            \n}\n```" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useActiveChain?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 92, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../chains/src/types.ts", - "qualifiedName": "Chain" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 373, - "name": "useChainId", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 70, - "character": 24 - } - ], - "signatures": [ - { - "id": 374, - "name": "useChainId", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for accessing the chain ID of the network the current wallet is connected to\n\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useChainId } from \"@thirdweb-dev/react\"\n```" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "You can get the chain ID of the connected wallet by using the hook as follows:\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useChainId } from \"@thirdweb-dev/react\"\n\nconst App = () => {\n const chainId = useChainId()\n\n return
            {chainId}
            \n}\n```" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usechainid?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/wallet.d.ts", - "line": 70, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 519, - "name": "useClaimConditions", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 82, - "character": 24 - } - ], - "signatures": [ - { - "id": 520, - "name": "useClaimConditions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all claim conditions" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: claimConditions, isLoading, error } = useClaimConditions(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object with the list of claim conditions" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useclaimconditions?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 82, - "character": 24 - } - ], - "parameters": [ - { - "id": 521, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the " - }, - { - "kind": "code", - "text": "`claimConditions`" - }, - { - "kind": "text", - "text": " extension." - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 522, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 523, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", - "qualifiedName": "ClaimConditionFetchOptions" - }, - "name": "ClaimConditionFetchOptions", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/claim-conditions/claim-conditions.ts", - "qualifiedName": "ClaimCondition" - }, - "name": "ClaimCondition", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 524, - "name": "useClaimIneligibilityReasons", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 99, - "character": 24 - } - ], - "signatures": [ - { - "id": 525, - "name": "useClaimIneligibilityReasons", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the reasons why a specific wallet can't claim" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: claimIneligibilityReasons, isLoading, error } = useClaimIneligibilityReasons(contract, { walletAddress: \"{{wallet_address}}\" });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object with the reasons for the claim ineligibility" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useclaimineligibilityreasons?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 99, - "character": 24 - } - ], - "parameters": [ - { - "id": 526, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the " - }, - { - "kind": "code", - "text": "`claimConditions`" - }, - { - "kind": "text", - "text": " extension." - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 527, - "name": "params", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 494, - "name": "ClaimIneligibilityParams", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 528, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "ClaimEligibility", - "package": "@thirdweb-dev/sdk" - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 716, - "name": "useClaimNFT", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 109, - "character": 24 - } - ], - "signatures": [ - { - "id": 717, - "name": "useClaimNFT", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Claim an NFT to a specific wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: claimNFT,\n isLoading,\n error,\n } = useClaimNFT(contract);\n\n if (error) {\n console.error(\"failed to claim nft\", error);\n }\n\n return (\n claimNFT({ to: \"{{wallet_address}}\", quantity: 1 })}\n >\n Claim NFT!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to claim a NFT to the wallet specificed in the params" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Claimable | ERC1155Claimable | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useclaimnft?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 109, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 718, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 719, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "DropContract", - "target": 1416, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1433, - "name": "ClaimNFTReturnType", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1427, - "name": "ClaimNFTParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1172, - "name": "useClaimToken", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 140, - "character": 24 - } - ], - "signatures": [ - { - "id": 1173, - "name": "useClaimToken", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Claim tokens to a specific wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: claimTokens,\n isLoading,\n error,\n } = useClaimToken(contract);\n\n if (error) {\n console.error(\"failed to claim tokens\", error);\n }\n\n return (\n claimTokens({ to: \"{{wallet_address}}\", amount: 100 })}\n >\n Claim Tokens!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to tokens to the wallet specified in the params" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useclaimtoken?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 140, - "character": 24 - } - ], - "parameters": [ - { - "id": 1174, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "TokenContract", - "target": 1389, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1389, - "name": "TokenContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1175, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1177, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 142, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1178, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 142, - "character": 10 - } - ], - "signatures": [ - { - "id": 1179, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1176, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 141, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1177, - 1176 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 140, - "character": 102 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1460, - "name": "ClaimTokenParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 709, - "name": "useClaimedNFTSupply", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 62, - "character": 24 - } - ], - "signatures": [ - { - "id": 710, - "name": "useClaimedNFTSupply", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the total number of claimed NFTs" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the number of NFTs that are claimed" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721LazyMintable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useclaimednftsupply?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 62, - "character": 24 - } - ], - "parameters": [ - { - "id": 711, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", - "qualifiedName": "NFTDrop" - }, - "name": "NFTDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/signature-drop.ts", - "qualifiedName": "SignatureDrop" - }, - "name": "SignatureDrop", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/ethers@5.7.2/node_modules/ethers/src.ts/index.ts", - "qualifiedName": "" - }, - "name": "BigNumber", - "package": "ethers" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 701, - "name": "useClaimedNFTs", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 45, - "character": 24 - } - ], - "signatures": [ - { - "id": 702, - "name": "useClaimedNFTs", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all claimed NFTs" - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "Equivalent to using " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useNFTs", - "target": 1047 - }, - { - "kind": "text", - "text": "." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: claimedNFTs, isLoading, error } = useClaimedNFTs(contract, { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of NFTs that are claimed" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721LazyMintable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useclaimednfts?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 45, - "character": 24 - } - ], - "parameters": [ - { - "id": 703, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", - "qualifiedName": "NFTDrop" - }, - "name": "NFTDrop", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 704, - "name": "queryParams", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "query params to pass to the query for the sake of pagination" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 705, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/sdk/dist/declarations/src/core/schema/QueryParams.d.ts", - "line": 12, - "character": 3 - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "NFT" - }, - "name": "NFT", - "package": "@thirdweb-dev/sdk" - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 507, - "name": "useClaimerProofs", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 60, - "character": 24 - } - ], - "signatures": [ - { - "id": 508, - "name": "useClaimerProofs", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get claimer proofs" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: claimerProofs, isLoading, error } = useClaimerProofs(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object with the snapshot for the provided address" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useclaimerproofs?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 60, - "character": 24 - } - ], - "parameters": [ - { - "id": 509, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the " - }, - { - "kind": "code", - "text": "`claimConditions`" - }, - { - "kind": "text", - "text": " extension." - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 510, - "name": "claimerAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the claimer to fetch the claimer proofs for" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 511, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the id of the token to fetch the claimer proofs for (if the contract is an ERC1155 contract)" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - }, - { - "id": 512, - "name": "claimConditionId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "optional the claim condition id to get the proofs for" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 513, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 514, - "name": "address", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 61, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 518, - "name": "currencyAddress", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 65, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 516, - "name": "maxClaimable", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 63, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 517, - "name": "price", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 64, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 515, - "name": "proof", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 62, - "character": 4 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 514, - 518, - 516, - 517, - 515 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 60, - "character": 177 - } - ] - } - }, - { - "type": "literal", - "value": null - } - ] - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 210, - "name": "useCoinbaseWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L4" - } - ], - "signatures": [ - { - "id": 211, - "name": "useCoinbaseWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L4" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 212, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L7" - } - ], - "signatures": [ - { - "id": 213, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L7" - } - ], - "parameters": [ - { - "id": 214, - "name": "connectOptions", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 215, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 216, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", - "line": 7, - "character": 30, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 216 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts", - "line": 7, - "character": 28, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useCoinbaseWallet.ts#L7" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/coinbase-wallet.ts", - "qualifiedName": "CoinbaseWallet" - }, - "name": "CoinbaseWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 612, - "name": "useCompilerMetadata", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 15, - "character": 24 - } - ], - "signatures": [ - { - "id": 613, - "name": "useCompilerMetadata", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 15, - "character": 24 - } - ], - "parameters": [ - { - "id": 614, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/schema/contracts/custom.ts", - "qualifiedName": "PublishedMetadata" - }, - "name": "PublishedMetadata", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "literal", - "value": null - } - ] - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 324, - "name": "useConnect", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 39, - "character": 24 - } - ], - "signatures": [ - { - "id": 325, - "name": "useConnect", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a method to connect to a wallet class" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 39, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 326, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 39, - "character": 38 - } - ], - "signatures": [ - { - "id": 327, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 329, - "name": "I", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 328, - "name": "args", - "variant": "param", - "kind": 32768, - "flags": { - "isRest": true - }, - "type": { - "type": "conditional", - "checkType": { - "type": "intrinsic", - "name": "undefined" - }, - "extendsType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": 0 - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Parameters" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "connect" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - } - ], - "name": "Parameters", - "package": "typescript" - } - }, - "trueType": { - "type": "tuple", - "elements": [ - { - "type": "namedTupleMember", - "name": "wallet", - "isOptional": false, - "element": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "" - }, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - }, - { - "type": "namedTupleMember", - "name": "connectParams", - "isOptional": true, - "element": { - "type": "union", - "types": [ - { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": 0 - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Parameters" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "connect" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - } - ], - "name": "Parameters", - "package": "typescript" - } - }, - "extendsType": { - "type": "inferred", - "name": "T" - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": 0 - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Parameters" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "connect" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - } - ], - "name": "Parameters", - "package": "typescript" - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - "trueType": { - "type": "intrinsic", - "name": "never" - }, - "falseType": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - "falseType": { - "type": "tuple", - "elements": [ - { - "type": "namedTupleMember", - "name": "wallet", - "isOptional": false, - "element": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "" - }, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - }, - { - "type": "namedTupleMember", - "name": "connectParams", - "isOptional": false, - "element": { - "type": "conditional", - "checkType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": 0 - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Parameters" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "connect" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - } - ], - "name": "Parameters", - "package": "typescript" - } - }, - "extendsType": { - "type": "inferred", - "name": "T_1" - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "T_1", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": 0 - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Parameters" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "connect" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - } - ], - "name": "Parameters", - "package": "typescript" - } - }, - "trueType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "T_1", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - "trueType": { - "type": "intrinsic", - "name": "never" - }, - "falseType": { - "type": "reference", - "target": -1, - "name": "T_1", - "refersToTypeParameter": true - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - }, - "falseType": { - "type": "intrinsic", - "name": "never" - } - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 330, - "name": "useConnectionStatus", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 56, - "character": 24 - } - ], - "signatures": [ - { - "id": 331, - "name": "useConnectionStatus", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "the connection status of the wallet\n\nIt can be one of the following:\n1. " - }, - { - "kind": "code", - "text": "`unknown`" - }, - { - "kind": "text", - "text": " - when wallet connection status is not yet known\n2. " - }, - { - "kind": "code", - "text": "`connecting`" - }, - { - "kind": "text", - "text": " - when wallet is connecting\n3. " - }, - { - "kind": "code", - "text": "`connected`" - }, - { - "kind": "text", - "text": " - when wallet is connected\n4. " - }, - { - "kind": "code", - "text": "`disconnected`" - }, - { - "kind": "text", - "text": " - when wallet is disconnected" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 56, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "unknown" - }, - { - "type": "literal", - "value": "connected" - }, - { - "type": "literal", - "value": "disconnected" - }, - { - "type": "literal", - "value": "connecting" - } - ] - } - } - ] - }, - { - "id": 624, - "name": "useContract", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 24, - "character": 24 - }, - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 38, - "character": 24 - }, - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 53, - "character": 24 - }, - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 68, - "character": 24 - } - ], - "signatures": [ - { - "id": 625, - "name": "useContract", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 24, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 626, - "name": "TContractAddress", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "parameters": [ - { - "id": 627, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContractAddress", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": 692, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TContractAddress", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../generated-abis/src/index.ts", - "qualifiedName": "ContractAddress" - }, - "name": "GeneratedContractAddress", - "package": "@thirdweb-dev/generated-abis", - "qualifiedName": "ContractAddress" - }, - "trueType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/contract.ts", - "qualifiedName": "BaseContractForAddress" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContractAddress", - "refersToTypeParameter": true - } - ], - "name": "BaseContractForAddress", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - }, - "falseType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "UseContractResult", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 628, - "name": "useContract", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Use this resolve a contract address to a smart contract instance." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract, isLoading, error } = useContract(\"{{contract_address}}\");\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the contract once it is resolved" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecontract?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 38, - "character": 24 - } - ], - "parameters": [ - { - "id": 629, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the deployed contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": 692, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "UseContractResult", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 630, - "name": "useContract", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Use this resolve a contract address to a smart contract instance." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract, isLoading, error } = useContract(\"{{contract_address}}\", \"nft-drop\");\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the contract once it is resolved" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecontract?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 53, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 631, - "name": "TContractType", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "split" - }, - { - "type": "literal", - "value": "custom" - }, - { - "type": "literal", - "value": "token" - }, - { - "type": "literal", - "value": "vote" - }, - { - "type": "literal", - "value": "edition-drop" - }, - { - "type": "literal", - "value": "edition" - }, - { - "type": "literal", - "value": "marketplace" - }, - { - "type": "literal", - "value": "marketplace-v3" - }, - { - "type": "literal", - "value": "multiwrap" - }, - { - "type": "literal", - "value": "nft-collection" - }, - { - "type": "literal", - "value": "nft-drop" - }, - { - "type": "literal", - "value": "pack" - }, - { - "type": "literal", - "value": "signature-drop" - }, - { - "type": "literal", - "value": "token-drop" - } - ] - } - } - ], - "parameters": [ - { - "id": 632, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the deployed contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 633, - "name": "_contractType", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the type of the contract" - } - ] - }, - "type": { - "type": "reference", - "target": -1, - "name": "TContractType", - "refersToTypeParameter": true - } - } - ], - "type": { - "type": "reference", - "target": 692, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TContractType", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "PrebuiltContractType" - }, - "name": "PrebuiltContractType", - "package": "@thirdweb-dev/sdk" - }, - "trueType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ContractForPrebuiltContractType" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContractType", - "refersToTypeParameter": true - } - ], - "name": "ContractForPrebuiltContractType", - "package": "@thirdweb-dev/sdk" - }, - "falseType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "UseContractResult", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 634, - "name": "useContract", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Use this resolve a contract address to a smart contract instance." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract, isLoading, error } = useContract(\"{{contract_address}}\", ABI);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the contract once it is resolved" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecontract?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 68, - "character": 24 - } - ], - "parameters": [ - { - "id": 635, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the deployed contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 636, - "name": "_abi", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the ABI of the contract to use" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "ContractInterface" - }, - "name": "ContractInterface", - "package": "@ethersproject/contracts" - } - } - ], - "type": { - "type": "reference", - "target": 692, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "UseContractResult", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 655, - "name": "useContractEvents", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 144, - "character": 24 - } - ], - "signatures": [ - { - "id": 656, - "name": "useContractEvents", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get or subscribe to contract events" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: contractEvents, isLoading } = useContractEvents(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the contract events" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecontractevents?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 144, - "character": 24 - } - ], - "parameters": [ - { - "id": 657, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "ValidContractInstance", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "tsLinkText": "" - }, - { - "kind": "text", - "text": " instance of the contract to listen to events for" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 658, - "name": "eventName", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the name of the event to query for (omit this or pass " - }, - { - "kind": "code", - "text": "`undefined`" - }, - { - "kind": "text", - "text": " to query for all events)" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 659, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "options includes the filters (" - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "QueryAllEvents" - }, - { - "kind": "text", - "text": ") for the query as well as if you want to subscribe to real-time updates (default: true)" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 660, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 661, - "name": "queryFilter", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 145, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/events.ts", - "qualifiedName": "EventQueryOptions" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - ], - "name": "EventQueryOptions", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 662, - "name": "subscribe", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 146, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 661, - 662 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 144, - "character": 120 - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/events.ts", - "qualifiedName": "ContractEvent" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - ], - "name": "ContractEvent", - "package": "@thirdweb-dev/sdk" - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 637, - "name": "useContractMetadata", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 82, - "character": 24 - } - ], - "signatures": [ - { - "id": 638, - "name": "useContractMetadata", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the metadata of this contract" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: contractMetadata, isLoading } = useContractMetadata(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the contract metadata of the deployed contract" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ContractMetadata" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 82, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 639, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - } - ], - "parameters": [ - { - "id": 640, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "ValidContractInstance", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "tsLinkText": "" - }, - { - "kind": "text", - "text": " instance of the contract to get the metadata for" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "conditional", - "checkType": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - }, - "extendsType": { - "type": "intrinsic", - "name": "undefined" - }, - "trueType": { - "type": "intrinsic", - "name": "undefined" - }, - "falseType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Awaited" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "ReturnType" - }, - "typeArguments": [ - { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "get" - }, - "objectType": { - "type": "indexedAccess", - "indexType": { - "type": "literal", - "value": "metadata" - }, - "objectType": { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - } - } - ], - "name": "ReturnType", - "package": "typescript" - } - ], - "name": "Awaited", - "package": "typescript" - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 641, - "name": "useContractMetadataUpdate", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 116, - "character": 24 - } - ], - "signatures": [ - { - "id": 642, - "name": "useContractMetadataUpdate", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Update the metadata of this contract" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updateContractMetadata,\n isLoading,\n error,\n } = useContractMetadataUpdate(contract);\n\n if (error) {\n console.error(\"failed to update contract metadata\", error);\n }\n\n return (\n updateContractMetadata({ name: \"New name\", description: \"New description\" })}\n >\n Update contract metadata\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the contract metadata of the deployed contract" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ContractMetadata" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 116, - "character": 24 - } - ], - "parameters": [ - { - "id": 643, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "ValidContractInstance", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "tsLinkText": "" - }, - { - "kind": "text", - "text": " instance of the contract to get the metadata for" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 644, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 646, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 118, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 647, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 118, - "character": 10 - } - ], - "signatures": [ - { - "id": 648, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 645, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 117, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 646, - 645 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 116, - "character": 117 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 649, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 654, - "name": "app_uri", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 124, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 651, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 121, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 653, - "name": "external_link", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 123, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 652, - "name": "image", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 122, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 650, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 120, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 654, - 651, - 653, - 652, - 650 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 119, - "character": 12 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 663, - "name": "useContractRead", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 164, - "character": 24 - } - ], - "signatures": [ - { - "id": 664, - "name": "useContractRead", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get data from a contract read-function call" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { data, isLoading, error } = useContractRead(contract, \"functionName\", ...args);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the data returned by the function call" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecontractread?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 164, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 665, - "name": "TContractAddress", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 666, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 667, - "name": "TContractInstance", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 668, - "name": "TFunctionName", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 669, - "name": "TArgs", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "unknown" - } - } - }, - { - "id": 670, - "name": "TReturnType", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "parameters": [ - { - "id": 671, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the contract instance of the contract to call a function on" - } - ] - }, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TContractInstance", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - }, - "trueType": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContractInstance", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TContractAddress", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "intrinsic", - "name": "never" - }, - "trueType": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/contract.ts", - "qualifiedName": "BaseContractForAddress" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContractAddress", - "refersToTypeParameter": true - } - ], - "name": "BaseContractForAddress", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - }, - "falseType": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - } - }, - { - "id": 672, - "name": "functionName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the name of the function to call" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": -1, - "name": "TFunctionName", - "refersToTypeParameter": true - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 673, - "name": "args", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "The arguments to pass to the function (if any), with optional call arguments as the last parameter" - } - ] - }, - "type": { - "type": "reference", - "target": -1, - "name": "TArgs", - "refersToTypeParameter": true - } - }, - { - "id": 674, - "name": "overrides", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "CallOverrides" - }, - "name": "CallOverrides", - "package": "@ethersproject/contracts" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TReturnType", - "refersToTypeParameter": true - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 600, - "name": "useContractType", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 8, - "character": 24 - } - ], - "signatures": [ - { - "id": 601, - "name": "useContractType", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 8, - "character": 24 - } - ], - "parameters": [ - { - "id": 602, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": "split" - }, - { - "type": "literal", - "value": "edition-drop" - }, - { - "type": "literal", - "value": "edition" - }, - { - "type": "literal", - "value": "marketplace" - }, - { - "type": "literal", - "value": "marketplace-v3" - }, - { - "type": "literal", - "value": "multiwrap" - }, - { - "type": "literal", - "value": "nft-collection" - }, - { - "type": "literal", - "value": "nft-drop" - }, - { - "type": "literal", - "value": "pack" - }, - { - "type": "literal", - "value": "signature-drop" - }, - { - "type": "literal", - "value": "token-drop" - }, - { - "type": "literal", - "value": "token" - }, - { - "type": "literal", - "value": "vote" - }, - { - "type": "literal", - "value": "custom" - }, - { - "type": "literal", - "value": null - } - ] - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 675, - "name": "useContractWrite", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 183, - "character": 24 - } - ], - "signatures": [ - { - "id": 676, - "name": "useContractWrite", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Mke a write call to your contract" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { mutate: myFunction, isLoading, error } = useContractWrite(contract, \"myFunction\");\n\n// the function can be called as follows:\n// myFunction([\"param 1\", \"param 2\", ...])\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the write function to call" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecontractwrite?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 183, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 677, - "name": "TContractAddress", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 678, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 679, - "name": "TContractInstance", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - }, - { - "id": 680, - "name": "TFunctionName", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 681, - "name": "TArgs", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "any" - } - } - } - ], - "parameters": [ - { - "id": 682, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the contract instance of the contract to call a function on" - } - ] - }, - "type": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TContractInstance", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - }, - "trueType": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContractInstance", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - }, - "falseType": { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TContractAddress", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "intrinsic", - "name": "never" - }, - "trueType": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/contract.ts", - "qualifiedName": "BaseContractForAddress" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContractAddress", - "refersToTypeParameter": true - } - ], - "name": "BaseContractForAddress", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - }, - "falseType": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - } - }, - { - "id": 683, - "name": "functionName", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the name of the function to call" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": -1, - "name": "TFunctionName", - "refersToTypeParameter": true - }, - { - "type": "intrinsic", - "name": "string" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 684, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 686, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 185, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 687, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 185, - "character": 10 - } - ], - "signatures": [ - { - "id": 688, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 685, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 184, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 686, - 685 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 183, - "character": 1247 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 689, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 690, - "name": "args", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 187, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": -1, - "name": "TArgs", - "refersToTypeParameter": true - } - }, - { - "id": 691, - "name": "overrides", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 188, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "CallOverrides" - }, - "name": "CallOverrides", - "package": "@ethersproject/contracts" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 690, - 691 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contracts.d.ts", - "line": 186, - "character": 21 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1212, - "name": "useCreateAccount", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", - "line": 91, - "character": 24 - } - ], - "signatures": [ - { - "id": 1213, - "name": "useCreateAccount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Create a account" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: createAccount,\n isLoading,\n error,\n } = useCreateAccount(contract);\n\n if (error) {\n console.error(\"failed to create account\", error);\n }\n\n return (\n createAccount(\"0x...\")}\n >\n Create Account\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to create a account" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "AccountFactory" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecreateaccount?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", - "line": 91, - "character": 24 - } - ], - "parameters": [ - { - "id": 1214, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a account factory contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 823, - "name": "useCreateAuctionListing", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 475, - "character": 24 - } - ], - "signatures": [ - { - "id": 824, - "name": "useCreateAuctionListing", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Create a new english auction" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: createAuctionListing,\n isLoading,\n error,\n } = useCreateAuctionListing(contract);\n\n if (error) {\n console.error(\"failed to create auction listing\", error);\n }\n\n return (\n createAuctionListing(auctionListingData)}\n >\n Create Auction Listing!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to create a new auction listing" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecreateauctionlisting?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 475, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 825, - "name": "TMarketplace", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ] - } - } - ], - "parameters": [ - { - "id": 826, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TMarketplace", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "TransactionResultWithId", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TMarketplace", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - }, - "trueType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/NewAuctionListing.ts", - "qualifiedName": "NewAuctionListing" - }, - "name": "NewAuctionListing", - "package": "@thirdweb-dev/sdk" - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 827, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 831, - "name": "assetContractAddress", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 479, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 835, - "name": "bidBufferBps", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 483, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - } - ] - } - }, - { - "id": 830, - "name": "buyoutBidAmount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 478, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 833, - "name": "currencyContractAddress", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 481, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 837, - "name": "endTimestamp", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 485, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 829, - "name": "minimumBidAmount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 477, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 832, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 480, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - } - ] - } - }, - { - "id": 836, - "name": "startTimestamp", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 484, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 834, - "name": "timeBufferInSeconds", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 482, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - } - ] - } - }, - { - "id": 828, - "name": "tokenId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 476, - "character": 4 - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - } - ] - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 831, - 835, - 830, - 833, - 837, - 829, - 832, - 836, - 834, - 828 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 475, - "character": 273 - } - ] - } - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 810, - "name": "useCreateDirectListing", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 432, - "character": 24 - } - ], - "signatures": [ - { - "id": 811, - "name": "useCreateDirectListing", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Create a new direct listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: createDirectListing,\n isLoading,\n error,\n } = useCreateDirectListing(contract);\n\n if (error) {\n console.error(\"failed to create direct listing\", error);\n }\n\n return (\n createDirectListing(directListingData)}\n >\n Create Direct Listing!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to create a new direct listing" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "DirectListings" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usecreatedirectlisting?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 432, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 812, - "name": "TMarketplace", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ] - } - } - ], - "parameters": [ - { - "id": 813, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TMarketplace", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "TransactionResultWithId", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "conditional", - "checkType": { - "type": "reference", - "target": -1, - "name": "TMarketplace", - "refersToTypeParameter": true - }, - "extendsType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - }, - "trueType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/NewDirectListing.ts", - "qualifiedName": "NewDirectListing" - }, - "name": "NewDirectListing", - "package": "@thirdweb-dev/sdk" - }, - "falseType": { - "type": "reflection", - "declaration": { - "id": 814, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 817, - "name": "assetContractAddress", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 435, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 819, - "name": "currencyContractAddress", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 437, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 821, - "name": "endTimestamp", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 439, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 822, - "name": "isReservedListing", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 440, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 816, - "name": "pricePerToken", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 434, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - } - ] - } - }, - { - "id": 818, - "name": "quantity", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 436, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - } - ] - } - }, - { - "id": 820, - "name": "startTimestamp", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 438, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Date" - }, - "name": "Date", - "package": "typescript" - } - ] - } - }, - { - "id": 815, - "name": "tokenId", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 433, - "character": 4 - } - ], - "type": { - "type": "intersection", - "types": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - } - ] - }, - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "intrinsic", - "name": "bigint" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 817, - 819, - 821, - 822, - 816, - 818, - 820, - 815 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 432, - "character": 271 - } - ] - } - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1226, - "name": "useCreateSessionKey", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 97, - "character": 24 - } - ], - "signatures": [ - { - "id": 1227, - "name": "useCreateSessionKey", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Create and add a session key for the smart wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const {\n mutate: createSessionKey,\n isLoading,\n error,\n } = useCreateSessionKey();\n\n if (error) {\n console.error(\"failed to create session key\", error);\n }\n\n return (\n createSessionKey(\n \"0x...\",\n {\n approvedCallTargets: [\"0x...\"], // the addresses of contracts that the session key can call\n nativeTokenLimitPerTransaction: 0.1, // the maximum amount of native token (in ETH) that the session key can spend per transaction\n startDate: new Date(), // the date when the session key becomes active\n expirationDate = new Date(Date.now() + 24 * 60 * 60 * 1000); // the date when the session key expires\n }\n )}\n >\n Create Session Key\n \n );\n};\n```" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Account" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 97, - "character": 24 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/types.ts", - "qualifiedName": "TransactionResult" - }, - "name": "TransactionResult", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "CreateSessionKeyInput" - }, - "name": "CreateSessionKeyInput", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 332, - "name": "useCreateWalletInstance", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 66, - "character": 24 - } - ], - "signatures": [ - { - "id": 333, - "name": "useCreateWalletInstance", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a method to create an instance of given wallet class" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 66, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 334, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 66, - "character": 51 - } - ], - "signatures": [ - { - "id": 335, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 337, - "name": "I", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 336, - "name": "Wallet", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "" - }, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": -1, - "name": "I", - "refersToTypeParameter": true - } - } - ] - } - } - } - ] - }, - { - "id": 728, - "name": "useDelayedRevealLazyMint", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 181, - "character": 24 - } - ], - "signatures": [ - { - "id": 729, - "name": "useDelayedRevealLazyMint", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Lazy mint NFTs with delayed reveal" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: delayedRevealLazyMint,\n isLoading,\n error,\n } = useDelayedRevealLazyMint(contract);\n\n if (error) {\n console.error(\"failed to lazy mint NFT\", error);\n }\n\n return (\n delayedRevealLazyMint({ metadatas: [{ name: \"My NFT!\"}] })}\n >\n Delayed Reveal Lazy mint NFT!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to lazy mint a batch of NFTs" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Revealable | ERC1155Revealable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usedelayedreveallazymint?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 181, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 730, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1417, - "name": "RevealableContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 731, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "DropContract", - "target": 1416, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 732, - "name": "onProgress", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an optional callback that will be called with the progress of the upload" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 733, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 181, - "character": 136 - } - ], - "signatures": [ - { - "id": 734, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 181, - "character": 136 - } - ], - "parameters": [ - { - "id": 735, - "name": "progress", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/events.ts", - "qualifiedName": "UploadProgressEvent" - }, - "name": "UploadProgressEvent", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "TransactionResultWithId", - "package": "@thirdweb-dev/sdk" - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1418, - "name": "DelayedRevealLazyMintInput", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 749, - "name": "useDirectListing", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 41, - "character": 24 - } - ], - "signatures": [ - { - "id": 750, - "name": "useDirectListing", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get a direct listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst listingId = 0; // the listing id to check\nconst { data: directListing, isLoading, error } = useListing(contract, listingId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the desired direct listing" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "DirectListings" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usedirectlisting?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 41, - "character": 24 - } - ], - "parameters": [ - { - "id": 751, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 752, - "name": "listingId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the listing id to check" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 761, - "name": "useDirectListings", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 87, - "character": 24 - } - ], - "signatures": [ - { - "id": 762, - "name": "useDirectListings", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all direct listings" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: directListings, isLoading, error } = useDirectListings(contract, { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of direct listings" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "DirectListings" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usedirectlistings?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 87, - "character": 24 - } - ], - "parameters": [ - { - "id": 763, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 764, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "filter to pass to the query for the sake of pagination & filtering" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", - "qualifiedName": "MarketplaceFilter" - }, - "name": "MarketplaceFilter", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 780, - "name": "useDirectListingsCount", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 160, - "character": 24 - } - ], - "signatures": [ - { - "id": 781, - "name": "useDirectListingsCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the total count of direct listings" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: directListingsCount, isLoading, error } = useDirectListingsCount(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the direct listings count" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "DirectListings" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usedirectlistingscount?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 160, - "character": 24 - } - ], - "parameters": [ - { - "id": 782, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 338, - "name": "useDisconnect", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 44, - "character": 24 - } - ], - "signatures": [ - { - "id": 339, - "name": "useDisconnect", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a method to disconnect from the current active wallet" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 44, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 340, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 44, - "character": 41 - } - ], - "signatures": [ - { - "id": 341, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 1340, - "name": "useENS", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useENS.d.ts", - "line": 1, - "character": 24 - } - ], - "signatures": [ - { - "id": 1341, - "name": "useENS", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useENS.d.ts", - "line": 1, - "character": 24 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1272, - "name": "useEdition", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useEdition.d.ts", - "line": 32, - "character": 24 - } - ], - "signatures": [ - { - "id": 1273, - "name": "useEdition", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of an " - }, - { - "kind": "code", - "text": "`Edition`" - }, - { - "kind": "text", - "text": " contract. This contract is used to interface with ERC1155 compliant NFTs." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"edition\")\n\n // Now you can use the edition contract in the rest of the component\n\n // For example, this function will return all the NFTs on this contract\n async function getNFTs() {\n const nfts = await contract.getAll()\n return nfts\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const edition = useEdition(\"0x1234...\");\n+ const edition = useContract(\"0x1234...\", \"edition\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useEdition.d.ts", - "line": 32, - "character": 24 - } - ], - "parameters": [ - { - "id": 1274, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Edition contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "Edition", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1269, - "name": "useEditionDrop", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useEditionDrop.d.ts", - "line": 31, - "character": 24 - } - ], - "signatures": [ - { - "id": 1270, - "name": "useEditionDrop", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of an " - }, - { - "kind": "code", - "text": "`EditionDrop`" - }, - { - "kind": "text", - "text": " contract. This contract is used to interface with ERC1155 compliant NFTs that can be lazily minted." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"edition-drop\")\n\n // Now you can use the edition drop contract in the rest of the component\n\n // For example, this function will let the connected wallet claim a new NFT\n async function claim(tokenId, quantity) {\n await contract.claim(tokenId, quantity)\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const editionDrop = useEditionDrop(\"0x1234...\");\n+ const editionDrop = useContract(\"0x1234...\", \"edition-drop\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useEditionDrop.d.ts", - "line": 31, - "character": 24 - } - ], - "parameters": [ - { - "id": 1271, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Edition Drop contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "EditionDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 753, - "name": "useEnglishAuction", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 57, - "character": 24 - } - ], - "signatures": [ - { - "id": 754, - "name": "useEnglishAuction", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get an english auction" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst auctionId = 0; // the listing id to check\nconst { data: englishAuction, isLoading, error } = useEnglishAuction(contract, auctionId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the desired english auction" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useenglishauctions?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 57, - "character": 24 - } - ], - "parameters": [ - { - "id": 755, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 756, - "name": "auctionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the auction id to check" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 794, - "name": "useEnglishAuctionWinningBid", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 221, - "character": 24 - } - ], - "signatures": [ - { - "id": 795, - "name": "useEnglishAuctionWinningBid", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the winning bid for an english auction" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst listingId = 0;\nconst { data: winningBid, isLoading, error } = useWinningBid(contract, listingId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "Bid" - }, - { - "kind": "text", - "text": " that is winning the auction" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useenglishauctionwinningbid?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 221, - "character": 24 - } - ], - "parameters": [ - { - "id": 796, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 797, - "name": "auctionId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the auction id to check" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 769, - "name": "useEnglishAuctions", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 117, - "character": 24 - } - ], - "signatures": [ - { - "id": 770, - "name": "useEnglishAuctions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all english auctions" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: englishAuctions, isLoading, error } = useEnglishAuctions(contract, { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of english auctions" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useenglishauctions?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 117, - "character": 24 - } - ], - "parameters": [ - { - "id": 771, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 772, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "filter to pass to the query for the sake of pagination & filtering" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", - "qualifiedName": "MarketplaceFilter" - }, - "name": "MarketplaceFilter", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 783, - "name": "useEnglishAuctionsCount", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 174, - "character": 24 - } - ], - "signatures": [ - { - "id": 784, - "name": "useEnglishAuctionsCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the total count of english auctions" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: englishAuctionsCount, isLoading, error } = useEnglishAuctionsCount(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the direct english actions count" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useenglishauctionscount?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 174, - "character": 24 - } - ], - "parameters": [ - { - "id": 785, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 886, - "name": "useExecuteAuctionSale", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 743, - "character": 24 - } - ], - "signatures": [ - { - "id": 887, - "name": "useExecuteAuctionSale", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Execute an auction sale. Can only be executed once the auction has ended and the auction has a winning bid." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: executeAuctionSale,\n isLoading,\n error,\n } = useExecuteAuctionSale(contract);\n\n if (error) {\n console.error(\"failed to execute sale\", error);\n }\n\n return (\n executeAuctionSale({ listingId: 1 })}\n >\n Execute sale\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to accept an offer on a direct listing" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useexecuteauctionsale?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 743, - "character": 24 - } - ], - "parameters": [ - { - "id": 888, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 889, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 891, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 745, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 892, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 745, - "character": 10 - } - ], - "signatures": [ - { - "id": 893, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 890, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 744, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 891, - 890 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 743, - "character": 108 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1447, - "name": "ExecuteAuctionSale", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 217, - "name": "useFrameWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L4" - } - ], - "signatures": [ - { - "id": 218, - "name": "useFrameWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L4" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 219, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L7" - } - ], - "signatures": [ - { - "id": 220, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L7" - } - ], - "parameters": [ - { - "id": 221, - "name": "connectOptions", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 222, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 223, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", - "line": 7, - "character": 30, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 223 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useFrame.ts", - "line": 7, - "character": 28, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useFrame.ts#L7" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/frame.ts", - "qualifiedName": "FrameWallet" - }, - "name": "FrameWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 1142, - "name": "useGrantRole", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 140, - "character": 24 - } - ], - "signatures": [ - { - "id": 1143, - "name": "useGrantRole", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Grant a role to a specific address" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: grantRole,\n isLoading,\n error,\n } = useGrantRole(contract);\n\n if (error) {\n console.error(\"failed to grant role\", error);\n }\n\n return (\n grantRole({ role: \"admin\", address: {{wallet_address}} })}\n >\n Grant Role\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to grant a member of a role on the contract" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Permissions | PermissionsEnumerable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usegrantrole?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 140, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1144, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "ContractWithRoles" - }, - "name": "ContractWithRoles", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1145, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 182, - "name": "useInstalledWallets", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", - "line": 7, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L7" - } - ], - "signatures": [ - { - "id": 183, - "name": "useInstalledWallets", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", - "line": 7, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L7" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 184, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 186, - "name": "coinbaseWallet", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", - "line": 23, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L23" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "isCoinbaseWalletInstalled" - }, - { - "id": 185, - "name": "metamask", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", - "line": 22, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L22" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "isMetamaskInstalled" - }, - { - "id": 187, - "name": "trustWallet", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", - "line": 24, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L24" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "isTrustWalletInstalled" - }, - { - "id": 188, - "name": "zerionWallet", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", - "line": 25, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L25" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - }, - "defaultValue": "isZerionWalletInstalled" - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 186, - 185, - 187, - 188 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/wallet/hooks/useInstalledWallets.ts", - "line": 21, - "character": 9, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/hooks/useInstalledWallets.ts#L21" - } - ] - } - } - } - ] - }, - { - "id": 1204, - "name": "useIsAccountDeployed", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", - "line": 53, - "character": 24 - } - ], - "signatures": [ - { - "id": 1205, - "name": "useIsAccountDeployed", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Check if a account has been deployed for the given admin" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: isAccountDeployed, isLoading, error } = useIsAccountDeployed(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a boolean indicating if a account has been deployed for the given admin" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "AccountFactory" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useisaccountdeployed?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account-factory.d.ts", - "line": 53, - "character": 24 - } - ], - "parameters": [ - { - "id": 1206, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a account factory contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1207, - "name": "admin", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1208, - "name": "extraData", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bytes@5.7.0/node_modules/@ethersproject/bytes/src.ts/index.ts", - "qualifiedName": "BytesLike" - }, - "name": "BytesLike", - "package": "@ethersproject/bytes" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "boolean" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1132, - "name": "useIsAddressRole", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 68, - "character": 24 - } - ], - "signatures": [ - { - "id": 1133, - "name": "useIsAddressRole", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Check if an address is a member of a specific role" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst { data: isMember, isLoading, error } = useIsAddressRole(contract, \"admin\", \"{{wallet_address}}\");\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "true if the address is a member of the role, or false if not" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "PermissionsEnumerable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useisaddressrole?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 68, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1134, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "ContractWithRoles" - }, - "name": "ContractWithRoles", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1135, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1136, - "name": "role", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the role to check the member against, see " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "Role", - "target": { - "sourceFileName": "../sdk/src/evm/common/role.ts", - "qualifiedName": "Role" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "RolesForContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RolesForContract", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1137, - "name": "walletAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address to check" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 70, - "name": "useIsWalletModalOpen", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", - "line": 79, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L79" - } - ], - "signatures": [ - { - "id": 71, - "name": "useIsWalletModalOpen", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", - "line": 79, - "character": 36, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L79" - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 720, - "name": "useLazyMint", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 145, - "character": 24 - } - ], - "signatures": [ - { - "id": 721, - "name": "useLazyMint", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Lazy mint NFTs" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: lazyMint,\n isLoading,\n error,\n } = useLazyMint(contract);\n\n if (error) {\n console.error(\"failed to lazy mint NFT\", error);\n }\n\n return (\n lazyMint({ metadatas: [{ name: \"My NFT!\"}] })}\n >\n Lazy mint NFT!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to lazy mint a batch of NFTs" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721LazyMintable | ERC1155LazyMintable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.uselazymint?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 145, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 722, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 723, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388 - }, - { - "kind": "text", - "text": " with the drop extension" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 724, - "name": "onProgress", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an optional callback that will be called with the progress of the upload" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 725, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 145, - "character": 117 - } - ], - "signatures": [ - { - "id": 726, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 145, - "character": 117 - } - ], - "parameters": [ - { - "id": 727, - "name": "progress", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/events.ts", - "qualifiedName": "UploadProgressEvent" - }, - "name": "UploadProgressEvent", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "intrinsic", - "name": "any" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 745, - "name": "useListing", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 25, - "character": 24 - } - ], - "signatures": [ - { - "id": 746, - "name": "useListing", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get a listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst listingId = 0; // the listing id to check\nconst { data: listing, isLoading, error } = useListing(contract, listingId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the desired listing" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.uselisting?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 25, - "character": 24 - } - ], - "parameters": [ - { - "id": 747, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 748, - "name": "listingId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the listing id to check" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 757, - "name": "useListings", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 72, - "character": 24 - } - ], - "signatures": [ - { - "id": 758, - "name": "useListings", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all listings" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: listings, isLoading, error } = useListings(contract, { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of listings" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.uselistings?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 72, - "character": 24 - } - ], - "parameters": [ - { - "id": 759, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 760, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "filter to pass to the query for the sake of pagination & filtering" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", - "qualifiedName": "MarketplaceFilter" - }, - "name": "MarketplaceFilter", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 777, - "name": "useListingsCount", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 146, - "character": 24 - } - ], - "signatures": [ - { - "id": 778, - "name": "useListingsCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the total count of listings" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: listingsCount, isLoading, error } = useListingsCount(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the listing count" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.uselistingscount?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 146, - "character": 24 - } - ], - "parameters": [ - { - "id": 779, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1236, - "name": "useLogin", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", - "line": 11, - "character": 24 - } - ], - "signatures": [ - { - "id": 1237, - "name": "useLogin", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook to securely login to a backend with the connected wallet. The backend\nauthentication URL must be configured on the ThirdwebProvider." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "- A function to invoke to login with the connected wallet, and an isLoading state." - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.uselogin?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", - "line": 11, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1238, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1242, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1239, - "name": "login", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1240, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", - "line": 12, - "character": 11 - } - ], - "signatures": [ - { - "id": 1241, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1242, - 1239 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogin.d.ts", - "line": 11, - "character": 36 - } - ] - } - } - } - ] - }, - { - "id": 1243, - "name": "useLogout", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", - "line": 11, - "character": 24 - } - ], - "signatures": [ - { - "id": 1244, - "name": "useLogout", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook to logout the connected wallet from the backend.\nThe backend logout URL must be configured on the ThirdwebProvider." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "- A function to invoke to logout." - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.uselogout?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", - "line": 11, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1245, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1247, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", - "line": 13, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1246, - "name": "logout", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseMutateAsyncFunction", - "package": "@tanstack/react-query" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1247, - 1246 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useLogout.d.ts", - "line": 11, - "character": 37 - } - ] - } - } - } - ] - }, - { - "id": 79, - "name": "useMagic", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/connectors/magic/useMagic.ts", - "line": 6, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/magic/useMagic.ts#L6" - } - ], - "signatures": [ - { - "id": 80, - "name": "useMagic", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/connectors/magic/useMagic.ts", - "line": 6, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/magic/useMagic.ts#L6" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 81, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/connectors/magic/useMagic.ts", - "line": 9, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/magic/useMagic.ts#L9" - } - ], - "signatures": [ - { - "id": 82, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/connectors/magic/useMagic.ts", - "line": 9, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/magic/useMagic.ts#L9" - } - ], - "parameters": [ - { - "id": 83, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "Object" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/magic.ts", - "qualifiedName": "MagicLink" - }, - "name": "MagicLink", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 862, - "name": "useMakeBid", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 631, - "character": 24 - } - ], - "signatures": [ - { - "id": 863, - "name": "useMakeBid", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Make a bid on an auction listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: makeBid,\n isLoading,\n error,\n } = useMakeBid(contract);\n\n if (error) {\n console.error(\"failed to make a bid\", error);\n }\n\n return (\n makeBid({ listingId: 1, bid: 2 })}\n >\n Bid!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to make a bid on an auction listing" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usemakebid?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 631, - "character": 24 - } - ], - "parameters": [ - { - "id": 864, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 865, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 867, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 633, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 868, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 633, - "character": 10 - } - ], - "signatures": [ - { - "id": 869, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 866, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 632, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 867, - 866 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 631, - "character": 97 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1434, - "name": "MakeBidParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 870, - "name": "useMakeOffer", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 668, - "character": 24 - } - ], - "signatures": [ - { - "id": 871, - "name": "useMakeOffer", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Nake an offer on a direct or auction listing" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: makeOffer,\n isLoading,\n error,\n } = useMakeOffer(contract);\n\n if (error) {\n console.error(\"failed to make a bid\", error);\n }\n\n return (\n makeOffer({ listingId: 1, pricePerToken: 0.5, quantity: 1 })}\n >\n Bid!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to make a bid on an auction listing" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usemakeoffer?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 668, - "character": 24 - } - ], - "parameters": [ - { - "id": 872, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 873, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 875, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 670, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 876, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 670, - "character": 10 - } - ], - "signatures": [ - { - "id": 877, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 874, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 669, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 875, - 874 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 668, - "character": 99 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1438, - "name": "MakeOfferParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1278, - "name": "useMarketplace", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useMarketplace.d.ts", - "line": 32, - "character": 24 - } - ], - "signatures": [ - { - "id": 1279, - "name": "useMarketplace", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of a " - }, - { - "kind": "code", - "text": "`Marketplace`" - }, - { - "kind": "text", - "text": " contract. This contract is used to support marketplace for purchase and sale of on-chain assets." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"marketplace\")\n\n // Now you can use the marketplace contract in the rest of the component\n\n // For example, this function will return all the listings on the marketplace\n async function getListings() {\n const listings = await contract.getAll()\n return listings\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const marketplace = useMarketplace(\"0x1234...\");\n+ const marketplace = useContract(\"0x1234...\", \"marketplace\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useMarketplace.d.ts", - "line": 32, - "character": 24 - } - ], - "parameters": [ - { - "id": 1280, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Marketplace contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 594, - "name": "useMetadata", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 191, - "character": 24 - } - ], - "signatures": [ - { - "id": 595, - "name": "useMetadata", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the metadata of this contract" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst { data: metadata, isLoading, error } = useMetadata(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "CustomContractMetadata" - }, - { - "kind": "text", - "text": " object containing the metadata" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usemetadata?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 191, - "character": 24 - } - ], - "parameters": [ - { - "id": 596, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 203, - "name": "useMetamask", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L4" - } - ], - "signatures": [ - { - "id": 204, - "name": "useMetamask", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L4" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 205, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L7" - } - ], - "signatures": [ - { - "id": 206, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L7" - } - ], - "parameters": [ - { - "id": 207, - "name": "connectOptions", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 208, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 209, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", - "line": 7, - "character": 30, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 209 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useMetamask.ts", - "line": 7, - "character": 28, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useMetamask.ts#L7" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/metamask.ts", - "qualifiedName": "MetaMaskWallet" - }, - "name": "MetaMaskWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 806, - "name": "useMinimumNextBid", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 269, - "character": 24 - } - ], - "signatures": [ - { - "id": 807, - "name": "useMinimumNextBid", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the minimum next bid for an english auction" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst listingId = 0;\nconst { data: minimumNextBid, isLoading, error } = useMinimumNextBid(contract, listingId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the minimum next bid for the auction listing" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAucton" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useminimumnextbid?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 269, - "character": 24 - } - ], - "parameters": [ - { - "id": 808, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 809, - "name": "listingId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the listing id to check" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1073, - "name": "useMintNFT", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 165, - "character": 24 - } - ], - "signatures": [ - { - "id": 1074, - "name": "useMintNFT", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Mint an NFT to a specific wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: mintNft,\n isLoading,\n error,\n } = useMintNFT(contract);\n\n if (error) {\n console.error(\"failed to mint NFT\", error);\n }\n\n return (\n mintNft({ name: \"My awesome NFT!\", to: \"{{wallet_address}}\" })}\n >\n Mint!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to mint a new NFT token to the connected wallet" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Mintable | ERC1155Mintable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usemintnft?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 165, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1075, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1076, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": 1410, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "MintNFTReturnType", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1405, - "name": "MintNFTParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1077, - "name": "useMintNFTSupply", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 200, - "character": 24 - } - ], - "signatures": [ - { - "id": 1078, - "name": "useMintNFTSupply", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Increase the supply of an existing NFT" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: mintNftSupply,\n isLoading,\n error,\n } = useMintNFTSupply(contract);\n\n if (error) {\n console.error(\"failed to mint additional supply\", error);\n }\n\n return (\n mintNftSupply({ tokenId: 0, additionalSupply: 100, to: \"{{wallet_address}}\"})}\n >\n Mint Additional Supply!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to mint a more supply of a token id to the provided wallet" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC1155Mintable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usemintnftsupply?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 200, - "character": 24 - } - ], - "parameters": [ - { - "id": 1079, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "Erc1155", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/classes/erc-1155.ts", - "qualifiedName": "Erc1155" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "BaseERC1155" - }, - "name": "BaseERC1155", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/eips.ts", - "qualifiedName": "BaseSignatureMintERC1155" - }, - "name": "BaseSignatureMintERC1155", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "Erc1155", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "TransactionResultWithId", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1400, - "name": "MintNFTSupplyParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1164, - "name": "useMintToken", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 102, - "character": 24 - } - ], - "signatures": [ - { - "id": 1165, - "name": "useMintToken", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Mint tokens" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: mintTokens,\n isLoading,\n error,\n } = useMintToken(contract);\n\n if (error) {\n console.error(\"failed to mint tokens\", error);\n }\n\n return (\n mintTokens({ to: \"{{wallet_address}}\", amount: 1000 })}\n >\n Mint!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to mint new tokens to the connected wallet" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20Mintable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useminttoken?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 102, - "character": 24 - } - ], - "parameters": [ - { - "id": 1166, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "TokenContract", - "target": 1389, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1389, - "name": "TokenContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1167, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1169, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 104, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1170, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 104, - "character": 10 - } - ], - "signatures": [ - { - "id": 1171, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1168, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 103, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1169, - 1168 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 102, - "character": 101 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1381, - "name": "TokenParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1299, - "name": "useMultiwrap", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useMultiwrap.d.ts", - "line": 31, - "character": 24 - } - ], - "signatures": [ - { - "id": 1300, - "name": "useMultiwrap", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of an " - }, - { - "kind": "code", - "text": "`Multiwrap`" - }, - { - "kind": "text", - "text": " contract. This contract is an ERC721 in which you can wrap ERC721, ERC1155 and ERC20 tokens." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"multiwrap\")\n\n // Now you can use the multiwrap contract in the rest of the component\n\n // For example, this function will let the connected wallet wrap tokens\n async function wrap(tokensToWrap, wrappedNFTMetadata) {\n await contract.wrap(tokensToWrap, wrappedNFTMetadata)\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const multiwrap = useMultiwrap(\"0x1234...\");\n+ const multiwrap = useContract(\"0x1234...\", \"multiwrap\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useMultiwrap.d.ts", - "line": 31, - "character": 24 - } - ], - "parameters": [ - { - "id": 1301, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Multiwrap contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "Multiwrap", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1042, - "name": "useNFT", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 26, - "character": 24 - } - ], - "signatures": [ - { - "id": 1043, - "name": "useNFT", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get a single NFT" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst tokenId = 0; // the tokenId to look up\nconst { data: nft, isLoading, error } = useNFT(contract, tokenId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the metadata for the given tokenId" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721 | ERC1155" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usenft?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 26, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1044, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1045, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1046, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the tokenId to look up" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "NFT" - }, - "name": "NFT", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1068, - "name": "useNFTBalance", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 112, - "character": 24 - } - ], - "signatures": [ - { - "id": 1069, - "name": "useNFTBalance", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get NFT balance of a specific wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: ownerBalance, isLoading, error } = useNFTBalance(contract, \"{{wallet_address}}\");\n// for ERC1155 contracts, you can also pass a tokenId\nconst tokenId = 0;\nconst { data: ownerBalance, isLoading, error } = useNFTBalance(contract, \"{{wallet_address}}\", tokenId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the total balance of the owner" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721 | ERC1155" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usenftbalance?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 112, - "character": 24 - } - ], - "parameters": [ - { - "id": 1070, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1071, - "name": "ownerWalletAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the wallet address to check the balance of" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1072, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "required for ERC1155, the tokenId to look up" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1281, - "name": "useNFTCollection", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useNFTCollection.d.ts", - "line": 32, - "character": 24 - } - ], - "signatures": [ - { - "id": 1282, - "name": "useNFTCollection", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of an " - }, - { - "kind": "code", - "text": "`NFTCollection`" - }, - { - "kind": "text", - "text": " contract. This contract is meant to interface with ERC721 compliant NFTs." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract, isLoading, error } = useContract(\"\", \"nft-collection\")\n\n // Now you can use the nftCollection contract in the rest of the component\n\n // For example, this function will return all the NFTs on this contract\n async function getNFTs() {\n const nfts = await contract.getAll()\n return nfts\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const nftCollection = useNFTCollection(\"0x1234...\");\n+ const nftCollection = useContract(\"0x1234...\", \"nft-collection\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useNFTCollection.d.ts", - "line": 32, - "character": 24 - } - ], - "parameters": [ - { - "id": 1283, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the NFT Collection contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "NFTCollection", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1275, - "name": "useNFTDrop", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useNFTDrop.d.ts", - "line": 31, - "character": 24 - } - ], - "signatures": [ - { - "id": 1276, - "name": "useNFTDrop", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of an " - }, - { - "kind": "code", - "text": "`NFTDrop`" - }, - { - "kind": "text", - "text": " contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"nft-drop\")\n\n // Now you can use the nft drop contract in the rest of the component\n\n // For example, this function will let the connected wallet claim a new NFT\n async function claim(quantity) {\n await contract.claim(quantity)\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const nftDrop = useNFTDrop(\"0x1234...\");\n+ const nftDrop = useContract(\"0x1234...\", \"nft-drop\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useNFTDrop.d.ts", - "line": 31, - "character": 24 - } - ], - "parameters": [ - { - "id": 1277, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the NFT Drop contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "NFTDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1047, - "name": "useNFTs", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 42, - "character": 24 - } - ], - "signatures": [ - { - "id": 1048, - "name": "useNFTs", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all NFTs" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: nfts, isLoading, error } = useNFTs(contract, { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of NFTs" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Supply | ERC721Enumerable | ERC1155Enumerable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usenfts?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 42, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1049, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1050, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1051, - "name": "queryParams", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "query params to pass to the query for pagination" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1052, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/sdk/dist/declarations/src/core/schema/QueryParams.d.ts", - "line": 12, - "character": 3 - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "NFT" - }, - "name": "NFT", - "package": "@thirdweb-dev/sdk" - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 362, - "name": "useNetwork", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/useNetwork.d.ts", - "line": 47, - "character": 24 - } - ], - "signatures": [ - { - "id": 363, - "name": "useNetwork", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "- use " - }, - { - "kind": "code", - "text": "`useChain`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`useSwitchChain`" - }, - { - "kind": "text", - "text": ", " - }, - { - "kind": "code", - "text": "`useChainId`" - }, - { - "kind": "text", - "text": " instead\n\nHook for getting metadata about the network the current wallet is connected to and switching networks" - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useNetwork } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n const [, switchNetwork] = useNetwork();\n return (\n // switchNetwork is undefined if the wallet does not support programmatic network switching\n // 137 is the chainId for Polygon in this example\n \n );\n};\n```" - }, - { - "kind": "text", - "text": "\n\nIt's important to note that some wallet apps do not support programmatic network switching and switchNetwork will be undefined.\nFor those situations, you can typically switch networks in the wallet app this hook will still work." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/useNetwork.d.ts", - "line": 47, - "character": 24 - } - ], - "type": { - "type": "tuple", - "elements": [ - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/hooks/useNetwork.ts", - "qualifiedName": "NetworkMetadata" - }, - "name": "NetworkMetadata", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/hooks/useNetwork.ts", - "qualifiedName": "SwitchNetwork" - }, - "name": "SwitchNetwork", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ] - } - } - ] - }, - { - "id": 1311, - "name": "useNetworkMismatch", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useNetworkMismatch.d.ts", - "line": 28, - "character": 24 - } - ], - "signatures": [ - { - "id": 1312, - "name": "useNetworkMismatch", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for checking whether the connected wallet is on the correct network specified by the " - }, - { - "kind": "code", - "text": "`network`" - }, - { - "kind": "text", - "text": " passed to the " - }, - { - "kind": "code", - "text": "``" - }, - { - "kind": "text", - "text": ".\n\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useNetworkMismatch } from \"@thirdweb-dev/react\"\n```" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "code", - "text": "`true`" - }, - { - "kind": "text", - "text": " if the chainId of the connected wallet is different from the chainId of the network passed into " - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usenetworkmismatch?utm_source=sdk" - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "You can check if a users wallet is connected to the correct chain ID as follows:\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useNetworkMismatch } from \"@thirdweb-dev/react\"\n\nconst App = () => {\n const isMismatched = useNetworkMismatch()\n\n return
            {isMismatched}
            \n}\n```" - }, - { - "kind": "text", - "text": "\n\nFrom here, you can prompt users to switch their network using the " - }, - { - "kind": "code", - "text": "`useNetwork`" - }, - { - "kind": "text", - "text": " hook." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useNetworkMismatch.d.ts", - "line": 28, - "character": 24 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - } - ] - }, - { - "id": 894, - "name": "useOffers", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 291, - "character": 24 - } - ], - "signatures": [ - { - "id": 895, - "name": "useOffers", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all the offers for a listing" - } - ], - "blockTags": [ - { - "tag": "@remarks", - "content": [ - { - "kind": "text", - "text": "Fetch all the offers for a specified direct or auction listing." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst listingId = 0;\nconst { data: offers, isLoading, error } = useOffers(contract, listingId);\n```" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useoffers?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 291, - "character": 24 - } - ], - "parameters": [ - { - "id": 896, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a Marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 897, - "name": "listingId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the id of the listing to fetch offers for" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 898, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 899, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 292, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 907, - "name": "dataUpdatedAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 300, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 900, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 293, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 911, - "name": "errorUpdateCount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 304, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 908, - "name": "errorUpdatedAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 301, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 909, - "name": "failureCount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 302, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 910, - "name": "failureReason", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 303, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 929, - "name": "fetchStatus", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 316, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "FetchStatus", - "package": "@tanstack/react-query" - } - }, - { - "id": 901, - "name": "isError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 294, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": true - } - }, - { - "id": 912, - "name": "isFetched", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 305, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 913, - "name": "isFetchedAfterMount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 306, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 914, - "name": "isFetching", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 307, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 915, - "name": "isInitialLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 308, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 902, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 295, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 903, - "name": "isLoadingError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 296, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 916, - "name": "isPaused", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 309, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 917, - "name": "isPlaceholderData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 310, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 918, - "name": "isPreviousData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 311, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 904, - "name": "isRefetchError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 297, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": true - } - }, - { - "id": 919, - "name": "isRefetching", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 312, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 920, - "name": "isStale", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 313, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 905, - "name": "isSuccess", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 298, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 921, - "name": "refetch", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 314, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 922, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 314, - "character": 13 - } - ], - "signatures": [ - { - "id": 923, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 925, - "name": "TPageData", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 924, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "RefetchOptions", - "package": "@tanstack/react-query" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "RefetchQueryFilters", - "package": "@tanstack/react-query" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "QueryObserverResult", - "package": "@tanstack/react-query" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 926, - "name": "remove", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 315, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 927, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 315, - "character": 12 - } - ], - "signatures": [ - { - "id": 928, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 906, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 299, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "error" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 899, - 907, - 900, - 911, - 908, - 909, - 910, - 929, - 901, - 912, - 913, - 914, - 915, - 902, - 903, - 916, - 917, - 918, - 904, - 919, - 920, - 905, - 921, - 926, - 906 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 291, - "character": 113 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 930, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 931, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 318, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 939, - "name": "dataUpdatedAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 326, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 932, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 319, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 943, - "name": "errorUpdateCount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 330, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 940, - "name": "errorUpdatedAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 327, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 941, - "name": "failureCount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 328, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 942, - "name": "failureReason", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 329, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 961, - "name": "fetchStatus", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 342, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "FetchStatus", - "package": "@tanstack/react-query" - } - }, - { - "id": 933, - "name": "isError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 320, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 944, - "name": "isFetched", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 331, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 945, - "name": "isFetchedAfterMount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 332, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 946, - "name": "isFetching", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 333, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 947, - "name": "isInitialLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 334, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 934, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 321, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 935, - "name": "isLoadingError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 322, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 948, - "name": "isPaused", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 335, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 949, - "name": "isPlaceholderData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 336, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 950, - "name": "isPreviousData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 337, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 936, - "name": "isRefetchError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 323, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 951, - "name": "isRefetching", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 338, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 952, - "name": "isStale", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 339, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 937, - "name": "isSuccess", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 324, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": true - } - }, - { - "id": 953, - "name": "refetch", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 340, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 954, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 340, - "character": 13 - } - ], - "signatures": [ - { - "id": 955, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 957, - "name": "TPageData", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 956, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "RefetchOptions", - "package": "@tanstack/react-query" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "RefetchQueryFilters", - "package": "@tanstack/react-query" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "QueryObserverResult", - "package": "@tanstack/react-query" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 958, - "name": "remove", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 341, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 959, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 341, - "character": 12 - } - ], - "signatures": [ - { - "id": 960, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 938, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 325, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "success" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 931, - 939, - 932, - 943, - 940, - 941, - 942, - 961, - 933, - 944, - 945, - 946, - 947, - 934, - 935, - 948, - 949, - 950, - 936, - 951, - 952, - 937, - 953, - 958, - 938 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 317, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 962, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 963, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 344, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 971, - "name": "dataUpdatedAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 352, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 964, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 345, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 975, - "name": "errorUpdateCount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 356, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 972, - "name": "errorUpdatedAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 353, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 973, - "name": "failureCount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 354, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 974, - "name": "failureReason", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 355, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 993, - "name": "fetchStatus", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 368, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "FetchStatus", - "package": "@tanstack/react-query" - } - }, - { - "id": 965, - "name": "isError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 346, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": true - } - }, - { - "id": 976, - "name": "isFetched", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 357, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 977, - "name": "isFetchedAfterMount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 358, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 978, - "name": "isFetching", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 359, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 979, - "name": "isInitialLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 360, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 966, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 347, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 967, - "name": "isLoadingError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 348, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": true - } - }, - { - "id": 980, - "name": "isPaused", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 361, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 981, - "name": "isPlaceholderData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 362, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 982, - "name": "isPreviousData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 363, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 968, - "name": "isRefetchError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 349, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 983, - "name": "isRefetching", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 364, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 984, - "name": "isStale", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 365, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 969, - "name": "isSuccess", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 350, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 985, - "name": "refetch", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 366, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 986, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 366, - "character": 13 - } - ], - "signatures": [ - { - "id": 987, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 989, - "name": "TPageData", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 988, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "RefetchOptions", - "package": "@tanstack/react-query" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "RefetchQueryFilters", - "package": "@tanstack/react-query" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "QueryObserverResult", - "package": "@tanstack/react-query" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 990, - "name": "remove", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 367, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 991, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 367, - "character": 12 - } - ], - "signatures": [ - { - "id": 992, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 970, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 351, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "error" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 963, - 971, - 964, - 975, - 972, - 973, - 974, - 993, - 965, - 976, - 977, - 978, - 979, - 966, - 967, - 980, - 981, - 982, - 968, - 983, - 984, - 969, - 985, - 990, - 970 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 343, - "character": 4 - } - ] - } - }, - { - "type": "reflection", - "declaration": { - "id": 994, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 995, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 370, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Record" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "Record", - "package": "typescript" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 1003, - "name": "dataUpdatedAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 378, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 996, - "name": "error", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 371, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": null - } - }, - { - "id": 1007, - "name": "errorUpdateCount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 382, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1004, - "name": "errorUpdatedAt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 379, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1005, - "name": "failureCount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 380, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 1006, - "name": "failureReason", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 381, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "unknown" - } - }, - { - "id": 1025, - "name": "fetchStatus", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 394, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "FetchStatus", - "package": "@tanstack/react-query" - } - }, - { - "id": 997, - "name": "isError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 372, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 1008, - "name": "isFetched", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 383, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1009, - "name": "isFetchedAfterMount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 384, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1010, - "name": "isFetching", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 385, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1011, - "name": "isInitialLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 386, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 998, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 373, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": true - } - }, - { - "id": 999, - "name": "isLoadingError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 374, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 1012, - "name": "isPaused", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 387, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1013, - "name": "isPlaceholderData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 388, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1014, - "name": "isPreviousData", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 389, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1000, - "name": "isRefetchError", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 375, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 1015, - "name": "isRefetching", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 390, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1016, - "name": "isStale", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 391, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1001, - "name": "isSuccess", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 376, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": false - } - }, - { - "id": 1017, - "name": "refetch", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 392, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1018, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 392, - "character": 13 - } - ], - "signatures": [ - { - "id": 1019, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "typeParameter": [ - { - "id": 1021, - "name": "TPageData", - "variant": "typeParam", - "kind": 131072, - "flags": {} - } - ], - "parameters": [ - { - "id": 1020, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "RefetchOptions", - "package": "@tanstack/react-query" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "RefetchQueryFilters", - "package": "@tanstack/react-query" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "QueryObserverResult", - "package": "@tanstack/react-query" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1022, - "name": "remove", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 393, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1023, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 393, - "character": 12 - } - ], - "signatures": [ - { - "id": 1024, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - }, - { - "id": 1002, - "name": "status", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 377, - "character": 4 - } - ], - "type": { - "type": "literal", - "value": "loading" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 995, - 1003, - 996, - 1007, - 1004, - 1005, - 1006, - 1025, - 997, - 1008, - 1009, - 1010, - 1011, - 998, - 999, - 1012, - 1013, - 1014, - 1000, - 1015, - 1016, - 1001, - 1017, - 1022, - 1002 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 369, - "character": 4 - } - ] - } - } - ] - } - } - ] - }, - { - "id": 1061, - "name": "useOwnedNFTs", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 92, - "character": 24 - } - ], - "signatures": [ - { - "id": 1062, - "name": "useOwnedNFTs", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all NFTs owned by a specific wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: ownedNFTs, isLoading, error } = useOwnedNFTs(contract, \"{{wallet_address}}\", { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the list of owned tokens" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Enumerable | ERC1155Enumerable | ERC721Supply" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useownednfts?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 92, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1063, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1064, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1065, - "name": "ownerWalletAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the wallet address to get owned tokens for" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1066, - "name": "queryParams", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "query params to pass to the query for pagination" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 1067, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/sdk/dist/declarations/src/core/schema/QueryParams.d.ts", - "line": 12, - "character": 3 - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "NFT" - }, - "name": "NFT", - "package": "@thirdweb-dev/sdk" - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1284, - "name": "usePack", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/usePack.d.ts", - "line": 32, - "character": 24 - } - ], - "signatures": [ - { - "id": 1285, - "name": "usePack", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of a " - }, - { - "kind": "code", - "text": "`Pack`" - }, - { - "kind": "text", - "text": " contract. This contract supports the creation of on-chain luck-based lootboxes." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = usePack(\"\", \"pack\")\n\n // Now you can use the pack contract in the rest of the component\n\n // For example, this function will get all the packs on this contract\n async function getPacks() {\n const packs = await contract.getAll()\n return packs\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const pack = usePack(\"0x1234...\");\n+ const pack = useContract(\"0x1234...\", \"pack\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/usePack.d.ts", - "line": 32, - "character": 24 - } - ], - "parameters": [ - { - "id": 1286, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Pack contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "Pack", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 233, - "name": "usePaperWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 16, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L16" - } - ], - "signatures": [ - { - "id": 234, - "name": "usePaperWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 16, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L16" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 235, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 19, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" - } - ], - "signatures": [ - { - "id": 236, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 19, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" - } - ], - "parameters": [ - { - "id": 237, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 238, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 239, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 19, - "character": 22, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 240, - "name": "email", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 19, - "character": 40, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 239, - 240 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 19, - "character": 20, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L19" - } - ] - } - }, - { - "type": "reference", - "target": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "PaperConfig" - }, - "name": "PaperConfig", - "package": "@thirdweb-dev/react" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/paper-wallet.ts", - "qualifiedName": "PaperWallet" - }, - "name": "PaperWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 231, - "name": "usePaperWalletUserEmail", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 32, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L32" - } - ], - "signatures": [ - { - "id": 232, - "name": "usePaperWalletUserEmail", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/usePaper.ts", - "line": 32, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/usePaper.ts#L32" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 577, - "name": "usePlatformFees", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 134, - "character": 24 - } - ], - "signatures": [ - { - "id": 578, - "name": "usePlatformFees", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the platform fee recipient and basis points" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst { data: platformFees, isLoading, error } = usePlatformFees(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "an object containing the platform fee basis points and the fee recipient address" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "PlatformFee" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useplatformfees?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 134, - "character": 24 - } - ], - "parameters": [ - { - "id": 579, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 580, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 581, - "name": "platform_fee_basis_points", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 135, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 582, - "name": "platform_fee_recipient", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 136, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 581, - 582 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 134, - "character": 104 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 549, - "name": "usePrimarySaleRecipient", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 20, - "character": 24 - } - ], - "signatures": [ - { - "id": 550, - "name": "usePrimarySaleRecipient", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the primary sale recipient" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst { data: primarySaleRecipient, isLoading, error } = usePrimarySalesRecipient(contract);\n```" - }, - { - "kind": "text", - "text": "\n\nUse this to get the primary sales recipient of your " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "the wallet address of the primary sales recipient" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "PrimarySale" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useprimarysalerecipient?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 20, - "character": 24 - } - ], - "parameters": [ - { - "id": 551, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 189, - "name": "useRainbowWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L4" - } - ], - "signatures": [ - { - "id": 190, - "name": "useRainbowWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L4" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 191, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L7" - } - ], - "signatures": [ - { - "id": 192, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L7" - } - ], - "parameters": [ - { - "id": 193, - "name": "connectOptions", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 194, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 195, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", - "line": 7, - "character": 30, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 195 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useRainbowWallet.ts", - "line": 7, - "character": 28, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useRainbowWallet.ts#L7" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/rainbow-wallet.ts", - "qualifiedName": "RainbowWallet" - }, - "name": "RainbowWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 1224, - "name": "useRemoveAdmin", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 187, - "character": 24 - } - ], - "signatures": [ - { - "id": 1225, - "name": "useRemoveAdmin", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Add an additional admin on the smart wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const {\n mutate: removeAdmin,\n isLoading,\n error,\n } = useRemoveAdmin();\n\n if (error) {\n console.error(\"failed to remove admin\", error);\n }\n\n return (\n removeAdmin(\"0x...\")}\n >\n Remove admin\n \n );\n};\n```" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Account" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 187, - "character": 24 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/types.ts", - "qualifiedName": "TransactionResult" - }, - "name": "TransactionResult", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 540, - "name": "useResetClaimConditions", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 190, - "character": 24 - } - ], - "signatures": [ - { - "id": 541, - "name": "useResetClaimConditions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Reset claim conditions" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: resetClaimConditions,\n isLoading,\n error,\n } = useResetClaimConditions(contract);\n\n if (error) {\n console.error(\"failed to reset claim conditions\", error);\n }\n\n return (\n \n Reset Claim Conditions\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to reset claim conditions" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 190, - "character": 24 - } - ], - "parameters": [ - { - "id": 542, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "DropContract", - "target": 1416, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 543, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 544, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 546, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 192, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 547, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 192, - "character": 10 - } - ], - "signatures": [ - { - "id": 548, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 545, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 191, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 546, - 545 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 190, - "character": 135 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "intrinsic", - "name": "void" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 257, - "name": "useResolvedMediaType", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 528, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L528" - } - ], - "signatures": [ - { - "id": 258, - "name": "useResolvedMediaType", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "the fully resolved url + mime type of the media" - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "text", - "text": "Usage with fully formed url:\n" - }, - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const resolved = useResolvedMediaType(\"https://example.com/video.mp4\");\n console.log(\"mime type\", resolved.data.mimeType);\n console.log(\"url\", resolved.data.url);\n return null;\n}\n```" - }, - { - "kind": "text", - "text": "\n\nUsage with ipfs cid:\n" - }, - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const resolved = useResolvedMediaType(\"ipfs://QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvsd\");\n console.log(\"mime type\", resolved.data.mimeType);\n console.log(\"url\", resolved.data.url);\n return null;\n}\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 528, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L528" - } - ], - "parameters": [ - { - "id": 259, - "name": "uri", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the uri to resolve (can be a url or a ipfs://\\)" - } - ] - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 260, - "name": "mimeType", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 261, - "name": "gatewayUrl", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 262, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 264, - "name": "mimeType", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 559, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L559" - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "string" - } - ] - }, - "defaultValue": "resolvedMimType.data" - }, - { - "id": 263, - "name": "url", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 558, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L558" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - }, - "defaultValue": "resolvedUrl" - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 264, - 263 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/components/MediaRenderer.tsx", - "line": 557, - "character": 9, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/components/MediaRenderer.tsx#L557" - } - ] - } - } - } - ] - }, - { - "id": 736, - "name": "useRevealLazyMint", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 216, - "character": 24 - } - ], - "signatures": [ - { - "id": 737, - "name": "useRevealLazyMint", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Reveal a batch of delayed reveal NFTs" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: revealLazyMint,\n isLoading,\n error,\n } = useRevealLazyMint(contract);\n\n if (error) {\n console.error(\"failed to reveal batch\", error);\n }\n\n return (\n revealLazyMint({ batchId: \"0\", password: \"my-password\" })}\n >\n Reveal batch!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to reveal a batch of delayed reveal NFTs" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Revealable | ERC1155Revealable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usereveallazymint?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 216, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 738, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1417, - "name": "RevealableContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 739, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "RevealableContract", - "target": 1417, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 740, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 742, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 218, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 743, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 218, - "character": 10 - } - ], - "signatures": [ - { - "id": 744, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 741, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 217, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 742, - 741 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 216, - "character": 140 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1423, - "name": "RevealLazyMintInput", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1146, - "name": "useRevokeRole", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 178, - "character": 24 - } - ], - "signatures": [ - { - "id": 1147, - "name": "useRevokeRole", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Revoke a role from a specific address" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: revokeRole,\n isLoading,\n error,\n } = useRevokeRole(contract);\n\n if (error) {\n console.error(\"failed to revoke role\", error);\n }\n\n return (\n revokeRole({ role: \"admin\", address: {{wallet_address}} })}\n >\n Revoke Role\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to revoke a role from a member on the contract" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Permissions | PermissionsEnumerable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.userevokerole?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 178, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1148, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "ContractWithRoles" - }, - "name": "ContractWithRoles", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1149, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1228, - "name": "useRevokeSessionKey", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 127, - "character": 24 - } - ], - "signatures": [ - { - "id": 1229, - "name": "useRevokeSessionKey", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Revoke a session key on the smart wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const {\n mutate: revokeSessionKey,\n isLoading,\n error,\n } = useRevokeSessionKey();\n\n if (error) {\n console.error(\"failed to revoke session key\", error);\n }\n\n return (\n revokeSessionKey(\"0x...\")}\n >\n Revoke Session Key\n \n );\n};\n```" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Account" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/account.d.ts", - "line": 127, - "character": 24 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/types.ts", - "qualifiedName": "TransactionResult" - }, - "name": "TransactionResult", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1127, - "name": "useRoleMembers", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 51, - "character": 24 - } - ], - "signatures": [ - { - "id": 1128, - "name": "useRoleMembers", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all members of a specific role" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst { data: members, isLoading, error } = useRoleMembers(SmartContract, \"admin\");\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a list of addresses that are members of the role" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Permissions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.userolemembers?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 51, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1129, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "ContractWithRoles" - }, - "name": "ContractWithRoles", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1130, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1131, - "name": "role", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the role to get the members of, see " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "Role", - "target": { - "sourceFileName": "../sdk/src/evm/common/role.ts", - "qualifiedName": "Role" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "RolesForContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RolesForContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 557, - "name": "useRoyaltySettings", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 72, - "character": 24 - } - ], - "signatures": [ - { - "id": 558, - "name": "useRoyaltySettings", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the royalty recipient and fee" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst { data: settings, isLoading, error } = useRoyaltySettings(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "an object containing recipient address and the royalty basis points" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Royalty" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useroyaltysettings?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 72, - "character": 24 - } - ], - "parameters": [ - { - "id": 559, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 560, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 562, - "name": "fee_recipient", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 74, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 561, - "name": "seller_fee_basis_points", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 73, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 562, - 561 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 72, - "character": 107 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1346, - "name": "useSDK", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSDK.d.ts", - "line": 17, - "character": 24 - } - ], - "signatures": [ - { - "id": 1347, - "name": "useSDK", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "ThirdwebSDK" - }, - { - "kind": "text", - "text": "\nAccess the instance of the thirdweb SDK created by the ThirdwebProvider\nto call methods using the connected wallet on the desiredChainId." - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst sdk = useSDK();\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSDK.d.ts", - "line": 17, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/core/sdk.ts", - "qualifiedName": "ThirdwebSDK" - }, - "name": "ThirdwebSDK", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 74, - "name": "useSafe", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/connectors/gnosis/useSafe.ts", - "line": 5, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/gnosis/useSafe.ts#L5" - } - ], - "signatures": [ - { - "id": 75, - "name": "useSafe", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/connectors/gnosis/useSafe.ts", - "line": 5, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/gnosis/useSafe.ts#L5" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 76, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/connectors/gnosis/useSafe.ts", - "line": 8, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/gnosis/useSafe.ts#L8" - } - ], - "signatures": [ - { - "id": 77, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/connectors/gnosis/useSafe.ts", - "line": 8, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/connectors/gnosis/useSafe.ts#L8" - } - ], - "parameters": [ - { - "id": 78, - "name": "connectProps", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/connectors/safe/types.ts", - "qualifiedName": "SafeConnectionArgs" - }, - "name": "SafeConnectionArgs", - "package": "@thirdweb-dev/wallets" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/safe.ts", - "qualifiedName": "SafeWallet" - }, - "name": "SafeWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 1138, - "name": "useSetAllRoleMembers", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 105, - "character": 24 - } - ], - "signatures": [ - { - "id": 1139, - "name": "useSetAllRoleMembers", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Overwrite the list of members for specific roles" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: overwriteRoles,\n isLoading,\n error,\n } = useSetAllRoleMembers(contract);\n\n if (error) {\n console.error(\"failed to overwrite roles\", error);\n }\n\n return (\n overwriteRoles({ rolesWithAddresses: { minter: [\"{{wallet_address}\"] } })}\n >\n Overwrite Roles\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to overwrite all roles on the contract" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Permissions" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/roles.d.ts", - "line": 105, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1140, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "ContractWithRoles" - }, - "name": "ContractWithRoles", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1141, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1330, - "name": "useSetAppURI", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 50, - "character": 24 - } - ], - "signatures": [ - { - "id": 1331, - "name": "useSetAppURI", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set App URI" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const {\n mutate: useSetAppURI,\n isLoading,\n error,\n } = useSetAppURI(contract);\n\n if (error) {\n console.error(\"failed to update appURI\", error);\n }\n\n return (\n useSetAppURI({ uri })}\n >\n Update App URI\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to update the appURI of a contract" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "AppUR" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 50, - "character": 24 - } - ], - "parameters": [ - { - "id": 1332, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1333, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1335, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 52, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1336, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 52, - "character": 10 - } - ], - "signatures": [ - { - "id": 1337, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1334, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 51, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1335, - 1334 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 50, - "character": 109 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 1338, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1339, - "name": "uri", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 54, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1339 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/app.d.ts", - "line": 53, - "character": 21 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 534, - "name": "useSetClaimConditions", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 154, - "character": 24 - } - ], - "signatures": [ - { - "id": 535, - "name": "useSetClaimConditions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set claim conditions" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: setClaimConditions,\n isLoading,\n error,\n } = useSetClaimConditions(contract);\n\n if (error) {\n console.error(\"failed to set claim conditions\", error);\n }\n\n return (\n setClaimConditions({ phases: [{ price: 2, maxClaimableSupply: 100 }] })}\n >\n Set Claim Conditions!\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to set claim conditions" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usesetclaimconditions?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 154, - "character": 24 - } - ], - "parameters": [ - { - "id": 536, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "DropContract", - "target": 1416, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1416, - "name": "DropContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 537, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 538, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 539, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 155, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 539 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/claim-conditions.d.ts", - "line": 154, - "character": 128 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 498, - "name": "SetClaimConditionsParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 356, - "name": "useSetConnectedWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 76, - "character": 24 - } - ], - "signatures": [ - { - "id": 357, - "name": "useSetConnectedWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a method to set a connected wallet instance" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 76, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 358, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 76, - "character": 49 - } - ], - "signatures": [ - { - "id": 359, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 360, - "name": "wallet", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 361, - "name": "params", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "ConnectParams", - "package": "@thirdweb-dev/wallets" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 351, - "name": "useSetConnectionStatus", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 61, - "character": 24 - } - ], - "signatures": [ - { - "id": 352, - "name": "useSetConnectionStatus", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a method to create an instance of given wallet class" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 61, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 353, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 61, - "character": 50 - } - ], - "signatures": [ - { - "id": 354, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 355, - "name": "status", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "union", - "types": [ - { - "type": "literal", - "value": "unknown" - }, - { - "type": "literal", - "value": "connected" - }, - { - "type": "literal", - "value": "disconnected" - }, - { - "type": "literal", - "value": "connecting" - } - ] - } - } - ], - "type": { - "type": "intrinsic", - "name": "void" - } - } - ] - } - } - } - ] - }, - { - "id": 72, - "name": "useSetIsWalletModalOpen", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", - "line": 83, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L83" - } - ], - "signatures": [ - { - "id": 73, - "name": "useSetIsWalletModalOpen", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/providers/wallet-ui-states-provider.tsx", - "line": 83, - "character": 39, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/providers/wallet-ui-states-provider.tsx#L83" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", - "qualifiedName": "BoolSetter" - }, - "name": "BoolSetter", - "package": "@thirdweb-dev/react" - } - } - ] - }, - { - "id": 1109, - "name": "useSetSharedMetadata", - "variant": "declaration", - "kind": 64, - "flags": { - "isPrivate": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 329, - "character": 24 - } - ], - "signatures": [ - { - "id": 1110, - "name": "useSetSharedMetadata", - "variant": "signature", - "kind": 4096, - "flags": { - "isPrivate": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set shared metadata\nTODO add docs" - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 329, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1111, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1112, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1113, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1115, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 331, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1116, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 331, - "character": 10 - } - ], - "signatures": [ - { - "id": 1117, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1114, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 330, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1115, - 1114 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 329, - "character": 136 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 1118, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1122, - "name": "animation_url", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 336, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1120, - "name": "description", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 334, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "literal", - "value": null - } - ] - } - }, - { - "id": 1121, - "name": "image", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 335, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 1119, - "name": "name", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 333, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "number" - }, - { - "type": "literal", - "value": null - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1122, - 1120, - 1121, - 1119 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 332, - "character": 21 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1106, - "name": "useSharedMetadata", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 127, - "character": 24 - } - ], - "signatures": [ - { - "id": 1107, - "name": "useSharedMetadata", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the shared metadata of an Open Edition NFT contract" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: sharedMetadata, isLoading, error } = useSharedMetadata(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the shared metadata of the contract" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721SharedMetadata" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usesharedmetadata?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 127, - "character": 24 - } - ], - "parameters": [ - { - "id": 1108, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "BasicNFTInput" - }, - "name": "BasicNFTInput", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1302, - "name": "useSignatureDrop", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useSignatureDrop.d.ts", - "line": 31, - "character": 24 - } - ], - "signatures": [ - { - "id": 1303, - "name": "useSignatureDrop", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of an " - }, - { - "kind": "code", - "text": "`SignatureDrop`" - }, - { - "kind": "text", - "text": " contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"signature-drop\")\n\n // Now you can use the Signature drop contract in the rest of the component\n\n // For example, this function will let the connected wallet claim a new NFT\n async function claim(quantity) {\n await contract.claim(quantity)\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const signatureDrop = useSignatureDrop(\"0x1234...\");\n+ const signatureDrop = useContract(\"0x1234...\", \"signature-drop\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useSignatureDrop.d.ts", - "line": 31, - "character": 24 - } - ], - "parameters": [ - { - "id": 1304, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the NFT Drop contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "SignatureDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 3, - "name": "useSmartWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useSmartWallet.ts", - "line": 7, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useSmartWallet.ts#L7" - } - ], - "signatures": [ - { - "id": 4, - "name": "useSmartWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useSmartWallet.ts", - "line": 7, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useSmartWallet.ts#L7" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 5, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useSmartWallet.ts", - "line": 10, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useSmartWallet.ts#L10" - } - ], - "signatures": [ - { - "id": 6, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useSmartWallet.ts", - "line": 10, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useSmartWallet.ts#L10" - } - ], - "parameters": [ - { - "id": 7, - "name": "wallet", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 8, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intersection", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/connectors/smart-wallet/types.ts", - "qualifiedName": "SmartWalletConnectionArgs" - }, - "name": "SmartWalletConnectionArgs", - "package": "@thirdweb-dev/wallets" - }, - { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/smartWallet/types.ts", - "qualifiedName": "SmartWalletConfigOptions" - }, - "name": "SmartWalletConfigOptions", - "package": "@thirdweb-dev/react" - } - ] - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/smart-wallet.ts", - "qualifiedName": "SmartWallet" - }, - "name": "SmartWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 1296, - "name": "useSplit", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useSplit.d.ts", - "line": 32, - "character": 24 - } - ], - "signatures": [ - { - "id": 1297, - "name": "useSplit", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of a " - }, - { - "kind": "code", - "text": "`Split`" - }, - { - "kind": "text", - "text": " contract. This contract supports fund distribution to multiple parties." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"split\")\n\n // Now you can use the split contract in the rest of the component\n\n // For example, this function will return all the recipients of the split\n async function getRecipients() {\n const recipients = await contract.getAllRecipients()\n return recipients\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const split = useSplit(\"0x1234...\");\n+ const split = useContract(\"0x1234...\", \"split\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useSplit.d.ts", - "line": 32, - "character": 24 - } - ], - "parameters": [ - { - "id": 1298, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Split contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "Split", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1309, - "name": "useStorage", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/storage/index.d.ts", - "line": 7, - "character": 24 - } - ], - "signatures": [ - { - "id": 1310, - "name": "useStorage", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the configured " - }, - { - "kind": "code", - "text": "`ThirdwebStorage`" - }, - { - "kind": "text", - "text": " instance" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "The " - }, - { - "kind": "code", - "text": "`storageInterface`" - }, - { - "kind": "text", - "text": " configured on the " - }, - { - "kind": "code", - "text": "`ThirdwebProvider`" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usestorage?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/storage/index.d.ts", - "line": 7, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../storage/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "ThirdwebStorage", - "package": "@thirdweb-dev/storage" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1305, - "name": "useStorageUpload", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/storage/useStorageUpload.d.ts", - "line": 35, - "character": 24 - } - ], - "signatures": [ - { - "id": 1306, - "name": "useStorageUpload", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook used to upload any files or JSON data to decentralized storage systems like IPFS,\nusing the " - }, - { - "kind": "code", - "text": "`storageInterface`" - }, - { - "kind": "text", - "text": " configured on the " - }, - { - "kind": "code", - "text": "`ThirdwebProvider`" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "Function used to upload files or JSON to decentralized storage systems" - } - ] - }, - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nimport { useStorageUpload } from \"@thirdweb-dev/react\";\n\nexport default function Component() {\n const { mutateAsync: upload, isLoading } = useStorageUpload();\n\n async function uploadData() {\n const filesToUpload = [...];\n const uris = await upload({ data: files });\n console.log(uris);\n }\n\n return (\n \n )\n}\n```" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usestorageupload?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/storage/useStorageUpload.d.ts", - "line": 35, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1307, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../storage/src/types/upload.ts", - "qualifiedName": "UploadOptions" - }, - "name": "UploadOptions", - "package": "@thirdweb-dev/storage" - }, - "default": { - "type": "reference", - "target": { - "sourceFileName": "../storage/src/types/upload.ts", - "qualifiedName": "IpfsUploadBatchOptions" - }, - "name": "IpfsUploadBatchOptions", - "package": "@thirdweb-dev/storage" - } - } - ], - "parameters": [ - { - "id": 1308, - "name": "uploadOptions", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1321, - "name": "useSupportedChains", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSupportedChains.d.ts", - "line": 1, - "character": 24 - } - ], - "signatures": [ - { - "id": 1322, - "name": "useSupportedChains", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSupportedChains.d.ts", - "line": 1, - "character": 24 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../chains/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "Chain", - "package": "@thirdweb-dev/chains" - } - } - } - ] - }, - { - "id": 1323, - "name": "useSupportedWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSupportedWallet.d.ts", - "line": 1, - "character": 24 - } - ], - "signatures": [ - { - "id": 1324, - "name": "useSupportedWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useSupportedWallet.d.ts", - "line": 1, - "character": 24 - } - ], - "parameters": [ - { - "id": 1325, - "name": "id", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/index.ts", - "qualifiedName": "" - }, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 1258, - "name": "useSwitchAccount", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", - "line": 10, - "character": 24 - } - ], - "signatures": [ - { - "id": 1259, - "name": "useSwitchAccount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook to switch the account of the active wallet" - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "- A function to invoke to switch account." - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useswitchaccount?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", - "line": 10, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1260, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1262, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", - "line": 12, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1261, - "name": "switchAccount", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", - "line": 11, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseMutateAsyncFunction", - "package": "@tanstack/react-query" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1262, - 1261 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useSwitchAccount.d.ts", - "line": 10, - "character": 44 - } - ] - } - } - } - ] - }, - { - "id": 342, - "name": "useSwitchChain", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 71, - "character": 24 - } - ], - "signatures": [ - { - "id": 343, - "name": "useSwitchChain", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a method to connect the wallet to network/chain with given chainId" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 71, - "character": 24 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 344, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 71, - "character": 42 - } - ], - "signatures": [ - { - "id": 345, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "parameters": [ - { - "id": 346, - "name": "chain", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "void" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 455, - "name": "useThirdwebAuthContext", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 37, - "character": 24 - } - ], - "signatures": [ - { - "id": 456, - "name": "useThirdwebAuthContext", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-auth.d.ts", - "line": 37, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ThirdwebAuthContext" - }, - "name": "ThirdwebAuthContext", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 484, - "name": "useThirdwebConfigContext", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", - "line": 11, - "character": 24 - } - ], - "signatures": [ - { - "id": 485, - "name": "useThirdwebConfigContext", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-config.d.ts", - "line": 11, - "character": 24 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", - "qualifiedName": "ThirdwebConfigContext" - }, - "name": "ThirdwebConfigContext", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 492, - "name": "useThirdwebConnectedWalletContext", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", - "line": 14, - "character": 24 - } - ], - "signatures": [ - { - "id": 493, - "name": "useThirdwebConnectedWalletContext", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/contexts/thirdweb-wallet.d.ts", - "line": 14, - "character": 24 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", - "qualifiedName": "ThirdwebConnectedWalletContext" - }, - "name": "ThirdwebConnectedWalletContext", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 1287, - "name": "useToken", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useToken.d.ts", - "line": 32, - "character": 24 - } - ], - "signatures": [ - { - "id": 1288, - "name": "useToken", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of a " - }, - { - "kind": "code", - "text": "`Token`" - }, - { - "kind": "text", - "text": " contract. This contract supports ERC20 compliant tokens." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"token\")\n\n // Now you can use the token contract in the rest of the component\n\n // For example, this function will get the connected wallets token balance\n async function balance() {\n const balance = await contract.balance()\n return balance\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const token = useToken(\"0x1234...\");\n+ const token = useContract(\"0x1234...\", \"token\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useToken.d.ts", - "line": 32, - "character": 24 - } - ], - "parameters": [ - { - "id": 1289, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Token contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "Token", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1157, - "name": "useTokenBalance", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 43, - "character": 24 - } - ], - "signatures": [ - { - "id": 1158, - "name": "useTokenBalance", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get token balance for a specific wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: balance, isLoading, error } = useTokenBalance(contract, \"{{wallet_address}}\");\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the balance of the address" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usetokenbalance?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 43, - "character": 24 - } - ], - "parameters": [ - { - "id": 1159, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "TokenContract", - "target": 1389, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1389, - "name": "TokenContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1160, - "name": "walletAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1161, - "name": "useTokenDecimals", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 64, - "character": 24 - } - ], - "signatures": [ - { - "id": 1162, - "name": "useTokenDecimals", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get token decimals" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: decimals, isLoading, error } = useTokenDecimals(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the decimals of the ERC20 token" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usetokendecimals?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 64, - "character": 24 - } - ], - "parameters": [ - { - "id": 1163, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "TokenContract", - "target": 1389, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1389, - "name": "TokenContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1290, - "name": "useTokenDrop", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useTokenDrop.d.ts", - "line": 32, - "character": 24 - } - ], - "signatures": [ - { - "id": 1291, - "name": "useTokenDrop", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of a " - }, - { - "kind": "code", - "text": "`Token Drop`" - }, - { - "kind": "text", - "text": " contract." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"token-drop\")\n\n // Now you can use the token drop contract in the rest of the component\n\n // For example, this function will get the connected wallets token balance\n async function balance() {\n const balance = await contract.balance()\n return balance\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const token = useTokenDrop(\"0x1234...\");\n+ const token = useContract(\"0x1234...\", \"token-drop\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useTokenDrop.d.ts", - "line": 32, - "character": 24 - } - ], - "parameters": [ - { - "id": 1292, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Token Drop contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "TokenDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 1154, - "name": "useTokenSupply", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 22, - "character": 24 - } - ], - "signatures": [ - { - "id": 1155, - "name": "useTokenSupply", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the total supply for this token" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: totalSupply, isLoading, error } = useTokenSupply(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the total minted supply" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usetokensupply?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 22, - "character": 24 - } - ], - "parameters": [ - { - "id": 1156, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "TokenContract", - "target": 1389, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1389, - "name": "TokenContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1057, - "name": "useTotalCirculatingSupply", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 75, - "character": 24 - } - ], - "signatures": [ - { - "id": 1058, - "name": "useTotalCirculatingSupply", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get total minted supply count" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { data: totalCirculatingSupply, isLoading, error } = useTotalCirculatingSupply(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the total minted supply" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Supply | ERC1155Enumerable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usetotalcirculatingsupply?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 75, - "character": 24 - } - ], - "parameters": [ - { - "id": 1059, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 1060, - "name": "tokenId", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "required for ERC1155, the tokenId to look up" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1053, - "name": "useTotalCount", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 58, - "character": 24 - } - ], - "signatures": [ - { - "id": 1054, - "name": "useTotalCount", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get total supply count" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { contract } = useContract(\"{{contract_address}}\");\nconst { data: count, isLoading, error } = useTotalCount(contract);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the total count of NFTs" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721Supply | ERC1155Enumerable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usetotalcount?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 58, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1055, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1056, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumber" - }, - "name": "BigNumber", - "package": "@ethersproject/bignumber" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1188, - "name": "useTransferBatchToken", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 216, - "character": 24 - } - ], - "signatures": [ - { - "id": 1189, - "name": "useTransferBatchToken", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Airdrop tokens to a list of wallets" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: transferBatchTokens,\n isLoading,\n error,\n } = useTransferToken(contract);\n\n if (error) {\n console.error(\"failed to transfer batch tokens\", error);\n }\n\n return (\n transferBatchTokens([{ to: \"{{wallet_address}}\", amount: 1000 }, { to: \"{{wallet_address}}\", amount: 2000 }])}\n >\n Airdrop\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to transfer batch tokens" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usetransferbatchtoken?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 216, - "character": 24 - } - ], - "parameters": [ - { - "id": 1190, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "TokenContract", - "target": 1389, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1389, - "name": "TokenContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1191, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1193, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 218, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1194, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 218, - "character": 10 - } - ], - "signatures": [ - { - "id": 1195, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1192, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 217, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1193, - 1192 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 216, - "character": 110 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "array", - "elementType": { - "type": "reference", - "target": 1381, - "name": "TokenParams", - "package": "@thirdweb-dev/react-core" - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1080, - "name": "useTransferNFT", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 238, - "character": 24 - } - ], - "signatures": [ - { - "id": 1081, - "name": "useTransferNFT", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Transfer an NFT" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: transferNFT,\n isLoading,\n error,\n } = useTransferNFT(contract);\n\n if (error) {\n console.error(\"failed to transfer NFT\", error);\n }\n\n return (\n transferNFT({\n to: \"{{wallet_address}}\",\n tokenId: 2\n })}\n >\n Transfer\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to transfer NFTs" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721 | ERC1155" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usetransfernft?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 238, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1082, - "name": "TContract", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": 1388, - "name": "NFTContract", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 1083, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "NFTContract", - "target": 1388, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TContract", - "refersToTypeParameter": true - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1084, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1086, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 240, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1087, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 240, - "character": 10 - } - ], - "signatures": [ - { - "id": 1088, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1085, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 239, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1086, - 1085 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/nft.d.ts", - "line": 238, - "character": 130 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1391, - "name": "TransferNFTParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1180, - "name": "useTransferToken", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 178, - "character": 24 - } - ], - "signatures": [ - { - "id": 1181, - "name": "useTransferToken", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Transfer tokens to a specific wallet" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: transferTokens,\n isLoading,\n error,\n } = useTransferToken(contract);\n\n if (error) {\n console.error(\"failed to transfer tokens\", error);\n }\n\n return (\n transferTokens({ to: \"{{wallet_address}}\", amount: 1000 })}\n >\n Transfer\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to transfer tokens" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC20" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usetransfertoken?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 178, - "character": 24 - } - ], - "parameters": [ - { - "id": 1182, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "TokenContract", - "target": 1389, - "tsLinkText": "" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": 1389, - "name": "TokenContract", - "package": "@thirdweb-dev/react-core" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 1183, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1185, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 180, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1186, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 180, - "character": 10 - } - ], - "signatures": [ - { - "id": 1187, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 1184, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 179, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1185, - 1184 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/token.d.ts", - "line": 178, - "character": 105 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reference", - "target": 1381, - "name": "TokenParams", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 196, - "name": "useTrustWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L4" - } - ], - "signatures": [ - { - "id": 197, - "name": "useTrustWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", - "line": 4, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L4" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 198, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L7" - } - ], - "signatures": [ - { - "id": 199, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", - "line": 7, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L7" - } - ], - "parameters": [ - { - "id": 200, - "name": "connectOptions", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 201, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 202, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", - "line": 7, - "character": 30, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L7" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 202 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useTrustWallet.ts", - "line": 7, - "character": 28, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useTrustWallet.ts#L7" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/trust.ts", - "qualifiedName": "TrustWallet" - }, - "name": "TrustWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 706, - "name": "useUnclaimedNFTSupply", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 53, - "character": 24 - } - ], - "signatures": [ - { - "id": 707, - "name": "useUnclaimedNFTSupply", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the number of NFTs that are unclaimed" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721LazyMintable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useunclaimednftsupply?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 53, - "character": 24 - } - ], - "parameters": [ - { - "id": 708, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "union", - "types": [ - { - "type": "literal", - "value": null - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/smart-contract.ts", - "qualifiedName": "SmartContract" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+contracts@5.7.0/node_modules/@ethersproject/contracts/src.ts/index.ts", - "qualifiedName": "BaseContract" - }, - "name": "BaseContract", - "package": "@ethersproject/contracts" - } - ], - "name": "SmartContract", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", - "qualifiedName": "NFTDrop" - }, - "name": "NFTDrop", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/signature-drop.ts", - "qualifiedName": "SignatureDrop" - }, - "name": "SignatureDrop", - "package": "@thirdweb-dev/sdk" - } - ] - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/ethers@5.7.2/node_modules/ethers/src.ts/index.ts", - "qualifiedName": "" - }, - "name": "BigNumber", - "package": "ethers" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 696, - "name": "useUnclaimedNFTs", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 27, - "character": 24 - } - ], - "signatures": [ - { - "id": 697, - "name": "useUnclaimedNFTs", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all unclaimed NFTs" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: unclaimedNfts, isLoading, error } = useUnclaimedNFTs(contract, { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of NFTs that are unclaimed" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "ERC721LazyMintable" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useunclaimednfts?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/drop.d.ts", - "line": 27, - "character": 24 - } - ], - "parameters": [ - { - "id": 698, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/nft-drop.ts", - "qualifiedName": "NFTDrop" - }, - "name": "NFTDrop", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 699, - "name": "queryParams", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "query params to pass to the query for the sake of pagination" - } - ] - }, - "type": { - "type": "reflection", - "declaration": { - "id": 700, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/sdk/dist/declarations/src/core/schema/QueryParams.d.ts", - "line": 12, - "character": 3 - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseQueryResult" - }, - "typeArguments": [ - { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "NFT" - }, - "name": "NFT", - "package": "@thirdweb-dev/sdk" - } - } - ], - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 597, - "name": "useUpdateMetadata", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 227, - "character": 24 - } - ], - "signatures": [ - { - "id": 598, - "name": "useUpdateMetadata", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set the metadata of this contract" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updateMetadata,\n isLoading,\n error,\n } = useUpdateMetadata(contract);\n\n if (error) {\n console.error(\"failed to update metadata\", error);\n }\n\n return (\n updateMetadata({\n name: \"My Contract\",\n description: \"This is my contract\"\n })}\n >\n Update Contract Metadata\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to update the metadata" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useupdatemetadata?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 227, - "character": 24 - } - ], - "parameters": [ - { - "id": 599, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "any" - }, - { - "type": "intrinsic", - "name": "any" - }, - { - "type": "intrinsic", - "name": "any" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 583, - "name": "useUpdatePlatformFees", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 171, - "character": 24 - } - ], - "signatures": [ - { - "id": 584, - "name": "useUpdatePlatformFees", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set the platform fee recipient and basis points" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updatePlatformFees,\n isLoading,\n error,\n } = useUpdatePlatformFees(contract);\n\n if (error) {\n console.error(\"failed to update platform fees\", error);\n }\n\n return (\n updatePlatformFees({ updatePayload: { fee_recipient: \"{{wallet_address}}\", platform_fee_basis_points: 5_00 } })}\n >\n Update Platform fees\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to update the platform fees settings" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "PlatformFee" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useupdateplatformfees?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 171, - "character": 24 - } - ], - "parameters": [ - { - "id": 585, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Omit" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 586, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 588, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 173, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 589, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 173, - "character": 10 - } - ], - "signatures": [ - { - "id": 590, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 587, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 172, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 588, - 587 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 171, - "character": 118 - } - ] - } - }, - { - "type": "literal", - "value": "data" - } - ], - "name": "Omit", - "package": "typescript" - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 591, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 593, - "name": "fee_recipient", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 176, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 592, - "name": "platform_fee_basis_points", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 175, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 593, - 592 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 174, - "character": 21 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 552, - "name": "useUpdatePrimarySaleRecipient", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 55, - "character": 24 - } - ], - "signatures": [ - { - "id": 553, - "name": "useUpdatePrimarySaleRecipient", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set the primary sale recipient" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updatePrimarySalesRecipient,\n isLoading,\n error,\n } = useUpdatePrimarySaleRecipient(contract);\n\n if (error) {\n console.error(\"failed to update recipient\", error);\n }\n\n return (\n updatePrimarySalesRecipient({ newRecipient: \"{{wallet_address}}\" })}\n >\n Update Recipient\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to update the primary sales recipient" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "PrimarySale" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useupdateprimarysalerecipient?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 55, - "character": 24 - } - ], - "parameters": [ - { - "id": 554, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 555, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 556, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 56, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 556 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 55, - "character": 121 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "intrinsic", - "name": "string" - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 563, - "name": "useUpdateRoyaltySettings", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 110, - "character": 24 - } - ], - "signatures": [ - { - "id": 564, - "name": "useUpdateRoyaltySettings", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Set the royalty recipient and fee" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```jsx\nconst Component = () => {\n const { contract } = useContract(\"{{contract_address}}\");\n const {\n mutate: updateRoyaltySettings,\n isLoading,\n error,\n } = useUpdateRoyaltySettings(contract);\n\n if (error) {\n console.error(\"failed to update royalty settings\", error);\n }\n\n return (\n updateRoyaltySettings({ updatePayload: { fee_recipient: \"{{wallet_address}}\", seller_fee_basis_points: 5_00 } })}\n >\n Update Royalty Settings\n \n );\n};\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a mutation object that can be used to update the royalty settings" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "Royalty" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useupdateroyaltysettings?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 110, - "character": 24 - } - ], - "parameters": [ - { - "id": 565, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "SmartContract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/index.ts", - "qualifiedName": "ValidContractInstance" - }, - "name": "ValidContractInstance", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/types.ts", - "qualifiedName": "UseMutationResult" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 566, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 568, - "name": "data", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 112, - "character": 4 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 569, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 112, - "character": 10 - } - ], - "signatures": [ - { - "id": 570, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reflection", - "declaration": { - "id": 571, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 573, - "name": "fee_recipient", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 114, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 572, - "name": "seller_fee_basis_points", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 113, - "character": 8 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 573, - 572 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 112, - "character": 24 - } - ] - } - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - }, - { - "id": 567, - "name": "receipt", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 111, - "character": 4 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+abstract-provider@5.7.0/node_modules/@ethersproject/abstract-provider/src.ts/index.ts", - "qualifiedName": "TransactionReceipt" - }, - "name": "providers.TransactionReceipt", - "package": "@ethersproject/abstract-provider", - "qualifiedName": "TransactionReceipt" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 568, - 567 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 110, - "character": 116 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - }, - { - "type": "reflection", - "declaration": { - "id": 574, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 576, - "name": "fee_recipient", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 118, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 575, - "name": "seller_fee_basis_points", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 117, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 576, - 575 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/contract-settings.d.ts", - "line": 116, - "character": 12 - } - ] - } - }, - { - "type": "intrinsic", - "name": "unknown" - } - ], - "name": "UseMutationResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1248, - "name": "useUser", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", - "line": 14, - "character": 24 - } - ], - "signatures": [ - { - "id": 1249, - "name": "useUser", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook to get the currently logged in user." - } - ], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "- The currently logged in user or null if not logged in, as well as a loading state." - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.useuser?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", - "line": 14, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 1250, - "name": "TData", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "Json" - }, - "name": "Json", - "package": "@thirdweb-dev/auth" - }, - "default": { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "Json" - }, - "name": "Json", - "package": "@thirdweb-dev/auth" - } - }, - { - "id": 1251, - "name": "TContext", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "Json" - }, - "name": "Json", - "package": "@thirdweb-dev/auth" - }, - "default": { - "type": "reference", - "target": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "Json" - }, - "name": "Json", - "package": "@thirdweb-dev/auth" - } - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 1252, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 1255, - "name": "isLoading", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", - "line": 17, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1254, - "name": "isLoggedIn", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", - "line": 16, - "character": 4 - } - ], - "type": { - "type": "intrinsic", - "name": "boolean" - } - }, - { - "id": 1253, - "name": "user", - "variant": "declaration", - "kind": 1024, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", - "line": 15, - "character": 4 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 1263, - "typeArguments": [ - { - "type": "reference", - "target": -1, - "name": "TData", - "refersToTypeParameter": true - }, - { - "type": "reference", - "target": -1, - "name": "TContext", - "refersToTypeParameter": true - } - ], - "name": "UserWithData", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 1255, - 1254, - 1253 - ] - } - ], - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/auth/useUser.d.ts", - "line": 14, - "character": 92 - } - ] - } - } - } - ] - }, - { - "id": 765, - "name": "useValidDirectListings", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 102, - "character": 24 - } - ], - "signatures": [ - { - "id": 766, - "name": "useValidDirectListings", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all valid direct listings" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: validDirectListings, isLoading, error } = useValidDirectListings(contract, { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of direct listings" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "DirectListings" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usevaliddirectlistings?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 102, - "character": 24 - } - ], - "parameters": [ - { - "id": 767, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 768, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "filter to pass to the query for the sake of pagination & filtering" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", - "qualifiedName": "MarketplaceFilter" - }, - "name": "MarketplaceFilter", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 773, - "name": "useValidEnglishAuctions", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 132, - "character": 24 - } - ], - "signatures": [ - { - "id": 774, - "name": "useValidEnglishAuctions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get all valid english auctions" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst { data: validEnglishAuctions, isLoading, error } = useValidEnglishAuctions(contract, { start: 0, count: 100 });\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes an array of english auctions" - } - ] - }, - { - "tag": "@twfeature", - "content": [ - { - "kind": "text", - "text": "EnglishAuctions" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usevalidenglishauctions?utm_source=sdk" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 132, - "character": 24 - } - ], - "parameters": [ - { - "id": 775, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace v3 contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplacev3.ts", - "qualifiedName": "MarketplaceV3" - }, - "name": "MarketplaceV3", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 776, - "name": "filter", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "filter to pass to the query for the sake of pagination & filtering" - } - ] - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/types/marketplace/MarketPlaceFilter.ts", - "qualifiedName": "MarketplaceFilter" - }, - "name": "MarketplaceFilter", - "package": "@thirdweb-dev/sdk" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 1293, - "name": "useVote", - "variant": "declaration", - "kind": 64, - "flags": { - "isPublic": true - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useVote.d.ts", - "line": 32, - "character": 24 - } - ], - "signatures": [ - { - "id": 1294, - "name": "useVote", - "variant": "signature", - "kind": 4096, - "flags": { - "isPublic": true - }, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook for getting an instance of an " - }, - { - "kind": "code", - "text": "`Vote`" - }, - { - "kind": "text", - "text": " contract. This contract enables fully featured voting-based decentralized governance systems." - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nimport { useContract } from '@thirdweb-dev/react'\n\nexport default function Component() {\n const { contract } = useContract(\"\", \"vote\")\n\n // Now you can use the vote contract in the rest of the component\n\n // For example, this function will get all the proposals on this contract\n async function getProposals() {\n const proposals = await contract.getAll()\n return proposals\n }\n\n ...\n}\n```" - } - ] - }, - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "This hook is deprecated and will be removed in a future major version. You should use " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "useContract", - "target": 624 - }, - { - "kind": "text", - "text": " instead.\n" - }, - { - "kind": "code", - "text": "```diff\n- const vote = useVote(\"0x1234...\");\n+ const vote = useContract(\"0x1234...\", \"vote\").contract;\n```" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/contracts/useVote.d.ts", - "line": 32, - "character": 24 - } - ], - "parameters": [ - { - "id": 1295, - "name": "contractAddress", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the address of the Vote contract, found in your thirdweb dashboard" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "intrinsic", - "name": "string" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/dist/declarations/src/index.d.ts", - "qualifiedName": "" - }, - "name": "Vote", - "package": "@thirdweb-dev/sdk" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 319, - "name": "useWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 24, - "character": 24 - }, - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 25, - "character": 24 - } - ], - "signatures": [ - { - "id": 320, - "name": "useWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "the current active wallet instance" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 24, - "character": 24 - } - ], - "typeParameter": [ - { - "id": 321, - "name": "T", - "variant": "typeParam", - "kind": 131072, - "flags": {}, - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "WalletId" - }, - "name": "WalletId", - "package": "@thirdweb-dev/react-core" - } - } - ], - "parameters": [ - { - "id": 322, - "name": "walletId", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - } - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "indexedAccess", - "indexType": { - "type": "reference", - "target": -1, - "name": "T", - "refersToTypeParameter": true - }, - "objectType": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "WalletIdToWalletTypeMap" - }, - "name": "WalletIdToWalletTypeMap", - "package": "@thirdweb-dev/react-core" - } - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - }, - { - "id": 323, - "name": "useWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 25, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": 450, - "name": "WalletInstance", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 349, - "name": "useWalletConfig", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 29, - "character": 24 - } - ], - "signatures": [ - { - "id": 350, - "name": "useWalletConfig", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "the current active wallet's configuration object" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 29, - "character": 24 - } - ], - "type": { - "type": "union", - "types": [ - { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "" - }, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - }, - { - "type": "intrinsic", - "name": "undefined" - } - ] - } - } - ] - }, - { - "id": 241, - "name": "useWalletConnect", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 18, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L18" - } - ], - "signatures": [ - { - "id": 242, - "name": "useWalletConnect", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 18, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L18" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 243, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 21, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L21" - } - ], - "signatures": [ - { - "id": 244, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 21, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L21" - } - ], - "parameters": [ - { - "id": 245, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 246, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 247, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 22, - "character": 6, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L22" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - }, - { - "id": 248, - "name": "projectId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 23, - "character": 6, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L23" - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 249, - "name": "qrModalOptions", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 24, - "character": 6, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L24" - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../wallets/dist/declarations/src/evm/connectors/wallet-connect/qrModalOptions.d.ts", - "qualifiedName": "QRModalOptions" - }, - "name": "QRModalOptions", - "package": "@thirdweb-dev/wallets" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 247, - 248, - 249 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 21, - "character": 21, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L21" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", - "qualifiedName": "WalletConnect" - }, - "name": "WalletConnect", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 250, - "name": "useWalletConnectV1", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 5, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L5" - } - ], - "signatures": [ - { - "id": 251, - "name": "useWalletConnectV1", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 5, - "character": 16, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L5" - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 252, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 8, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L8" - } - ], - "signatures": [ - { - "id": 253, - "name": "__type", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 8, - "character": 4, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L8" - } - ], - "parameters": [ - { - "id": 254, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reflection", - "declaration": { - "id": 255, - "name": "__type", - "variant": "declaration", - "kind": 65536, - "flags": {}, - "children": [ - { - "id": 256, - "name": "chainId", - "variant": "declaration", - "kind": 1024, - "flags": { - "isOptional": true - }, - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 8, - "character": 23, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L8" - } - ], - "type": { - "type": "intrinsic", - "name": "number" - } - } - ], - "groups": [ - { - "title": "Properties", - "children": [ - 256 - ] - } - ], - "sources": [ - { - "fileName": "packages/react/src/evm/hooks/wallets/useWalletConnect.ts", - "line": 8, - "character": 21, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/evm/hooks/wallets/useWalletConnect.ts#L8" - } - ] - } - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts", - "qualifiedName": "Promise" - }, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", - "qualifiedName": "WalletConnect" - }, - "name": "WalletConnect", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "Promise", - "package": "typescript" - } - } - ] - } - } - } - ] - }, - { - "id": 364, - "name": "useWalletContext", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-wallet-provider.d.ts", - "line": 53, - "character": 24 - } - ], - "signatures": [ - { - "id": 365, - "name": "useWalletContext", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/providers/thirdweb-wallet-provider.d.ts", - "line": 53, - "character": 24 - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-wallet-provider.tsx", - "qualifiedName": "ThirdwebWalletContextData" - }, - "name": "ThirdwebWalletContextData", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 347, - "name": "useWallets", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 34, - "character": 24 - } - ], - "signatures": [ - { - "id": 348, - "name": "useWallets", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@returns", - "content": [ - { - "kind": "code", - "text": "`supportedWallets`" - }, - { - "kind": "text", - "text": " configured in the " - }, - { - "kind": "code", - "text": "``" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/core/hooks/wallet-hooks.d.ts", - "line": 34, - "character": 24 - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "" - }, - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - } - ] - }, - { - "id": 1481, - "name": "useWatchTransactions", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", - "line": 23, - "character": 24 - } - ], - "signatures": [ - { - "id": 1482, - "name": "useWatchTransactions", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Hook that listens to transactions on a given chain for a given address.\n\n" - }, - { - "kind": "code", - "text": "```javascript\nimport { useWatchTransactions } from \"@thirdweb-dev/react\"\n```" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```js\nconst transactions = useWatchTransactions({\n address: \"0x1234\",\n network: \"ethereum\",\n});\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "an array of " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "Transaction", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+transactions@5.7.0/node_modules/@ethersproject/transactions/src.ts/index.ts", - "qualifiedName": "Transaction" - }, - "tsLinkText": "" - }, - { - "kind": "text", - "text": " objects" - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/useTransactions.d.ts", - "line": 23, - "character": 24 - } - ], - "parameters": [ - { - "id": 1483, - "name": "watchTransactionParams", - "variant": "param", - "kind": 32768, - "flags": {}, - "type": { - "type": "reference", - "target": 1484, - "name": "UseWatchTransactionsParams", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "array", - "elementType": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+transactions@5.7.0/node_modules/@ethersproject/transactions/src.ts/index.ts", - "qualifiedName": "Transaction" - }, - "name": "Transaction", - "package": "@ethersproject/transactions" - } - } - } - ] - }, - { - "id": 790, - "name": "useWinningBid", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 205, - "character": 24 - } - ], - "signatures": [ - { - "id": 791, - "name": "useWinningBid", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "Get the winning bid for an auction" - } - ], - "blockTags": [ - { - "tag": "@example", - "content": [ - { - "kind": "code", - "text": "```javascript\nconst listingId = 0;\nconst { data: winningBid, isLoading, error } = useWinningBid(contract, listingId);\n```" - } - ] - }, - { - "tag": "@returns", - "content": [ - { - "kind": "text", - "text": "a response object that includes the " - }, - { - "kind": "inline-tag", - "tag": "@link", - "text": "Offer" - }, - { - "kind": "text", - "text": " that is winning the auction" - } - ] - }, - { - "tag": "@see", - "content": [ - { - "kind": "inline-tag", - "tag": "@link", - "text": "Documentation", - "target": "https://portal.thirdweb.com/react/react.usewinningbid?utm_source=sdk" - } - ] - } - ], - "modifierTags": [ - "@beta" - ] - }, - "sources": [ - { - "fileName": "packages/react-core/dist/declarations/src/evm/hooks/async/marketplace.d.ts", - "line": 205, - "character": 24 - } - ], - "parameters": [ - { - "id": 792, - "name": "contract", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "an instance of a marketplace contract" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../sdk/src/evm/contracts/prebuilt-implementations/marketplace.ts", - "qualifiedName": "Marketplace" - }, - "name": "Marketplace", - "package": "@thirdweb-dev/sdk" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - }, - { - "id": 793, - "name": "listingId", - "variant": "param", - "kind": 32768, - "flags": {}, - "comment": { - "summary": [ - { - "kind": "text", - "text": "the listing id to check" - } - ] - }, - "type": { - "type": "reference", - "target": 383, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@ethersproject+bignumber@5.7.0/node_modules/@ethersproject/bignumber/src.ts/bignumber.ts", - "qualifiedName": "BigNumberish" - }, - "name": "BigNumberish", - "package": "@ethersproject/bignumber" - } - ], - "name": "RequiredParam", - "package": "@thirdweb-dev/react-core" - } - } - ], - "type": { - "type": "reference", - "target": { - "sourceFileName": "../../node_modules/.pnpm/@tanstack+react-query@4.33.0_react-native@0.71.11_react@18.2.0/node_modules/@tanstack/react-query/src/index.ts", - "qualifiedName": "" - }, - "name": "UseQueryResult", - "package": "@tanstack/react-query" - } - } - ] - }, - { - "id": 53, - "name": "walletConnect", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", - "line": 32, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L32" - } - ], - "signatures": [ - { - "id": 54, - "name": "walletConnect", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", - "line": 32, - "character": 29, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L32" - } - ], - "parameters": [ - { - "id": 55, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", - "qualifiedName": "walletConnectConfig" - }, - "name": "walletConnectConfig", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", - "qualifiedName": "WalletConnect" - }, - "name": "WalletConnect", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 56, - "name": "walletConnectV1", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/walletConnectV1.tsx", - "line": 9, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/walletConnectV1.tsx#L9" - } - ], - "signatures": [ - { - "id": 57, - "name": "walletConnectV1", - "variant": "signature", - "kind": 4096, - "flags": {}, - "comment": { - "summary": [], - "blockTags": [ - { - "tag": "@deprecated", - "content": [ - { - "kind": "text", - "text": "Use " - }, - { - "kind": "code", - "text": "`walletConnect`" - }, - { - "kind": "text", - "text": " instead\n\nThe WalletConnect v1.0 protocol has been shut down and no longer works.\nTo avoid breaking change, " - }, - { - "kind": "code", - "text": "`walletConnectV1`" - }, - { - "kind": "text", - "text": " is still available but is an alias of " - }, - { - "kind": "code", - "text": "`walletConnect`" - }, - { - "kind": "text", - "text": "." - } - ] - } - ] - }, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx", - "line": 32, - "character": 29, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/walletConnect/walletConnect.tsx#L32" - } - ], - "parameters": [ - { - "id": 58, - "name": "config", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", - "qualifiedName": "walletConnectConfig" - }, - "name": "walletConnectConfig", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/wallet-connect.ts", - "qualifiedName": "WalletConnect" - }, - "name": "WalletConnect", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - }, - { - "id": 59, - "name": "zerionWallet", - "variant": "declaration", - "kind": 64, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/zerion/zerionWallet.tsx", - "line": 22, - "character": 13, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/zerion/zerionWallet.tsx#L22" - } - ], - "signatures": [ - { - "id": 60, - "name": "zerionWallet", - "variant": "signature", - "kind": 4096, - "flags": {}, - "sources": [ - { - "fileName": "packages/react/src/wallet/wallets/zerion/zerionWallet.tsx", - "line": 22, - "character": 28, - "url": "https://github.com/thirdweb-dev/js/blob/850d27556/packages/react/src/wallet/wallets/zerion/zerionWallet.tsx#L22" - } - ], - "parameters": [ - { - "id": 61, - "name": "options", - "variant": "param", - "kind": 32768, - "flags": { - "isOptional": true - }, - "type": { - "type": "reference", - "target": { - "sourceFileName": "src/wallet/wallets/zerion/zerionWallet.tsx", - "qualifiedName": "ZerionkWalletOptions" - }, - "name": "ZerionkWalletOptions", - "package": "@thirdweb-dev/react" - } - } - ], - "type": { - "type": "reference", - "target": 385, - "typeArguments": [ - { - "type": "reference", - "target": { - "sourceFileName": "../wallets/src/evm/wallets/zerion.ts", - "qualifiedName": "ZerionWallet" - }, - "name": "ZerionWallet", - "package": "@thirdweb-dev/wallets" - } - ], - "name": "WalletConfig", - "package": "@thirdweb-dev/react-core" - } - } - ] - } - ], - "groups": [ - { - "title": "Interfaces", - "children": [ - 467, - 169, - 268, - 463, - 271, - 297, - 1350, - 1263 - ] - }, - { - "title": "Type Aliases", - "children": [ - 1443, - 1396, - 1412, - 1450, - 1369, - 494, - 1427, - 1433, - 1460, - 403, - 88, - 1418, - 1416, - 1390, - 1447, - 451, - 1434, - 1438, - 1405, - 1410, - 1400, - 1388, - 130, - 383, - 1423, - 1417, - 432, - 498, - 68, - 69, - 1385, - 1389, - 1381, - 1391, - 692, - 1484, - 1380, - 443, - 385, - 450, - 454 - ] - }, - { - "title": "Variables", - "children": [ - 292, - 318, - 615, - 603, - 1, - 2 - ] - }, - { - "title": "Functions", - "children": [ - 119, - 84, - 265, - 126, - 457, - 478, - 486, - 282, - 148, - 293, - 1342, - 285, - 9, - 12, - 62, - 15, - 18, - 1472, - 1478, - 1475, - 1465, - 65, - 21, - 24, - 29, - 32, - 35, - 38, - 289, - 41, - 379, - 46, - 50, - 878, - 1230, - 1233, - 1219, - 1209, - 1215, - 375, - 502, - 529, - 786, - 1222, - 371, - 1089, - 1123, - 1326, - 798, - 1256, - 366, - 712, - 802, - 224, - 1097, - 1196, - 1034, - 1026, - 846, - 854, - 838, - 377, - 373, - 519, - 524, - 716, - 1172, - 709, - 701, - 507, - 210, - 612, - 324, - 330, - 624, - 655, - 637, - 641, - 663, - 600, - 675, - 1212, - 823, - 810, - 1226, - 332, - 728, - 749, - 761, - 780, - 338, - 1340, - 1272, - 1269, - 753, - 794, - 769, - 783, - 886, - 217, - 1142, - 182, - 1204, - 1132, - 70, - 720, - 745, - 757, - 777, - 1236, - 1243, - 79, - 862, - 870, - 1278, - 594, - 203, - 806, - 1073, - 1077, - 1164, - 1299, - 1042, - 1068, - 1281, - 1275, - 1047, - 362, - 1311, - 894, - 1061, - 1284, - 233, - 231, - 577, - 549, - 189, - 1224, - 540, - 257, - 736, - 1146, - 1228, - 1127, - 557, - 1346, - 74, - 1138, - 1330, - 534, - 356, - 351, - 72, - 1109, - 1106, - 1302, - 3, - 1296, - 1309, - 1305, - 1321, - 1323, - 1258, - 342, - 455, - 484, - 492, - 1287, - 1157, - 1161, - 1290, - 1154, - 1057, - 1053, - 1188, - 1080, - 1180, - 196, - 706, - 696, - 597, - 583, - 552, - 563, - 1248, - 765, - 773, - 1293, - 319, - 349, - 241, - 250, - 364, - 347, - 1481, - 790, - 53, - 56, - 59 - ] - } - ], - "packageName": "@thirdweb-dev/react", - "readme": [ - { - "kind": "text", - "text": "

            \n
            \n\"\"/\n
            \n

            \n

            thirdweb React SDK

            \n

            \n\"npm\n\"Build\n\"Join\n\n

            \n

            Ultimate collection of React hooks for your web3 apps

            \n
            \n\n
            \n\n## Installation\n\nThe easiest way to get started with the React SDK is to use the CLI:\n\n" - }, - { - "kind": "code", - "text": "```sh\nnpx thirdweb create --app\n```" - }, - { - "kind": "text", - "text": "\n\nAlternatively, you can install the SDK into your existing project using npm or yarn:\n\n" - }, - { - "kind": "code", - "text": "```sh\nnpm install @thirdweb-dev/react @thirdweb-dev/sdk ethers@5\n```" - }, - { - "kind": "text", - "text": "\n\n" - }, - { - "kind": "code", - "text": "```sh\nyarn add @thirdweb-dev/react @thirdweb-dev/sdk ethers@5\n```" - }, - { - "kind": "text", - "text": "\n\n
            \n\n## Getting Started\n\nOur SDK uses a [Provider Pattern](https://flexiple.com/react/provider-pattern-with-react-context-api/); meaning any component within the " - }, - { - "kind": "code", - "text": "`ThirdwebProvider`" - }, - { - "kind": "text", - "text": " will have access to the SDK. If you use the CLI to initialize your project, this is already set up for you.\n\nLet's take a look at a typical setup:\n\n
            \n\n### Configure the " - }, - { - "kind": "code", - "text": "`ThirdwebProvider`" - }, - { - "kind": "text", - "text": "\n\nSpecify the network your smart contracts are deployed to in the " - }, - { - "kind": "code", - "text": "`desiredChainId`" - }, - { - "kind": "text", - "text": " prop and wrap your application like so:\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"App.jsx\"\nimport { ChainId, ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst App = () => {\n return (\n \n \n \n );\n};\n```" - }, - { - "kind": "text", - "text": "\n\nBelow are examples of where to set this up in your application:\n\n

            \n Create React App •\n Next.js •\n Vite\n

            \n\n
            \n\n### Connect to a User's Wallet\n\nNow the provider is set up, we can use all of the hooks and UI components available in the SDK, such as the [ConnectWallet](https://portal.thirdweb.com/ui-components/connectwalletbutton) component.\n\nOnce the user has connected their wallet, all the calls we make to interact with contracts using the SDK will be on behalf of the user.\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"ConnectMetamaskButton.jsx\"\nimport { ConnectWallet, useAddress } from \"@thirdweb-dev/react\";\n\nexport const YourApp = () => {\n const address = useAddress();\n return (\n
            \n \n
            \n );\n};\n```" - }, - { - "kind": "text", - "text": "\n\nThe " - }, - { - "kind": "code", - "text": "`ConnectWallet`" - }, - { - "kind": "text", - "text": " component handles everything for us, including switching networks, accounts, displaying balances and more.\n\nWe can then get the connected address using the " - }, - { - "kind": "code", - "text": "`useAddress`" - }, - { - "kind": "text", - "text": " hook anywhere in the app.\n\n
            \n\n### Interact With Contracts\n\nConnect to your smart contract using the [" - }, - { - "kind": "code", - "text": "`useContract`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/sdk/interacting-with-contracts/custom-contracts/getting-a-contract#connect-to-a-contract)\nhook like so:\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"pages/index.jsx\"\nimport { useContract } from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n\n // Now you can use the contract in the rest of the component!\n}\n```" - }, - { - "kind": "text", - "text": "\n\nYou can then use [" - }, - { - "kind": "code", - "text": "`useContractRead`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/sdk/interacting-with-contracts/custom-contracts/using-contracts) and [" - }, - { - "kind": "code", - "text": "`useContractWrite`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/sdk/interacting-with-contracts/custom-contracts/using-contracts) to read data and write transactions to the contract.\n\nYou pass the " - }, - { - "kind": "code", - "text": "`contract`" - }, - { - "kind": "text", - "text": " object returned from " - }, - { - "kind": "code", - "text": "`useContract`" - }, - { - "kind": "text", - "text": " to these hooks as the first parameter and the name of the function (or view/mapping, etc.) on your smart contract as the second parameter. If your function requires parameters, you can pass them as additional arguments.\n\nFor example, we can read the " - }, - { - "kind": "code", - "text": "`name`" - }, - { - "kind": "text", - "text": " of our contract like so:\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"pages/index.jsx\"\nimport {\n useContract,\n useContractRead,\n useContractWrite,\n} from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n const { data: name, isLoading: loadingName } = useContractRead(\n contract,\n \"name\", // The name of the view/mapping/variable on your contract\n );\n const { mutate: setName, isLoading: settingName } = useContractWrite(\n contract,\n \"setName\", // The name of the function on your contract\n );\n}\n```" - }, - { - "kind": "text", - "text": "\n\n
            \n\n### Using Extensions\n\nEach [extension](https://portal.thirdweb.com/extensions) you implement in your smart contract unlocks new functionality in the SDK.\n\nThese hooks make it easy to interact with your smart contracts by implementing the complex logic for you under the hood.\n\nFor example, if your smart contract implements [ERC721Supply](https://portal.thirdweb.com/solidity/extensions/erc721supply), you unlock the ability to [view all NFTs](https://portal.thirdweb.com/sdk/interacting-with-contracts/erc721supply#get-all-minted-nfts) on that contract using the SDK; which fetches all of your NFT metadata and the current owner of each NFT in parallel. In the React SDK, that is available using " - }, - { - "kind": "code", - "text": "`useNFTs`" - }, - { - "kind": "text", - "text": ":\n\n" - }, - { - "kind": "code", - "text": "```jsx\nimport { useContract, useNFTs } from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);\n}\n```" - }, - { - "kind": "text", - "text": "\n\nIf we want to mint an NFT and our contract implements [ERC721Mintable](https://portal.thirdweb.com/solidity/extensions/erc721mintable), we can use the [" - }, - { - "kind": "code", - "text": "`useMintNFT`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/sdk/interacting-with-contracts/erc721mintable) hook to mint an NFT from the connected wallet; handling all of the logic of uploading and pinning the metadata to IPFS for us behind the scenes.\n\n" - }, - { - "kind": "code", - "text": "```jsx\nimport { useContract, useNFTs, useMintNFT } from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);\n const { mutate: mintNFT, isLoading: isMintingNFT } = useMintNFT(contract);\n}\n```" - }, - { - "kind": "text", - "text": "\n\n
            \n\n### UI Components\n\nThe SDK provides many UI components to help you build your application.\n\nFor example, we can render each of the NFTs using the [" - }, - { - "kind": "code", - "text": "`NFT Media Renderer`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/ui-components/nft-renderer)\ncomponent, making use of the loading state from " - }, - { - "kind": "code", - "text": "`useNFTs`" - }, - { - "kind": "text", - "text": ":\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"pages/index.jsx\"\nimport { useContract, useNFTs, ThirdwebNftMedia } from \"@thirdweb-dev/react\";\n\nexport default function Home() {\n const { contract } = useContract(\"\");\n const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);\n\n return (\n
            \n

            My NFTs

            \n {isReadingNfts ? (\n

            Loading...

            \n ) : (\n
            \n {nfts.map((nft) => (\n \n ))}\n
            \n )}\n
            \n );\n}\n```" - }, - { - "kind": "text", - "text": "\n\nThe [" - }, - { - "kind": "code", - "text": "`Web3Button`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/ui-components/web3button) component ensures the user has connected their wallet and is currently configured to the same network as your smart contract before calling the function. It also has access to the " - }, - { - "kind": "code", - "text": "`contract`" - }, - { - "kind": "text", - "text": " directly, allowing you to perform any action on your smart contract when the button is clicked.\n\nFor example, we can mint an NFT like so:\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"pages/index.jsx\"\nimport {\n useContract,\n useNFTs,\n ThirdwebNftMedia,\n Web3Button,\n} from \"@thirdweb-dev/react\";\n\nconst contractAddress = \"\";\nexport default function Home() {\n const { contract } = useContract(contractAddress);\n const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);\n\n return (\n
            \n {/* ... Existing Display Logic here ... */}\n\n \n contract.erc721.mint({\n name: \"Hello world!\",\n image:\n // You can use a file or URL here!\n \"ipfs://QmZbovNXznTHpYn2oqgCFQYP4ZCpKDquenv5rFCX8irseo/0.png\",\n })\n }\n >\n Mint NFT\n \n
            \n );\n}\n```" - }, - { - "kind": "text", - "text": "\n\n
            \n\n## Advanced Configuration\n\nThe " - }, - { - "kind": "code", - "text": "`ThirdwebProvider`" - }, - { - "kind": "text", - "text": " offers a number of configuration options to control the behavior of the React and Typescript SDK.\n\nThese are all the configuration options of the " - }, - { - "kind": "code", - "text": "``" - }, - { - "kind": "text", - "text": ".\nWe provide defaults for all of these, but you customize them to suit your needs.\n\n" - }, - { - "kind": "code", - "text": "```jsx title=\"App.jsx\"\nimport { ChainId, IpfsStorage, ThirdwebProvider } from \"@thirdweb-dev/react\";\n\nconst KitchenSinkExample = () => {\n return (\n \n \n \n );\n};\n```" - }, - { - "kind": "text", - "text": "\n\n## Available hooks\n\n### Main hooks\n\n| Hook | Description |\n| ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------- |\n| [" - }, - { - "kind": "code", - "text": "`useSDK`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usesdk) | Access the instance of the thirdweb SDK created by the ThirdwebProvider. |\n| [" - }, - { - "kind": "code", - "text": "`useContract`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecontract) | Use this resolve a contract address to a smart contract instance. |\n| [" - }, - { - "kind": "code", - "text": "`useContractWrite`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecontractwrite) | Use this to get data from a contract read-function call. |\n| [" - }, - { - "kind": "code", - "text": "`useContractRead`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecontractread) | Use this to get a function to make a write call to your contract. |\n| [" - }, - { - "kind": "code", - "text": "`useContractEvents`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecontractevents) | Use this to get the contract metadata for a (built-in or custom) contract. |\n| [" - }, - { - "kind": "code", - "text": "`useContractMetadata`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecontractmetadata) | Use this to get the contract metadata for a (built-in or custom) contract. |\n\n### Wallet connection\n\n| Hook | Description |\n| -------------------------------------------------------------------------------- | ----------------------------------------------------------- |\n| [" - }, - { - "kind": "code", - "text": "`useAddress`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useaddress) | Hook for accessing the address of the connected wallet. |\n| [" - }, - { - "kind": "code", - "text": "`useMetamask`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usemetamask) | Hook for connecting to a Metamask wallet. |\n| [" - }, - { - "kind": "code", - "text": "`useWalletConnect`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usewalletconnect) | Hook for connecting to a mobile wallet with Wallet Connect. |\n| [" - }, - { - "kind": "code", - "text": "`useCoinbaseWallet`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecoinbasewallet) | Hook for connecting to a Coinbase wallet. |\n| [" - }, - { - "kind": "code", - "text": "`useMagic`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usemagic) | Hook for connecting to an email wallet using magic link. |\n| [" - }, - { - "kind": "code", - "text": "`useGnosis`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usegnosis) | Hook for connecting to a Gnosis Safe. |\n| [" - }, - { - "kind": "code", - "text": "`useDisconnect`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usedisconnect) | Hook for disconnecting the currently connected wallet. |\n\n### Network connection\n\n| Hook | Description |\n| ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |\n| [" - }, - { - "kind": "code", - "text": "`useChainId`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usechainid) | Hook for accessing the chain ID of the network the current wallet is connected to |\n| [" - }, - { - "kind": "code", - "text": "`useNetwork`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usenetwork) | Hook for getting metadata about the network the current wallet is connected to and switching networks. |\n| [" - }, - { - "kind": "code", - "text": "`useNetworkMismatch`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usenetworkmismatch) | Hook for checking whether the connected wallet is on the correct network specified by the desiredChainId passed to the . |\n\n### NFT\n\n| Hook | Description |\n| ------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------- |\n| [" - }, - { - "kind": "code", - "text": "`useNFT`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usenft) | Use this to get an individual NFT token of your NFTContract. |\n| [" - }, - { - "kind": "code", - "text": "`useNFTs`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usenfts) | Use this to get a list of NFT tokens of your NFTContract. |\n| [" - }, - { - "kind": "code", - "text": "`useTotalCirculatingSupply`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usetotalcirculatingsupply) | Use this to get a the total (minted) supply of your NFTContract. |\n| [" - }, - { - "kind": "code", - "text": "`useOwnedNFTs`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useownednfts) | Use this to get a the owned NFTs for a specific Erc721OrErc1155 and wallet address. |\n| [" - }, - { - "kind": "code", - "text": "`useNFTBalance`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usenftbalance) | Use this to get a the total balance of a NFTContract and wallet address. |\n| [" - }, - { - "kind": "code", - "text": "`useTotalCount`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usetotalcount) | Use this to get the total count of NFT tokens of your NFTContract. |\n| [" - }, - { - "kind": "code", - "text": "`useMintNFT`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usemintnft) | Use this to mint a new NFT on your Erc721OrErc1155. |\n| [" - }, - { - "kind": "code", - "text": "`useMintNFTSupply`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usemintnftsupply) | Use this mint extra supply on your Erc1155. |\n| [" - }, - { - "kind": "code", - "text": "`useTransferNFT`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usetransfernft) | Use this to transfer tokens on your NFTContract. |\n| [" - }, - { - "kind": "code", - "text": "`useAirdropNFT`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useairdropnft) | Use this to airdrop tokens on your Erc1155. |\n| [" - }, - { - "kind": "code", - "text": "`useBurnNFT`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useburnnft) | Use this to burn an NFT on your Erc721OrErc1155. |\n\n### Token\n\n| Hook | Description |\n| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |\n| [" - }, - { - "kind": "code", - "text": "`useTokenSupply`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usetokensupply) | Use this to get a the total supply of your contract. |\n| [" - }, - { - "kind": "code", - "text": "`useTokenBalance`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usetokenbalance) | Use this to get the balance of your contract for a given address. |\n| [" - }, - { - "kind": "code", - "text": "`useTokenDecimals`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usetokendecimals) | Use this to get the decimals of your contract for a given address. |\n| [" - }, - { - "kind": "code", - "text": "`useMintToken`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useminttoken) | Use this to mint new tokens on your contract. |\n| [" - }, - { - "kind": "code", - "text": "`useClaimToken`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useclaimtoken) | Use this to claim tokens from your contract. |\n| [" - }, - { - "kind": "code", - "text": "`useTransferToken`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usetransfertoken) | Use this to transfer tokens on your contract. |\n| [" - }, - { - "kind": "code", - "text": "`useTransferBatchToken`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usetransferbatchtoken) | Use this to transfer batch tokens on your contract. |\n| [" - }, - { - "kind": "code", - "text": "`useBurnToken`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useburntoken) | Use this to burn tokens on your contract. |\n\n### Marketplace\n\n| Hook | Description |\n| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |\n| [" - }, - { - "kind": "code", - "text": "`useListing`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.uselisting) | Use this to get a specific listing from the marketplace. |\n| [" - }, - { - "kind": "code", - "text": "`useListings`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.uselistings) | Use this to get a list all listings from your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useListingsCount`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.uselistingscount) | Use this to get a count of all listings on your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useActiveListings`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useactivelistings) | Use this to get a list active listings from your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useWinningBid`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usewinningbid) | Use this to get a the winning bid for an auction listing from your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useAuctionWinner`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useauctionwinner) | Use this to get the winner of an auction listing from your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useBidBuffer`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usebidbuffer) | Use this to get the buffer in basis points between offers from your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useCreateDirectListing`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecreatedirectlisting) | Use this to create a new Direct Listing on your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useCreateAuctionListing`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecreateauctionlisting) | Use this to create a new Auction Listing on your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useCancelListing`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usecancellisting) | Use this to cancel a listing on your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useMakeBid`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usemakebid) | Use this to place a bid on an auction listing from your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useBuyNow`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usebuynow) | Use this to buy out an auction listing from your marketplace contract. |\n| [" - }, - { - "kind": "code", - "text": "`useBuyDirectListing`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useBuyDirectListing) | Use this to buy from a direct listing in your marketplace v3 contract. |\n\n### Permissions Controls\n\n| Hook | Description |\n| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |\n| [" - }, - { - "kind": "code", - "text": "`useAllRoleMembers`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useallrolemembers) | Use this to get the roles of all members. |\n| [" - }, - { - "kind": "code", - "text": "`useRoleMembers`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.userolemembers) | Use this to get the members of a role. |\n| [" - }, - { - "kind": "code", - "text": "`useIsAddressRole`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useisaddressrole) | Use this to check if a WalletAddress is a member of a role. |\n| [" - }, - { - "kind": "code", - "text": "`useSetAllRoleMembers`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usesetallrolemembers) | Use this to OVERWRITE the list of addresses that are members of specific roles. |\n| [" - }, - { - "kind": "code", - "text": "`useGrantRole`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usegrantrole) | Use this to grant a WalletAddress a specific role. |\n| [" - }, - { - "kind": "code", - "text": "`useRevokeRole`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.userevokerole) | Use this to revoke a WalletAddress a specific role. |\n\n### Drop\n\n| Hook | Description |\n| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |\n| [" - }, - { - "kind": "code", - "text": "`useUnclaimedNFTs`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useunclaimednfts) | Use this to get a list of unclaimed NFT tokens of your ERC721 Drop contract. |\n| [" - }, - { - "kind": "code", - "text": "`useClaimedNFTs`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useclaimednfts) | Use this to get a list of claimed (minted) NFT tokens of your ERC721 Drop contract.. |\n| [" - }, - { - "kind": "code", - "text": "`useUnclaimedNFTSupply`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useunclaimednftsupply) | Use this to get the total unclaimed NFT supply of your ERC721 Drop contract. |\n| [" - }, - { - "kind": "code", - "text": "`useClaimedNFTSupply`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useclaimednftsupply) | Use this to get the total claimed (minted) NFT supply of your ERC721 Drop contract. |\n| [" - }, - { - "kind": "code", - "text": "`useBatchesToReveal`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usebatchestoreveal) | Use this to get a list of batches that are ready to be revealed. |\n| [" - }, - { - "kind": "code", - "text": "`useClaimNFT`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useclaimnft) | Use this to claim a NFT on your DropContract |\n| [" - }, - { - "kind": "code", - "text": "`useLazyMint`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.uselazymint) | Use this to lazy mint a batch of NFTs on your DropContract. |\n| [" - }, - { - "kind": "code", - "text": "`useDelayedRevealLazyMint`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usedelayedreveallazymint) | Use this to lazy mint a batch of delayed reveal NFTs on your DropContract. |\n| [" - }, - { - "kind": "code", - "text": "`useRevealLazyMint`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usereveallazymint) | Use this to reveal a batch of delayed reveal NFTs on your RevealableContract. |\n\n### Claim Conditions\n\n| Hook | Description |\n| ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |\n| [" - }, - { - "kind": "code", - "text": "`useActiveClaimCondition`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useactiveclaimcondition) | Use this to get the active claim condition for ERC20, ERC721 or ERC1155 based contracts. |\n| [" - }, - { - "kind": "code", - "text": "`useClaimConditions`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useclaimconditions) | Use this to get all claim conditions for ERC20, ERC721 or ERC1155 based contracts. |\n| [" - }, - { - "kind": "code", - "text": "`useClaimIneligibilityReasons`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useclaimineligibilityreasons) | Use this to check for reasons that prevent claiming for either ERC20, ERC721 or ERC1155 based contracts. |\n| [" - }, - { - "kind": "code", - "text": "`useSetClaimConditions`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.usesetclaimconditions) | Use this to set claim conditions on your DropContract. |\n| [" - }, - { - "kind": "code", - "text": "`useResetClaimConditions`" - }, - { - "kind": "text", - "text": "](https://portal.thirdweb.com/react/react.useresetclaimconditions) | Use this to reset claim conditions on your DropContract. |" - } - ], - "symbolIdMap": { - "0": { - "sourceFileName": "src/index.ts", - "qualifiedName": "" - }, - "1": { - "sourceFileName": "src/wallet/ConnectWallet/defaultTokens.ts", - "qualifiedName": "defaultTokens" - }, - "2": { - "sourceFileName": "src/wallet/wallets/defaultWallets.ts", - "qualifiedName": "defaultWallets" - }, - "3": { - "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", - "qualifiedName": "useSmartWallet" - }, - "4": { - "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", - "qualifiedName": "useSmartWallet" - }, - "5": { - "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", - "qualifiedName": "__function" - }, - "6": { - "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", - "qualifiedName": "__function" - }, - "7": { - "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", - "qualifiedName": "wallet" - }, - "8": { - "sourceFileName": "src/evm/hooks/wallets/useSmartWallet.ts", - "qualifiedName": "options" - }, - "9": { - "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", - "qualifiedName": "bloctoWallet" - }, - "10": { - "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", - "qualifiedName": "bloctoWallet" - }, - "11": { - "sourceFileName": "src/wallet/wallets/blocto/bloctoWallet.tsx", - "qualifiedName": "options" - }, - "12": { - "sourceFileName": "src/wallet/wallets/coinbase/coinbaseWallet.tsx", - "qualifiedName": "coinbaseWallet" - }, - "13": { - "sourceFileName": "src/wallet/wallets/coinbase/coinbaseWallet.tsx", - "qualifiedName": "coinbaseWallet" - }, - "14": { - "sourceFileName": "src/wallet/wallets/coinbase/coinbaseWallet.tsx", - "qualifiedName": "options" - }, - "15": { - "sourceFileName": "src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", - "qualifiedName": "embeddedWallet" - }, - "16": { - "sourceFileName": "src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", - "qualifiedName": "embeddedWallet" - }, - "17": { - "sourceFileName": "src/wallet/wallets/embeddedWallet/embeddedWallet.tsx", - "qualifiedName": "config" - }, - "18": { - "sourceFileName": "src/wallet/wallets/frame/frameWallet.tsx", - "qualifiedName": "frameWallet" - }, - "19": { - "sourceFileName": "src/wallet/wallets/frame/frameWallet.tsx", - "qualifiedName": "frameWallet" - }, - "20": { - "sourceFileName": "src/wallet/wallets/frame/frameWallet.tsx", - "qualifiedName": "config" - }, - "21": { - "sourceFileName": "src/wallet/wallets/localWallet/localWallet.tsx", - "qualifiedName": "localWallet" - }, - "22": { - "sourceFileName": "src/wallet/wallets/localWallet/localWallet.tsx", - "qualifiedName": "localWallet" - }, - "23": { - "sourceFileName": "src/wallet/wallets/localWallet/localWallet.tsx", - "qualifiedName": "config" - }, - "24": { - "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", - "qualifiedName": "magicLink" - }, - "25": { - "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", - "qualifiedName": "magicLink" - }, - "26": { - "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", - "qualifiedName": "config" - }, - "27": { - "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", - "qualifiedName": "__type" - }, - "28": { - "sourceFileName": "src/wallet/wallets/magic/magicLink.tsx", - "qualifiedName": "__type.recommended" - }, - "29": { - "sourceFileName": "src/wallet/wallets/metamask/metamaskWallet.tsx", - "qualifiedName": "metamaskWallet" - }, - "30": { - "sourceFileName": "src/wallet/wallets/metamask/metamaskWallet.tsx", - "qualifiedName": "metamaskWallet" - }, - "31": { - "sourceFileName": "src/wallet/wallets/metamask/metamaskWallet.tsx", - "qualifiedName": "options" - }, - "32": { - "sourceFileName": "src/wallet/wallets/paper/paperWallet.tsx", - "qualifiedName": "paperWallet" - }, - "33": { - "sourceFileName": "src/wallet/wallets/paper/paperWallet.tsx", - "qualifiedName": "paperWallet" - }, - "34": { - "sourceFileName": "src/wallet/wallets/paper/paperWallet.tsx", - "qualifiedName": "config" - }, - "35": { - "sourceFileName": "src/wallet/wallets/phantom/phantomWallet.tsx", - "qualifiedName": "phantomWallet" - }, - "36": { - "sourceFileName": "src/wallet/wallets/phantom/phantomWallet.tsx", - "qualifiedName": "phantomWallet" - }, - "37": { - "sourceFileName": "src/wallet/wallets/phantom/phantomWallet.tsx", - "qualifiedName": "options" - }, - "38": { - "sourceFileName": "src/wallet/wallets/rainbow/RainbowWallet.tsx", - "qualifiedName": "rainbowWallet" - }, - "39": { - "sourceFileName": "src/wallet/wallets/rainbow/RainbowWallet.tsx", - "qualifiedName": "rainbowWallet" - }, - "40": { - "sourceFileName": "src/wallet/wallets/rainbow/RainbowWallet.tsx", - "qualifiedName": "options" - }, - "41": { - "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", - "qualifiedName": "safeWallet" - }, - "42": { - "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", - "qualifiedName": "safeWallet" - }, - "43": { - "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", - "qualifiedName": "config" - }, - "44": { - "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", - "qualifiedName": "__type" - }, - "45": { - "sourceFileName": "src/wallet/wallets/safe/safeWallet.tsx", - "qualifiedName": "__type.recommended" - }, - "46": { - "sourceFileName": "src/wallet/wallets/smartWallet/smartWallet.tsx", - "qualifiedName": "smartWallet" - }, - "47": { - "sourceFileName": "src/wallet/wallets/smartWallet/smartWallet.tsx", - "qualifiedName": "smartWallet" - }, - "48": { - "sourceFileName": "src/wallet/wallets/smartWallet/smartWallet.tsx", - "qualifiedName": "wallet" - }, - "49": { - "sourceFileName": "src/wallet/wallets/smartWallet/smartWallet.tsx", - "qualifiedName": "config" - }, - "50": { - "sourceFileName": "src/wallet/wallets/trustWallet/TrustWallet.tsx", - "qualifiedName": "trustWallet" - }, - "51": { - "sourceFileName": "src/wallet/wallets/trustWallet/TrustWallet.tsx", - "qualifiedName": "trustWallet" - }, - "52": { - "sourceFileName": "src/wallet/wallets/trustWallet/TrustWallet.tsx", - "qualifiedName": "options" - }, - "53": { - "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", - "qualifiedName": "walletConnect" - }, - "54": { - "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", - "qualifiedName": "walletConnect" - }, - "55": { - "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", - "qualifiedName": "config" - }, - "56": { - "sourceFileName": "src/wallet/wallets/walletConnectV1.tsx", - "qualifiedName": "walletConnectV1" - }, - "57": { - "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", - "qualifiedName": "walletConnectV1" - }, - "58": { - "sourceFileName": "src/wallet/wallets/walletConnect/walletConnect.tsx", - "qualifiedName": "config" - }, - "59": { - "sourceFileName": "src/wallet/wallets/zerion/zerionWallet.tsx", - "qualifiedName": "zerionWallet" - }, - "60": { - "sourceFileName": "src/wallet/wallets/zerion/zerionWallet.tsx", - "qualifiedName": "zerionWallet" - }, - "61": { - "sourceFileName": "src/wallet/wallets/zerion/zerionWallet.tsx", - "qualifiedName": "options" - }, - "62": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "darkTheme" - }, - "63": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "darkTheme" - }, - "64": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "overrides" - }, - "65": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "lightTheme" - }, - "66": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "lightTheme" - }, - "67": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "overrides" - }, - "68": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "Theme" - }, - "69": { - "sourceFileName": "src/design-system/index.ts", - "qualifiedName": "ThemeOverrides" - }, - "70": { - "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", - "qualifiedName": "useIsWalletModalOpen" - }, - "71": { - "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", - "qualifiedName": "useIsWalletModalOpen" - }, - "72": { - "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", - "qualifiedName": "useSetIsWalletModalOpen" - }, - "73": { - "sourceFileName": "src/evm/providers/wallet-ui-states-provider.tsx", - "qualifiedName": "useSetIsWalletModalOpen" - }, - "74": { - "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", - "qualifiedName": "useSafe" - }, - "75": { - "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", - "qualifiedName": "useSafe" - }, - "76": { - "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", - "qualifiedName": "__function" - }, - "77": { - "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", - "qualifiedName": "__function" - }, - "78": { - "sourceFileName": "src/evm/connectors/gnosis/useSafe.ts", - "qualifiedName": "connectProps" - }, - "79": { - "sourceFileName": "src/evm/connectors/magic/useMagic.ts", - "qualifiedName": "useMagic" - }, - "80": { - "sourceFileName": "src/evm/connectors/magic/useMagic.ts", - "qualifiedName": "useMagic" - }, - "81": { - "sourceFileName": "src/evm/connectors/magic/useMagic.ts", - "qualifiedName": "__function" - }, - "82": { - "sourceFileName": "src/evm/connectors/magic/useMagic.ts", - "qualifiedName": "__function" - }, - "83": { - "sourceFileName": "src/evm/connectors/magic/useMagic.ts", - "qualifiedName": "options" - }, - "84": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "ConnectWallet" - }, - "85": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "ConnectWallet" - }, - "86": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "props" - }, - "87": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "context" - }, - "88": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "ConnectWalletProps" - }, - "89": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type" - }, - "90": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.className" - }, - "91": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.theme" - }, - "92": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.btnTitle" - }, - "93": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.modalTitle" - }, - "94": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.modalTitleIconUrl" - }, - "95": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.detailsBtn" - }, - "96": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type" - }, - "97": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type" - }, - "98": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.dropdownPosition" - }, - "99": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.auth" - }, - "100": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type" - }, - "101": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.loginOptional" - }, - "102": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.onLogin" - }, - "103": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type" - }, - "104": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type" - }, - "105": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "token" - }, - "106": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.onLogout" - }, - "107": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type" - }, - "108": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type" - }, - "109": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.style" - }, - "110": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.networkSelector" - }, - "111": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.hideTestnetFaucet" - }, - "112": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.switchToActiveChain" - }, - "113": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.modalSize" - }, - "114": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.termsOfServiceUrl" - }, - "115": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.privacyPolicyUrl" - }, - "116": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.welcomeScreen" - }, - "117": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.supportedTokens" - }, - "118": { - "sourceFileName": "src/wallet/ConnectWallet/ConnectWallet.tsx", - "qualifiedName": "__type.displayBalanceToken" - }, - "119": { - "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "qualifiedName": "ConnectModalInline" - }, - "120": { - "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "qualifiedName": "ConnectModalInline" - }, - "121": { - "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "qualifiedName": "props" - }, - "122": { - "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "qualifiedName": "__type" - }, - "123": { - "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "qualifiedName": "__type.onModalHide" - }, - "124": { - "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "qualifiedName": "__type" - }, - "125": { - "sourceFileName": "src/wallet/ConnectWallet/Modal/ConnectModalInline.tsx", - "qualifiedName": "__type" - }, - "126": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "NetworkSelector" - }, - "127": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "NetworkSelector" - }, - "128": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "props" - }, - "129": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "context" - }, - "130": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "NetworkSelectorProps" - }, - "131": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type" - }, - "132": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.theme" - }, - "133": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.onClose" - }, - "134": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type" - }, - "135": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type" - }, - "136": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.open" - }, - "137": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.chains" - }, - "138": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.popularChains" - }, - "139": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.recentChains" - }, - "140": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.renderChain" - }, - "141": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.onSwitch" - }, - "142": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type" - }, - "143": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type" - }, - "144": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "chain" - }, - "145": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type.onCustomClick" - }, - "146": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type" - }, - "147": { - "sourceFileName": "src/wallet/ConnectWallet/NetworkSelector.tsx", - "qualifiedName": "__type" - }, - "148": { - "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProvider" - }, - "149": { - "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProvider" - }, - "150": { - "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", - "qualifiedName": "TChains" - }, - "151": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "152": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "153": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "154": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "155": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "156": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "157": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "158": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "159": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "160": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "161": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "162": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "163": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "164": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "165": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "166": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "167": { - "sourceFileName": "../chains/src/index.ts", - "qualifiedName": "__type" - }, - "168": { - "sourceFileName": "src/evm/providers/thirdweb-provider.tsx", - "qualifiedName": "__0" - }, - "169": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "MediaRendererProps" - }, - "170": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "MediaRendererProps.src" - }, - "171": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "MediaRendererProps.alt" - }, - "172": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "MediaRendererProps.poster" - }, - "173": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "MediaRendererProps.gatewayUrl" - }, - "174": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "MediaRendererProps.width" - }, - "175": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "MediaRendererProps.height" - }, - "176": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.className" - }, - "177": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.style" - }, - "178": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.requireInteraction" - }, - "179": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.controls" - }, - "180": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.children" - }, - "181": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.mimeType" - }, - "182": { - "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", - "qualifiedName": "useInstalledWallets" - }, - "183": { - "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", - "qualifiedName": "useInstalledWallets" - }, - "184": { - "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", - "qualifiedName": "__object" - }, - "185": { - "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", - "qualifiedName": "__object.metamask" - }, - "186": { - "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", - "qualifiedName": "__object.coinbaseWallet" - }, - "187": { - "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", - "qualifiedName": "__object.trustWallet" - }, - "188": { - "sourceFileName": "src/wallet/hooks/useInstalledWallets.ts", - "qualifiedName": "__object.zerionWallet" - }, - "189": { - "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", - "qualifiedName": "useRainbowWallet" - }, - "190": { - "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", - "qualifiedName": "useRainbowWallet" - }, - "191": { - "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", - "qualifiedName": "__function" - }, - "192": { - "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", - "qualifiedName": "__function" - }, - "193": { - "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", - "qualifiedName": "connectOptions" - }, - "194": { - "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", - "qualifiedName": "__type" - }, - "195": { - "sourceFileName": "src/evm/hooks/wallets/useRainbowWallet.ts", - "qualifiedName": "__type.chainId" - }, - "196": { - "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", - "qualifiedName": "useTrustWallet" - }, - "197": { - "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", - "qualifiedName": "useTrustWallet" - }, - "198": { - "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", - "qualifiedName": "__function" - }, - "199": { - "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", - "qualifiedName": "__function" - }, - "200": { - "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", - "qualifiedName": "connectOptions" - }, - "201": { - "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", - "qualifiedName": "__type" - }, - "202": { - "sourceFileName": "src/evm/hooks/wallets/useTrustWallet.ts", - "qualifiedName": "__type.chainId" - }, - "203": { - "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", - "qualifiedName": "useMetamask" - }, - "204": { - "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", - "qualifiedName": "useMetamask" - }, - "205": { - "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", - "qualifiedName": "__function" - }, - "206": { - "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", - "qualifiedName": "__function" - }, - "207": { - "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", - "qualifiedName": "connectOptions" - }, - "208": { - "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", - "qualifiedName": "__type" - }, - "209": { - "sourceFileName": "src/evm/hooks/wallets/useMetamask.ts", - "qualifiedName": "__type.chainId" - }, - "210": { - "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", - "qualifiedName": "useCoinbaseWallet" - }, - "211": { - "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", - "qualifiedName": "useCoinbaseWallet" - }, - "212": { - "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", - "qualifiedName": "__function" - }, - "213": { - "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", - "qualifiedName": "__function" - }, - "214": { - "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", - "qualifiedName": "connectOptions" - }, - "215": { - "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", - "qualifiedName": "__type" - }, - "216": { - "sourceFileName": "src/evm/hooks/wallets/useCoinbaseWallet.ts", - "qualifiedName": "__type.chainId" - }, - "217": { - "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", - "qualifiedName": "useFrameWallet" - }, - "218": { - "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", - "qualifiedName": "useFrameWallet" - }, - "219": { - "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", - "qualifiedName": "__function" - }, - "220": { - "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", - "qualifiedName": "__function" - }, - "221": { - "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", - "qualifiedName": "connectOptions" - }, - "222": { - "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", - "qualifiedName": "__type" - }, - "223": { - "sourceFileName": "src/evm/hooks/wallets/useFrame.ts", - "qualifiedName": "__type.chainId" - }, - "224": { - "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", - "qualifiedName": "useBloctoWallet" - }, - "225": { - "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", - "qualifiedName": "useBloctoWallet" - }, - "226": { - "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", - "qualifiedName": "__function" - }, - "227": { - "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", - "qualifiedName": "__function" - }, - "228": { - "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", - "qualifiedName": "options" - }, - "229": { - "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", - "qualifiedName": "__type" - }, - "230": { - "sourceFileName": "src/evm/hooks/wallets/useBloctoWallet.ts", - "qualifiedName": "__type.chainId" - }, - "231": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "usePaperWalletUserEmail" - }, - "232": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "usePaperWalletUserEmail" - }, - "233": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "usePaperWallet" - }, - "234": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "usePaperWallet" - }, - "235": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "__function" - }, - "236": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "__function" - }, - "237": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "options" - }, - "238": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "__type" - }, - "239": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "__type.chainId" - }, - "240": { - "sourceFileName": "src/evm/hooks/wallets/usePaper.ts", - "qualifiedName": "__type.email" - }, - "241": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "useWalletConnect" - }, - "242": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "useWalletConnect" - }, - "243": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__function" - }, - "244": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__function" - }, - "245": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "options" - }, - "246": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__type" - }, - "247": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__type.chainId" - }, - "248": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__type.projectId" - }, - "249": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__type.qrModalOptions" - }, - "250": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "useWalletConnectV1" - }, - "251": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "useWalletConnectV1" - }, - "252": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__function" - }, - "253": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__function" - }, - "254": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "options" - }, - "255": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__type" - }, - "256": { - "sourceFileName": "src/evm/hooks/wallets/useWalletConnect.ts", - "qualifiedName": "__type.chainId" - }, - "257": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "useResolvedMediaType" - }, - "258": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "useResolvedMediaType" - }, - "259": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "uri" - }, - "260": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "mimeType" - }, - "261": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "gatewayUrl" - }, - "262": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "__object" - }, - "263": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "__object.url" - }, - "264": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "__object.mimeType" - }, - "265": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "MediaRenderer" - }, - "266": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "MediaRenderer" - }, - "267": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "props" - }, - "268": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "MediaType" - }, - "269": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "MediaType.url" - }, - "270": { - "sourceFileName": "src/evm/components/MediaRenderer.tsx", - "qualifiedName": "MediaType.mimeType" - }, - "271": { - "sourceFileName": "src/evm/components/NftMedia.tsx", - "qualifiedName": "ThirdwebNftMediaProps" - }, - "272": { - "sourceFileName": "src/evm/components/NftMedia.tsx", - "qualifiedName": "ThirdwebNftMediaProps.metadata" - }, - "273": { - "sourceFileName": "../sdk/src/core/schema/nft.ts", - "qualifiedName": "__type" - }, - "274": { - "sourceFileName": "src/evm/components/NftMedia.tsx", - "qualifiedName": "ThirdwebNftMediaProps.width" - }, - "275": { - "sourceFileName": "src/evm/components/NftMedia.tsx", - "qualifiedName": "ThirdwebNftMediaProps.height" - }, - "276": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.className" - }, - "277": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.style" - }, - "278": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.requireInteraction" - }, - "279": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.controls" - }, - "280": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.children" - }, - "281": { - "sourceFileName": "src/evm/components/types.ts", - "qualifiedName": "SharedMediaProps.mimeType" - }, - "282": { - "sourceFileName": "src/evm/components/NftMedia.tsx", - "qualifiedName": "ThirdwebNftMedia" - }, - "283": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "ThirdwebNftMedia" - }, - "284": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "props" - }, - "285": { - "sourceFileName": "src/evm/components/Web3Button/index.tsx", - "qualifiedName": "Web3Button" - }, - "286": { - "sourceFileName": "src/evm/components/Web3Button/index.tsx", - "qualifiedName": "Web3Button" - }, - "287": { - "sourceFileName": "src/evm/components/Web3Button/index.tsx", - "qualifiedName": "TAction" - }, - "288": { - "sourceFileName": "src/evm/components/Web3Button/index.tsx", - "qualifiedName": "props" - }, - "289": { - "sourceFileName": "../react-core/src/core/utils/ipfs.ts", - "qualifiedName": "resolveMimeType" - }, - "290": { - "sourceFileName": "../react-core/src/core/utils/ipfs.ts", - "qualifiedName": "resolveMimeType" - }, - "291": { - "sourceFileName": "../react-core/src/core/utils/ipfs.ts", - "qualifiedName": "url" - }, - "292": { - "sourceFileName": "../react-core/src/core/providers/theme-context.tsx", - "qualifiedName": "ThirdwebThemeContext" - }, - "293": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCore" - }, - "294": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCore" - }, - "295": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "TChains" - }, - "296": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "__0" - }, - "297": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps" - }, - "298": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.supportedWallets" - }, - "299": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.dAppMeta" - }, - "300": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.autoConnect" - }, - "301": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.theme" - }, - "302": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.createWalletStorage" - }, - "303": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.autoSwitch" - }, - "304": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.autoConnectTimeout" - }, - "305": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.signerWallet" - }, - "306": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "clientId" - }, - "307": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "secretKey" - }, - "308": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "activeChain" - }, - "309": { - "sourceFileName": "\u0000", - "qualifiedName": "__type" - }, - "310": { - "sourceFileName": "\u0000", - "qualifiedName": "__type" - }, - "311": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "supportedChains" - }, - "312": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "sdkOptions" - }, - "313": { - "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", - "qualifiedName": "__type" - }, - "314": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "storageInterface" - }, - "315": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "authConfig" - }, - "316": { - "sourceFileName": "../react-core/src/core/providers/query-client.tsx", - "qualifiedName": "queryClient" - }, - "317": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-provider.tsx", - "qualifiedName": "ThirdwebProviderCoreProps.TChains" - }, - "318": { - "sourceFileName": "../react-core/src/core/constants/runtime.ts", - "qualifiedName": "__DEV__" - }, - "319": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useWallet" - }, - "320": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useWallet" - }, - "321": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "T" - }, - "322": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "walletId" - }, - "323": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useWallet" - }, - "324": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useConnect" - }, - "325": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useConnect" - }, - "326": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "327": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "328": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "args" - }, - "329": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "I" - }, - "330": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useConnectionStatus" - }, - "331": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useConnectionStatus" - }, - "332": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useCreateWalletInstance" - }, - "333": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useCreateWalletInstance" - }, - "334": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "335": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "336": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "Wallet" - }, - "337": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "I" - }, - "338": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useDisconnect" - }, - "339": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useDisconnect" - }, - "340": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "341": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "342": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useSwitchChain" - }, - "343": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useSwitchChain" - }, - "344": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "345": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "346": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "chain" - }, - "347": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useWallets" - }, - "348": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useWallets" - }, - "349": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useWalletConfig" - }, - "350": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useWalletConfig" - }, - "351": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useSetConnectionStatus" - }, - "352": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useSetConnectionStatus" - }, - "353": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "354": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "355": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "status" - }, - "356": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useSetConnectedWallet" - }, - "357": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "useSetConnectedWallet" - }, - "358": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "359": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "__type" - }, - "360": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "wallet" - }, - "361": { - "sourceFileName": "../react-core/src/core/hooks/wallet-hooks.ts", - "qualifiedName": "params" - }, - "362": { - "sourceFileName": "../react-core/src/core/hooks/useNetwork.ts", - "qualifiedName": "useNetwork" - }, - "363": { - "sourceFileName": "../react-core/src/core/hooks/useNetwork.ts", - "qualifiedName": "useNetwork" - }, - "364": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-wallet-provider.tsx", - "qualifiedName": "useWalletContext" - }, - "365": { - "sourceFileName": "../react-core/src/core/providers/thirdweb-wallet-provider.tsx", - "qualifiedName": "useWalletContext" - }, - "366": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useBalance" - }, - "367": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useBalance" - }, - "368": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "tokenAddress" - }, - "371": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useAddress" - }, - "372": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useAddress" - }, - "373": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useChainId" - }, - "374": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useChainId" - }, - "375": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useActiveChain" - }, - "376": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useActiveChain" - }, - "377": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useChain" - }, - "378": { - "sourceFileName": "../react-core/src/evm/hooks/wallet.ts", - "qualifiedName": "useChain" - }, - "379": { - "sourceFileName": "../react-core/src/core/query-utils/query-key.ts", - "qualifiedName": "shouldNeverPersistQuery" - }, - "380": { - "sourceFileName": "../react-core/src/core/query-utils/query-key.ts", - "qualifiedName": "shouldNeverPersistQuery" - }, - "381": { - "sourceFileName": "../react-core/src/core/query-utils/query-key.ts", - "qualifiedName": "TKey" - }, - "382": { - "sourceFileName": "../react-core/src/core/query-utils/query-key.ts", - "qualifiedName": "key" - }, - "383": { - "sourceFileName": "../react-core/src/core/query-utils/required-param.ts", - "qualifiedName": "RequiredParam" - }, - "384": { - "sourceFileName": "../react-core/src/core/query-utils/required-param.ts", - "qualifiedName": "T" - }, - "385": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "WalletConfig" - }, - "386": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "387": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.category" - }, - "388": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.id" - }, - "389": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.meta" - }, - "390": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.create" - }, - "391": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "392": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "393": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "options" - }, - "394": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.connectUI" - }, - "395": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.selectUI" - }, - "396": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.isInstalled" - }, - "397": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "398": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "399": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.personalWallets" - }, - "400": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.recommended" - }, - "401": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.isHeadless" - }, - "402": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "I" - }, - "403": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "ConnectUIProps" - }, - "404": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "405": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.hide" - }, - "406": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "407": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "408": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.connected" - }, - "409": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "410": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "411": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.isOpen" - }, - "412": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.show" - }, - "413": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "414": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "415": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.goBack" - }, - "416": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "417": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "418": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.theme" - }, - "419": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.walletConfig" - }, - "420": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.selectionData" - }, - "421": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.setSelectionData" - }, - "422": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "423": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "424": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "data" - }, - "425": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.supportedWallets" - }, - "426": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.modalSize" - }, - "427": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.onLocallyConnected" - }, - "428": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "429": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "430": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "walleInstance" - }, - "431": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "I" - }, - "432": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "SelectUIProps" - }, - "433": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "434": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.onSelect" - }, - "435": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "436": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "437": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "selectionData" - }, - "438": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.walletConfig" - }, - "439": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.supportedWallets" - }, - "440": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.theme" - }, - "441": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.modalSize" - }, - "442": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "I" - }, - "443": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "WalletClass" - }, - "444": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "445": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.id" - }, - "446": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.meta" - }, - "447": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "448": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "options" - }, - "449": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "I" - }, - "450": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "WalletInstance" - }, - "451": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "ExtraCoreWalletOptions" - }, - "452": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type" - }, - "453": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "__type.chain" - }, - "454": { - "sourceFileName": "../react-core/src/core/types/wallet.ts", - "qualifiedName": "WalletOptions" - }, - "455": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "useThirdwebAuthContext" - }, - "456": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "useThirdwebAuthContext" - }, - "457": { - "sourceFileName": "../react-core/src/evm/contexts/ThirdwebAuthProvider.tsx", - "qualifiedName": "ThirdwebAuthProvider" - }, - "458": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "ThirdwebAuthProvider" - }, - "459": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "props" - }, - "460": { - "sourceFileName": "../react-core/src/evm/contexts/ThirdwebAuthProvider.tsx", - "qualifiedName": "__type" - }, - "461": { - "sourceFileName": "../react-core/src/evm/contexts/ThirdwebAuthProvider.tsx", - "qualifiedName": "__type.value" - }, - "462": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "context" - }, - "463": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ThirdwebAuthConfig" - }, - "464": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ThirdwebAuthConfig.authUrl" - }, - "465": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ThirdwebAuthConfig.domain" - }, - "466": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ThirdwebAuthConfig.secureStorage" - }, - "467": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ISecureStorage" - }, - "468": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ISecureStorage.getItem" - }, - "469": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ISecureStorage.getItem" - }, - "470": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "key" - }, - "471": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ISecureStorage.setItem" - }, - "472": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ISecureStorage.setItem" - }, - "473": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "key" - }, - "474": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "value" - }, - "475": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ISecureStorage.removeItem" - }, - "476": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "ISecureStorage.removeItem" - }, - "477": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-auth.tsx", - "qualifiedName": "key" - }, - "478": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", - "qualifiedName": "ThirdwebConfigProvider" - }, - "479": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "ThirdwebConfigProvider" - }, - "480": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "props" - }, - "481": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", - "qualifiedName": "__type" - }, - "482": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", - "qualifiedName": "__type.value" - }, - "483": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "context" - }, - "484": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", - "qualifiedName": "useThirdwebConfigContext" - }, - "485": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-config.tsx", - "qualifiedName": "useThirdwebConfigContext" - }, - "486": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", - "qualifiedName": "ThirdwebConnectedWalletProvider" - }, - "487": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "ThirdwebConnectedWalletProvider" - }, - "488": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "props" - }, - "489": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", - "qualifiedName": "__type" - }, - "490": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", - "qualifiedName": "__type.signer" - }, - "491": { - "sourceFileName": "../../node_modules/.pnpm/@types+react@18.2.17/node_modules/@types/react/index.d.ts", - "qualifiedName": "context" - }, - "492": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", - "qualifiedName": "useThirdwebConnectedWalletContext" - }, - "493": { - "sourceFileName": "../react-core/src/evm/contexts/thirdweb-wallet.tsx", - "qualifiedName": "useThirdwebConnectedWalletContext" - }, - "494": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "ClaimIneligibilityParams" - }, - "495": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type" - }, - "496": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.walletAddress" - }, - "497": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.quantity" - }, - "498": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "SetClaimConditionsParams" - }, - "499": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type" - }, - "500": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.phases" - }, - "501": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.reset" - }, - "502": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useActiveClaimCondition" - }, - "503": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useActiveClaimCondition" - }, - "504": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "contract" - }, - "505": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "tokenId" - }, - "506": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "options" - }, - "507": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useClaimerProofs" - }, - "508": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useClaimerProofs" - }, - "509": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "contract" - }, - "510": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "claimerAddress" - }, - "511": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "tokenId" - }, - "512": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "claimConditionId" - }, - "513": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type" - }, - "514": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.address" - }, - "515": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.proof" - }, - "516": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.maxClaimable" - }, - "517": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.price" - }, - "518": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.currencyAddress" - }, - "519": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useClaimConditions" - }, - "520": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useClaimConditions" - }, - "521": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "contract" - }, - "522": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "tokenId" - }, - "523": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "options" - }, - "524": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useClaimIneligibilityReasons" - }, - "525": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useClaimIneligibilityReasons" - }, - "526": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "contract" - }, - "527": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "params" - }, - "528": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "tokenId" - }, - "529": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useActiveClaimConditionForWallet" - }, - "530": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useActiveClaimConditionForWallet" - }, - "531": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "contract" - }, - "532": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "walletAddress" - }, - "533": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "tokenId" - }, - "534": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useSetClaimConditions" - }, - "535": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useSetClaimConditions" - }, - "536": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "contract" - }, - "537": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "tokenId" - }, - "538": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type" - }, - "539": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.receipt" - }, - "540": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useResetClaimConditions" - }, - "541": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "useResetClaimConditions" - }, - "542": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "contract" - }, - "543": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "tokenId" - }, - "544": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type" - }, - "545": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.receipt" - }, - "546": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type.data" - }, - "547": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type" - }, - "548": { - "sourceFileName": "../react-core/src/evm/hooks/async/claim-conditions.ts", - "qualifiedName": "__type" - }, - "549": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "usePrimarySaleRecipient" - }, - "550": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "usePrimarySaleRecipient" - }, - "551": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "contract" - }, - "552": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useUpdatePrimarySaleRecipient" - }, - "553": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useUpdatePrimarySaleRecipient" - }, - "554": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "contract" - }, - "555": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "556": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.receipt" - }, - "557": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useRoyaltySettings" - }, - "558": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useRoyaltySettings" - }, - "559": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "contract" - }, - "560": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "561": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.seller_fee_basis_points" - }, - "562": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.fee_recipient" - }, - "563": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useUpdateRoyaltySettings" - }, - "564": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useUpdateRoyaltySettings" - }, - "565": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "contract" - }, - "566": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "567": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.receipt" - }, - "568": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.data" - }, - "569": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "570": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "571": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "572": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.seller_fee_basis_points" - }, - "573": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.fee_recipient" - }, - "574": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "575": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.seller_fee_basis_points" - }, - "576": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.fee_recipient" - }, - "577": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "usePlatformFees" - }, - "578": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "usePlatformFees" - }, - "579": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "contract" - }, - "580": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "581": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.platform_fee_basis_points" - }, - "582": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.platform_fee_recipient" - }, - "583": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useUpdatePlatformFees" - }, - "584": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useUpdatePlatformFees" - }, - "585": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "contract" - }, - "586": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "587": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.receipt" - }, - "588": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.data" - }, - "589": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "590": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "591": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type" - }, - "592": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.platform_fee_basis_points" - }, - "593": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "__type.fee_recipient" - }, - "594": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useMetadata" - }, - "595": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useMetadata" - }, - "596": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "contract" - }, - "597": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useUpdateMetadata" - }, - "598": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "useUpdateMetadata" - }, - "599": { - "sourceFileName": "../react-core/src/evm/hooks/async/contract-settings.ts", - "qualifiedName": "contract" - }, - "600": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractType" - }, - "601": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractType" - }, - "602": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractAddress" - }, - "603": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractType" - }, - "604": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "605": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.cacheKey" - }, - "606": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "607": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "608": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractAddress" - }, - "609": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "chainId" - }, - "610": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.useQuery" - }, - "611": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.fetchQuery" - }, - "612": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useCompilerMetadata" - }, - "613": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useCompilerMetadata" - }, - "614": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractAddress" - }, - "615": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "compilerMetadata" - }, - "616": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "617": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.cacheKey" - }, - "618": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "619": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "620": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractAddress" - }, - "621": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "chainId" - }, - "622": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.useQuery" - }, - "623": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.fetchQuery" - }, - "624": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContract" - }, - "625": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContract" - }, - "626": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContractAddress" - }, - "627": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractAddress" - }, - "628": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContract" - }, - "629": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractAddress" - }, - "630": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContract" - }, - "631": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContractType" - }, - "632": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractAddress" - }, - "633": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "_contractType" - }, - "634": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContract" - }, - "635": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contractAddress" - }, - "636": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "_abi" - }, - "637": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractMetadata" - }, - "638": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractMetadata" - }, - "639": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContract" - }, - "640": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contract" - }, - "641": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractMetadataUpdate" - }, - "642": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractMetadataUpdate" - }, - "643": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contract" - }, - "644": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "645": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.receipt" - }, - "646": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.data" - }, - "647": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "648": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "649": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "650": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.name" - }, - "651": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.description" - }, - "652": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.image" - }, - "653": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.external_link" - }, - "654": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.app_uri" - }, - "655": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractEvents" - }, - "656": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractEvents" - }, - "657": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contract" - }, - "658": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "eventName" - }, - "659": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "options" - }, - "660": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "661": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.queryFilter" - }, - "662": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.subscribe" - }, - "663": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractRead" - }, - "664": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractRead" - }, - "665": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContractAddress" - }, - "666": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContract" - }, - "667": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContractInstance" - }, - "668": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TFunctionName" - }, - "669": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TArgs" - }, - "670": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TReturnType" - }, - "671": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contract" - }, - "672": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "functionName" - }, - "673": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "args" - }, - "674": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "overrides" - }, - "675": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractWrite" - }, - "676": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "useContractWrite" - }, - "677": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContractAddress" - }, - "678": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContract" - }, - "679": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContractInstance" - }, - "680": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TFunctionName" - }, - "681": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TArgs" - }, - "682": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "contract" - }, - "683": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "functionName" - }, - "684": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "685": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.receipt" - }, - "686": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.data" - }, - "687": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "688": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "689": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "690": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.args" - }, - "691": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.overrides" - }, - "692": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "UseContractResult" - }, - "693": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type" - }, - "694": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "__type.contract" - }, - "695": { - "sourceFileName": "../react-core/src/evm/hooks/async/contracts.ts", - "qualifiedName": "TContract" - }, - "696": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useUnclaimedNFTs" - }, - "697": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useUnclaimedNFTs" - }, - "698": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "699": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "queryParams" - }, - "700": { - "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", - "qualifiedName": "__type" - }, - "701": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useClaimedNFTs" - }, - "702": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useClaimedNFTs" - }, - "703": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "704": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "queryParams" - }, - "705": { - "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", - "qualifiedName": "__type" - }, - "706": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useUnclaimedNFTSupply" - }, - "707": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useUnclaimedNFTSupply" - }, - "708": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "709": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useClaimedNFTSupply" - }, - "710": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useClaimedNFTSupply" - }, - "711": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "712": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useBatchesToReveal" - }, - "713": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useBatchesToReveal" - }, - "714": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "TContract" - }, - "715": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "716": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useClaimNFT" - }, - "717": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useClaimNFT" - }, - "718": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "TContract" - }, - "719": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "720": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useLazyMint" - }, - "721": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useLazyMint" - }, - "722": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "TContract" - }, - "723": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "724": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "onProgress" - }, - "725": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type" - }, - "726": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type" - }, - "727": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "progress" - }, - "728": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useDelayedRevealLazyMint" - }, - "729": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useDelayedRevealLazyMint" - }, - "730": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "TContract" - }, - "731": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "732": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "onProgress" - }, - "733": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type" - }, - "734": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type" - }, - "735": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "progress" - }, - "736": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useRevealLazyMint" - }, - "737": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "useRevealLazyMint" - }, - "738": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "TContract" - }, - "739": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "contract" - }, - "740": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type" - }, - "741": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type.receipt" - }, - "742": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type.data" - }, - "743": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type" - }, - "744": { - "sourceFileName": "../react-core/src/evm/hooks/async/drop.ts", - "qualifiedName": "__type" - }, - "745": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useListing" - }, - "746": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useListing" - }, - "747": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "748": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "listingId" - }, - "749": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useDirectListing" - }, - "750": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useDirectListing" - }, - "751": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "752": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "listingId" - }, - "753": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useEnglishAuction" - }, - "754": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useEnglishAuction" - }, - "755": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "756": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "auctionId" - }, - "757": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useListings" - }, - "758": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useListings" - }, - "759": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "760": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "filter" - }, - "761": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useDirectListings" - }, - "762": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useDirectListings" - }, - "763": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "764": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "filter" - }, - "765": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useValidDirectListings" - }, - "766": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useValidDirectListings" - }, - "767": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "768": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "filter" - }, - "769": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useEnglishAuctions" - }, - "770": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useEnglishAuctions" - }, - "771": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "772": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "filter" - }, - "773": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useValidEnglishAuctions" - }, - "774": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useValidEnglishAuctions" - }, - "775": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "776": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "filter" - }, - "777": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useListingsCount" - }, - "778": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useListingsCount" - }, - "779": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "780": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useDirectListingsCount" - }, - "781": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useDirectListingsCount" - }, - "782": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "783": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useEnglishAuctionsCount" - }, - "784": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useEnglishAuctionsCount" - }, - "785": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "786": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useActiveListings" - }, - "787": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useActiveListings" - }, - "788": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "789": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "filter" - }, - "790": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useWinningBid" - }, - "791": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useWinningBid" - }, - "792": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "793": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "listingId" - }, - "794": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useEnglishAuctionWinningBid" - }, - "795": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useEnglishAuctionWinningBid" - }, - "796": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "797": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "auctionId" - }, - "798": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useAuctionWinner" - }, - "799": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useAuctionWinner" - }, - "800": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "801": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "listingId" - }, - "802": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useBidBuffer" - }, - "803": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useBidBuffer" - }, - "804": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "805": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "listingId" - }, - "806": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useMinimumNextBid" - }, - "807": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useMinimumNextBid" - }, - "808": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "809": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "listingId" - }, - "810": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCreateDirectListing" - }, - "811": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCreateDirectListing" - }, - "812": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "TMarketplace" - }, - "813": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "814": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "815": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.tokenId" - }, - "816": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.pricePerToken" - }, - "817": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.assetContractAddress" - }, - "818": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.quantity" - }, - "819": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.currencyContractAddress" - }, - "820": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.startTimestamp" - }, - "821": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.endTimestamp" - }, - "822": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isReservedListing" - }, - "823": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCreateAuctionListing" - }, - "824": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCreateAuctionListing" - }, - "825": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "TMarketplace" - }, - "826": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "827": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "828": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.tokenId" - }, - "829": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.minimumBidAmount" - }, - "830": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.buyoutBidAmount" - }, - "831": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.assetContractAddress" - }, - "832": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.quantity" - }, - "833": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.currencyContractAddress" - }, - "834": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.timeBufferInSeconds" - }, - "835": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.bidBufferBps" - }, - "836": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.startTimestamp" - }, - "837": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.endTimestamp" - }, - "838": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCancelListing" - }, - "839": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCancelListing" - }, - "840": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "841": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "842": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "843": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "844": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "845": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "846": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCancelDirectListing" - }, - "847": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCancelDirectListing" - }, - "848": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "849": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "850": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "851": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "852": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "853": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "854": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCancelEnglishAuction" - }, - "855": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useCancelEnglishAuction" - }, - "856": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "857": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "858": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "859": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "860": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "861": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "862": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useMakeBid" - }, - "863": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useMakeBid" - }, - "864": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "865": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "866": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "867": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "868": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "869": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "870": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useMakeOffer" - }, - "871": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useMakeOffer" - }, - "872": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "873": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "874": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "875": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "876": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "877": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "878": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useAcceptDirectListingOffer" - }, - "879": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useAcceptDirectListingOffer" - }, - "880": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "881": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "882": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "883": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "884": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "885": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "886": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useExecuteAuctionSale" - }, - "887": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useExecuteAuctionSale" - }, - "888": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "889": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "890": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "891": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "892": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "893": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "894": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useOffers" - }, - "895": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useOffers" - }, - "896": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "897": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "listingId" - }, - "898": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "899": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "900": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.error" - }, - "901": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isError" - }, - "902": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isLoading" - }, - "903": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isLoadingError" - }, - "904": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isRefetchError" - }, - "905": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isSuccess" - }, - "906": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.status" - }, - "907": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.dataUpdatedAt" - }, - "908": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.errorUpdatedAt" - }, - "909": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.failureCount" - }, - "910": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.failureReason" - }, - "911": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.errorUpdateCount" - }, - "912": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetched" - }, - "913": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetchedAfterMount" - }, - "914": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetching" - }, - "915": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isInitialLoading" - }, - "916": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPaused" - }, - "917": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPlaceholderData" - }, - "918": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPreviousData" - }, - "919": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isRefetching" - }, - "920": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isStale" - }, - "921": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.refetch" - }, - "922": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "923": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "924": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "options" - }, - "925": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "TPageData" - }, - "926": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.remove" - }, - "927": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "928": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "929": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.fetchStatus" - }, - "930": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "931": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "932": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.error" - }, - "933": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isError" - }, - "934": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isLoading" - }, - "935": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isLoadingError" - }, - "936": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isRefetchError" - }, - "937": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isSuccess" - }, - "938": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.status" - }, - "939": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.dataUpdatedAt" - }, - "940": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.errorUpdatedAt" - }, - "941": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.failureCount" - }, - "942": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.failureReason" - }, - "943": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.errorUpdateCount" - }, - "944": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetched" - }, - "945": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetchedAfterMount" - }, - "946": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetching" - }, - "947": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isInitialLoading" - }, - "948": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPaused" - }, - "949": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPlaceholderData" - }, - "950": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPreviousData" - }, - "951": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isRefetching" - }, - "952": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isStale" - }, - "953": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.refetch" - }, - "954": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "955": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "956": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "options" - }, - "957": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "TPageData" - }, - "958": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.remove" - }, - "959": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "960": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "961": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.fetchStatus" - }, - "962": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "963": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "964": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.error" - }, - "965": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isError" - }, - "966": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isLoading" - }, - "967": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isLoadingError" - }, - "968": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isRefetchError" - }, - "969": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isSuccess" - }, - "970": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.status" - }, - "971": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.dataUpdatedAt" - }, - "972": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.errorUpdatedAt" - }, - "973": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.failureCount" - }, - "974": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.failureReason" - }, - "975": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.errorUpdateCount" - }, - "976": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetched" - }, - "977": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetchedAfterMount" - }, - "978": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetching" - }, - "979": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isInitialLoading" - }, - "980": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPaused" - }, - "981": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPlaceholderData" - }, - "982": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPreviousData" - }, - "983": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isRefetching" - }, - "984": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isStale" - }, - "985": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.refetch" - }, - "986": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "987": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "988": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "options" - }, - "989": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "TPageData" - }, - "990": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.remove" - }, - "991": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "992": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "993": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.fetchStatus" - }, - "994": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "995": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "996": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.error" - }, - "997": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isError" - }, - "998": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isLoading" - }, - "999": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isLoadingError" - }, - "1000": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isRefetchError" - }, - "1001": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isSuccess" - }, - "1002": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.status" - }, - "1003": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.dataUpdatedAt" - }, - "1004": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.errorUpdatedAt" - }, - "1005": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.failureCount" - }, - "1006": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.failureReason" - }, - "1007": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.errorUpdateCount" - }, - "1008": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetched" - }, - "1009": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetchedAfterMount" - }, - "1010": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isFetching" - }, - "1011": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isInitialLoading" - }, - "1012": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPaused" - }, - "1013": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPlaceholderData" - }, - "1014": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isPreviousData" - }, - "1015": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isRefetching" - }, - "1016": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.isStale" - }, - "1017": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.refetch" - }, - "1018": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1019": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1020": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "options" - }, - "1021": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "TPageData" - }, - "1022": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.remove" - }, - "1023": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1024": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1025": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.fetchStatus" - }, - "1026": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useBuyNow" - }, - "1027": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useBuyNow" - }, - "1028": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "1029": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1030": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "1031": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "1032": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1033": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1034": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useBuyDirectListing" - }, - "1035": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "useBuyDirectListing" - }, - "1036": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "contract" - }, - "1037": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1038": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.receipt" - }, - "1039": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type.data" - }, - "1040": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1041": { - "sourceFileName": "../react-core/src/evm/hooks/async/marketplace.ts", - "qualifiedName": "__type" - }, - "1042": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useNFT" - }, - "1043": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useNFT" - }, - "1044": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "TContract" - }, - "1045": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1046": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "tokenId" - }, - "1047": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useNFTs" - }, - "1048": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useNFTs" - }, - "1049": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "TContract" - }, - "1050": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1051": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "queryParams" - }, - "1052": { - "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", - "qualifiedName": "__type" - }, - "1053": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useTotalCount" - }, - "1054": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useTotalCount" - }, - "1055": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "TContract" - }, - "1056": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1057": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useTotalCirculatingSupply" - }, - "1058": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useTotalCirculatingSupply" - }, - "1059": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1060": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "tokenId" - }, - "1061": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useOwnedNFTs" - }, - "1062": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useOwnedNFTs" - }, - "1063": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "TContract" - }, - "1064": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1065": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "ownerWalletAddress" - }, - "1066": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "queryParams" - }, - "1067": { - "sourceFileName": "../sdk/src/core/schema/QueryParams.ts", - "qualifiedName": "__type" - }, - "1068": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useNFTBalance" - }, - "1069": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useNFTBalance" - }, - "1070": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1071": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "ownerWalletAddress" - }, - "1072": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "tokenId" - }, - "1073": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useMintNFT" - }, - "1074": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useMintNFT" - }, - "1075": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "TContract" - }, - "1076": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1077": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useMintNFTSupply" - }, - "1078": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useMintNFTSupply" - }, - "1079": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1080": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useTransferNFT" - }, - "1081": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useTransferNFT" - }, - "1082": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "TContract" - }, - "1083": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1084": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1085": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.receipt" - }, - "1086": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.data" - }, - "1087": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1088": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1089": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useAirdropNFT" - }, - "1090": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useAirdropNFT" - }, - "1091": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1092": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1093": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.receipt" - }, - "1094": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.data" - }, - "1095": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1096": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1097": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useBurnNFT" - }, - "1098": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useBurnNFT" - }, - "1099": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "TContract" - }, - "1100": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1101": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1102": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.receipt" - }, - "1103": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.data" - }, - "1104": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1105": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1106": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useSharedMetadata" - }, - "1107": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useSharedMetadata" - }, - "1108": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1109": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useSetSharedMetadata" - }, - "1110": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "useSetSharedMetadata" - }, - "1111": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "TContract" - }, - "1112": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "contract" - }, - "1113": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1114": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.receipt" - }, - "1115": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.data" - }, - "1116": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1117": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1118": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type" - }, - "1119": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.name" - }, - "1120": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.description" - }, - "1121": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.image" - }, - "1122": { - "sourceFileName": "../react-core/src/evm/hooks/async/nft.ts", - "qualifiedName": "__type.animation_url" - }, - "1123": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useAllRoleMembers" - }, - "1124": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useAllRoleMembers" - }, - "1125": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "TContract" - }, - "1126": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "contract" - }, - "1127": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useRoleMembers" - }, - "1128": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useRoleMembers" - }, - "1129": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "TContract" - }, - "1130": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "contract" - }, - "1131": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "role" - }, - "1132": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useIsAddressRole" - }, - "1133": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useIsAddressRole" - }, - "1134": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "TContract" - }, - "1135": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "contract" - }, - "1136": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "role" - }, - "1137": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "walletAddress" - }, - "1138": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useSetAllRoleMembers" - }, - "1139": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useSetAllRoleMembers" - }, - "1140": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "TContract" - }, - "1141": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "contract" - }, - "1142": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useGrantRole" - }, - "1143": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useGrantRole" - }, - "1144": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "TContract" - }, - "1145": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "contract" - }, - "1146": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useRevokeRole" - }, - "1147": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "useRevokeRole" - }, - "1148": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "TContract" - }, - "1149": { - "sourceFileName": "../react-core/src/evm/hooks/async/roles.ts", - "qualifiedName": "contract" - }, - "1154": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTokenSupply" - }, - "1155": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTokenSupply" - }, - "1156": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "contract" - }, - "1157": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTokenBalance" - }, - "1158": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTokenBalance" - }, - "1159": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "contract" - }, - "1160": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "walletAddress" - }, - "1161": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTokenDecimals" - }, - "1162": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTokenDecimals" - }, - "1163": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "contract" - }, - "1164": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useMintToken" - }, - "1165": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useMintToken" - }, - "1166": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "contract" - }, - "1167": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1168": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.receipt" - }, - "1169": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.data" - }, - "1170": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1171": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1172": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useClaimToken" - }, - "1173": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useClaimToken" - }, - "1174": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "contract" - }, - "1175": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1176": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.receipt" - }, - "1177": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.data" - }, - "1178": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1179": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1180": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTransferToken" - }, - "1181": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTransferToken" - }, - "1182": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "contract" - }, - "1183": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1184": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.receipt" - }, - "1185": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.data" - }, - "1186": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1187": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1188": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTransferBatchToken" - }, - "1189": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useTransferBatchToken" - }, - "1190": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "contract" - }, - "1191": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1192": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.receipt" - }, - "1193": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.data" - }, - "1194": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1195": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1196": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useBurnToken" - }, - "1197": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "useBurnToken" - }, - "1198": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "contract" - }, - "1199": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1200": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.receipt" - }, - "1201": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type.data" - }, - "1202": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1203": { - "sourceFileName": "../react-core/src/evm/hooks/async/token.ts", - "qualifiedName": "__type" - }, - "1204": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "useIsAccountDeployed" - }, - "1205": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "useIsAccountDeployed" - }, - "1206": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "contract" - }, - "1207": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "admin" - }, - "1208": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "extraData" - }, - "1209": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "useAccounts" - }, - "1210": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "useAccounts" - }, - "1211": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "contract" - }, - "1212": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "useCreateAccount" - }, - "1213": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "useCreateAccount" - }, - "1214": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "contract" - }, - "1215": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "useAccountsForAddress" - }, - "1216": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "useAccountsForAddress" - }, - "1217": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "contract" - }, - "1218": { - "sourceFileName": "../react-core/src/evm/hooks/async/account-factory.ts", - "qualifiedName": "address" - }, - "1219": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useAccountSigners" - }, - "1220": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useAccountSigners" - }, - "1221": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "contract" - }, - "1222": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useAddAdmin" - }, - "1223": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useAddAdmin" - }, - "1224": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useRemoveAdmin" - }, - "1225": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useRemoveAdmin" - }, - "1226": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useCreateSessionKey" - }, - "1227": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useCreateSessionKey" - }, - "1228": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useRevokeSessionKey" - }, - "1229": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useRevokeSessionKey" - }, - "1230": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useAccountAdmins" - }, - "1231": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useAccountAdmins" - }, - "1232": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "contract" - }, - "1233": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useAccountAdminsAndSigners" - }, - "1234": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "useAccountAdminsAndSigners" - }, - "1235": { - "sourceFileName": "../react-core/src/evm/hooks/async/account.ts", - "qualifiedName": "contract" - }, - "1236": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", - "qualifiedName": "useLogin" - }, - "1237": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", - "qualifiedName": "useLogin" - }, - "1238": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", - "qualifiedName": "__type" - }, - "1239": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", - "qualifiedName": "__type.login" - }, - "1240": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", - "qualifiedName": "__type" - }, - "1241": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", - "qualifiedName": "__type" - }, - "1242": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogin.ts", - "qualifiedName": "__type.isLoading" - }, - "1243": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", - "qualifiedName": "useLogout" - }, - "1244": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", - "qualifiedName": "useLogout" - }, - "1245": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", - "qualifiedName": "__type" - }, - "1246": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", - "qualifiedName": "__type.logout" - }, - "1247": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useLogout.ts", - "qualifiedName": "__type.isLoading" - }, - "1248": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "useUser" - }, - "1249": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "useUser" - }, - "1250": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "TData" - }, - "1251": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "TContext" - }, - "1252": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "__type" - }, - "1253": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "__type.user" - }, - "1254": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "__type.isLoggedIn" - }, - "1255": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "__type.isLoading" - }, - "1256": { - "sourceFileName": "../react-core/src/evm/hooks/auth/index.ts", - "qualifiedName": "useAuth" - }, - "1257": { - "sourceFileName": "../react-core/src/evm/hooks/auth/index.ts", - "qualifiedName": "useAuth" - }, - "1258": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", - "qualifiedName": "useSwitchAccount" - }, - "1259": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", - "qualifiedName": "useSwitchAccount" - }, - "1260": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", - "qualifiedName": "__type" - }, - "1261": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", - "qualifiedName": "__type.switchAccount" - }, - "1262": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useSwitchAccount.ts", - "qualifiedName": "__type.isLoading" - }, - "1263": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "UserWithData" - }, - "1264": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "UserWithData.data" - }, - "1265": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "__type.address" - }, - "1266": { - "sourceFileName": "../auth/src/core/schema/common.ts", - "qualifiedName": "__type.session" - }, - "1267": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "UserWithData.TData" - }, - "1268": { - "sourceFileName": "../react-core/src/evm/hooks/auth/useUser.ts", - "qualifiedName": "UserWithData.TContext" - }, - "1269": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useEditionDrop.ts", - "qualifiedName": "useEditionDrop" - }, - "1270": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useEditionDrop.ts", - "qualifiedName": "useEditionDrop" - }, - "1271": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useEditionDrop.ts", - "qualifiedName": "contractAddress" - }, - "1272": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useEdition.ts", - "qualifiedName": "useEdition" - }, - "1273": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useEdition.ts", - "qualifiedName": "useEdition" - }, - "1274": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useEdition.ts", - "qualifiedName": "contractAddress" - }, - "1275": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTDrop.ts", - "qualifiedName": "useNFTDrop" - }, - "1276": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTDrop.ts", - "qualifiedName": "useNFTDrop" - }, - "1277": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTDrop.ts", - "qualifiedName": "contractAddress" - }, - "1278": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useMarketplace.ts", - "qualifiedName": "useMarketplace" - }, - "1279": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useMarketplace.ts", - "qualifiedName": "useMarketplace" - }, - "1280": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useMarketplace.ts", - "qualifiedName": "contractAddress" - }, - "1281": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTCollection.ts", - "qualifiedName": "useNFTCollection" - }, - "1282": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTCollection.ts", - "qualifiedName": "useNFTCollection" - }, - "1283": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useNFTCollection.ts", - "qualifiedName": "contractAddress" - }, - "1284": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/usePack.ts", - "qualifiedName": "usePack" - }, - "1285": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/usePack.ts", - "qualifiedName": "usePack" - }, - "1286": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/usePack.ts", - "qualifiedName": "contractAddress" - }, - "1287": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useToken.ts", - "qualifiedName": "useToken" - }, - "1288": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useToken.ts", - "qualifiedName": "useToken" - }, - "1289": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useToken.ts", - "qualifiedName": "contractAddress" - }, - "1290": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useTokenDrop.ts", - "qualifiedName": "useTokenDrop" - }, - "1291": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useTokenDrop.ts", - "qualifiedName": "useTokenDrop" - }, - "1292": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useTokenDrop.ts", - "qualifiedName": "contractAddress" - }, - "1293": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useVote.ts", - "qualifiedName": "useVote" - }, - "1294": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useVote.ts", - "qualifiedName": "useVote" - }, - "1295": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useVote.ts", - "qualifiedName": "contractAddress" - }, - "1296": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useSplit.ts", - "qualifiedName": "useSplit" - }, - "1297": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useSplit.ts", - "qualifiedName": "useSplit" - }, - "1298": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useSplit.ts", - "qualifiedName": "contractAddress" - }, - "1299": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useMultiwrap.ts", - "qualifiedName": "useMultiwrap" - }, - "1300": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useMultiwrap.ts", - "qualifiedName": "useMultiwrap" - }, - "1301": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useMultiwrap.ts", - "qualifiedName": "contractAddress" - }, - "1302": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useSignatureDrop.ts", - "qualifiedName": "useSignatureDrop" - }, - "1303": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useSignatureDrop.ts", - "qualifiedName": "useSignatureDrop" - }, - "1304": { - "sourceFileName": "../react-core/src/evm/hooks/contracts/useSignatureDrop.ts", - "qualifiedName": "contractAddress" - }, - "1305": { - "sourceFileName": "../react-core/src/evm/hooks/storage/useStorageUpload.ts", - "qualifiedName": "useStorageUpload" - }, - "1306": { - "sourceFileName": "../react-core/src/evm/hooks/storage/useStorageUpload.ts", - "qualifiedName": "useStorageUpload" - }, - "1307": { - "sourceFileName": "../react-core/src/evm/hooks/storage/useStorageUpload.ts", - "qualifiedName": "T" - }, - "1308": { - "sourceFileName": "../react-core/src/evm/hooks/storage/useStorageUpload.ts", - "qualifiedName": "uploadOptions" - }, - "1309": { - "sourceFileName": "../react-core/src/evm/hooks/storage/index.ts", - "qualifiedName": "useStorage" - }, - "1310": { - "sourceFileName": "../react-core/src/evm/hooks/storage/index.ts", - "qualifiedName": "useStorage" - }, - "1311": { - "sourceFileName": "../react-core/src/evm/hooks/useNetworkMismatch.ts", - "qualifiedName": "useNetworkMismatch" - }, - "1312": { - "sourceFileName": "../react-core/src/evm/hooks/useNetworkMismatch.ts", - "qualifiedName": "useNetworkMismatch" - }, - "1321": { - "sourceFileName": "../react-core/src/evm/hooks/useSupportedChains.ts", - "qualifiedName": "useSupportedChains" - }, - "1322": { - "sourceFileName": "../react-core/src/evm/hooks/useSupportedChains.ts", - "qualifiedName": "useSupportedChains" - }, - "1323": { - "sourceFileName": "../react-core/src/evm/hooks/useSupportedWallet.ts", - "qualifiedName": "useSupportedWallet" - }, - "1324": { - "sourceFileName": "../react-core/src/evm/hooks/useSupportedWallet.ts", - "qualifiedName": "useSupportedWallet" - }, - "1325": { - "sourceFileName": "../react-core/src/evm/hooks/useSupportedWallet.ts", - "qualifiedName": "id" - }, - "1326": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "useAppURI" - }, - "1327": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "useAppURI" - }, - "1328": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "TContract" - }, - "1329": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "contract" - }, - "1330": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "useSetAppURI" - }, - "1331": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "useSetAppURI" - }, - "1332": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "contract" - }, - "1333": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "__type" - }, - "1334": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "__type.receipt" - }, - "1335": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "__type.data" - }, - "1336": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "__type" - }, - "1337": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "__type" - }, - "1338": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "__type" - }, - "1339": { - "sourceFileName": "../react-core/src/evm/hooks/async/app.ts", - "qualifiedName": "__type.uri" - }, - "1340": { - "sourceFileName": "../react-core/src/evm/hooks/useENS.ts", - "qualifiedName": "useENS" - }, - "1341": { - "sourceFileName": "../react-core/src/evm/hooks/useENS.ts", - "qualifiedName": "useENS" - }, - "1342": { - "sourceFileName": "../react-core/src/evm/providers/thirdweb-sdk-provider.tsx", - "qualifiedName": "ThirdwebSDKProvider" - }, - "1343": { - "sourceFileName": "../react-core/src/evm/providers/thirdweb-sdk-provider.tsx", - "qualifiedName": "ThirdwebSDKProvider" - }, - "1344": { - "sourceFileName": "../react-core/src/evm/providers/thirdweb-sdk-provider.tsx", - "qualifiedName": "TChains" - }, - "1345": { - "sourceFileName": "../react-core/src/evm/providers/thirdweb-sdk-provider.tsx", - "qualifiedName": "__0" - }, - "1346": { - "sourceFileName": "../react-core/src/evm/hooks/useSDK.ts", - "qualifiedName": "useSDK" - }, - "1347": { - "sourceFileName": "../react-core/src/evm/hooks/useSDK.ts", - "qualifiedName": "useSDK" - }, - "1350": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps" - }, - "1351": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.supportedChains" - }, - "1352": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.signer" - }, - "1353": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.sdkOptions" - }, - "1354": { - "sourceFileName": "../sdk/src/evm/schema/sdk-options.ts", - "qualifiedName": "__type" - }, - "1355": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.storageInterface" - }, - "1356": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.authConfig" - }, - "1357": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.activeChain" - }, - "1358": { - "sourceFileName": "\u0000", - "qualifiedName": "__type" - }, - "1359": { - "sourceFileName": "\u0000", - "qualifiedName": "__type" - }, - "1360": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.clientId" - }, - "1361": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.secretKey" - }, - "1362": { - "sourceFileName": "../react-core/src/core/providers/query-client.tsx", - "qualifiedName": "QueryClientProviderProps.queryClient" - }, - "1363": { - "sourceFileName": "../react-core/src/evm/providers/types.ts", - "qualifiedName": "ThirdwebSDKProviderProps.TChains" - }, - "1369": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "Chain" - }, - "1370": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1371": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.id" - }, - "1372": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.name" - }, - "1373": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.nativeCurrency" - }, - "1374": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.rpcUrls" - }, - "1375": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.blockExplorers" - }, - "1376": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1377": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.name" - }, - "1378": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.url" - }, - "1379": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.testnet" - }, - "1380": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "WalletAddress" - }, - "1381": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "TokenParams" - }, - "1382": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1383": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.to" - }, - "1384": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.amount" - }, - "1385": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "TokenBurnParams" - }, - "1386": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1387": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.amount" - }, - "1388": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "NFTContract" - }, - "1389": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "TokenContract" - }, - "1390": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "Erc721OrErc1155" - }, - "1391": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "TransferNFTParams" - }, - "1392": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1393": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.to" - }, - "1394": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.tokenId" - }, - "1395": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.amount" - }, - "1396": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "AirdropNFTParams" - }, - "1397": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1398": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.tokenId" - }, - "1399": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.addresses" - }, - "1400": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "MintNFTSupplyParams" - }, - "1401": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1402": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.tokenId" - }, - "1403": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.additionalSupply" - }, - "1404": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.to" - }, - "1405": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "MintNFTParams" - }, - "1406": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1407": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.metadata" - }, - "1408": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.to" - }, - "1409": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.supply" - }, - "1410": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "MintNFTReturnType" - }, - "1411": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "TContract" - }, - "1412": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "BurnNFTParams" - }, - "1413": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1414": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.tokenId" - }, - "1415": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.amount" - }, - "1416": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "DropContract" - }, - "1417": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "RevealableContract" - }, - "1418": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "DelayedRevealLazyMintInput" - }, - "1419": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1420": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.placeholder" - }, - "1421": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.metadatas" - }, - "1422": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.password" - }, - "1423": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "RevealLazyMintInput" - }, - "1424": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1425": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.batchId" - }, - "1426": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.password" - }, - "1427": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "ClaimNFTParams" - }, - "1428": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1429": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.to" - }, - "1430": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.quantity" - }, - "1431": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.options" - }, - "1432": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.tokenId" - }, - "1433": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "ClaimNFTReturnType" - }, - "1434": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "MakeBidParams" - }, - "1435": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1436": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.listingId" - }, - "1437": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.bid" - }, - "1438": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "MakeOfferParams" - }, - "1439": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1440": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.listingId" - }, - "1441": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.pricePerToken" - }, - "1442": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.quantity" - }, - "1443": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "AcceptDirectOffer" - }, - "1444": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1445": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.listingId" - }, - "1446": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.addressOfOfferor" - }, - "1447": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "ExecuteAuctionSale" - }, - "1448": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1449": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.listingId" - }, - "1450": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "BuyNowParams" - }, - "1451": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1452": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.id" - }, - "1453": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.type" - }, - "1454": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.buyAmount" - }, - "1455": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.buyForWallet" - }, - "1456": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1457": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.id" - }, - "1458": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.type" - }, - "1459": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "TListingType" - }, - "1460": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "ClaimTokenParams" - }, - "1461": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1462": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.to" - }, - "1463": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.amount" - }, - "1464": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.checkERC20Allowance" - }, - "1465": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "getErcs" - }, - "1466": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "getErcs" - }, - "1467": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "contract" - }, - "1468": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type" - }, - "1469": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.erc1155" - }, - "1470": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.erc721" - }, - "1471": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "__type.erc20" - }, - "1472": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "getErc1155" - }, - "1473": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "getErc1155" - }, - "1474": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "contract" - }, - "1475": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "getErc721" - }, - "1476": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "getErc721" - }, - "1477": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "contract" - }, - "1478": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "getErc20" - }, - "1479": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "getErc20" - }, - "1480": { - "sourceFileName": "../react-core/src/evm/types.ts", - "qualifiedName": "contract" - }, - "1481": { - "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", - "qualifiedName": "useWatchTransactions" - }, - "1482": { - "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", - "qualifiedName": "useWatchTransactions" - }, - "1483": { - "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", - "qualifiedName": "watchTransactionParams" - }, - "1484": { - "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", - "qualifiedName": "UseWatchTransactionsParams" - }, - "1485": { - "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", - "qualifiedName": "__type" - }, - "1486": { - "sourceFileName": "../react-core/src/evm/hooks/useTransactions.ts", - "qualifiedName": "__type.limit" - } - } -} \ No newline at end of file diff --git a/packages/react/typedoc/functions/ConnectModalInline.html b/packages/react/typedoc/functions/ConnectModalInline.html deleted file mode 100644 index 91398084ee2..00000000000 --- a/packages/react/typedoc/functions/ConnectModalInline.html +++ /dev/null @@ -1,72 +0,0 @@ -ConnectModalInline | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ConnectModalInline

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/ConnectWallet.html b/packages/react/typedoc/functions/ConnectWallet.html deleted file mode 100644 index 3f71e25b328..00000000000 --- a/packages/react/typedoc/functions/ConnectWallet.html +++ /dev/null @@ -1,78 +0,0 @@ -ConnectWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ConnectWallet

            -
            -
              - -
            • -

              A component that allows the user to connect their wallet.

              -

              The button must be descendant of ThirdwebProvider in order to function.

              -
              -
              -

              Parameters

              -
              -

              Returns ReactNode

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/MediaRenderer.html b/packages/react/typedoc/functions/MediaRenderer.html deleted file mode 100644 index 65187607ac1..00000000000 --- a/packages/react/typedoc/functions/MediaRenderer.html +++ /dev/null @@ -1,84 +0,0 @@ -MediaRenderer | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function MediaRenderer

            -
            -
              - -
            • -

              This component can be used to render any media type, including image, audio, video, and html files. -Its convenient for rendering NFT media files, as these can be a variety of different types. -The component falls back to a external link if the media type is not supported. -The default size is 300px by 300px, but this can be changed using the width and height props.

              -

              Props: MediaRendererProps

              -
              -
              -

              Parameters

              -
              -

              Returns ReactNode

              -
              -

              Example

              We can take a video file hosted on IPFS and render it using this component as follows

              -
              const Component = () => {
              return <MediaRenderer
              src="ipfs://Qmb9ZV5yznE4C4YvyJe8DVFv1LSVkebdekY6HjLVaKmHZi"
              alt="A mp4 video"
              />
              } -
              -

              You can try switching out the src prop to different types of URLs and media types to explore the possibilities.

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/NetworkSelector.html b/packages/react/typedoc/functions/NetworkSelector.html deleted file mode 100644 index e435bfbce4e..00000000000 --- a/packages/react/typedoc/functions/NetworkSelector.html +++ /dev/null @@ -1,74 +0,0 @@ -NetworkSelector | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function NetworkSelector

            -
            -
              - -
            • -
              -

              Parameters

              -
              -

              Returns ReactNode

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebAuthProvider.html b/packages/react/typedoc/functions/ThirdwebAuthProvider.html deleted file mode 100644 index 43d885bb547..00000000000 --- a/packages/react/typedoc/functions/ThirdwebAuthProvider.html +++ /dev/null @@ -1,74 +0,0 @@ -ThirdwebAuthProvider | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ThirdwebAuthProvider

            -
            -
              - -
            • -
              -

              Parameters

              -
                -
              • -
                props: PropsWithChildren<{
                    value?: ThirdwebAuthConfig;
                }>
              • -
              • -
                Optional context: any
              -

              Returns ReactNode

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebConfigProvider.html b/packages/react/typedoc/functions/ThirdwebConfigProvider.html deleted file mode 100644 index f28005dc356..00000000000 --- a/packages/react/typedoc/functions/ThirdwebConfigProvider.html +++ /dev/null @@ -1,74 +0,0 @@ -ThirdwebConfigProvider | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ThirdwebConfigProvider

            -
            -
              - -
            • -
              -

              Parameters

              -
                -
              • -
                props: PropsWithChildren<{
                    value: ThirdwebConfigContext;
                }>
              • -
              • -
                Optional context: any
              -

              Returns ReactNode

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebConnectedWalletProvider.html b/packages/react/typedoc/functions/ThirdwebConnectedWalletProvider.html deleted file mode 100644 index 9fedf0349af..00000000000 --- a/packages/react/typedoc/functions/ThirdwebConnectedWalletProvider.html +++ /dev/null @@ -1,74 +0,0 @@ -ThirdwebConnectedWalletProvider | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ThirdwebConnectedWalletProvider

            -
            -
              - -
            • -
              -

              Parameters

              -
                -
              • -
                props: PropsWithChildren<{
                    signer?: Signer;
                }>
              • -
              • -
                Optional context: any
              -

              Returns ReactNode

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebNftMedia.html b/packages/react/typedoc/functions/ThirdwebNftMedia.html deleted file mode 100644 index ba464b9f0a0..00000000000 --- a/packages/react/typedoc/functions/ThirdwebNftMedia.html +++ /dev/null @@ -1,81 +0,0 @@ -ThirdwebNftMedia | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ThirdwebNftMedia

            -
            -
              - -
            • -

              This component can be used to render NFTs from the thirdweb SDK. -It will render the animation_url if it exists, otherwise it will render the image. -The default size is 300px by 300px, but this can be changed using the width and height props.

              -

              Props: ThirdwebNftMediaProps

              -
              -
              -

              Parameters

              -
              -

              Returns ReactNode

              -
              -

              Example

              import { ThirdwebNftMedia, useContract, useNFT } from "@thirdweb-dev/react";
              export default function NFTCollectionRender() {
              const { contract } = useContract(<your-contract-address>);
              const { data: nft, isLoading } = useNFT(contract, 0);

              return (
              <div>
              {!isLoading && nft ? (
              <ThirdwebNftMedia metadata={nft.metadata} />
              ) : (
              <p>Loading...</p>
              )}
              </div>
              );
              } -
              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebProvider.html b/packages/react/typedoc/functions/ThirdwebProvider.html deleted file mode 100644 index 423a0f991d7..00000000000 --- a/packages/react/typedoc/functions/ThirdwebProvider.html +++ /dev/null @@ -1,85 +0,0 @@ -ThirdwebProvider | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ThirdwebProvider

            -
            -
              - -
            • -

              The <ThirdwebProvider /> component lets you control what networks you want users to connect to, -what types of wallets can connect to your app, and the settings for the Thirdweb SDK.

              -
              -
              -

              Type Parameters

              -
                -
              • -

                TChains extends Chain[] = ({} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {} | {})[]

              -
              -

              Parameters

              -
                -
              • -
                __namedParameters: PropsWithChildren<ThirdwebProviderProps<TChains>>
              -

              Returns Element

              -
              -

              Example

              You can wrap your application with the provider as follows:

              -
              import { ThirdwebProvider } from "@thirdweb-dev/react";

              const App = () => {
              return (
              <ThirdwebProvider>
              <YourApp />
              </ThirdwebProvider>
              );
              }; -
              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebProviderCore.html b/packages/react/typedoc/functions/ThirdwebProviderCore.html deleted file mode 100644 index a9fbfaca471..00000000000 --- a/packages/react/typedoc/functions/ThirdwebProviderCore.html +++ /dev/null @@ -1,77 +0,0 @@ -ThirdwebProviderCore | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ThirdwebProviderCore

            -
            -
              - -
            • -
              -

              Type Parameters

              -
                -
              • -

                TChains extends Chain[]

              -
              -

              Parameters

              -
              -

              Returns Element

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/ThirdwebSDKProvider.html b/packages/react/typedoc/functions/ThirdwebSDKProvider.html deleted file mode 100644 index 54a4593d834..00000000000 --- a/packages/react/typedoc/functions/ThirdwebSDKProvider.html +++ /dev/null @@ -1,83 +0,0 @@ -ThirdwebSDKProvider | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function ThirdwebSDKProvider

            -
            -
              - -
            • -

              A basic wrapper around the Thirdweb SDK.

              -

              You can use this in order to be able to pass a provider & signer directly to the SDK.

              -
              -
              -

              Type Parameters

              -
                -
              • -

                TChains extends Chain[]

              -
              -

              Parameters

              -
              -

              Returns Element

              -
              -

              Remarks

              Utilizing this provider will mean hooks for wallet management are not available, if you need those please use the ThirdwebProvider instead.

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/Web3Button.html b/packages/react/typedoc/functions/Web3Button.html deleted file mode 100644 index c306304c209..00000000000 --- a/packages/react/typedoc/functions/Web3Button.html +++ /dev/null @@ -1,84 +0,0 @@ -Web3Button | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function Web3Button

            -
            -
              - -
            • Beta -

              A component that allows the user to call an on-chain function on a contract.

              -

              The button has to be wrapped in a ThirdwebProvider in order to function.

              -
              -
              -

              Type Parameters

              -
                -
              • -

                TAction extends ActionFn

              -
              -

              Parameters

              -
                -
              • -
                props: PropsWithChildren<Web3ButtonProps<TAction>>
              -

              Returns Element

              -
              -

              Example

              import { Web3Button } from "@thirdweb-dev/react";

              const App = () => {
              return (
              <div>
              <Web3Button contractAddress="0x..." action={(contract) => contract.erc721.transfer("0x...", 1)} />
              </div>
              )
              } -
              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/bloctoWallet.html b/packages/react/typedoc/functions/bloctoWallet.html deleted file mode 100644 index 49c5b5aec68..00000000000 --- a/packages/react/typedoc/functions/bloctoWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -bloctoWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function bloctoWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/coinbaseWallet.html b/packages/react/typedoc/functions/coinbaseWallet.html deleted file mode 100644 index c84b458f631..00000000000 --- a/packages/react/typedoc/functions/coinbaseWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -coinbaseWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function coinbaseWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/darkTheme.html b/packages/react/typedoc/functions/darkTheme.html deleted file mode 100644 index 79276b10e45..00000000000 --- a/packages/react/typedoc/functions/darkTheme.html +++ /dev/null @@ -1,72 +0,0 @@ -darkTheme | @thirdweb-dev/react
            -
            - -
            - -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/embeddedWallet.html b/packages/react/typedoc/functions/embeddedWallet.html deleted file mode 100644 index 34bc27fa41f..00000000000 --- a/packages/react/typedoc/functions/embeddedWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -embeddedWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function embeddedWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/frameWallet.html b/packages/react/typedoc/functions/frameWallet.html deleted file mode 100644 index 51b1fb4b605..00000000000 --- a/packages/react/typedoc/functions/frameWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -frameWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function frameWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/getErc1155.html b/packages/react/typedoc/functions/getErc1155.html deleted file mode 100644 index 6618c5e1774..00000000000 --- a/packages/react/typedoc/functions/getErc1155.html +++ /dev/null @@ -1,72 +0,0 @@ -getErc1155 | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function getErc1155

            -
            -
              - -
            • -
              -

              Parameters

              -
              -

              Returns Erc1155 | undefined

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/getErc20.html b/packages/react/typedoc/functions/getErc20.html deleted file mode 100644 index bd72b553fe8..00000000000 --- a/packages/react/typedoc/functions/getErc20.html +++ /dev/null @@ -1,72 +0,0 @@ -getErc20 | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function getErc20

            -
            -
              - -
            • -
              -

              Parameters

              -
              -

              Returns Erc20 | undefined

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/getErc721.html b/packages/react/typedoc/functions/getErc721.html deleted file mode 100644 index 7ba5eea42e6..00000000000 --- a/packages/react/typedoc/functions/getErc721.html +++ /dev/null @@ -1,72 +0,0 @@ -getErc721 | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function getErc721

            -
            -
              - -
            • -
              -

              Parameters

              -
              -

              Returns Erc721 | undefined

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/getErcs.html b/packages/react/typedoc/functions/getErcs.html deleted file mode 100644 index 084fe05a386..00000000000 --- a/packages/react/typedoc/functions/getErcs.html +++ /dev/null @@ -1,79 +0,0 @@ -getErcs | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function getErcs

            -
            -
              - -
            • -
              -

              Parameters

              -
              -

              Returns {
                  erc1155: Erc1155<BaseERC1155 | BaseSignatureMintERC1155> | undefined;
                  erc20: Erc20<BaseERC20 | BaseSignatureMintERC20> | undefined;
                  erc721: Erc721<BaseERC721> | undefined;
              }

              -
                -
              • -
                erc1155: Erc1155<BaseERC1155 | BaseSignatureMintERC1155> | undefined
              • -
              • -
                erc20: Erc20<BaseERC20 | BaseSignatureMintERC20> | undefined
              • -
              • -
                erc721: Erc721<BaseERC721> | undefined
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/lightTheme.html b/packages/react/typedoc/functions/lightTheme.html deleted file mode 100644 index fc1a5c357ed..00000000000 --- a/packages/react/typedoc/functions/lightTheme.html +++ /dev/null @@ -1,72 +0,0 @@ -lightTheme | @thirdweb-dev/react
            -
            - -
            - -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/localWallet.html b/packages/react/typedoc/functions/localWallet.html deleted file mode 100644 index 71acab29f20..00000000000 --- a/packages/react/typedoc/functions/localWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -localWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function localWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/magicLink.html b/packages/react/typedoc/functions/magicLink.html deleted file mode 100644 index ff71c99fd89..00000000000 --- a/packages/react/typedoc/functions/magicLink.html +++ /dev/null @@ -1,72 +0,0 @@ -magicLink | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function magicLink

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/metamaskWallet.html b/packages/react/typedoc/functions/metamaskWallet.html deleted file mode 100644 index 5edd52fa7ef..00000000000 --- a/packages/react/typedoc/functions/metamaskWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -metamaskWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function metamaskWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/paperWallet.html b/packages/react/typedoc/functions/paperWallet.html deleted file mode 100644 index e7f192958af..00000000000 --- a/packages/react/typedoc/functions/paperWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -paperWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function paperWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/phantomWallet.html b/packages/react/typedoc/functions/phantomWallet.html deleted file mode 100644 index 07d5eee9d0b..00000000000 --- a/packages/react/typedoc/functions/phantomWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -phantomWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function phantomWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/rainbowWallet.html b/packages/react/typedoc/functions/rainbowWallet.html deleted file mode 100644 index fae8da23c17..00000000000 --- a/packages/react/typedoc/functions/rainbowWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -rainbowWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function rainbowWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/resolveMimeType.html b/packages/react/typedoc/functions/resolveMimeType.html deleted file mode 100644 index 40d063dc0c7..00000000000 --- a/packages/react/typedoc/functions/resolveMimeType.html +++ /dev/null @@ -1,72 +0,0 @@ -resolveMimeType | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function resolveMimeType

            -
            -
              - -
            • -
              -

              Parameters

              -
                -
              • -
                Optional url: string
              -

              Returns Promise<string | undefined>

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/safeWallet.html b/packages/react/typedoc/functions/safeWallet.html deleted file mode 100644 index e6dfc4acd5b..00000000000 --- a/packages/react/typedoc/functions/safeWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -safeWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function safeWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/shouldNeverPersistQuery.html b/packages/react/typedoc/functions/shouldNeverPersistQuery.html deleted file mode 100644 index 02e9ade5089..00000000000 --- a/packages/react/typedoc/functions/shouldNeverPersistQuery.html +++ /dev/null @@ -1,77 +0,0 @@ -shouldNeverPersistQuery | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function shouldNeverPersistQuery

            -
            -
              - -
            • -
              -

              Type Parameters

              -
                -
              • -

                TKey extends QueryKey

              -
              -

              Parameters

              -
                -
              • -
                key: TKey
              -

              Returns boolean

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/smartWallet.html b/packages/react/typedoc/functions/smartWallet.html deleted file mode 100644 index 289144fc1d9..00000000000 --- a/packages/react/typedoc/functions/smartWallet.html +++ /dev/null @@ -1,74 +0,0 @@ -smartWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function smartWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/trustWallet.html b/packages/react/typedoc/functions/trustWallet.html deleted file mode 100644 index 7f8f5d70d0a..00000000000 --- a/packages/react/typedoc/functions/trustWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -trustWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function trustWallet

            -
            -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAcceptDirectListingOffer.html b/packages/react/typedoc/functions/useAcceptDirectListingOffer.html deleted file mode 100644 index f7780ce9631..00000000000 --- a/packages/react/typedoc/functions/useAcceptDirectListingOffer.html +++ /dev/null @@ -1,86 +0,0 @@ -useAcceptDirectListingOffer | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAcceptDirectListingOffer

            -
            -
              - -
            • -

              Accept a specific offer on a direct listing

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<Marketplace>
                -

                an instance of a Marketplace contract

                -
                -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, AcceptDirectOffer, unknown>

              a mutation object that can be used to accept an offer on a direct listing

              - -
              -

              Remarks

              will accept the latest offer by the given offeror.

              - -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: acceptOffer,
              isLoading,
              error,
              } = useAcceptDirectListingOffer(contract);

              if (error) {
              console.error("failed to accept offer", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => acceptOffer({ listingId: 1, addressOfOfferor: "{{wallet_address}}" })}
              >
              Accept offer
              </button>
              );
              }; -
              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccountAdmins.html b/packages/react/typedoc/functions/useAccountAdmins.html deleted file mode 100644 index a361aa344ee..00000000000 --- a/packages/react/typedoc/functions/useAccountAdmins.html +++ /dev/null @@ -1,86 +0,0 @@ -useAccountAdmins | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAccountAdmins

            -
            -
              - -
            • Beta -

              Get all admins of account

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<SmartContract<BaseContract>>
                -

                an instance of a account

                -
                -
              -

              Returns UseQueryResult<WalletAddress[]>

              a response object that includes an array of all admins of the provided account

              - -
              -

              Example

              const { data: accounts, isLoading, error } = useAccountSigners(contract);
              -
              - -

              Twfeature

              Account

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccountAdminsAndSigners.html b/packages/react/typedoc/functions/useAccountAdminsAndSigners.html deleted file mode 100644 index ff1982ddbdd..00000000000 --- a/packages/react/typedoc/functions/useAccountAdminsAndSigners.html +++ /dev/null @@ -1,86 +0,0 @@ -useAccountAdminsAndSigners | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAccountAdminsAndSigners

            -
            -
              - -
            • Beta -

              Get all signers and admins of account

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<SmartContract<BaseContract>>
                -

                an instance of a account

                -
                -
              -

              Returns UseQueryResult<SignerWithPermissions[]>

              a response object that includes an array of all admins of the provided account

              - -
              -

              Example

              const { data: accounts, isLoading, error } = useAccountSigners(contract);
              -
              - -

              Twfeature

              Account

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccountSigners.html b/packages/react/typedoc/functions/useAccountSigners.html deleted file mode 100644 index 15001f330ca..00000000000 --- a/packages/react/typedoc/functions/useAccountSigners.html +++ /dev/null @@ -1,86 +0,0 @@ -useAccountSigners | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAccountSigners

            -
            -
              - -
            • Beta -

              Get all signers of account

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<SmartContract<BaseContract>>
                -

                an instance of a account

                -
                -
              -

              Returns UseQueryResult<SignerWithPermissions[]>

              a response object that includes an array of all signers of the provided account

              - -
              -

              Example

              const { data: accounts, isLoading, error } = useAccountSigners(contract);
              -
              - -

              Twfeature

              Account

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccounts.html b/packages/react/typedoc/functions/useAccounts.html deleted file mode 100644 index bdb45d49a7d..00000000000 --- a/packages/react/typedoc/functions/useAccounts.html +++ /dev/null @@ -1,86 +0,0 @@ -useAccounts | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAccounts

            -
            -
              - -
            • Beta -

              Get all accounts

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<SmartContract<BaseContract>>
                -

                an instance of a account factory contract

                -
                -
              -

              Returns UseQueryResult<string[]>

              a response object that includes an array of all accounts with their associated admin

              - -
              -

              Example

              const { data: accounts, isLoading, error } = useAccounts(contract);
              -
              - -

              Twfeature

              AccountFactory

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAccountsForAddress.html b/packages/react/typedoc/functions/useAccountsForAddress.html deleted file mode 100644 index 0508efb1d16..00000000000 --- a/packages/react/typedoc/functions/useAccountsForAddress.html +++ /dev/null @@ -1,88 +0,0 @@ -useAccountsForAddress | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAccountsForAddress

            -
            -
              - -
            • Beta -

              Get all accounts associated with the provided address

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<SmartContract<BaseContract>>
                -

                an instance of a account factory contract

                -
                -
              • -
              • -
                address: RequiredParam<string>
              -

              Returns UseQueryResult<string[]>

              a response object that includes an array of all accounts associated with the adress

              - -
              -

              Example

              const { data: accountsForAddress, isLoading, error } = useAccountsForAddress(contract, "{{account_address}}");
              -
              - -

              Twfeature

              AccountFactory

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useActiveChain.html b/packages/react/typedoc/functions/useActiveChain.html deleted file mode 100644 index a187605a8f6..00000000000 --- a/packages/react/typedoc/functions/useActiveChain.html +++ /dev/null @@ -1,71 +0,0 @@ -useActiveChain | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useActiveChain

            -
            -
              - -
            • -

              Returns Chain | undefined

              -
              -

              Deprecated

              This hook is renamed to useChain

              -

              use the useChain hook instead

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useActiveClaimCondition.html b/packages/react/typedoc/functions/useActiveClaimCondition.html deleted file mode 100644 index 2fc0322f8b9..00000000000 --- a/packages/react/typedoc/functions/useActiveClaimCondition.html +++ /dev/null @@ -1,93 +0,0 @@ -useActiveClaimCondition | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useActiveClaimCondition

            -
            -
              - -
            • Beta -

              Get the active claim condition

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<DropContract>
                -

                an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the claimConditions extension.

                -
                -
              • -
              • -
                Optional tokenId: BigNumberish
                -

                the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

                -
                -
              • -
              • -
                Optional options: ClaimConditionFetchOptions
              -

              Returns UseQueryResult<ClaimCondition | undefined>

              a response object with the currently active claim condition

              - -
              -

              Example

              const { data: activeClaimCondition, isLoading, error } = useActiveClaimCondition(contract);
              -
              - -

              Twfeature

              ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useActiveClaimConditionForWallet.html b/packages/react/typedoc/functions/useActiveClaimConditionForWallet.html deleted file mode 100644 index 21e9511bab9..00000000000 --- a/packages/react/typedoc/functions/useActiveClaimConditionForWallet.html +++ /dev/null @@ -1,96 +0,0 @@ -useActiveClaimConditionForWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useActiveClaimConditionForWallet

            -
            -
              - -
            • Beta -

              Get the active claim condition for a specific wallet

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<DropContract>
                -

                an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the claimConditions extension.

                -
                -
              • -
              • -
                walletAddress: RequiredParam<string>
                -

                the wallet address to check the active claim condition for

                -
                -
              • -
              • -
                Optional tokenId: BigNumberish
                -

                the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

                -
                -
              -

              Returns UseQueryResult<ClaimCondition | null>

              the active claim conditon for the wallet address or null if there is no active claim condition

              - -
              -

              Example

              const { data: activeClaimConditionForWallet, isLoading, error } = useActiveClaimConditionForWallet(contract, "{{wallet_address}}");
              -
              - -

              Twfeature

              ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useActiveListings.html b/packages/react/typedoc/functions/useActiveListings.html deleted file mode 100644 index 0b84366d52d..00000000000 --- a/packages/react/typedoc/functions/useActiveListings.html +++ /dev/null @@ -1,89 +0,0 @@ -useActiveListings | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useActiveListings

            -
            -
              - -
            • Beta -

              Get all active listings

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<Marketplace>
                -

                an instance of a marketplace contract

                -
                -
              • -
              • -
                Optional filter: MarketplaceFilter
                -

                filter to pass to the query for the sake of pagination & filtering

                -
                -
              -

              Returns UseQueryResult

              a response object that includes an array of listings

              - -
              -

              Example

              const { data: listings, isLoading, error } = useActiveListings(contract, { seller: "{{wallet_adress}}", tokenContract: "0x...", tokenId: 1, start: 0, count: 100 });
              -
              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAddAdmin.html b/packages/react/typedoc/functions/useAddAdmin.html deleted file mode 100644 index a36275055b8..00000000000 --- a/packages/react/typedoc/functions/useAddAdmin.html +++ /dev/null @@ -1,75 +0,0 @@ -useAddAdmin | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAddAdmin

            -
            -
              - -
            • -

              Add an additional admin on the smart wallet

              -
              -

              Returns UseMutationResult<TransactionResult, unknown, string>

              -
              -

              Example

              const Component = () => {
              const {
              mutate: addAdmin,
              isLoading,
              error,
              } = useAddAdmin();

              if (error) {
              console.error("failed to add admin", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => addAdmin("0x...")}
              >
              Add admin
              </button>
              );
              }; -
              - -

              Twfeature

              Account

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAddress.html b/packages/react/typedoc/functions/useAddress.html deleted file mode 100644 index 9b9db39048c..00000000000 --- a/packages/react/typedoc/functions/useAddress.html +++ /dev/null @@ -1,79 +0,0 @@ -useAddress | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAddress

            -
            -
              - -
            • -

              Hook for accessing the address of the connected wallet

              -
              import { useAddress } from "@thirdweb-dev/react"
              -
              -
              -

              Returns string | undefined

              -
              -

              Example

              To get the address of the connected wallet, you can use the hook as follows:

              -
              import { useAddress } from "@thirdweb-dev/react"

              const App = () => {
              const address = useAddress()

              return <div>{address}</div>
              } -
              -

              The address variable will hold the address of the connected wallet if a user has connected using one of the supported wallet connection hooks.

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAirdropNFT.html b/packages/react/typedoc/functions/useAirdropNFT.html deleted file mode 100644 index 48f3368eca7..00000000000 --- a/packages/react/typedoc/functions/useAirdropNFT.html +++ /dev/null @@ -1,86 +0,0 @@ -useAirdropNFT | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAirdropNFT

            -
            -
              - -
            • Beta -

              Airdrop NFTs to a list of wallets

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: Erc1155<BaseERC1155 | BaseSignatureMintERC1155>
                -

                an instance of a Erc1155

                -
                -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, AirdropNFTParams, unknown>

              a mutation object that can be used to transfer batch NFTs

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: airdropNFT,
              isLoading,
              error,
              } = useAirdropNFT(contract);

              if (error) {
              console.error("failed to transfer batch NFTs", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => airdropNFT({
              tokenId: 2,
              addresses: [
              { address: "{{wallet_address}}", quantity: 2 },
              { address: "{{wallet_address}}", quantity: 4 } }
              ]
              )}
              >
              Airdrop NFT
              </button>
              );
              }; -
              - -

              Twfeature

              ERC1155

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAllRoleMembers.html b/packages/react/typedoc/functions/useAllRoleMembers.html deleted file mode 100644 index fceb31448e2..00000000000 --- a/packages/react/typedoc/functions/useAllRoleMembers.html +++ /dev/null @@ -1,91 +0,0 @@ -useAllRoleMembers | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAllRoleMembers

            -
            -
              - -
            • Beta -

              Get all members of all roles

              -
              -
              -

              Type Parameters

              -
                -
              • -

                TContract extends ContractWithRoles

              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<TContract>
                -

                an instance of a SmartContract

                -
                -
              -

              Returns UseQueryResult

              a list of addresses for all supported roles on the contract.

              - -
              -

              Example

              const { data: roles, isLoading, error } = useAllRoleMembers(contract);
              -
              - -

              Twfeature

              PermissionsEnumerable

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAppURI.html b/packages/react/typedoc/functions/useAppURI.html deleted file mode 100644 index 2edb0b3c5f0..00000000000 --- a/packages/react/typedoc/functions/useAppURI.html +++ /dev/null @@ -1,89 +0,0 @@ -useAppURI | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAppURI

            -
            -
              - -
            • Beta -

              Get App URI

              -
              -
              -

              Type Parameters

              -
                -
              • -

                TContract extends ValidContractInstance

              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<TContract>
                -

                the SmartContract instance of the contract to get the appURI of

                -
                -
              -

              Returns UseQueryResult

              a response object that includes the appURI of the contract

              - -
              -

              Example

              const { data: contractMetadata, isLoading, error } = useAppURI(contract);
              -
              - -

              Twfeature

              AppURI

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAuctionWinner.html b/packages/react/typedoc/functions/useAuctionWinner.html deleted file mode 100644 index ed51ccd5882..00000000000 --- a/packages/react/typedoc/functions/useAuctionWinner.html +++ /dev/null @@ -1,91 +0,0 @@ -useAuctionWinner | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAuctionWinner

            -
            -
              - -
            • -

              Get the winner of an english auction

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<Marketplace | MarketplaceV3>
                -

                an instance of a marketplace contract

                -
                -
              • -
              • -
                listingId: RequiredParam<BigNumberish>
                -

                the listing id to check

                -
                -
              -

              Returns UseQueryResult

              a response object that includes the address of the winner of the auction or undefined if there is no winner yet

              - -
              -

              Example

              const listingId = 0;
              const { data: auctionWinner, isLoading, error } = useAuctionWinner(contract, listingId); -
              - -

              Twfeature

              EnglishAuctions

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useAuth.html b/packages/react/typedoc/functions/useAuth.html deleted file mode 100644 index a3d322124ba..00000000000 --- a/packages/react/typedoc/functions/useAuth.html +++ /dev/null @@ -1,67 +0,0 @@ -useAuth | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useAuth

            -
            -
              - -
            • -

              Returns ThirdwebAuth | undefined

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useBalance.html b/packages/react/typedoc/functions/useBalance.html deleted file mode 100644 index 7864d1f03cf..00000000000 --- a/packages/react/typedoc/functions/useBalance.html +++ /dev/null @@ -1,79 +0,0 @@ -useBalance | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useBalance

            -
            -
              - -
            • Beta -

              A hook to get the native or (optional) ERC20 token balance of the connected wallet.

              -
              -
              -

              Parameters

              -
                -
              • -
                Optional tokenAddress: string
                -

                the address of the token contract, if empty will use the chain's native token

                -
                -
              -

              Returns UseQueryResult

              the balance of the connected wallet (native or ERC20)

              - -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useBatchesToReveal.html b/packages/react/typedoc/functions/useBatchesToReveal.html deleted file mode 100644 index 58869d84b0d..00000000000 --- a/packages/react/typedoc/functions/useBatchesToReveal.html +++ /dev/null @@ -1,88 +0,0 @@ -useBatchesToReveal | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useBatchesToReveal

            -
            -
              - -
            • -

              Get all unrevealed batches

              -
              -
              -

              Type Parameters

              -
              -
              -

              Parameters

              -
              -

              Returns UseQueryResult<BatchToReveal[], unknown>

              a response object that gets the batches to still be revealed

              - -
              -

              Twfeature

              ERC721Revealable | ERC1155Revealable

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useBidBuffer.html b/packages/react/typedoc/functions/useBidBuffer.html deleted file mode 100644 index 103f0846838..00000000000 --- a/packages/react/typedoc/functions/useBidBuffer.html +++ /dev/null @@ -1,91 +0,0 @@ -useBidBuffer | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useBidBuffer

            -
            -
              - -
            • -

              Get the bid buffer for an english auction

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<Marketplace | MarketplaceV3>
                -

                an instance of a marketplace contract

                -
                -
              • -
              • -
                Optional listingId: RequiredParam<BigNumberish>
                -

                the listing id to check (only necessary for marketplace v3)

                -
                -
              -

              Returns UseQueryResult

              a response object that includes an array of listings

              - -
              -

              Example

              const { data: bidBuffer, isLoading, error } = useBidBuffer(contract);
              -
              - -

              Twfeature

              EnglishAuctions

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useBloctoWallet.html b/packages/react/typedoc/functions/useBloctoWallet.html deleted file mode 100644 index 21b1a841c99..00000000000 --- a/packages/react/typedoc/functions/useBloctoWallet.html +++ /dev/null @@ -1,78 +0,0 @@ -useBloctoWallet | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useBloctoWallet

            -
            -
              - -
            • -

              Returns ((options?) => Promise<BloctoWallet>)

              -
                -
              • -
                  -
                • (options?): Promise<BloctoWallet>
                • -
                • -
                  -

                  Parameters

                  -
                    -
                  • -
                    Optional options: {
                        chainId?: number;
                    } & BloctoAdditionalOptions
                  -

                  Returns Promise<BloctoWallet>

            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useBurnNFT.html b/packages/react/typedoc/functions/useBurnNFT.html deleted file mode 100644 index fdb60b78fd7..00000000000 --- a/packages/react/typedoc/functions/useBurnNFT.html +++ /dev/null @@ -1,91 +0,0 @@ -useBurnNFT | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useBurnNFT

            -
            -
              - -
            • Beta -

              Burn an NFT

              -
              -
              -

              Type Parameters

              -
              -
              -

              Parameters

              -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, BurnNFTParams, unknown>

              a mutation object that can be used to burn an NFT token from the connected wallet

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: burnNFT,
              isLoading,
              error,
              } = useBurnNFT(contract);

              if (error) {
              console.error("failed to burn NFT", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => burnNFT({ tokenId: 0, amount: 1 })}
              >
              Burn!
              </button>
              );
              }; -
              - -

              Twfeature

              ERC721Burnable | ERC1155Burnable

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useBurnToken.html b/packages/react/typedoc/functions/useBurnToken.html deleted file mode 100644 index 26533c45311..00000000000 --- a/packages/react/typedoc/functions/useBurnToken.html +++ /dev/null @@ -1,86 +0,0 @@ -useBurnToken | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useBurnToken

            -
            -
              - -
            • Beta -

              Burn tokens

              -
              -
              -

              Parameters

              -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, TokenBurnParams, unknown>

              a mutation object that can be used to burn tokens from the connected wallet

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: burnTokens,
              isLoading,
              error,
              } = useBurnToken(contract);

              if (error) {
              console.error("failed to burn tokens", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => burnTokens({ amount: 1000 })}
              >
              Burn!
              </button>
              );
              }; -
              - -

              Twfeature

              ERC20Burnable

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useBuyDirectListing.html b/packages/react/typedoc/functions/useBuyDirectListing.html deleted file mode 100644 index fc4c6dd8bc3..00000000000 --- a/packages/react/typedoc/functions/useBuyDirectListing.html +++ /dev/null @@ -1,84 +0,0 @@ -useBuyDirectListing | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useBuyDirectListing

            -
            -
              - -
            • Beta -

              Buy a direct listing

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<MarketplaceV3>
                -

                an instance of a MarketplaceV3 contract

                -
                -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, BuyFromListingParams, unknown>

              a mutation object that can be used to buy out a direct listing

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}", "marketplace-v3");
              const {
              mutate: buyNow,
              isLoading,
              error,
              } = useBuyDirectListing(contract);

              if (error) {
              console.error("failed to buy direct listing", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => buyNow({listingId: 1, quantity: 1, buyer: "{{address}}"})}
              >
              Buy listing!
              </button>
              );
              }; -
              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useBuyNow.html b/packages/react/typedoc/functions/useBuyNow.html deleted file mode 100644 index c563844ddde..00000000000 --- a/packages/react/typedoc/functions/useBuyNow.html +++ /dev/null @@ -1,84 +0,0 @@ -useBuyNow | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useBuyNow

            -
            -
              - -
            • Beta -

              Buy out an auction listing

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<Marketplace>
                -

                an instance of a Marketplace contract

                -
                -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, BuyNowParams, unknown>

              a mutation object that can be used to buy out an auction listing

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: buyNow,
              isLoading,
              error,
              } = useBuyNow(contract);

              if (error) {
              console.error("failed to buyout listing", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => buyNow({listingId: 1, type: ListingType.Auction})}
              >
              Buy listing!
              </button>
              );
              }; -
              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCancelDirectListing.html b/packages/react/typedoc/functions/useCancelDirectListing.html deleted file mode 100644 index fc07b03a072..00000000000 --- a/packages/react/typedoc/functions/useCancelDirectListing.html +++ /dev/null @@ -1,86 +0,0 @@ -useCancelDirectListing | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useCancelDirectListing

            -
            -
              - -
            • -

              Cancel a direct listing

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<MarketplaceV3>
                -

                an instance of a Marketplace v3 contract

                -
                -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, BigNumberish, unknown>

              a mutation object that can be used to cancel a direct listing

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: cancelDirectListing,
              isLoading,
              error,
              } = useCancelDirectListing(contract);

              if (error) {
              console.error("failed to cancel direct listing", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={cancelDirectListing}
              >
              Cancel Direct Listing
              </button>
              );
              }; -
              - -

              Twfeature

              DirectListings

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCancelEnglishAuction.html b/packages/react/typedoc/functions/useCancelEnglishAuction.html deleted file mode 100644 index c1d8e55cf02..00000000000 --- a/packages/react/typedoc/functions/useCancelEnglishAuction.html +++ /dev/null @@ -1,86 +0,0 @@ -useCancelEnglishAuction | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useCancelEnglishAuction

            -
            -
              - -
            • -

              Cancel an english auction

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<MarketplaceV3>
                -

                an instance of a Marketplace v3 contract

                -
                -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, BigNumberish, unknown>

              a mutation object that can be used to cancel an english auction

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: cancelEnglishAuction,
              isLoading,
              error,
              } = useCancelEnglishAuction(contract);

              if (error) {
              console.error("failed to cancel english auction", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={cancelEnglishAuction}
              >
              Cancel English Auction
              </button>
              );
              }; -
              - -

              Twfeature

              EnglishAuctions

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCancelListing.html b/packages/react/typedoc/functions/useCancelListing.html deleted file mode 100644 index 67e84633e6a..00000000000 --- a/packages/react/typedoc/functions/useCancelListing.html +++ /dev/null @@ -1,84 +0,0 @@ -useCancelListing | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useCancelListing

            -
            -
              - -
            • Beta -

              Cancel a listing

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<Marketplace>
                -

                an instance of a Marketplace contract

                -
                -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, Pick<AuctionListing | DirectListing, "type" | "id">, unknown>

              a mutation object that can be used to cancel a listing

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: cancelListing,
              isLoading,
              error,
              } = useCancelListing(contract);

              if (error) {
              console.error("failed to cancel auction listing", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={cancelListing}
              >
              Cancel Auction Listing!
              </button>
              );
              }; -
              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useChain.html b/packages/react/typedoc/functions/useChain.html deleted file mode 100644 index beb3109bb63..00000000000 --- a/packages/react/typedoc/functions/useChain.html +++ /dev/null @@ -1,78 +0,0 @@ -useChain | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useChain

            -
            -
              - -
            • -

              Hook for accessing the active Chain the current wallet is connected to

              -
              import { useChain } from "@thirdweb-dev/react-core"
              -
              -
              -

              Returns Chain | undefined

              -
              -

              Example

              You can get the chain of the connected wallet by using the hook as follows:

              -
              import { useChain } from "@thirdweb-dev/react-core"

              const App = () => {
              const chain = useChain()

              return <div>{chain.chainId}</div>
              } -
              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useChainId.html b/packages/react/typedoc/functions/useChainId.html deleted file mode 100644 index cf787e4e511..00000000000 --- a/packages/react/typedoc/functions/useChainId.html +++ /dev/null @@ -1,78 +0,0 @@ -useChainId | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useChainId

            -
            -
              - -
            • -

              Hook for accessing the chain ID of the network the current wallet is connected to

              -
              import { useChainId } from "@thirdweb-dev/react"
              -
              -
              -

              Returns number | undefined

              -
              -

              Example

              You can get the chain ID of the connected wallet by using the hook as follows:

              -
              import { useChainId } from "@thirdweb-dev/react"

              const App = () => {
              const chainId = useChainId()

              return <div>{chainId}</div>
              } -
              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimConditions.html b/packages/react/typedoc/functions/useClaimConditions.html deleted file mode 100644 index 562e4a602c3..00000000000 --- a/packages/react/typedoc/functions/useClaimConditions.html +++ /dev/null @@ -1,93 +0,0 @@ -useClaimConditions | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useClaimConditions

            -
            -
              - -
            • Beta -

              Get all claim conditions

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<DropContract>
                -

                an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the claimConditions extension.

                -
                -
              • -
              • -
                Optional tokenId: BigNumberish
                -

                the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

                -
                -
              • -
              • -
                Optional options: ClaimConditionFetchOptions
              -

              Returns UseQueryResult<ClaimCondition[]>

              a response object with the list of claim conditions

              - -
              -

              Example

              const { data: claimConditions, isLoading, error } = useClaimConditions(contract);
              -
              - -

              Twfeature

              ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimIneligibilityReasons.html b/packages/react/typedoc/functions/useClaimIneligibilityReasons.html deleted file mode 100644 index 433d0a0fd6b..00000000000 --- a/packages/react/typedoc/functions/useClaimIneligibilityReasons.html +++ /dev/null @@ -1,93 +0,0 @@ -useClaimIneligibilityReasons | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useClaimIneligibilityReasons

            -
            -
              - -
            • Beta -

              Get the reasons why a specific wallet can't claim

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<DropContract>
                -

                an instance of a contract that extends the ERC20, ERC721 or ERC1155 spec and implements the claimConditions extension.

                -
                -
              • -
              • -
                params: ClaimIneligibilityParams
              • -
              • -
                Optional tokenId: BigNumberish
                -

                the id of the token to fetch the claim conditions for (if the contract is an ERC1155 contract)

                -
                -
              -

              Returns UseQueryResult<ClaimEligibility[], unknown>

              a response object with the reasons for the claim ineligibility

              - -
              -

              Example

              const { data: claimIneligibilityReasons, isLoading, error } = useClaimIneligibilityReasons(contract, { walletAddress: "{{wallet_address}}" });
              -
              - -

              Twfeature

              ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimNFT.html b/packages/react/typedoc/functions/useClaimNFT.html deleted file mode 100644 index 0d16c1111bd..00000000000 --- a/packages/react/typedoc/functions/useClaimNFT.html +++ /dev/null @@ -1,91 +0,0 @@ -useClaimNFT | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useClaimNFT

            -
            -
              - -
            • Beta -

              Claim an NFT to a specific wallet

              -
              -
              -

              Type Parameters

              -
              -
              -

              Parameters

              -
              -

              Returns UseMutationResult<ClaimNFTReturnType, unknown, ClaimNFTParams, unknown>

              a mutation object that can be used to claim a NFT to the wallet specificed in the params

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: claimNFT,
              isLoading,
              error,
              } = useClaimNFT(contract);

              if (error) {
              console.error("failed to claim nft", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => claimNFT({ to: "{{wallet_address}}", quantity: 1 })}
              >
              Claim NFT!
              </button>
              );
              }; -
              - -

              Twfeature

              ERC721Claimable | ERC1155Claimable | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimToken.html b/packages/react/typedoc/functions/useClaimToken.html deleted file mode 100644 index 5a31b1ec9fe..00000000000 --- a/packages/react/typedoc/functions/useClaimToken.html +++ /dev/null @@ -1,86 +0,0 @@ -useClaimToken | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useClaimToken

            -
            -
              - -
            • Beta -

              Claim tokens to a specific wallet

              -
              -
              -

              Parameters

              -
              -

              Returns UseMutationResult<Omit<{
                  data: (() => Promise<unknown>);
                  receipt: providers.TransactionReceipt;
              }, "data">, unknown, ClaimTokenParams, unknown>

              a mutation object that can be used to tokens to the wallet specified in the params

              - -
              -

              Example

              const Component = () => {
              const { contract } = useContract("{{contract_address}}");
              const {
              mutate: claimTokens,
              isLoading,
              error,
              } = useClaimToken(contract);

              if (error) {
              console.error("failed to claim tokens", error);
              }

              return (
              <button
              disabled={isLoading}
              onClick={() => claimTokens({ to: "{{wallet_address}}", amount: 100 })}
              >
              Claim Tokens!
              </button>
              );
              }; -
              - -

              Twfeature

              ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimedNFTSupply.html b/packages/react/typedoc/functions/useClaimedNFTSupply.html deleted file mode 100644 index 02d4cb87d12..00000000000 --- a/packages/react/typedoc/functions/useClaimedNFTSupply.html +++ /dev/null @@ -1,83 +0,0 @@ -useClaimedNFTSupply | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useClaimedNFTSupply

            -
            -
              - -
            • -

              Get the total number of claimed NFTs

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<null | SmartContract<BaseContract> | NFTDrop | SignatureDrop>
                -

                an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)

                -
                -
              -

              Returns UseQueryResult<BigNumber, unknown>

              a response object that includes the number of NFTs that are claimed

              - -
              -

              Twfeature

              ERC721LazyMintable

              - -

              See

              Documentation

              -
            -
            -
            -

            Generated using TypeDoc

            -
            \ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimedNFTs.html b/packages/react/typedoc/functions/useClaimedNFTs.html deleted file mode 100644 index 93e8d9f510e..00000000000 --- a/packages/react/typedoc/functions/useClaimedNFTs.html +++ /dev/null @@ -1,94 +0,0 @@ -useClaimedNFTs | @thirdweb-dev/react
            -
            - -
            -
            -
            -
            - -

            Function useClaimedNFTs

            -
            -
              - -
            • Beta -

              Get all claimed NFTs

              -
              -
              -

              Parameters

              -
                -
              • -
                contract: RequiredParam<NFTDrop>
                -

                an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)

                -
                -
              • -
              • -
                Optional queryParams: {}
                -

                query params to pass to the query for the sake of pagination

                -
                -
                -
                -

                Returns UseQueryResult<NFT[], unknown>

                a response object that includes an array of NFTs that are claimed

                - -
                -

                Remarks

                Equivalent to using useNFTs.

                - -

                Example

                const { data: claimedNFTs, isLoading, error } = useClaimedNFTs(contract, { start: 0, count: 100 });
                -
                - -

                Twfeature

                ERC721LazyMintable

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useClaimerProofs.html b/packages/react/typedoc/functions/useClaimerProofs.html deleted file mode 100644 index c8514a16549..00000000000 --- a/packages/react/typedoc/functions/useClaimerProofs.html +++ /dev/null @@ -1,101 +0,0 @@ -useClaimerProofs | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useClaimerProofs

              -
              -
                - -
              • Beta -

                Get claimer proofs

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<DropContract>
                  -

                  an instance of a contract that extends the ERC721, ERC1155 or ERC20 spec and implements the claimConditions extension.

                  -
                  -
                • -
                • -
                  claimerAddress: string
                  -

                  the address of the claimer to fetch the claimer proofs for

                  -
                  -
                • -
                • -
                  Optional tokenId: BigNumberish
                  -

                  the id of the token to fetch the claimer proofs for (if the contract is an ERC1155 contract)

                  -
                  -
                • -
                • -
                  Optional claimConditionId: BigNumberish
                  -

                  optional the claim condition id to get the proofs for

                  -
                  -
                -

                Returns UseQueryResult<{
                    address: string;
                    currencyAddress?: string;
                    maxClaimable: string;
                    price?: string;
                    proof: string[];
                } | null, unknown>

                a response object with the snapshot for the provided address

                - -
                -

                Example

                const { data: claimerProofs, isLoading, error } = useClaimerProofs(contract);
                -
                - -

                Twfeature

                ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCoinbaseWallet.html b/packages/react/typedoc/functions/useCoinbaseWallet.html deleted file mode 100644 index 9f82960e758..00000000000 --- a/packages/react/typedoc/functions/useCoinbaseWallet.html +++ /dev/null @@ -1,81 +0,0 @@ -useCoinbaseWallet | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useCoinbaseWallet

              -
              -
                - -
              • -

                Returns ((connectOptions?) => Promise<CoinbaseWallet>)

                -
                  -
                • -
                    -
                  • (connectOptions?): Promise<CoinbaseWallet>
                  • -
                  • -
                    -

                    Parameters

                    -
                      -
                    • -
                      Optional connectOptions: {
                          chainId?: number;
                      }
                      -
                        -
                      • -
                        Optional chainId?: number
                    -

                    Returns Promise<CoinbaseWallet>

              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCompilerMetadata.html b/packages/react/typedoc/functions/useCompilerMetadata.html deleted file mode 100644 index ce712593436..00000000000 --- a/packages/react/typedoc/functions/useCompilerMetadata.html +++ /dev/null @@ -1,72 +0,0 @@ -useCompilerMetadata | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useCompilerMetadata

              -
              -
                - -
              • -
                -

                Parameters

                -
                -

                Returns UseQueryResult<PublishedMetadata | null>

              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useConnect.html b/packages/react/typedoc/functions/useConnect.html deleted file mode 100644 index a0038bfee65..00000000000 --- a/packages/react/typedoc/functions/useConnect.html +++ /dev/null @@ -1,85 +0,0 @@ -useConnect | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useConnect

              -
              -
                - -
              • -

                Returns (<I>(...args) => Promise<I>)

                a method to connect to a wallet class

                - -
                  -
                • -
                    -
                  • <I>(...args): Promise<I>
                  • -
                  • -
                    -

                    Type Parameters

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      Rest ...args: undefined extends Parameters<I["connect"]>[0]
                          ? [wallet: WalletConfig, connectParams?: (Parameters<I["connect"]>[0] extends infer T
                              ? T extends Parameters<I["connect"]>[0]
                                  ? T extends null | undefined
                                      ? never
                                      : T
                                  : never
                              : never) | undefined]
                          : [wallet: WalletConfig, connectParams: Parameters<I["connect"]>[0] extends infer T_1
                              ? T_1 extends Parameters<I["connect"]>[0]
                                  ? T_1 extends null | undefined
                                      ? never
                                      : T_1
                                  : never
                              : never]
                    -

                    Returns Promise<I>

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useConnectionStatus.html b/packages/react/typedoc/functions/useConnectionStatus.html deleted file mode 100644 index 32c780f595d..00000000000 --- a/packages/react/typedoc/functions/useConnectionStatus.html +++ /dev/null @@ -1,76 +0,0 @@ -useConnectionStatus | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useConnectionStatus

              -
              -
                - -
              • -

                Returns "unknown" | "connected" | "disconnected" | "connecting"

                the connection status of the wallet

                -

                It can be one of the following:

                -
                  -
                1. unknown - when wallet connection status is not yet known
                2. -
                3. connecting - when wallet is connecting
                4. -
                5. connected - when wallet is connected
                6. -
                7. disconnected - when wallet is disconnected
                8. -
                - -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContract.html b/packages/react/typedoc/functions/useContract.html deleted file mode 100644 index 8185d63d19a..00000000000 --- a/packages/react/typedoc/functions/useContract.html +++ /dev/null @@ -1,158 +0,0 @@ -useContract | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useContract

              -
              -
                - -
              • -
                -

                Type Parameters

                -
                  -
                • -

                  TContractAddress extends string

                -
                -

                Parameters

                -
                -

                Returns UseContractResult<TContractAddress extends GeneratedContractAddress
                    ? SmartContract<BaseContractForAddress<TContractAddress>>
                    : SmartContract>

              • - -
              • -

                Use this resolve a contract address to a smart contract instance.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the deployed contract

                  -
                  -
                -

                Returns UseContractResult<SmartContract>

                a response object that includes the contract once it is resolved

                - -
                -

                Example

                const { contract, isLoading, error } = useContract("{{contract_address}}");
                -
                - -

                See

                Documentation

                -
              • - -
              • -

                Use this resolve a contract address to a smart contract instance.

                -
                -
                -

                Type Parameters

                -
                  -
                • -

                  TContractType extends "split" | "custom" | "token" | "vote" | "edition-drop" | "edition" | "marketplace" | "marketplace-v3" | "multiwrap" | "nft-collection" | "nft-drop" | "pack" | "signature-drop" | "token-drop"

                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the deployed contract

                  -
                  -
                • -
                • -
                  _contractType: TContractType
                  -

                  the type of the contract

                  -
                  -
                -

                Returns UseContractResult<TContractType extends PrebuiltContractType
                    ? ContractForPrebuiltContractType<TContractType>
                    : SmartContract>

                a response object that includes the contract once it is resolved

                - -
                -

                Example

                const { contract, isLoading, error } = useContract("{{contract_address}}", "nft-drop");
                -
                - -

                See

                Documentation

                -
              • - -
              • -

                Use this resolve a contract address to a smart contract instance.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the deployed contract

                  -
                  -
                • -
                • -
                  _abi: ContractInterface
                  -

                  the ABI of the contract to use

                  -
                  -
                -

                Returns UseContractResult<SmartContract>

                a response object that includes the contract once it is resolved

                - -
                -

                Example

                const { contract, isLoading, error } = useContract("{{contract_address}}", ABI);
                -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractEvents.html b/packages/react/typedoc/functions/useContractEvents.html deleted file mode 100644 index 6522a2a2557..00000000000 --- a/packages/react/typedoc/functions/useContractEvents.html +++ /dev/null @@ -1,99 +0,0 @@ -useContractEvents | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useContractEvents

              -
              -
                - -
              • Beta -

                Get or subscribe to contract events

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<ValidContractInstance>
                  -

                  the ValidContractInstance instance of the contract to listen to events for

                  -
                  -
                • -
                • -
                  Optional eventName: string
                  -

                  the name of the event to query for (omit this or pass undefined to query for all events)

                  -
                  -
                • -
                • -
                  Optional options: {
                      queryFilter?: EventQueryOptions<Record<string, any>>;
                      subscribe?: boolean;
                  }
                  -

                  options includes the filters (QueryAllEvents) for the query as well as if you want to subscribe to real-time updates (default: true)

                  -
                  -
                  -
                    -
                  • -
                    Optional queryFilter?: EventQueryOptions<Record<string, any>>
                  • -
                  • -
                    Optional subscribe?: boolean
                -

                Returns UseQueryResult<ContractEvent<Record<string, any>>[], unknown>

                a response object that includes the contract events

                - -
                -

                Example

                const { data: contractEvents, isLoading } = useContractEvents(contract);
                -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractMetadata.html b/packages/react/typedoc/functions/useContractMetadata.html deleted file mode 100644 index c1c26a4e1a9..00000000000 --- a/packages/react/typedoc/functions/useContractMetadata.html +++ /dev/null @@ -1,89 +0,0 @@ -useContractMetadata | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useContractMetadata

              -
              -
                - -
              • Beta -

                Get the metadata of this contract

                -
                -
                -

                Type Parameters

                -
                  -
                • -

                  TContract extends ValidContractInstance

                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<TContract>
                  -

                  the ValidContractInstance instance of the contract to get the metadata for

                  -
                  -
                -

                Returns UseQueryResult<RequiredParam<TContract> extends undefined
                    ? undefined
                    : Awaited<ReturnType<TContract["metadata"]["get"]>>, unknown>

                a response object that includes the contract metadata of the deployed contract

                - -
                -

                Example

                const { data: contractMetadata, isLoading } = useContractMetadata(contract);
                -
                - -

                Twfeature

                ContractMetadata

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractMetadataUpdate.html b/packages/react/typedoc/functions/useContractMetadataUpdate.html deleted file mode 100644 index d6378495633..00000000000 --- a/packages/react/typedoc/functions/useContractMetadataUpdate.html +++ /dev/null @@ -1,84 +0,0 @@ -useContractMetadataUpdate | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useContractMetadataUpdate

              -
              -
                - -
              • Beta -

                Update the metadata of this contract

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<ValidContractInstance>
                  -

                  the ValidContractInstance instance of the contract to get the metadata for

                  -
                  -
                -

                Returns UseMutationResult<{
                    data: (() => Promise<any>);
                    receipt: providers.TransactionReceipt;
                }, unknown, {
                    app_uri?: string;
                    description?: string;
                    external_link?: string;
                    image?: any;
                    name: string;
                }, unknown>

                a response object that includes the contract metadata of the deployed contract

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: updateContractMetadata,
                isLoading,
                error,
                } = useContractMetadataUpdate(contract);

                if (error) {
                console.error("failed to update contract metadata", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => updateContractMetadata({ name: "New name", description: "New description" })}
                >
                Update contract metadata
                </button>
                );
                }; -
                - -

                Twfeature

                ContractMetadata

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractRead.html b/packages/react/typedoc/functions/useContractRead.html deleted file mode 100644 index fd736d9de98..00000000000 --- a/packages/react/typedoc/functions/useContractRead.html +++ /dev/null @@ -1,111 +0,0 @@ -useContractRead | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useContractRead

              -
              -
                - -
              • Beta -

                Get data from a contract read-function call

                -
                -
                -

                Type Parameters

                -
                  -
                • -

                  TContractAddress extends string

                • -
                • -

                  TContract extends ValidContractInstance

                • -
                • -

                  TContractInstance extends ValidContractInstance

                • -
                • -

                  TFunctionName extends string

                • -
                • -

                  TArgs extends unknown[]

                • -
                • -

                  TReturnType extends any

                -
                -

                Parameters

                -
                  -
                • -
                  contract: TContractInstance extends ValidContractInstance
                      ? RequiredParam<TContractInstance>
                      : TContractAddress extends never
                          ? RequiredParam<SmartContract<BaseContractForAddress<TContractAddress>>>
                          : RequiredParam<SmartContract<BaseContract>>
                  -

                  the contract instance of the contract to call a function on

                  -
                  -
                • -
                • -
                  functionName: RequiredParam<TFunctionName & string>
                  -

                  the name of the function to call

                  -
                  -
                • -
                • -
                  Optional args: TArgs
                  -

                  The arguments to pass to the function (if any), with optional call arguments as the last parameter

                  -
                  -
                • -
                • -
                  Optional overrides: CallOverrides
                -

                Returns UseQueryResult<TReturnType, unknown>

                a response object that includes the data returned by the function call

                - -
                -

                Example

                const { contract } = useContract("{{contract_address}}");
                const { data, isLoading, error } = useContractRead(contract, "functionName", ...args); -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractType.html b/packages/react/typedoc/functions/useContractType.html deleted file mode 100644 index 8e6fae46ac2..00000000000 --- a/packages/react/typedoc/functions/useContractType.html +++ /dev/null @@ -1,72 +0,0 @@ -useContractType | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useContractType

              -
              -
                - -
              • -
                -

                Parameters

                -
                -

                Returns UseQueryResult<"split" | "edition-drop" | "edition" | "marketplace" | "marketplace-v3" | "multiwrap" | "nft-collection" | "nft-drop" | "pack" | "signature-drop" | "token-drop" | "token" | "vote" | "custom" | null, unknown>

              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useContractWrite.html b/packages/react/typedoc/functions/useContractWrite.html deleted file mode 100644 index b4233df44ec..00000000000 --- a/packages/react/typedoc/functions/useContractWrite.html +++ /dev/null @@ -1,102 +0,0 @@ -useContractWrite | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useContractWrite

              -
              -
                - -
              • Beta -

                Mke a write call to your contract

                -
                -
                -

                Type Parameters

                -
                  -
                • -

                  TContractAddress extends string

                • -
                • -

                  TContract extends ValidContractInstance

                • -
                • -

                  TContractInstance extends ValidContractInstance

                • -
                • -

                  TFunctionName extends string

                • -
                • -

                  TArgs extends any[]

                -
                -

                Parameters

                -
                  -
                • -
                  contract: TContractInstance extends ValidContractInstance
                      ? RequiredParam<TContractInstance>
                      : TContractAddress extends never
                          ? RequiredParam<SmartContract<BaseContractForAddress<TContractAddress>>>
                          : RequiredParam<SmartContract<BaseContract>>
                  -

                  the contract instance of the contract to call a function on

                  -
                  -
                • -
                • -
                  functionName: RequiredParam<TFunctionName & string>
                  -

                  the name of the function to call

                  -
                  -
                -

                Returns UseMutationResult<Omit<{
                    data: (() => Promise<unknown>);
                    receipt: providers.TransactionReceipt;
                }, "data">, unknown, {
                    args?: TArgs;
                    overrides?: CallOverrides;
                }, unknown>

                a response object that includes the write function to call

                - -
                -

                Example

                const { contract } = useContract("{{contract_address}}");
                const { mutate: myFunction, isLoading, error } = useContractWrite(contract, "myFunction");

                // the function can be called as follows:
                // myFunction(["param 1", "param 2", ...]) -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateAccount.html b/packages/react/typedoc/functions/useCreateAccount.html deleted file mode 100644 index 6d1c0697017..00000000000 --- a/packages/react/typedoc/functions/useCreateAccount.html +++ /dev/null @@ -1,86 +0,0 @@ -useCreateAccount | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useCreateAccount

              -
              -
                - -
              • Beta -

                Create a account

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<SmartContract<BaseContract>>
                  -

                  an instance of a account factory contract

                  -
                  -
                -

                Returns UseMutationResult

                a mutation object that can be used to create a account

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: createAccount,
                isLoading,
                error,
                } = useCreateAccount(contract);

                if (error) {
                console.error("failed to create account", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => createAccount("0x...")}
                >
                Create Account
                </button>
                );
                }; -
                - -

                Twfeature

                AccountFactory

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateAuctionListing.html b/packages/react/typedoc/functions/useCreateAuctionListing.html deleted file mode 100644 index 2bfbc5f98d0..00000000000 --- a/packages/react/typedoc/functions/useCreateAuctionListing.html +++ /dev/null @@ -1,91 +0,0 @@ -useCreateAuctionListing | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useCreateAuctionListing

              -
              -
                - -
              • -

                Create a new english auction

                -
                -
                -

                Type Parameters

                -
                  -
                • -

                  TMarketplace extends Marketplace | MarketplaceV3

                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<TMarketplace>
                  -

                  an instance of a Marketplace contract

                  -
                  -
                -

                Returns UseMutationResult<TransactionResultWithId, unknown, TMarketplace extends Marketplace
                    ? NewAuctionListing
                    : {
                        assetContractAddress: string;
                        bidBufferBps?: string | number | bigint | BigNumber;
                        buyoutBidAmount: string | number;
                        currencyContractAddress?: string;
                        endTimestamp?: number | Date;
                        minimumBidAmount: string | number;
                        quantity?: string | number | bigint | BigNumber;
                        startTimestamp?: number | Date;
                        timeBufferInSeconds?: string | number | bigint | BigNumber;
                        tokenId: (string | number | bigint | BigNumber) & (string | number | bigint | BigNumber | undefined);
                    }, unknown>

                a mutation object that can be used to create a new auction listing

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: createAuctionListing,
                isLoading,
                error,
                } = useCreateAuctionListing(contract);

                if (error) {
                console.error("failed to create auction listing", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => createAuctionListing(auctionListingData)}
                >
                Create Auction Listing!
                </button>
                );
                }; -
                - -

                Twfeature

                EnglishAuctions

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateDirectListing.html b/packages/react/typedoc/functions/useCreateDirectListing.html deleted file mode 100644 index 2357f7cb8fd..00000000000 --- a/packages/react/typedoc/functions/useCreateDirectListing.html +++ /dev/null @@ -1,91 +0,0 @@ -useCreateDirectListing | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useCreateDirectListing

              -
              -
                - -
              • -

                Create a new direct listing

                -
                -
                -

                Type Parameters

                -
                  -
                • -

                  TMarketplace extends Marketplace | MarketplaceV3

                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<TMarketplace>
                  -

                  an instance of a Marketplace contract

                  -
                  -
                -

                Returns UseMutationResult<TransactionResultWithId, unknown, TMarketplace extends Marketplace
                    ? NewDirectListing
                    : {
                        assetContractAddress: string;
                        currencyContractAddress?: string;
                        endTimestamp?: number | Date;
                        isReservedListing?: boolean;
                        pricePerToken: string | number;
                        quantity?: string | number | bigint | BigNumber;
                        startTimestamp?: number | Date;
                        tokenId: (string | number | bigint | BigNumber) & (string | number | bigint | BigNumber | undefined);
                    }, unknown>

                a mutation object that can be used to create a new direct listing

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: createDirectListing,
                isLoading,
                error,
                } = useCreateDirectListing(contract);

                if (error) {
                console.error("failed to create direct listing", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => createDirectListing(directListingData)}
                >
                Create Direct Listing!
                </button>
                );
                }; -
                - -

                Twfeature

                DirectListings

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateSessionKey.html b/packages/react/typedoc/functions/useCreateSessionKey.html deleted file mode 100644 index 4a6f125b19d..00000000000 --- a/packages/react/typedoc/functions/useCreateSessionKey.html +++ /dev/null @@ -1,75 +0,0 @@ -useCreateSessionKey | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useCreateSessionKey

              -
              -
                - -
              • -

                Create and add a session key for the smart wallet

                -
                -

                Returns UseMutationResult<TransactionResult, unknown, CreateSessionKeyInput>

                -
                -

                Example

                const Component = () => {
                const {
                mutate: createSessionKey,
                isLoading,
                error,
                } = useCreateSessionKey();

                if (error) {
                console.error("failed to create session key", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => createSessionKey(
                "0x...",
                {
                approvedCallTargets: ["0x..."], // the addresses of contracts that the session key can call
                nativeTokenLimitPerTransaction: 0.1, // the maximum amount of native token (in ETH) that the session key can spend per transaction
                startDate: new Date(), // the date when the session key becomes active
                expirationDate = new Date(Date.now() + 24 * 60 * 60 * 1000); // the date when the session key expires
                }
                )}
                >
                Create Session Key
                </button>
                );
                }; -
                - -

                Twfeature

                Account

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useCreateWalletInstance.html b/packages/react/typedoc/functions/useCreateWalletInstance.html deleted file mode 100644 index 50509b1eb18..00000000000 --- a/packages/react/typedoc/functions/useCreateWalletInstance.html +++ /dev/null @@ -1,85 +0,0 @@ -useCreateWalletInstance | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useCreateWalletInstance

              -
              -
                - -
              • -

                Returns (<I>(Wallet) => I)

                a method to create an instance of given wallet class

                - -
                  -
                • -
                    -
                  • <I>(Wallet): I
                  • -
                  • -
                    -

                    Type Parameters

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      Wallet: WalletConfig
                    -

                    Returns I

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDelayedRevealLazyMint.html b/packages/react/typedoc/functions/useDelayedRevealLazyMint.html deleted file mode 100644 index 7391745302d..00000000000 --- a/packages/react/typedoc/functions/useDelayedRevealLazyMint.html +++ /dev/null @@ -1,107 +0,0 @@ -useDelayedRevealLazyMint | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useDelayedRevealLazyMint

              -
              -
                - -
              • Beta -

                Lazy mint NFTs with delayed reveal

                -
                -
                -

                Type Parameters

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<TContract>
                  -

                  an instance of a DropContract

                  -
                  -
                • -
                • -
                  Optional onProgress: ((progress) => void)
                  -

                  an optional callback that will be called with the progress of the upload

                  -
                  -
                  -
                    -
                  • -
                      -
                    • (progress): void
                    • -
                    • -
                      -

                      Parameters

                      -
                        -
                      • -
                        progress: UploadProgressEvent
                      -

                      Returns void

                -

                Returns UseMutationResult<TransactionResultWithId[], unknown, DelayedRevealLazyMintInput, unknown>

                a mutation object that can be used to lazy mint a batch of NFTs

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: delayedRevealLazyMint,
                isLoading,
                error,
                } = useDelayedRevealLazyMint(contract);

                if (error) {
                console.error("failed to lazy mint NFT", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => delayedRevealLazyMint({ metadatas: [{ name: "My NFT!"}] })}
                >
                Delayed Reveal Lazy mint NFT!
                </button>
                );
                }; -
                - -

                Twfeature

                ERC721Revealable | ERC1155Revealable

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDirectListing.html b/packages/react/typedoc/functions/useDirectListing.html deleted file mode 100644 index 87c7416cf57..00000000000 --- a/packages/react/typedoc/functions/useDirectListing.html +++ /dev/null @@ -1,91 +0,0 @@ -useDirectListing | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useDirectListing

              -
              -
                - -
              • -

                Get a direct listing

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<MarketplaceV3>
                  -

                  an instance of a marketplace v3 contract

                  -
                  -
                • -
                • -
                  listingId: RequiredParam<BigNumberish>
                  -

                  the listing id to check

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes the desired direct listing

                - -
                -

                Example

                const listingId = 0; // the listing id to check
                const { data: directListing, isLoading, error } = useListing(contract, listingId); -
                - -

                Twfeature

                DirectListings

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDirectListings.html b/packages/react/typedoc/functions/useDirectListings.html deleted file mode 100644 index 56f89e77116..00000000000 --- a/packages/react/typedoc/functions/useDirectListings.html +++ /dev/null @@ -1,91 +0,0 @@ -useDirectListings | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useDirectListings

              -
              -
                - -
              • -

                Get all direct listings

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<MarketplaceV3>
                  -

                  an instance of a marketplace v3 contract

                  -
                  -
                • -
                • -
                  Optional filter: MarketplaceFilter
                  -

                  filter to pass to the query for the sake of pagination & filtering

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes an array of direct listings

                - -
                -

                Example

                const { data: directListings, isLoading, error } = useDirectListings(contract, { start: 0, count: 100 });
                -
                - -

                Twfeature

                DirectListings

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDirectListingsCount.html b/packages/react/typedoc/functions/useDirectListingsCount.html deleted file mode 100644 index 78bfae88097..00000000000 --- a/packages/react/typedoc/functions/useDirectListingsCount.html +++ /dev/null @@ -1,86 +0,0 @@ -useDirectListingsCount | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useDirectListingsCount

              -
              -
                - -
              • -

                Get the total count of direct listings

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<MarketplaceV3>
                  -

                  an instance of a marketplace v3 contract

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes the direct listings count

                - -
                -

                Example

                const { data: directListingsCount, isLoading, error } = useDirectListingsCount(contract);
                -
                - -

                Twfeature

                DirectListings

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useDisconnect.html b/packages/react/typedoc/functions/useDisconnect.html deleted file mode 100644 index 28c0f41e925..00000000000 --- a/packages/react/typedoc/functions/useDisconnect.html +++ /dev/null @@ -1,75 +0,0 @@ -useDisconnect | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useDisconnect

              -
              -
                - -
              • -

                Returns (() => Promise<void>)

                a method to disconnect from the current active wallet

                - -
                  -
                • -
                    -
                  • (): Promise<void>
                  • -
                  • -

                    Returns Promise<void>

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useENS.html b/packages/react/typedoc/functions/useENS.html deleted file mode 100644 index aad26b65e1b..00000000000 --- a/packages/react/typedoc/functions/useENS.html +++ /dev/null @@ -1,67 +0,0 @@ -useENS | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useENS

              -
              -
                - -
              • -

                Returns UseQueryResult

              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEdition.html b/packages/react/typedoc/functions/useEdition.html deleted file mode 100644 index d02726bfbaf..00000000000 --- a/packages/react/typedoc/functions/useEdition.html +++ /dev/null @@ -1,85 +0,0 @@ -useEdition | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useEdition

              -
              -
                - -
              • -

                Hook for getting an instance of an Edition contract. This contract is used to interface with ERC1155 compliant NFTs.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the Edition contract, found in your thirdweb dashboard

                  -
                  -
                -

                Returns Edition | undefined

                -
                -

                Example

                import { useContract } from '@thirdweb-dev/react'

                export default function Component() {
                const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "edition")

                // Now you can use the edition contract in the rest of the component

                // For example, this function will return all the NFTs on this contract
                async function getNFTs() {
                const nfts = await contract.getAll()
                return nfts
                }

                ...
                } -
                - -

                Deprecated

                This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                -
                - const edition = useEdition("0x1234...");
                + const edition = useContract("0x1234...", "edition").contract; -
                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEditionDrop.html b/packages/react/typedoc/functions/useEditionDrop.html deleted file mode 100644 index 856b3004006..00000000000 --- a/packages/react/typedoc/functions/useEditionDrop.html +++ /dev/null @@ -1,85 +0,0 @@ -useEditionDrop | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useEditionDrop

              -
              -
                - -
              • -

                Hook for getting an instance of an EditionDrop contract. This contract is used to interface with ERC1155 compliant NFTs that can be lazily minted.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the Edition Drop contract, found in your thirdweb dashboard

                  -
                  -
                -

                Returns EditionDrop | undefined

                -
                -

                Example

                import { useContract } from '@thirdweb-dev/react'

                export default function Component() {
                const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "edition-drop")

                // Now you can use the edition drop contract in the rest of the component

                // For example, this function will let the connected wallet claim a new NFT
                async function claim(tokenId, quantity) {
                await contract.claim(tokenId, quantity)
                }

                ...
                } -
                - -

                Deprecated

                This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                -
                - const editionDrop = useEditionDrop("0x1234...");
                + const editionDrop = useContract("0x1234...", "edition-drop").contract; -
                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEnglishAuction.html b/packages/react/typedoc/functions/useEnglishAuction.html deleted file mode 100644 index 51c47b5e258..00000000000 --- a/packages/react/typedoc/functions/useEnglishAuction.html +++ /dev/null @@ -1,91 +0,0 @@ -useEnglishAuction | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useEnglishAuction

              -
              -
                - -
              • -

                Get an english auction

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<MarketplaceV3>
                  -

                  an instance of a marketplace v3 contract

                  -
                  -
                • -
                • -
                  auctionId: RequiredParam<BigNumberish>
                  -

                  the auction id to check

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes the desired english auction

                - -
                -

                Example

                const auctionId = 0; // the listing id to check
                const { data: englishAuction, isLoading, error } = useEnglishAuction(contract, auctionId); -
                - -

                Twfeature

                EnglishAuctions

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEnglishAuctionWinningBid.html b/packages/react/typedoc/functions/useEnglishAuctionWinningBid.html deleted file mode 100644 index f0773712f4d..00000000000 --- a/packages/react/typedoc/functions/useEnglishAuctionWinningBid.html +++ /dev/null @@ -1,91 +0,0 @@ -useEnglishAuctionWinningBid | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useEnglishAuctionWinningBid

              -
              -
                - -
              • -

                Get the winning bid for an english auction

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<MarketplaceV3>
                  -

                  an instance of a marketplace contract

                  -
                  -
                • -
                • -
                  auctionId: RequiredParam<BigNumberish>
                  -

                  the auction id to check

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes the Bid that is winning the auction

                - -
                -

                Example

                const listingId = 0;
                const { data: winningBid, isLoading, error } = useWinningBid(contract, listingId); -
                - -

                Twfeature

                EnglishAuctions

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEnglishAuctions.html b/packages/react/typedoc/functions/useEnglishAuctions.html deleted file mode 100644 index 1d6b8f28ddb..00000000000 --- a/packages/react/typedoc/functions/useEnglishAuctions.html +++ /dev/null @@ -1,91 +0,0 @@ -useEnglishAuctions | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useEnglishAuctions

              -
              -
                - -
              • -

                Get all english auctions

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<MarketplaceV3>
                  -

                  an instance of a marketplace v3 contract

                  -
                  -
                • -
                • -
                  Optional filter: MarketplaceFilter
                  -

                  filter to pass to the query for the sake of pagination & filtering

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes an array of english auctions

                - -
                -

                Example

                const { data: englishAuctions, isLoading, error } = useEnglishAuctions(contract, { start: 0, count: 100 });
                -
                - -

                Twfeature

                EnglishAuctions

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useEnglishAuctionsCount.html b/packages/react/typedoc/functions/useEnglishAuctionsCount.html deleted file mode 100644 index e86280647fa..00000000000 --- a/packages/react/typedoc/functions/useEnglishAuctionsCount.html +++ /dev/null @@ -1,86 +0,0 @@ -useEnglishAuctionsCount | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useEnglishAuctionsCount

              -
              -
                - -
              • -

                Get the total count of english auctions

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<MarketplaceV3>
                  -

                  an instance of a marketplace v3 contract

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes the direct english actions count

                - -
                -

                Example

                const { data: englishAuctionsCount, isLoading, error } = useEnglishAuctionsCount(contract);
                -
                - -

                Twfeature

                EnglishAuctions

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useExecuteAuctionSale.html b/packages/react/typedoc/functions/useExecuteAuctionSale.html deleted file mode 100644 index 73018834a96..00000000000 --- a/packages/react/typedoc/functions/useExecuteAuctionSale.html +++ /dev/null @@ -1,84 +0,0 @@ -useExecuteAuctionSale | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useExecuteAuctionSale

              -
              -
                - -
              • Beta -

                Execute an auction sale. Can only be executed once the auction has ended and the auction has a winning bid.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<Marketplace>
                  -

                  an instance of a Marketplace contract

                  -
                  -
                -

                Returns UseMutationResult<Omit<{
                    data: (() => Promise<unknown>);
                    receipt: providers.TransactionReceipt;
                }, "data">, unknown, ExecuteAuctionSale, unknown>

                a mutation object that can be used to accept an offer on a direct listing

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: executeAuctionSale,
                isLoading,
                error,
                } = useExecuteAuctionSale(contract);

                if (error) {
                console.error("failed to execute sale", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => executeAuctionSale({ listingId: 1 })}
                >
                Execute sale
                </button>
                );
                }; -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useFrameWallet.html b/packages/react/typedoc/functions/useFrameWallet.html deleted file mode 100644 index 5a5fa7f0a27..00000000000 --- a/packages/react/typedoc/functions/useFrameWallet.html +++ /dev/null @@ -1,81 +0,0 @@ -useFrameWallet | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useFrameWallet

              -
              -
                - -
              • -

                Returns ((connectOptions?) => Promise<FrameWallet>)

                -
                  -
                • -
                    -
                  • (connectOptions?): Promise<FrameWallet>
                  • -
                  • -
                    -

                    Parameters

                    -
                      -
                    • -
                      Optional connectOptions: {
                          chainId?: number;
                      }
                      -
                        -
                      • -
                        Optional chainId?: number
                    -

                    Returns Promise<FrameWallet>

              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useGrantRole.html b/packages/react/typedoc/functions/useGrantRole.html deleted file mode 100644 index ad03348ddc3..00000000000 --- a/packages/react/typedoc/functions/useGrantRole.html +++ /dev/null @@ -1,91 +0,0 @@ -useGrantRole | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useGrantRole

              -
              -
                - -
              • Beta -

                Grant a role to a specific address

                -
                -
                -

                Type Parameters

                -
                  -
                • -

                  TContract extends ContractWithRoles

                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<TContract>
                  -

                  an instance of a SmartContract

                  -
                  -
                -

                Returns UseMutationResult

                a mutation object that can be used to grant a member of a role on the contract

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: grantRole,
                isLoading,
                error,
                } = useGrantRole(contract);

                if (error) {
                console.error("failed to grant role", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => grantRole({ role: "admin", address: {{wallet_address}} })}
                >
                Grant Role
                </button>
                );
                }; -
                - -

                Twfeature

                Permissions | PermissionsEnumerable

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useInstalledWallets.html b/packages/react/typedoc/functions/useInstalledWallets.html deleted file mode 100644 index c11717fe4c8..00000000000 --- a/packages/react/typedoc/functions/useInstalledWallets.html +++ /dev/null @@ -1,76 +0,0 @@ -useInstalledWallets | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useInstalledWallets

              -
              -
                - -
              • -

                Returns {
                    coinbaseWallet: boolean;
                    metamask: boolean;
                    trustWallet: boolean;
                    zerionWallet: boolean;
                }

                -
                  -
                • -
                  coinbaseWallet: boolean
                • -
                • -
                  metamask: boolean
                • -
                • -
                  trustWallet: boolean
                • -
                • -
                  zerionWallet: boolean
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useIsAccountDeployed.html b/packages/react/typedoc/functions/useIsAccountDeployed.html deleted file mode 100644 index d1b0166fb47..00000000000 --- a/packages/react/typedoc/functions/useIsAccountDeployed.html +++ /dev/null @@ -1,90 +0,0 @@ -useIsAccountDeployed | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useIsAccountDeployed

              -
              -
                - -
              • Beta -

                Check if a account has been deployed for the given admin

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<SmartContract<BaseContract>>
                  -

                  an instance of a account factory contract

                  -
                  -
                • -
                • -
                  admin: RequiredParam<string>
                • -
                • -
                  Optional extraData: BytesLike
                -

                Returns UseQueryResult<boolean>

                a boolean indicating if a account has been deployed for the given admin

                - -
                -

                Example

                const { data: isAccountDeployed, isLoading, error } = useIsAccountDeployed(contract);
                -
                - -

                Twfeature

                AccountFactory

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useIsAddressRole.html b/packages/react/typedoc/functions/useIsAddressRole.html deleted file mode 100644 index 039f4f72bef..00000000000 --- a/packages/react/typedoc/functions/useIsAddressRole.html +++ /dev/null @@ -1,101 +0,0 @@ -useIsAddressRole | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useIsAddressRole

              -
              -
                - -
              • Beta -

                Check if an address is a member of a specific role

                -
                -
                -

                Type Parameters

                -
                  -
                • -

                  TContract extends ContractWithRoles

                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<TContract>
                  -

                  an instance of a SmartContract

                  -
                  -
                • -
                • -
                  role: RolesForContract<TContract>
                  -

                  the role to check the member against, see Role

                  -
                  -
                • -
                • -
                  walletAddress: RequiredParam<string>
                  -

                  the address to check

                  -
                  -
                -

                Returns boolean

                true if the address is a member of the role, or false if not

                - -
                -

                Example

                const { data: isMember, isLoading, error } = useIsAddressRole(contract, "admin", "{{wallet_address}}");
                -
                - -

                Twfeature

                PermissionsEnumerable

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useIsWalletModalOpen.html b/packages/react/typedoc/functions/useIsWalletModalOpen.html deleted file mode 100644 index a65385b1d62..00000000000 --- a/packages/react/typedoc/functions/useIsWalletModalOpen.html +++ /dev/null @@ -1,67 +0,0 @@ -useIsWalletModalOpen | @thirdweb-dev/react
              -
              - -
              - -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useLazyMint.html b/packages/react/typedoc/functions/useLazyMint.html deleted file mode 100644 index a748042264b..00000000000 --- a/packages/react/typedoc/functions/useLazyMint.html +++ /dev/null @@ -1,107 +0,0 @@ -useLazyMint | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useLazyMint

              -
              -
                - -
              • Beta -

                Lazy mint NFTs

                -
                -
                -

                Type Parameters

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<TContract>
                  -

                  an instance of a NFTContract with the drop extension

                  -
                  -
                • -
                • -
                  Optional onProgress: ((progress) => void)
                  -

                  an optional callback that will be called with the progress of the upload

                  -
                  -
                  -
                    -
                  • -
                      -
                    • (progress): void
                    • -
                    • -
                      -

                      Parameters

                      -
                        -
                      • -
                        progress: UploadProgressEvent
                      -

                      Returns void

                -

                Returns UseMutationResult<any, unknown, any, unknown>

                a mutation object that can be used to lazy mint a batch of NFTs

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: lazyMint,
                isLoading,
                error,
                } = useLazyMint(contract);

                if (error) {
                console.error("failed to lazy mint NFT", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => lazyMint({ metadatas: [{ name: "My NFT!"}] })}
                >
                Lazy mint NFT!
                </button>
                );
                }; -
                - -

                Twfeature

                ERC721LazyMintable | ERC1155LazyMintable

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useListing.html b/packages/react/typedoc/functions/useListing.html deleted file mode 100644 index a1a2665b909..00000000000 --- a/packages/react/typedoc/functions/useListing.html +++ /dev/null @@ -1,89 +0,0 @@ -useListing | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useListing

              -
              -
                - -
              • Beta -

                Get a listing

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<Marketplace>
                  -

                  an instance of a marketplace contract

                  -
                  -
                • -
                • -
                  listingId: RequiredParam<BigNumberish>
                  -

                  the listing id to check

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes the desired listing

                - -
                -

                Example

                const listingId = 0; // the listing id to check
                const { data: listing, isLoading, error } = useListing(contract, listingId); -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useListings.html b/packages/react/typedoc/functions/useListings.html deleted file mode 100644 index ff5242ef6c0..00000000000 --- a/packages/react/typedoc/functions/useListings.html +++ /dev/null @@ -1,89 +0,0 @@ -useListings | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useListings

              -
              -
                - -
              • Beta -

                Get all listings

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<Marketplace>
                  -

                  an instance of a marketplace contract

                  -
                  -
                • -
                • -
                  Optional filter: MarketplaceFilter
                  -

                  filter to pass to the query for the sake of pagination & filtering

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes an array of listings

                - -
                -

                Example

                const { data: listings, isLoading, error } = useListings(contract, { start: 0, count: 100 });
                -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useListingsCount.html b/packages/react/typedoc/functions/useListingsCount.html deleted file mode 100644 index 4133ed2f057..00000000000 --- a/packages/react/typedoc/functions/useListingsCount.html +++ /dev/null @@ -1,84 +0,0 @@ -useListingsCount | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useListingsCount

              -
              -
                - -
              • Beta -

                Get the total count of listings

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<Marketplace>
                  -

                  an instance of a marketplace contract

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes the listing count

                - -
                -

                Example

                const { data: listingsCount, isLoading, error } = useListingsCount(contract);
                -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useLogin.html b/packages/react/typedoc/functions/useLogin.html deleted file mode 100644 index b2ee2c3ec58..00000000000 --- a/packages/react/typedoc/functions/useLogin.html +++ /dev/null @@ -1,87 +0,0 @@ -useLogin | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useLogin

              -
              -
                - -
              • Beta -

                Hook to securely login to a backend with the connected wallet. The backend -authentication URL must be configured on the ThirdwebProvider.

                -
                -

                Returns {
                    isLoading: boolean;
                    login: (() => Promise<any>);
                }

                  -
                • A function to invoke to login with the connected wallet, and an isLoading state.
                • -
                - -
                  -
                • -
                  isLoading: boolean
                • -
                • -
                  login: (() => Promise<any>)
                  -
                    -
                  • -
                      -
                    • (): Promise<any>
                    • -
                    • -

                      Returns Promise<any>

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useLogout.html b/packages/react/typedoc/functions/useLogout.html deleted file mode 100644 index 0bae367484f..00000000000 --- a/packages/react/typedoc/functions/useLogout.html +++ /dev/null @@ -1,81 +0,0 @@ -useLogout | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useLogout

              -
              -
                - -
              • Beta -

                Hook to logout the connected wallet from the backend. -The backend logout URL must be configured on the ThirdwebProvider.

                -
                -

                Returns {
                    isLoading: boolean;
                    logout: UseMutateAsyncFunction;
                }

                  -
                • A function to invoke to logout.
                • -
                - -
                  -
                • -
                  isLoading: boolean
                • -
                • -
                  logout: UseMutateAsyncFunction
                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMagic.html b/packages/react/typedoc/functions/useMagic.html deleted file mode 100644 index 6a49a5b736f..00000000000 --- a/packages/react/typedoc/functions/useMagic.html +++ /dev/null @@ -1,78 +0,0 @@ -useMagic | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMagic

              -
              -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMakeBid.html b/packages/react/typedoc/functions/useMakeBid.html deleted file mode 100644 index b748d7c9391..00000000000 --- a/packages/react/typedoc/functions/useMakeBid.html +++ /dev/null @@ -1,84 +0,0 @@ -useMakeBid | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMakeBid

              -
              -
                - -
              • Beta -

                Make a bid on an auction listing

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<Marketplace>
                  -

                  an instance of a Marketplace contract

                  -
                  -
                -

                Returns UseMutationResult<Omit<{
                    data: (() => Promise<unknown>);
                    receipt: providers.TransactionReceipt;
                }, "data">, unknown, MakeBidParams, unknown>

                a mutation object that can be used to make a bid on an auction listing

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: makeBid,
                isLoading,
                error,
                } = useMakeBid(contract);

                if (error) {
                console.error("failed to make a bid", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => makeBid({ listingId: 1, bid: 2 })}
                >
                Bid!
                </button>
                );
                }; -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMakeOffer.html b/packages/react/typedoc/functions/useMakeOffer.html deleted file mode 100644 index f35fb79eb87..00000000000 --- a/packages/react/typedoc/functions/useMakeOffer.html +++ /dev/null @@ -1,84 +0,0 @@ -useMakeOffer | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMakeOffer

              -
              -
                - -
              • Beta -

                Nake an offer on a direct or auction listing

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<Marketplace>
                  -

                  an instance of a Marketplace contract

                  -
                  -
                -

                Returns UseMutationResult<Omit<{
                    data: (() => Promise<unknown>);
                    receipt: providers.TransactionReceipt;
                }, "data">, unknown, MakeOfferParams, unknown>

                a mutation object that can be used to make a bid on an auction listing

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: makeOffer,
                isLoading,
                error,
                } = useMakeOffer(contract);

                if (error) {
                console.error("failed to make a bid", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => makeOffer({ listingId: 1, pricePerToken: 0.5, quantity: 1 })}
                >
                Bid!
                </button>
                );
                }; -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMarketplace.html b/packages/react/typedoc/functions/useMarketplace.html deleted file mode 100644 index a609f7794cc..00000000000 --- a/packages/react/typedoc/functions/useMarketplace.html +++ /dev/null @@ -1,85 +0,0 @@ -useMarketplace | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMarketplace

              -
              -
                - -
              • -

                Hook for getting an instance of a Marketplace contract. This contract is used to support marketplace for purchase and sale of on-chain assets.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the Marketplace contract, found in your thirdweb dashboard

                  -
                  -
                -

                Returns Marketplace | undefined

                -
                -

                Example

                import { useContract } from '@thirdweb-dev/react'

                export default function Component() {
                const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "marketplace")

                // Now you can use the marketplace contract in the rest of the component

                // For example, this function will return all the listings on the marketplace
                async function getListings() {
                const listings = await contract.getAll()
                return listings
                }

                ...
                } -
                - -

                Deprecated

                This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                -
                - const marketplace = useMarketplace("0x1234...");
                + const marketplace = useContract("0x1234...", "marketplace").contract; -
                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMetadata.html b/packages/react/typedoc/functions/useMetadata.html deleted file mode 100644 index f00c3997e1c..00000000000 --- a/packages/react/typedoc/functions/useMetadata.html +++ /dev/null @@ -1,84 +0,0 @@ -useMetadata | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMetadata

              -
              -
                - -
              • Beta -

                Get the metadata of this contract

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<ValidContractInstance>
                  -

                  an instance of a SmartContract

                  -
                  -
                -

                Returns UseQueryResult

                a CustomContractMetadata object containing the metadata

                - -
                -

                Example

                const { data: metadata, isLoading, error } = useMetadata(contract);
                -
                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMetamask.html b/packages/react/typedoc/functions/useMetamask.html deleted file mode 100644 index 9ce54881f94..00000000000 --- a/packages/react/typedoc/functions/useMetamask.html +++ /dev/null @@ -1,81 +0,0 @@ -useMetamask | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMetamask

              -
              -
                - -
              • -

                Returns ((connectOptions?) => Promise<MetaMaskWallet>)

                -
                  -
                • -
                    -
                  • (connectOptions?): Promise<MetaMaskWallet>
                  • -
                  • -
                    -

                    Parameters

                    -
                      -
                    • -
                      Optional connectOptions: {
                          chainId?: number;
                      }
                      -
                        -
                      • -
                        Optional chainId?: number
                    -

                    Returns Promise<MetaMaskWallet>

              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMinimumNextBid.html b/packages/react/typedoc/functions/useMinimumNextBid.html deleted file mode 100644 index d5a7f69d290..00000000000 --- a/packages/react/typedoc/functions/useMinimumNextBid.html +++ /dev/null @@ -1,91 +0,0 @@ -useMinimumNextBid | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMinimumNextBid

              -
              -
                - -
              • -

                Get the minimum next bid for an english auction

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<Marketplace | MarketplaceV3>
                  -

                  an instance of a marketplace contract

                  -
                  -
                • -
                • -
                  listingId: RequiredParam<BigNumberish>
                  -

                  the listing id to check

                  -
                  -
                -

                Returns UseQueryResult

                a response object that includes the minimum next bid for the auction listing

                - -
                -

                Example

                const listingId = 0;
                const { data: minimumNextBid, isLoading, error } = useMinimumNextBid(contract, listingId); -
                - -

                Twfeature

                EnglishAucton

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMintNFT.html b/packages/react/typedoc/functions/useMintNFT.html deleted file mode 100644 index 056cb73debf..00000000000 --- a/packages/react/typedoc/functions/useMintNFT.html +++ /dev/null @@ -1,91 +0,0 @@ -useMintNFT | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMintNFT

              -
              -
                - -
              • Beta -

                Mint an NFT to a specific wallet

                -
                -
                -

                Type Parameters

                -
                -
                -

                Parameters

                -
                -

                Returns UseMutationResult<MintNFTReturnType<TContract>, unknown, MintNFTParams, unknown>

                a mutation object that can be used to mint a new NFT token to the connected wallet

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: mintNft,
                isLoading,
                error,
                } = useMintNFT(contract);

                if (error) {
                console.error("failed to mint NFT", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => mintNft({ name: "My awesome NFT!", to: "{{wallet_address}}" })}
                >
                Mint!
                </button>
                );
                }; -
                - -

                Twfeature

                ERC721Mintable | ERC1155Mintable

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMintNFTSupply.html b/packages/react/typedoc/functions/useMintNFTSupply.html deleted file mode 100644 index fcb1a6dc613..00000000000 --- a/packages/react/typedoc/functions/useMintNFTSupply.html +++ /dev/null @@ -1,86 +0,0 @@ -useMintNFTSupply | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMintNFTSupply

              -
              -
                - -
              • Beta -

                Increase the supply of an existing NFT

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: Erc1155<BaseERC1155 | BaseSignatureMintERC1155>
                  -

                  an instance of a Erc1155

                  -
                  -
                -

                Returns UseMutationResult<TransactionResultWithId, unknown, MintNFTSupplyParams, unknown>

                a mutation object that can be used to mint a more supply of a token id to the provided wallet

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: mintNftSupply,
                isLoading,
                error,
                } = useMintNFTSupply(contract);

                if (error) {
                console.error("failed to mint additional supply", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => mintNftSupply({ tokenId: 0, additionalSupply: 100, to: "{{wallet_address}}"})}
                >
                Mint Additional Supply!
                </button>
                );
                }; -
                - -

                Twfeature

                ERC1155Mintable

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMintToken.html b/packages/react/typedoc/functions/useMintToken.html deleted file mode 100644 index 96f85068463..00000000000 --- a/packages/react/typedoc/functions/useMintToken.html +++ /dev/null @@ -1,86 +0,0 @@ -useMintToken | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMintToken

              -
              -
                - -
              • Beta -

                Mint tokens

                -
                -
                -

                Parameters

                -
                -

                Returns UseMutationResult<Omit<{
                    data: (() => Promise<unknown>);
                    receipt: providers.TransactionReceipt;
                }, "data">, unknown, TokenParams, unknown>

                a mutation object that can be used to mint new tokens to the connected wallet

                - -
                -

                Example

                const Component = () => {
                const { contract } = useContract("{{contract_address}}");
                const {
                mutate: mintTokens,
                isLoading,
                error,
                } = useMintToken(contract);

                if (error) {
                console.error("failed to mint tokens", error);
                }

                return (
                <button
                disabled={isLoading}
                onClick={() => mintTokens({ to: "{{wallet_address}}", amount: 1000 })}
                >
                Mint!
                </button>
                );
                }; -
                - -

                Twfeature

                ERC20Mintable

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useMultiwrap.html b/packages/react/typedoc/functions/useMultiwrap.html deleted file mode 100644 index 0c0ba7695ab..00000000000 --- a/packages/react/typedoc/functions/useMultiwrap.html +++ /dev/null @@ -1,85 +0,0 @@ -useMultiwrap | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useMultiwrap

              -
              -
                - -
              • -

                Hook for getting an instance of an Multiwrap contract. This contract is an ERC721 in which you can wrap ERC721, ERC1155 and ERC20 tokens.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the Multiwrap contract, found in your thirdweb dashboard

                  -
                  -
                -

                Returns Multiwrap | undefined

                -
                -

                Example

                import { useContract } from '@thirdweb-dev/react'

                export default function Component() {
                const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "multiwrap")

                // Now you can use the multiwrap contract in the rest of the component

                // For example, this function will let the connected wallet wrap tokens
                async function wrap(tokensToWrap, wrappedNFTMetadata) {
                await contract.wrap(tokensToWrap, wrappedNFTMetadata)
                }

                ...
                } -
                - -

                Deprecated

                This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                -
                - const multiwrap = useMultiwrap("0x1234...");
                + const multiwrap = useContract("0x1234...", "multiwrap").contract; -
                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFT.html b/packages/react/typedoc/functions/useNFT.html deleted file mode 100644 index 0f02ddba09e..00000000000 --- a/packages/react/typedoc/functions/useNFT.html +++ /dev/null @@ -1,96 +0,0 @@ -useNFT | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useNFT

              -
              -
                - -
              • Beta -

                Get a single NFT

                -
                -
                -

                Type Parameters

                -
                -
                -

                Parameters

                -
                -

                Returns UseQueryResult<NFT, unknown>

                a response object that includes the metadata for the given tokenId

                - -
                -

                Example

                const tokenId = 0; // the tokenId to look up
                const { data: nft, isLoading, error } = useNFT(contract, tokenId); -
                - -

                Twfeature

                ERC721 | ERC1155

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFTBalance.html b/packages/react/typedoc/functions/useNFTBalance.html deleted file mode 100644 index 9fbbdb9905c..00000000000 --- a/packages/react/typedoc/functions/useNFTBalance.html +++ /dev/null @@ -1,96 +0,0 @@ -useNFTBalance | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useNFTBalance

              -
              -
                - -
              • Beta -

                Get NFT balance of a specific wallet

                -
                -
                -

                Parameters

                -
                -

                Returns UseQueryResult<BigNumber, unknown>

                a response object that includes the total balance of the owner

                - -
                -

                Example

                const { data: ownerBalance, isLoading, error } = useNFTBalance(contract, "{{wallet_address}}");
                // for ERC1155 contracts, you can also pass a tokenId
                const tokenId = 0;
                const { data: ownerBalance, isLoading, error } = useNFTBalance(contract, "{{wallet_address}}", tokenId); -
                - -

                Twfeature

                ERC721 | ERC1155

                - -

                See

                Documentation

                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFTCollection.html b/packages/react/typedoc/functions/useNFTCollection.html deleted file mode 100644 index 2d6b33f27a5..00000000000 --- a/packages/react/typedoc/functions/useNFTCollection.html +++ /dev/null @@ -1,85 +0,0 @@ -useNFTCollection | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useNFTCollection

              -
              -
                - -
              • -

                Hook for getting an instance of an NFTCollection contract. This contract is meant to interface with ERC721 compliant NFTs.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the NFT Collection contract, found in your thirdweb dashboard

                  -
                  -
                -

                Returns NFTCollection | undefined

                -
                -

                Example

                import { useContract } from '@thirdweb-dev/react'

                export default function Component() {
                const { contract, isLoading, error } = useContract("<YOUR-CONTRACT-ADDRESS>", "nft-collection")

                // Now you can use the nftCollection contract in the rest of the component

                // For example, this function will return all the NFTs on this contract
                async function getNFTs() {
                const nfts = await contract.getAll()
                return nfts
                }

                ...
                } -
                - -

                Deprecated

                This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                -
                - const nftCollection = useNFTCollection("0x1234...");
                + const nftCollection = useContract("0x1234...", "nft-collection").contract; -
                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFTDrop.html b/packages/react/typedoc/functions/useNFTDrop.html deleted file mode 100644 index 29628fd8997..00000000000 --- a/packages/react/typedoc/functions/useNFTDrop.html +++ /dev/null @@ -1,85 +0,0 @@ -useNFTDrop | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useNFTDrop

              -
              -
                - -
              • -

                Hook for getting an instance of an NFTDrop contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted.

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contractAddress: RequiredParam<string>
                  -

                  the address of the NFT Drop contract, found in your thirdweb dashboard

                  -
                  -
                -

                Returns NFTDrop | undefined

                -
                -

                Example

                import { useContract } from '@thirdweb-dev/react'

                export default function Component() {
                const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "nft-drop")

                // Now you can use the nft drop contract in the rest of the component

                // For example, this function will let the connected wallet claim a new NFT
                async function claim(quantity) {
                await contract.claim(quantity)
                }

                ...
                } -
                - -

                Deprecated

                This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                -
                - const nftDrop = useNFTDrop("0x1234...");
                + const nftDrop = useContract("0x1234...", "nft-drop").contract; -
                -
              -
              -
              -

              Generated using TypeDoc

              -
              \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNFTs.html b/packages/react/typedoc/functions/useNFTs.html deleted file mode 100644 index 9e3a3b4e3a0..00000000000 --- a/packages/react/typedoc/functions/useNFTs.html +++ /dev/null @@ -1,97 +0,0 @@ -useNFTs | @thirdweb-dev/react
              -
              - -
              -
              -
              -
              - -

              Function useNFTs

              -
              -
                - -
              • Beta -

                Get all NFTs

                -
                -
                -

                Type Parameters

                -
                -
                -

                Parameters

                -
                  -
                • -
                  contract: RequiredParam<TContract>
                  -

                  an instance of a NFTContract

                  -
                  -
                • -
                • -
                  Optional queryParams: {}
                  -

                  query params to pass to the query for pagination

                  -
                  -
                  -
                  -

                  Returns UseQueryResult<NFT[], unknown>

                  a response object that includes an array of NFTs

                  - -
                  -

                  Example

                  const { data: nfts, isLoading, error } = useNFTs(contract, { start: 0, count: 100 });
                  -
                  - -

                  Twfeature

                  ERC721Supply | ERC721Enumerable | ERC1155Enumerable

                  - -

                  See

                  Documentation

                  -
                -
                -
                -

                Generated using TypeDoc

                -
                \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNetwork.html b/packages/react/typedoc/functions/useNetwork.html deleted file mode 100644 index 975f80b41cf..00000000000 --- a/packages/react/typedoc/functions/useNetwork.html +++ /dev/null @@ -1,78 +0,0 @@ -useNetwork | @thirdweb-dev/react
                -
                - -
                -
                -
                -
                - -

                Function useNetwork

                -
                -
                  - -
                • -

                  Returns [NetworkMetadata, SwitchNetwork | undefined]

                  -
                  -

                  Deprecated

                    -
                  • use useChain, useSwitchChain, useChainId instead
                  • -
                  -

                  Hook for getting metadata about the network the current wallet is connected to and switching networks

                  - -

                  Example

                  import { useNetwork } from "@thirdweb-dev/react";

                  const App = () => {
                  const [, switchNetwork] = useNetwork();
                  return (
                  // switchNetwork is undefined if the wallet does not support programmatic network switching
                  // 137 is the chainId for Polygon in this example
                  <button onClick={() => switchNetwork(137)}>
                  Switch Network
                  </button>
                  );
                  }; -
                  -

                  It's important to note that some wallet apps do not support programmatic network switching and switchNetwork will be undefined. -For those situations, you can typically switch networks in the wallet app this hook will still work.

                  -
                -
                -
                -

                Generated using TypeDoc

                -
                \ No newline at end of file diff --git a/packages/react/typedoc/functions/useNetworkMismatch.html b/packages/react/typedoc/functions/useNetworkMismatch.html deleted file mode 100644 index 3c877711d74..00000000000 --- a/packages/react/typedoc/functions/useNetworkMismatch.html +++ /dev/null @@ -1,80 +0,0 @@ -useNetworkMismatch | @thirdweb-dev/react
                -
                - -
                -
                -
                -
                - -

                Function useNetworkMismatch

                -
                -
                  - -
                • -

                  Hook for checking whether the connected wallet is on the correct network specified by the network passed to the <ThirdwebProvider />.

                  -
                  import { useNetworkMismatch } from "@thirdweb-dev/react"
                  -
                  -
                  -

                  Returns boolean

                  true if the chainId of the connected wallet is different from the chainId of the network passed into

                  - -
                  -

                  See

                  Documentation

                  - -

                  Example

                  You can check if a users wallet is connected to the correct chain ID as follows:

                  -
                  import { useNetworkMismatch } from "@thirdweb-dev/react"

                  const App = () => {
                  const isMismatched = useNetworkMismatch()

                  return <div>{isMismatched}</div>
                  } -
                  -

                  From here, you can prompt users to switch their network using the useNetwork hook.

                  -
                -
                -
                -

                Generated using TypeDoc

                -
                \ No newline at end of file diff --git a/packages/react/typedoc/functions/useOffers.html b/packages/react/typedoc/functions/useOffers.html deleted file mode 100644 index 7fe21982dc3..00000000000 --- a/packages/react/typedoc/functions/useOffers.html +++ /dev/null @@ -1,90 +0,0 @@ -useOffers | @thirdweb-dev/react
                -
                - -
                -
                -
                -
                - -

                Function useOffers

                -
                -
                  - -
                • Beta -

                  Get all the offers for a listing

                  -
                  -
                  -

                  Parameters

                  -
                    -
                  • -
                    contract: RequiredParam<Marketplace>
                    -

                    an instance of a Marketplace contract

                    -
                    -
                  • -
                  • -
                    listingId: RequiredParam<BigNumberish>
                    -

                    the id of the listing to fetch offers for

                    -
                    -
                  -

                  Returns {
                      data: Record<string, any>[] | undefined;
                      dataUpdatedAt: number;
                      error: unknown;
                      errorUpdateCount: number;
                      errorUpdatedAt: number;
                      failureCount: number;
                      failureReason: unknown;
                      fetchStatus: FetchStatus;
                      isError: true;
                      isFetched: boolean;
                      isFetchedAfterMount: boolean;
                      isFetching: boolean;
                      isInitialLoading: boolean;
                      isLoading: false;
                      isLoadingError: false;
                      isPaused: boolean;
                      isPlaceholderData: boolean;
                      isPreviousData: boolean;
                      isRefetchError: true;
                      isRefetching: boolean;
                      isStale: boolean;
                      isSuccess: false;
                      refetch: (<TPageData>(options?) => Promise<QueryObserverResult>);
                      remove: (() => void);
                      status: "error";
                  } | {
                      data: Record<string, any>[] | undefined;
                      dataUpdatedAt: number;
                      error: null;
                      errorUpdateCount: number;
                      errorUpdatedAt: number;
                      failureCount: number;
                      failureReason: unknown;
                      fetchStatus: FetchStatus;
                      isError: false;
                      isFetched: boolean;
                      isFetchedAfterMount: boolean;
                      isFetching: boolean;
                      isInitialLoading: boolean;
                      isLoading: false;
                      isLoadingError: false;
                      isPaused: boolean;
                      isPlaceholderData: boolean;
                      isPreviousData: boolean;
                      isRefetchError: false;
                      isRefetching: boolean;
                      isStale: boolean;
                      isSuccess: true;
                      refetch: (<TPageData>(options?) => Promise<QueryObserverResult>);
                      remove: (() => void);
                      status: "success";
                  } | {
                      data: Record<string, any>[] | undefined;
                      dataUpdatedAt: number;
                      error: unknown;
                      errorUpdateCount: number;
                      errorUpdatedAt: number;
                      failureCount: number;
                      failureReason: unknown;
                      fetchStatus: FetchStatus;
                      isError: true;
                      isFetched: boolean;
                      isFetchedAfterMount: boolean;
                      isFetching: boolean;
                      isInitialLoading: boolean;
                      isLoading: false;
                      isLoadingError: true;
                      isPaused: boolean;
                      isPlaceholderData: boolean;
                      isPreviousData: boolean;
                      isRefetchError: false;
                      isRefetching: boolean;
                      isStale: boolean;
                      isSuccess: false;
                      refetch: (<TPageData>(options?) => Promise<QueryObserverResult>);
                      remove: (() => void);
                      status: "error";
                  } | {
                      data: Record<string, any>[] | undefined;
                      dataUpdatedAt: number;
                      error: null;
                      errorUpdateCount: number;
                      errorUpdatedAt: number;
                      failureCount: number;
                      failureReason: unknown;
                      fetchStatus: FetchStatus;
                      isError: false;
                      isFetched: boolean;
                      isFetchedAfterMount: boolean;
                      isFetching: boolean;
                      isInitialLoading: boolean;
                      isLoading: true;
                      isLoadingError: false;
                      isPaused: boolean;
                      isPlaceholderData: boolean;
                      isPreviousData: boolean;
                      isRefetchError: false;
                      isRefetching: boolean;
                      isStale: boolean;
                      isSuccess: false;
                      refetch: (<TPageData>(options?) => Promise<QueryObserverResult>);
                      remove: (() => void);
                      status: "loading";
                  }

                  -
                  -

                  Remarks

                  Fetch all the offers for a specified direct or auction listing.

                  - -

                  Example

                  const listingId = 0;
                  const { data: offers, isLoading, error } = useOffers(contract, listingId); -
                  - -

                  See

                  Documentation

                  -
                -
                -
                -

                Generated using TypeDoc

                -
                \ No newline at end of file diff --git a/packages/react/typedoc/functions/useOwnedNFTs.html b/packages/react/typedoc/functions/useOwnedNFTs.html deleted file mode 100644 index 624b14e3b14..00000000000 --- a/packages/react/typedoc/functions/useOwnedNFTs.html +++ /dev/null @@ -1,102 +0,0 @@ -useOwnedNFTs | @thirdweb-dev/react
                -
                - -
                -
                -
                -
                - -

                Function useOwnedNFTs

                -
                -
                  - -
                • Beta -

                  Get all NFTs owned by a specific wallet

                  -
                  -
                  -

                  Type Parameters

                  -
                  -
                  -

                  Parameters

                  -
                    -
                  • -
                    contract: RequiredParam<TContract>
                    -

                    an instance of a NFTContract

                    -
                    -
                  • -
                  • -
                    ownerWalletAddress: RequiredParam<string>
                    -

                    the wallet address to get owned tokens for

                    -
                    -
                  • -
                  • -
                    Optional queryParams: {}
                    -

                    query params to pass to the query for pagination

                    -
                    -
                    -
                    -

                    Returns UseQueryResult<NFT[], unknown>

                    a response object that includes the list of owned tokens

                    - -
                    -

                    Example

                    const { data: ownedNFTs, isLoading, error } = useOwnedNFTs(contract, "{{wallet_address}}", { start: 0, count: 100 });
                    -
                    - -

                    Twfeature

                    ERC721Enumerable | ERC1155Enumerable | ERC721Supply

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePack.html b/packages/react/typedoc/functions/usePack.html deleted file mode 100644 index 394ce3a134f..00000000000 --- a/packages/react/typedoc/functions/usePack.html +++ /dev/null @@ -1,85 +0,0 @@ -usePack | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function usePack

                  -
                  -
                    - -
                  • -

                    Hook for getting an instance of a Pack contract. This contract supports the creation of on-chain luck-based lootboxes.

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contractAddress: RequiredParam<string>
                      -

                      the address of the Pack contract, found in your thirdweb dashboard

                      -
                      -
                    -

                    Returns Pack | undefined

                    -
                    -

                    Example

                    import { useContract } from '@thirdweb-dev/react'

                    export default function Component() {
                    const { contract } = usePack("<YOUR-CONTRACT-ADDRESS>", "pack")

                    // Now you can use the pack contract in the rest of the component

                    // For example, this function will get all the packs on this contract
                    async function getPacks() {
                    const packs = await contract.getAll()
                    return packs
                    }

                    ...
                    } -
                    - -

                    Deprecated

                    This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                    -
                    - const pack = usePack("0x1234...");
                    + const pack = useContract("0x1234...", "pack").contract; -
                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePaperWallet.html b/packages/react/typedoc/functions/usePaperWallet.html deleted file mode 100644 index 9a6b7b89437..00000000000 --- a/packages/react/typedoc/functions/usePaperWallet.html +++ /dev/null @@ -1,78 +0,0 @@ -usePaperWallet | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function usePaperWallet

                  -
                  -
                    - -
                  • -

                    Returns ((options) => Promise<PaperWallet>)

                    -
                      -
                    • -
                        -
                      • (options): Promise<PaperWallet>
                      • -
                      • -
                        -

                        Parameters

                        -
                          -
                        • -
                          options: {
                              chainId?: number;
                              email?: string;
                          } & PaperConfig
                        -

                        Returns Promise<PaperWallet>

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePaperWalletUserEmail.html b/packages/react/typedoc/functions/usePaperWalletUserEmail.html deleted file mode 100644 index d5bebe23789..00000000000 --- a/packages/react/typedoc/functions/usePaperWalletUserEmail.html +++ /dev/null @@ -1,67 +0,0 @@ -usePaperWalletUserEmail | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function usePaperWalletUserEmail

                  -
                  -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePlatformFees.html b/packages/react/typedoc/functions/usePlatformFees.html deleted file mode 100644 index 58a3890bed5..00000000000 --- a/packages/react/typedoc/functions/usePlatformFees.html +++ /dev/null @@ -1,86 +0,0 @@ -usePlatformFees | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function usePlatformFees

                  -
                  -
                    - -
                  • Beta -

                    Get the platform fee recipient and basis points

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<ValidContractInstance>
                      -

                      an instance of a SmartContract

                      -
                      -
                    -

                    Returns UseQueryResult<{
                        platform_fee_basis_points: number;
                        platform_fee_recipient: string;
                    }, unknown>

                    an object containing the platform fee basis points and the fee recipient address

                    - -
                    -

                    Example

                    const { data: platformFees, isLoading, error } = usePlatformFees(contract);
                    -
                    - -

                    Twfeature

                    PlatformFee

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/usePrimarySaleRecipient.html b/packages/react/typedoc/functions/usePrimarySaleRecipient.html deleted file mode 100644 index c97c4ecf99e..00000000000 --- a/packages/react/typedoc/functions/usePrimarySaleRecipient.html +++ /dev/null @@ -1,87 +0,0 @@ -usePrimarySaleRecipient | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function usePrimarySaleRecipient

                  -
                  -
                    - -
                  • Beta -

                    Get the primary sale recipient

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<ValidContractInstance>
                      -

                      an instance of a SmartContract

                      -
                      -
                    -

                    Returns UseQueryResult<string, unknown>

                    the wallet address of the primary sales recipient

                    - -
                    -

                    Example

                    const { data: primarySaleRecipient, isLoading, error } = usePrimarySalesRecipient(contract);
                    -
                    -

                    Use this to get the primary sales recipient of your SmartContract

                    - -

                    Twfeature

                    PrimarySale

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRainbowWallet.html b/packages/react/typedoc/functions/useRainbowWallet.html deleted file mode 100644 index 90613597e86..00000000000 --- a/packages/react/typedoc/functions/useRainbowWallet.html +++ /dev/null @@ -1,81 +0,0 @@ -useRainbowWallet | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useRainbowWallet

                  -
                  -
                    - -
                  • -

                    Returns ((connectOptions?) => Promise<RainbowWallet>)

                    -
                      -
                    • -
                        -
                      • (connectOptions?): Promise<RainbowWallet>
                      • -
                      • -
                        -

                        Parameters

                        -
                          -
                        • -
                          Optional connectOptions: {
                              chainId?: number;
                          }
                          -
                            -
                          • -
                            Optional chainId?: number
                        -

                        Returns Promise<RainbowWallet>

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRemoveAdmin.html b/packages/react/typedoc/functions/useRemoveAdmin.html deleted file mode 100644 index 60aebbd106c..00000000000 --- a/packages/react/typedoc/functions/useRemoveAdmin.html +++ /dev/null @@ -1,75 +0,0 @@ -useRemoveAdmin | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useRemoveAdmin

                  -
                  -
                    - -
                  • -

                    Add an additional admin on the smart wallet

                    -
                    -

                    Returns UseMutationResult<TransactionResult, unknown, string>

                    -
                    -

                    Example

                    const Component = () => {
                    const {
                    mutate: removeAdmin,
                    isLoading,
                    error,
                    } = useRemoveAdmin();

                    if (error) {
                    console.error("failed to remove admin", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => removeAdmin("0x...")}
                    >
                    Remove admin
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    Account

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useResetClaimConditions.html b/packages/react/typedoc/functions/useResetClaimConditions.html deleted file mode 100644 index 2b929f52329..00000000000 --- a/packages/react/typedoc/functions/useResetClaimConditions.html +++ /dev/null @@ -1,86 +0,0 @@ -useResetClaimConditions | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useResetClaimConditions

                  -
                  -
                    - -
                  • Beta -

                    Reset claim conditions

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseMutationResult<Omit<{
                        data: (() => Promise<unknown>);
                        receipt: providers.TransactionReceipt;
                    }, "data">, unknown, void, unknown>

                    a mutation object that can be used to reset claim conditions

                    - -
                    -

                    Example

                    const Component = () => {
                    const { contract } = useContract("{{contract_address}}");
                    const {
                    mutate: resetClaimConditions,
                    isLoading,
                    error,
                    } = useResetClaimConditions(contract);

                    if (error) {
                    console.error("failed to reset claim conditions", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={resetClaimConditions}
                    >
                    Reset Claim Conditions
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useResolvedMediaType.html b/packages/react/typedoc/functions/useResolvedMediaType.html deleted file mode 100644 index 270c88745c3..00000000000 --- a/packages/react/typedoc/functions/useResolvedMediaType.html +++ /dev/null @@ -1,93 +0,0 @@ -useResolvedMediaType | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useResolvedMediaType

                  -
                  -
                    - -
                  • -
                    -

                    Parameters

                    -
                      -
                    • -
                      Optional uri: string
                      -

                      the uri to resolve (can be a url or a ipfs://<cid>)

                      -
                      -
                    • -
                    • -
                      Optional mimeType: string
                    • -
                    • -
                      Optional gatewayUrl: string
                    -

                    Returns {
                        mimeType: undefined | string;
                        url: string;
                    }

                    the fully resolved url + mime type of the media

                    - -
                      -
                    • -
                      mimeType: undefined | string
                    • -
                    • -
                      url: string
                    -
                    -

                    Example

                    Usage with fully formed url:

                    -
                    const Component = () => {
                    const resolved = useResolvedMediaType("https://example.com/video.mp4");
                    console.log("mime type", resolved.data.mimeType);
                    console.log("url", resolved.data.url);
                    return null;
                    } -
                    -

                    Usage with ipfs cid:

                    -
                    const Component = () => {
                    const resolved = useResolvedMediaType("ipfs://QmWATWQ7fVPP2EFGu71UkfnqhYXDYH566qy47CnJDgvsd");
                    console.log("mime type", resolved.data.mimeType);
                    console.log("url", resolved.data.url);
                    return null;
                    } -
                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRevealLazyMint.html b/packages/react/typedoc/functions/useRevealLazyMint.html deleted file mode 100644 index 89d49a9ad70..00000000000 --- a/packages/react/typedoc/functions/useRevealLazyMint.html +++ /dev/null @@ -1,91 +0,0 @@ -useRevealLazyMint | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useRevealLazyMint

                  -
                  -
                    - -
                  • Beta -

                    Reveal a batch of delayed reveal NFTs

                    -
                    -
                    -

                    Type Parameters

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseMutationResult<Omit<{
                        data: (() => Promise<unknown>);
                        receipt: providers.TransactionReceipt;
                    }, "data">, unknown, RevealLazyMintInput, unknown>

                    a mutation object that can be used to reveal a batch of delayed reveal NFTs

                    - -
                    -

                    Example

                    const Component = () => {
                    const { contract } = useContract("{{contract_address}}");
                    const {
                    mutate: revealLazyMint,
                    isLoading,
                    error,
                    } = useRevealLazyMint(contract);

                    if (error) {
                    console.error("failed to reveal batch", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => revealLazyMint({ batchId: "0", password: "my-password" })}
                    >
                    Reveal batch!
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    ERC721Revealable | ERC1155Revealable

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRevokeRole.html b/packages/react/typedoc/functions/useRevokeRole.html deleted file mode 100644 index 2d66ed2c317..00000000000 --- a/packages/react/typedoc/functions/useRevokeRole.html +++ /dev/null @@ -1,91 +0,0 @@ -useRevokeRole | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useRevokeRole

                  -
                  -
                    - -
                  • Beta -

                    Revoke a role from a specific address

                    -
                    -
                    -

                    Type Parameters

                    -
                      -
                    • -

                      TContract extends ContractWithRoles

                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<TContract>
                      -

                      an instance of a SmartContract

                      -
                      -
                    -

                    Returns UseMutationResult

                    a mutation object that can be used to revoke a role from a member on the contract

                    - -
                    -

                    Example

                    const Component = () => {
                    const { contract } = useContract("{{contract_address}}");
                    const {
                    mutate: revokeRole,
                    isLoading,
                    error,
                    } = useRevokeRole(contract);

                    if (error) {
                    console.error("failed to revoke role", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => revokeRole({ role: "admin", address: {{wallet_address}} })}
                    >
                    Revoke Role
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    Permissions | PermissionsEnumerable

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRevokeSessionKey.html b/packages/react/typedoc/functions/useRevokeSessionKey.html deleted file mode 100644 index 3a6f6fc2835..00000000000 --- a/packages/react/typedoc/functions/useRevokeSessionKey.html +++ /dev/null @@ -1,75 +0,0 @@ -useRevokeSessionKey | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useRevokeSessionKey

                  -
                  -
                    - -
                  • -

                    Revoke a session key on the smart wallet

                    -
                    -

                    Returns UseMutationResult<TransactionResult, unknown, string>

                    -
                    -

                    Example

                    const Component = () => {
                    const {
                    mutate: revokeSessionKey,
                    isLoading,
                    error,
                    } = useRevokeSessionKey();

                    if (error) {
                    console.error("failed to revoke session key", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => revokeSessionKey("0x...")}
                    >
                    Revoke Session Key
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    Account

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRoleMembers.html b/packages/react/typedoc/functions/useRoleMembers.html deleted file mode 100644 index 8fa77544de1..00000000000 --- a/packages/react/typedoc/functions/useRoleMembers.html +++ /dev/null @@ -1,96 +0,0 @@ -useRoleMembers | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useRoleMembers

                  -
                  -
                    - -
                  • Beta -

                    Get all members of a specific role

                    -
                    -
                    -

                    Type Parameters

                    -
                      -
                    • -

                      TContract extends ContractWithRoles

                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<TContract>
                      -

                      an instance of a SmartContract

                      -
                      -
                    • -
                    • -
                      role: RolesForContract<TContract>
                      -

                      the role to get the members of, see Role

                      -
                      -
                    -

                    Returns UseQueryResult

                    a list of addresses that are members of the role

                    - -
                    -

                    Example

                    const { data: members, isLoading, error } = useRoleMembers(SmartContract, "admin");
                    -
                    - -

                    Twfeature

                    Permissions

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useRoyaltySettings.html b/packages/react/typedoc/functions/useRoyaltySettings.html deleted file mode 100644 index 60cd7a643fa..00000000000 --- a/packages/react/typedoc/functions/useRoyaltySettings.html +++ /dev/null @@ -1,86 +0,0 @@ -useRoyaltySettings | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useRoyaltySettings

                  -
                  -
                    - -
                  • Beta -

                    Get the royalty recipient and fee

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<ValidContractInstance>
                      -

                      an instance of a SmartContract

                      -
                      -
                    -

                    Returns UseQueryResult<{
                        fee_recipient: string;
                        seller_fee_basis_points: number;
                    }, unknown>

                    an object containing recipient address and the royalty basis points

                    - -
                    -

                    Example

                    const { data: settings, isLoading, error } = useRoyaltySettings(contract);
                    -
                    - -

                    Twfeature

                    Royalty

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSDK.html b/packages/react/typedoc/functions/useSDK.html deleted file mode 100644 index e0efa157ffb..00000000000 --- a/packages/react/typedoc/functions/useSDK.html +++ /dev/null @@ -1,74 +0,0 @@ -useSDK | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSDK

                  -
                  -
                    - -
                  • -

                    Returns ThirdwebSDK | undefined

                    ThirdwebSDK -Access the instance of the thirdweb SDK created by the ThirdwebProvider -to call methods using the connected wallet on the desiredChainId.

                    - -
                    -

                    Example

                    const sdk = useSDK();
                    -
                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSafe.html b/packages/react/typedoc/functions/useSafe.html deleted file mode 100644 index 06662ed0147..00000000000 --- a/packages/react/typedoc/functions/useSafe.html +++ /dev/null @@ -1,78 +0,0 @@ -useSafe | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSafe

                  -
                  -
                    - -
                  • -

                    Returns ((connectProps) => Promise<SafeWallet>)

                    -
                      -
                    • -
                        -
                      • (connectProps): Promise<SafeWallet>
                      • -
                      • -
                        -

                        Parameters

                        -
                          -
                        • -
                          connectProps: SafeConnectionArgs
                        -

                        Returns Promise<SafeWallet>

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetAllRoleMembers.html b/packages/react/typedoc/functions/useSetAllRoleMembers.html deleted file mode 100644 index d7c91e0fb77..00000000000 --- a/packages/react/typedoc/functions/useSetAllRoleMembers.html +++ /dev/null @@ -1,89 +0,0 @@ -useSetAllRoleMembers | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSetAllRoleMembers

                  -
                  -
                    - -
                  • Beta -

                    Overwrite the list of members for specific roles

                    -
                    -
                    -

                    Type Parameters

                    -
                      -
                    • -

                      TContract extends ContractWithRoles

                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<TContract>
                      -

                      an instance of a SmartContract

                      -
                      -
                    -

                    Returns UseMutationResult

                    a mutation object that can be used to overwrite all roles on the contract

                    - -
                    -

                    Example

                    const Component = () => {
                    const { contract } = useContract("{{contract_address}}");
                    const {
                    mutate: overwriteRoles,
                    isLoading,
                    error,
                    } = useSetAllRoleMembers(contract);

                    if (error) {
                    console.error("failed to overwrite roles", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => overwriteRoles({ rolesWithAddresses: { minter: ["{{wallet_address}"] } })}
                    >
                    Overwrite Roles
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    Permissions

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetAppURI.html b/packages/react/typedoc/functions/useSetAppURI.html deleted file mode 100644 index 937223c9cae..00000000000 --- a/packages/react/typedoc/functions/useSetAppURI.html +++ /dev/null @@ -1,84 +0,0 @@ -useSetAppURI | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSetAppURI

                  -
                  -
                    - -
                  • Beta -

                    Set App URI

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<ValidContractInstance>
                      -

                      an instance of a SmartContract

                      -
                      -
                    -

                    Returns UseMutationResult<Omit<{
                        data: (() => Promise<unknown>);
                        receipt: providers.TransactionReceipt;
                    }, "data">, unknown, {
                        uri: string;
                    }, unknown>

                    a mutation object that can be used to update the appURI of a contract

                    - -
                    -

                    Example

                    const Component = () => {
                    const {
                    mutate: useSetAppURI,
                    isLoading,
                    error,
                    } = useSetAppURI(contract);

                    if (error) {
                    console.error("failed to update appURI", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => useSetAppURI({ uri })}
                    >
                    Update App URI
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    AppUR

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetClaimConditions.html b/packages/react/typedoc/functions/useSetClaimConditions.html deleted file mode 100644 index a25a341164a..00000000000 --- a/packages/react/typedoc/functions/useSetClaimConditions.html +++ /dev/null @@ -1,88 +0,0 @@ -useSetClaimConditions | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSetClaimConditions

                  -
                  -
                    - -
                  • Beta -

                    Set claim conditions

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseMutationResult<{
                        receipt: providers.TransactionReceipt;
                    }, unknown, SetClaimConditionsParams, unknown>

                    a mutation object that can be used to set claim conditions

                    - -
                    -

                    Example

                    const Component = () => {
                    const { contract } = useContract("{{contract_address}}");
                    const {
                    mutate: setClaimConditions,
                    isLoading,
                    error,
                    } = useSetClaimConditions(contract);

                    if (error) {
                    console.error("failed to set claim conditions", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => setClaimConditions({ phases: [{ price: 2, maxClaimableSupply: 100 }] })}
                    >
                    Set Claim Conditions!
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    ERC20ClaimPhasesV2 | ERC20ClaimPhasesV1 | ERC20ClaimConditionsV2 | ERC20ClaimConditionsV1 | ERC721ClaimPhasesV2 | ERC721ClaimPhasesV1 | ERC721ClaimConditionsV2 | ERC721ClaimConditionsV1 | ERC1155ClaimPhasesV2 | ERC1155ClaimPhasesV1 | ERC1155ClaimConditionsV2 | ERC1155ClaimConditionsV1

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetConnectedWallet.html b/packages/react/typedoc/functions/useSetConnectedWallet.html deleted file mode 100644 index 701b636e175..00000000000 --- a/packages/react/typedoc/functions/useSetConnectedWallet.html +++ /dev/null @@ -1,82 +0,0 @@ -useSetConnectedWallet | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSetConnectedWallet

                  -
                  -
                    - -
                  • -

                    Returns ((wallet, params?) => Promise<void>)

                    a method to set a connected wallet instance

                    - -
                      -
                    • -
                        -
                      • (wallet, params?): Promise<void>
                      • -
                      • -
                        -

                        Parameters

                        -
                        -

                        Returns Promise<void>

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetConnectionStatus.html b/packages/react/typedoc/functions/useSetConnectionStatus.html deleted file mode 100644 index 6899d517ebf..00000000000 --- a/packages/react/typedoc/functions/useSetConnectionStatus.html +++ /dev/null @@ -1,80 +0,0 @@ -useSetConnectionStatus | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSetConnectionStatus

                  -
                  -
                    - -
                  • -

                    Returns ((status) => void)

                    a method to create an instance of given wallet class

                    - -
                      -
                    • -
                        -
                      • (status): void
                      • -
                      • -
                        -

                        Parameters

                        -
                          -
                        • -
                          status: "unknown" | "connected" | "disconnected" | "connecting"
                        -

                        Returns void

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetIsWalletModalOpen.html b/packages/react/typedoc/functions/useSetIsWalletModalOpen.html deleted file mode 100644 index 7946c17fd13..00000000000 --- a/packages/react/typedoc/functions/useSetIsWalletModalOpen.html +++ /dev/null @@ -1,67 +0,0 @@ -useSetIsWalletModalOpen | @thirdweb-dev/react
                  -
                  - -
                  - -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSetSharedMetadata.html b/packages/react/typedoc/functions/useSetSharedMetadata.html deleted file mode 100644 index 739f52b4a6f..00000000000 --- a/packages/react/typedoc/functions/useSetSharedMetadata.html +++ /dev/null @@ -1,81 +0,0 @@ -useSetSharedMetadata | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSetSharedMetadataPrivate

                  -
                  -
                    - -
                  • Private -

                    Set shared metadata -TODO add docs

                    -
                    -
                    -

                    Type Parameters

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseMutationResult<Omit<{
                        data: (() => Promise<unknown>);
                        receipt: providers.TransactionReceipt;
                    }, "data">, unknown, {
                        animation_url?: any;
                        description?: string | null;
                        image?: any;
                        name?: string | number | null;
                    }, unknown>

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSharedMetadata.html b/packages/react/typedoc/functions/useSharedMetadata.html deleted file mode 100644 index 2377eaa05f2..00000000000 --- a/packages/react/typedoc/functions/useSharedMetadata.html +++ /dev/null @@ -1,86 +0,0 @@ -useSharedMetadata | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSharedMetadata

                  -
                  -
                    - -
                  • Beta -

                    Get the shared metadata of an Open Edition NFT contract

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseQueryResult<BasicNFTInput | undefined>

                    a response object that includes the shared metadata of the contract

                    - -
                    -

                    Example

                    const { data: sharedMetadata, isLoading, error } = useSharedMetadata(contract);
                    -
                    - -

                    Twfeature

                    ERC721SharedMetadata

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSignatureDrop.html b/packages/react/typedoc/functions/useSignatureDrop.html deleted file mode 100644 index 42f68726fbc..00000000000 --- a/packages/react/typedoc/functions/useSignatureDrop.html +++ /dev/null @@ -1,85 +0,0 @@ -useSignatureDrop | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSignatureDrop

                  -
                  -
                    - -
                  • -

                    Hook for getting an instance of an SignatureDrop contract. This contract is meant to interface with ERC721 compliant NFTs that can be lazily minted.

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      Optional contractAddress: RequiredParam<string>
                      -

                      the address of the NFT Drop contract, found in your thirdweb dashboard

                      -
                      -
                    -

                    Returns SignatureDrop | undefined

                    -
                    -

                    Example

                    import { useContract } from '@thirdweb-dev/react'

                    export default function Component() {
                    const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "signature-drop")

                    // Now you can use the Signature drop contract in the rest of the component

                    // For example, this function will let the connected wallet claim a new NFT
                    async function claim(quantity) {
                    await contract.claim(quantity)
                    }

                    ...
                    } -
                    - -

                    Deprecated

                    This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                    -
                    - const signatureDrop = useSignatureDrop("0x1234...");
                    + const signatureDrop = useContract("0x1234...", "signature-drop").contract; -
                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSmartWallet.html b/packages/react/typedoc/functions/useSmartWallet.html deleted file mode 100644 index 6029661776a..00000000000 --- a/packages/react/typedoc/functions/useSmartWallet.html +++ /dev/null @@ -1,80 +0,0 @@ -useSmartWallet | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSmartWallet

                  -
                  -
                    - -
                  • -

                    Returns ((wallet, options) => Promise<SmartWallet>)

                    -
                      -
                    • -
                        -
                      • (wallet, options): Promise<SmartWallet>
                      • -
                      • -
                        -

                        Parameters

                        -
                          -
                        • -
                          wallet: WalletConfig<any>
                        • -
                        • -
                          options: SmartWalletConnectionArgs & SmartWalletConfigOptions
                        -

                        Returns Promise<SmartWallet>

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSplit.html b/packages/react/typedoc/functions/useSplit.html deleted file mode 100644 index 1dac91403b1..00000000000 --- a/packages/react/typedoc/functions/useSplit.html +++ /dev/null @@ -1,85 +0,0 @@ -useSplit | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSplit

                  -
                  -
                    - -
                  • -

                    Hook for getting an instance of a Split contract. This contract supports fund distribution to multiple parties.

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contractAddress: RequiredParam<string>
                      -

                      the address of the Split contract, found in your thirdweb dashboard

                      -
                      -
                    -

                    Returns Split | undefined

                    -
                    -

                    Example

                    import { useContract } from '@thirdweb-dev/react'

                    export default function Component() {
                    const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "split")

                    // Now you can use the split contract in the rest of the component

                    // For example, this function will return all the recipients of the split
                    async function getRecipients() {
                    const recipients = await contract.getAllRecipients()
                    return recipients
                    }

                    ...
                    } -
                    - -

                    Deprecated

                    This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                    -
                    - const split = useSplit("0x1234...");
                    + const split = useContract("0x1234...", "split").contract; -
                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useStorage.html b/packages/react/typedoc/functions/useStorage.html deleted file mode 100644 index 6268850ef67..00000000000 --- a/packages/react/typedoc/functions/useStorage.html +++ /dev/null @@ -1,73 +0,0 @@ -useStorage | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useStorage

                  -
                  -
                    - -
                  • -

                    Get the configured ThirdwebStorage instance

                    -
                    -

                    Returns ThirdwebStorage | undefined

                    The storageInterface configured on the ThirdwebProvider

                    - -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useStorageUpload.html b/packages/react/typedoc/functions/useStorageUpload.html deleted file mode 100644 index 4b7e8c7c2ce..00000000000 --- a/packages/react/typedoc/functions/useStorageUpload.html +++ /dev/null @@ -1,87 +0,0 @@ -useStorageUpload | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useStorageUpload

                  -
                  -
                    - -
                  • -

                    Hook used to upload any files or JSON data to decentralized storage systems like IPFS, -using the storageInterface configured on the ThirdwebProvider

                    -
                    -
                    -

                    Type Parameters

                    -
                      -
                    • -

                      T extends UploadOptions = IpfsUploadBatchOptions

                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      Optional uploadOptions: T
                    -

                    Returns UseMutationResult

                    Function used to upload files or JSON to decentralized storage systems

                    - -
                    -

                    Example

                    import { useStorageUpload } from "@thirdweb-dev/react";

                    export default function Component() {
                    const { mutateAsync: upload, isLoading } = useStorageUpload();

                    async function uploadData() {
                    const filesToUpload = [...];
                    const uris = await upload({ data: files });
                    console.log(uris);
                    }

                    return (
                    <button onClick={uploadData}>
                    Upload
                    </button>
                    )
                    } -
                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSupportedChains.html b/packages/react/typedoc/functions/useSupportedChains.html deleted file mode 100644 index d2ee4c4bbe4..00000000000 --- a/packages/react/typedoc/functions/useSupportedChains.html +++ /dev/null @@ -1,67 +0,0 @@ -useSupportedChains | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSupportedChains

                  -
                  -
                    - -
                  • -

                    Returns Chain[]

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSupportedWallet.html b/packages/react/typedoc/functions/useSupportedWallet.html deleted file mode 100644 index 7f7e40559a7..00000000000 --- a/packages/react/typedoc/functions/useSupportedWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -useSupportedWallet | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSupportedWallet

                  -
                  -
                    - -
                  • -
                    -

                    Parameters

                    -
                      -
                    • -
                      id: string
                    -

                    Returns WalletConfig

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSwitchAccount.html b/packages/react/typedoc/functions/useSwitchAccount.html deleted file mode 100644 index 20db862ef34..00000000000 --- a/packages/react/typedoc/functions/useSwitchAccount.html +++ /dev/null @@ -1,80 +0,0 @@ -useSwitchAccount | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSwitchAccount

                  -
                  -
                    - -
                  • Beta -

                    Hook to switch the account of the active wallet

                    -
                    -

                    Returns {
                        isLoading: boolean;
                        switchAccount: UseMutateAsyncFunction;
                    }

                      -
                    • A function to invoke to switch account.
                    • -
                    - -
                      -
                    • -
                      isLoading: boolean
                    • -
                    • -
                      switchAccount: UseMutateAsyncFunction
                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useSwitchChain.html b/packages/react/typedoc/functions/useSwitchChain.html deleted file mode 100644 index 8aece21429d..00000000000 --- a/packages/react/typedoc/functions/useSwitchChain.html +++ /dev/null @@ -1,80 +0,0 @@ -useSwitchChain | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useSwitchChain

                  -
                  -
                    - -
                  • -

                    Returns ((chain) => Promise<void>)

                    a method to connect the wallet to network/chain with given chainId

                    - -
                      -
                    • -
                        -
                      • (chain): Promise<void>
                      • -
                      • -
                        -

                        Parameters

                        -
                          -
                        • -
                          chain: number
                        -

                        Returns Promise<void>

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useThirdwebAuthContext.html b/packages/react/typedoc/functions/useThirdwebAuthContext.html deleted file mode 100644 index db270d7c88b..00000000000 --- a/packages/react/typedoc/functions/useThirdwebAuthContext.html +++ /dev/null @@ -1,67 +0,0 @@ -useThirdwebAuthContext | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useThirdwebAuthContext

                  -
                  -
                    - -
                  • -

                    Returns ThirdwebAuthContext | undefined

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useThirdwebConfigContext.html b/packages/react/typedoc/functions/useThirdwebConfigContext.html deleted file mode 100644 index f7d0e6c13a5..00000000000 --- a/packages/react/typedoc/functions/useThirdwebConfigContext.html +++ /dev/null @@ -1,67 +0,0 @@ -useThirdwebConfigContext | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useThirdwebConfigContext

                  -
                  -
                    - -
                  • -

                    Returns ThirdwebConfigContext

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useThirdwebConnectedWalletContext.html b/packages/react/typedoc/functions/useThirdwebConnectedWalletContext.html deleted file mode 100644 index 797f78ad008..00000000000 --- a/packages/react/typedoc/functions/useThirdwebConnectedWalletContext.html +++ /dev/null @@ -1,67 +0,0 @@ -useThirdwebConnectedWalletContext | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useThirdwebConnectedWalletContext

                  -
                  -
                    - -
                  • -

                    Returns ThirdwebConnectedWalletContext

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useToken.html b/packages/react/typedoc/functions/useToken.html deleted file mode 100644 index 1299be3313a..00000000000 --- a/packages/react/typedoc/functions/useToken.html +++ /dev/null @@ -1,85 +0,0 @@ -useToken | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useToken

                  -
                  -
                    - -
                  • -

                    Hook for getting an instance of a Token contract. This contract supports ERC20 compliant tokens.

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contractAddress: RequiredParam<string>
                      -

                      the address of the Token contract, found in your thirdweb dashboard

                      -
                      -
                    -

                    Returns Token | undefined

                    -
                    -

                    Example

                    import { useContract } from '@thirdweb-dev/react'

                    export default function Component() {
                    const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "token")

                    // Now you can use the token contract in the rest of the component

                    // For example, this function will get the connected wallets token balance
                    async function balance() {
                    const balance = await contract.balance()
                    return balance
                    }

                    ...
                    } -
                    - -

                    Deprecated

                    This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                    -
                    - const token = useToken("0x1234...");
                    + const token = useContract("0x1234...", "token").contract; -
                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTokenBalance.html b/packages/react/typedoc/functions/useTokenBalance.html deleted file mode 100644 index 961e77f3b2b..00000000000 --- a/packages/react/typedoc/functions/useTokenBalance.html +++ /dev/null @@ -1,88 +0,0 @@ -useTokenBalance | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTokenBalance

                  -
                  -
                    - -
                  • Beta -

                    Get token balance for a specific wallet

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseQueryResult

                    a response object that includes the balance of the address

                    - -
                    -

                    Example

                    const { data: balance, isLoading, error } = useTokenBalance(contract, "{{wallet_address}}");
                    -
                    - -

                    Twfeature

                    ERC20

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTokenDecimals.html b/packages/react/typedoc/functions/useTokenDecimals.html deleted file mode 100644 index b5bd8d92215..00000000000 --- a/packages/react/typedoc/functions/useTokenDecimals.html +++ /dev/null @@ -1,86 +0,0 @@ -useTokenDecimals | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTokenDecimals

                  -
                  -
                    - -
                  • Beta -

                    Get token decimals

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseQueryResult

                    a response object that includes the decimals of the ERC20 token

                    - -
                    -

                    Example

                    const { data: decimals, isLoading, error } = useTokenDecimals(contract);
                    -
                    - -

                    Twfeature

                    ERC20

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTokenDrop.html b/packages/react/typedoc/functions/useTokenDrop.html deleted file mode 100644 index eace574fc61..00000000000 --- a/packages/react/typedoc/functions/useTokenDrop.html +++ /dev/null @@ -1,85 +0,0 @@ -useTokenDrop | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTokenDrop

                  -
                  -
                    - -
                  • -

                    Hook for getting an instance of a Token Drop contract.

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contractAddress: RequiredParam<string>
                      -

                      the address of the Token Drop contract, found in your thirdweb dashboard

                      -
                      -
                    -

                    Returns TokenDrop | undefined

                    -
                    -

                    Example

                    import { useContract } from '@thirdweb-dev/react'

                    export default function Component() {
                    const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "token-drop")

                    // Now you can use the token drop contract in the rest of the component

                    // For example, this function will get the connected wallets token balance
                    async function balance() {
                    const balance = await contract.balance()
                    return balance
                    }

                    ...
                    } -
                    - -

                    Deprecated

                    This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                    -
                    - const token = useTokenDrop("0x1234...");
                    + const token = useContract("0x1234...", "token-drop").contract; -
                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTokenSupply.html b/packages/react/typedoc/functions/useTokenSupply.html deleted file mode 100644 index e0816366fe5..00000000000 --- a/packages/react/typedoc/functions/useTokenSupply.html +++ /dev/null @@ -1,86 +0,0 @@ -useTokenSupply | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTokenSupply

                  -
                  -
                    - -
                  • Beta -

                    Get the total supply for this token

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseQueryResult

                    a response object that includes the total minted supply

                    - -
                    -

                    Example

                    const { data: totalSupply, isLoading, error } = useTokenSupply(contract);
                    -
                    - -

                    Twfeature

                    ERC20

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTotalCirculatingSupply.html b/packages/react/typedoc/functions/useTotalCirculatingSupply.html deleted file mode 100644 index 8f1461459c9..00000000000 --- a/packages/react/typedoc/functions/useTotalCirculatingSupply.html +++ /dev/null @@ -1,91 +0,0 @@ -useTotalCirculatingSupply | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTotalCirculatingSupply

                  -
                  -
                    - -
                  • Beta -

                    Get total minted supply count

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseQueryResult<BigNumber, unknown>

                    a response object that includes the total minted supply

                    - -
                    -

                    Example

                    const { contract } = useContract("{{contract_address}}");
                    const { data: totalCirculatingSupply, isLoading, error } = useTotalCirculatingSupply(contract); -
                    - -

                    Twfeature

                    ERC721Supply | ERC1155Enumerable

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTotalCount.html b/packages/react/typedoc/functions/useTotalCount.html deleted file mode 100644 index 2f2917cb14c..00000000000 --- a/packages/react/typedoc/functions/useTotalCount.html +++ /dev/null @@ -1,91 +0,0 @@ -useTotalCount | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTotalCount

                  -
                  -
                    - -
                  • Beta -

                    Get total supply count

                    -
                    -
                    -

                    Type Parameters

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseQueryResult<BigNumber, unknown>

                    a response object that includes the total count of NFTs

                    - -
                    -

                    Example

                    const { contract } = useContract("{{contract_address}}");
                    const { data: count, isLoading, error } = useTotalCount(contract); -
                    - -

                    Twfeature

                    ERC721Supply | ERC1155Enumerable

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTransferBatchToken.html b/packages/react/typedoc/functions/useTransferBatchToken.html deleted file mode 100644 index 9fcde54d9c9..00000000000 --- a/packages/react/typedoc/functions/useTransferBatchToken.html +++ /dev/null @@ -1,86 +0,0 @@ -useTransferBatchToken | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTransferBatchToken

                  -
                  -
                    - -
                  • Beta -

                    Airdrop tokens to a list of wallets

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseMutationResult<Omit<{
                        data: (() => Promise<unknown>);
                        receipt: providers.TransactionReceipt;
                    }, "data">, unknown, TokenParams[], unknown>

                    a mutation object that can be used to transfer batch tokens

                    - -
                    -

                    Example

                    const Component = () => {
                    const { contract } = useContract("{{contract_address}}");
                    const {
                    mutate: transferBatchTokens,
                    isLoading,
                    error,
                    } = useTransferToken(contract);

                    if (error) {
                    console.error("failed to transfer batch tokens", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => transferBatchTokens([{ to: "{{wallet_address}}", amount: 1000 }, { to: "{{wallet_address}}", amount: 2000 }])}
                    >
                    Airdrop
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    ERC20

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTransferNFT.html b/packages/react/typedoc/functions/useTransferNFT.html deleted file mode 100644 index b51b96671c6..00000000000 --- a/packages/react/typedoc/functions/useTransferNFT.html +++ /dev/null @@ -1,91 +0,0 @@ -useTransferNFT | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTransferNFT

                  -
                  -
                    - -
                  • Beta -

                    Transfer an NFT

                    -
                    -
                    -

                    Type Parameters

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseMutationResult<Omit<{
                        data: (() => Promise<unknown>);
                        receipt: providers.TransactionReceipt;
                    }, "data">, unknown, TransferNFTParams, unknown>

                    a mutation object that can be used to transfer NFTs

                    - -
                    -

                    Example

                    const Component = () => {
                    const { contract } = useContract("{{contract_address}}");
                    const {
                    mutate: transferNFT,
                    isLoading,
                    error,
                    } = useTransferNFT(contract);

                    if (error) {
                    console.error("failed to transfer NFT", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => transferNFT({
                    to: "{{wallet_address}}",
                    tokenId: 2
                    })}
                    >
                    Transfer
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    ERC721 | ERC1155

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTransferToken.html b/packages/react/typedoc/functions/useTransferToken.html deleted file mode 100644 index 6008fefb309..00000000000 --- a/packages/react/typedoc/functions/useTransferToken.html +++ /dev/null @@ -1,86 +0,0 @@ -useTransferToken | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTransferToken

                  -
                  -
                    - -
                  • Beta -

                    Transfer tokens to a specific wallet

                    -
                    -
                    -

                    Parameters

                    -
                    -

                    Returns UseMutationResult<Omit<{
                        data: (() => Promise<unknown>);
                        receipt: providers.TransactionReceipt;
                    }, "data">, unknown, TokenParams, unknown>

                    a mutation object that can be used to transfer tokens

                    - -
                    -

                    Example

                    const Component = () => {
                    const { contract } = useContract("{{contract_address}}");
                    const {
                    mutate: transferTokens,
                    isLoading,
                    error,
                    } = useTransferToken(contract);

                    if (error) {
                    console.error("failed to transfer tokens", error);
                    }

                    return (
                    <button
                    disabled={isLoading}
                    onClick={() => transferTokens({ to: "{{wallet_address}}", amount: 1000 })}
                    >
                    Transfer
                    </button>
                    );
                    }; -
                    - -

                    Twfeature

                    ERC20

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useTrustWallet.html b/packages/react/typedoc/functions/useTrustWallet.html deleted file mode 100644 index f982002f0dc..00000000000 --- a/packages/react/typedoc/functions/useTrustWallet.html +++ /dev/null @@ -1,81 +0,0 @@ -useTrustWallet | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useTrustWallet

                  -
                  -
                    - -
                  • -

                    Returns ((connectOptions?) => Promise<TrustWallet>)

                    -
                      -
                    • -
                        -
                      • (connectOptions?): Promise<TrustWallet>
                      • -
                      • -
                        -

                        Parameters

                        -
                          -
                        • -
                          Optional connectOptions: {
                              chainId?: number;
                          }
                          -
                            -
                          • -
                            Optional chainId?: number
                        -

                        Returns Promise<TrustWallet>

                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUnclaimedNFTSupply.html b/packages/react/typedoc/functions/useUnclaimedNFTSupply.html deleted file mode 100644 index 1029398927b..00000000000 --- a/packages/react/typedoc/functions/useUnclaimedNFTSupply.html +++ /dev/null @@ -1,81 +0,0 @@ -useUnclaimedNFTSupply | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useUnclaimedNFTSupply

                  -
                  -
                    - -
                  • -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<null | SmartContract<BaseContract> | NFTDrop | SignatureDrop>
                      -

                      an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)

                      -
                      -
                    -

                    Returns UseQueryResult<BigNumber, unknown>

                    a response object that includes the number of NFTs that are unclaimed

                    - -
                    -

                    Twfeature

                    ERC721LazyMintable

                    - -

                    See

                    Documentation

                    -
                  -
                  -
                  -

                  Generated using TypeDoc

                  -
                  \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUnclaimedNFTs.html b/packages/react/typedoc/functions/useUnclaimedNFTs.html deleted file mode 100644 index 4f312530c92..00000000000 --- a/packages/react/typedoc/functions/useUnclaimedNFTs.html +++ /dev/null @@ -1,92 +0,0 @@ -useUnclaimedNFTs | @thirdweb-dev/react
                  -
                  - -
                  -
                  -
                  -
                  - -

                  Function useUnclaimedNFTs

                  -
                  -
                    - -
                  • Beta -

                    Get all unclaimed NFTs

                    -
                    -
                    -

                    Parameters

                    -
                      -
                    • -
                      contract: RequiredParam<NFTDrop>
                      -

                      an instance of a contract that extends the ERC721 spec (NFT drop, Signature Drop, or any custom contract that extends the ERC721 spec)

                      -
                      -
                    • -
                    • -
                      Optional queryParams: {}
                      -

                      query params to pass to the query for the sake of pagination

                      -
                      -
                      -
                      -

                      Returns UseQueryResult<NFT[]>

                      a response object that includes an array of NFTs that are unclaimed

                      - -
                      -

                      Example

                      const { data: unclaimedNfts, isLoading, error } = useUnclaimedNFTs(contract, { start: 0, count: 100 });
                      -
                      - -

                      Twfeature

                      ERC721LazyMintable

                      - -

                      See

                      Documentation

                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUpdateMetadata.html b/packages/react/typedoc/functions/useUpdateMetadata.html deleted file mode 100644 index 536d8b55b73..00000000000 --- a/packages/react/typedoc/functions/useUpdateMetadata.html +++ /dev/null @@ -1,84 +0,0 @@ -useUpdateMetadata | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useUpdateMetadata

                    -
                    -
                      - -
                    • Beta -

                      Set the metadata of this contract

                      -
                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        contract: RequiredParam<ValidContractInstance>
                        -

                        an instance of a SmartContract

                        -
                        -
                      -

                      Returns UseMutationResult<any, any, any>

                      a mutation object that can be used to update the metadata

                      - -
                      -

                      Example

                      const Component = () => {
                      const { contract } = useContract("{{contract_address}}");
                      const {
                      mutate: updateMetadata,
                      isLoading,
                      error,
                      } = useUpdateMetadata(contract);

                      if (error) {
                      console.error("failed to update metadata", error);
                      }

                      return (
                      <button
                      disabled={isLoading}
                      onClick={() => updateMetadata({
                      name: "My Contract",
                      description: "This is my contract"
                      })}
                      >
                      Update Contract Metadata
                      </button>
                      );
                      }; -
                      - -

                      See

                      Documentation

                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUpdatePlatformFees.html b/packages/react/typedoc/functions/useUpdatePlatformFees.html deleted file mode 100644 index b6fd939ed8c..00000000000 --- a/packages/react/typedoc/functions/useUpdatePlatformFees.html +++ /dev/null @@ -1,86 +0,0 @@ -useUpdatePlatformFees | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useUpdatePlatformFees

                    -
                    -
                      - -
                    • Beta -

                      Set the platform fee recipient and basis points

                      -
                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        contract: RequiredParam<ValidContractInstance>
                        -

                        an instance of a SmartContract

                        -
                        -
                      -

                      Returns UseMutationResult<Omit<{
                          data: (() => Promise<unknown>);
                          receipt: providers.TransactionReceipt;
                      }, "data">, unknown, {
                          fee_recipient?: string;
                          platform_fee_basis_points?: number;
                      }, unknown>

                      a mutation object that can be used to update the platform fees settings

                      - -
                      -

                      Example

                      const Component = () => {
                      const { contract } = useContract("{{contract_address}}");
                      const {
                      mutate: updatePlatformFees,
                      isLoading,
                      error,
                      } = useUpdatePlatformFees(contract);

                      if (error) {
                      console.error("failed to update platform fees", error);
                      }

                      return (
                      <button
                      disabled={isLoading}
                      onClick={() => updatePlatformFees({ updatePayload: { fee_recipient: "{{wallet_address}}", platform_fee_basis_points: 5_00 } })}
                      >
                      Update Platform fees
                      </button>
                      );
                      }; -
                      - -

                      Twfeature

                      PlatformFee

                      - -

                      See

                      Documentation

                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUpdatePrimarySaleRecipient.html b/packages/react/typedoc/functions/useUpdatePrimarySaleRecipient.html deleted file mode 100644 index a63bf7e5126..00000000000 --- a/packages/react/typedoc/functions/useUpdatePrimarySaleRecipient.html +++ /dev/null @@ -1,86 +0,0 @@ -useUpdatePrimarySaleRecipient | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useUpdatePrimarySaleRecipient

                    -
                    -
                      - -
                    • Beta -

                      Set the primary sale recipient

                      -
                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        contract: RequiredParam<ValidContractInstance>
                        -

                        an instance of a SmartContract

                        -
                        -
                      -

                      Returns UseMutationResult<{
                          receipt: providers.TransactionReceipt;
                      }, unknown, string, unknown>

                      a mutation object that can be used to update the primary sales recipient

                      - -
                      -

                      Example

                      const Component = () => {
                      const { contract } = useContract("{{contract_address}}");
                      const {
                      mutate: updatePrimarySalesRecipient,
                      isLoading,
                      error,
                      } = useUpdatePrimarySaleRecipient(contract);

                      if (error) {
                      console.error("failed to update recipient", error);
                      }

                      return (
                      <button
                      disabled={isLoading}
                      onClick={() => updatePrimarySalesRecipient({ newRecipient: "{{wallet_address}}" })}
                      >
                      Update Recipient
                      </button>
                      );
                      }; -
                      - -

                      Twfeature

                      PrimarySale

                      - -

                      See

                      Documentation

                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUpdateRoyaltySettings.html b/packages/react/typedoc/functions/useUpdateRoyaltySettings.html deleted file mode 100644 index defc468ab78..00000000000 --- a/packages/react/typedoc/functions/useUpdateRoyaltySettings.html +++ /dev/null @@ -1,86 +0,0 @@ -useUpdateRoyaltySettings | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useUpdateRoyaltySettings

                    -
                    -
                      - -
                    • Beta -

                      Set the royalty recipient and fee

                      -
                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        contract: RequiredParam<ValidContractInstance>
                        -

                        an instance of a SmartContract

                        -
                        -
                      -

                      Returns UseMutationResult<{
                          data: (() => Promise<{
                              fee_recipient: string;
                              seller_fee_basis_points: number;
                          }>);
                          receipt: providers.TransactionReceipt;
                      }, unknown, {
                          fee_recipient?: string;
                          seller_fee_basis_points?: number;
                      }, unknown>

                      a mutation object that can be used to update the royalty settings

                      - -
                      -

                      Example

                      const Component = () => {
                      const { contract } = useContract("{{contract_address}}");
                      const {
                      mutate: updateRoyaltySettings,
                      isLoading,
                      error,
                      } = useUpdateRoyaltySettings(contract);

                      if (error) {
                      console.error("failed to update royalty settings", error);
                      }

                      return (
                      <button
                      disabled={isLoading}
                      onClick={() => updateRoyaltySettings({ updatePayload: { fee_recipient: "{{wallet_address}}", seller_fee_basis_points: 5_00 } })}
                      >
                      Update Royalty Settings
                      </button>
                      );
                      }; -
                      - -

                      Twfeature

                      Royalty

                      - -

                      See

                      Documentation

                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useUser.html b/packages/react/typedoc/functions/useUser.html deleted file mode 100644 index d68c874d269..00000000000 --- a/packages/react/typedoc/functions/useUser.html +++ /dev/null @@ -1,89 +0,0 @@ -useUser | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useUser

                    -
                    -
                      - -
                    • Beta -

                      Hook to get the currently logged in user.

                      -
                      -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        TData extends Json = Json

                      • -
                      • -

                        TContext extends Json = Json

                      -

                      Returns {
                          isLoading: boolean;
                          isLoggedIn: boolean;
                          user: UserWithData<TData, TContext> | undefined;
                      }

                        -
                      • The currently logged in user or null if not logged in, as well as a loading state.
                      • -
                      - -
                        -
                      • -
                        isLoading: boolean
                      • -
                      • -
                        isLoggedIn: boolean
                      • -
                      • -
                        user: UserWithData<TData, TContext> | undefined
                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useValidDirectListings.html b/packages/react/typedoc/functions/useValidDirectListings.html deleted file mode 100644 index db6081d3b5c..00000000000 --- a/packages/react/typedoc/functions/useValidDirectListings.html +++ /dev/null @@ -1,91 +0,0 @@ -useValidDirectListings | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useValidDirectListings

                    -
                    -
                      - -
                    • -

                      Get all valid direct listings

                      -
                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        contract: RequiredParam<MarketplaceV3>
                        -

                        an instance of a marketplace v3 contract

                        -
                        -
                      • -
                      • -
                        Optional filter: MarketplaceFilter
                        -

                        filter to pass to the query for the sake of pagination & filtering

                        -
                        -
                      -

                      Returns UseQueryResult

                      a response object that includes an array of direct listings

                      - -
                      -

                      Example

                      const { data: validDirectListings, isLoading, error } = useValidDirectListings(contract, { start: 0, count: 100 });
                      -
                      - -

                      Twfeature

                      DirectListings

                      - -

                      See

                      Documentation

                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useValidEnglishAuctions.html b/packages/react/typedoc/functions/useValidEnglishAuctions.html deleted file mode 100644 index fb311d4af3c..00000000000 --- a/packages/react/typedoc/functions/useValidEnglishAuctions.html +++ /dev/null @@ -1,91 +0,0 @@ -useValidEnglishAuctions | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useValidEnglishAuctions

                    -
                    -
                      - -
                    • -

                      Get all valid english auctions

                      -
                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        contract: RequiredParam<MarketplaceV3>
                        -

                        an instance of a marketplace v3 contract

                        -
                        -
                      • -
                      • -
                        Optional filter: MarketplaceFilter
                        -

                        filter to pass to the query for the sake of pagination & filtering

                        -
                        -
                      -

                      Returns UseQueryResult

                      a response object that includes an array of english auctions

                      - -
                      -

                      Example

                      const { data: validEnglishAuctions, isLoading, error } = useValidEnglishAuctions(contract, { start: 0, count: 100 });
                      -
                      - -

                      Twfeature

                      EnglishAuctions

                      - -

                      See

                      Documentation

                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useVote.html b/packages/react/typedoc/functions/useVote.html deleted file mode 100644 index 90ca9dc8351..00000000000 --- a/packages/react/typedoc/functions/useVote.html +++ /dev/null @@ -1,85 +0,0 @@ -useVote | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useVote

                    -
                    -
                      - -
                    • -

                      Hook for getting an instance of an Vote contract. This contract enables fully featured voting-based decentralized governance systems.

                      -
                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        contractAddress: RequiredParam<string>
                        -

                        the address of the Vote contract, found in your thirdweb dashboard

                        -
                        -
                      -

                      Returns Vote | undefined

                      -
                      -

                      Example

                      import { useContract } from '@thirdweb-dev/react'

                      export default function Component() {
                      const { contract } = useContract("<YOUR-CONTRACT-ADDRESS>", "vote")

                      // Now you can use the vote contract in the rest of the component

                      // For example, this function will get all the proposals on this contract
                      async function getProposals() {
                      const proposals = await contract.getAll()
                      return proposals
                      }

                      ...
                      } -
                      - -

                      Deprecated

                      This hook is deprecated and will be removed in a future major version. You should use useContract instead.

                      -
                      - const vote = useVote("0x1234...");
                      + const vote = useContract("0x1234...", "vote").contract; -
                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWallet.html b/packages/react/typedoc/functions/useWallet.html deleted file mode 100644 index 579b945361f..00000000000 --- a/packages/react/typedoc/functions/useWallet.html +++ /dev/null @@ -1,84 +0,0 @@ -useWallet | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useWallet

                    -
                    -
                      - -
                    • -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        T extends WalletId

                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        walletId: T
                      -

                      Returns WalletIdToWalletTypeMap[T] | undefined

                      the current active wallet instance

                      - -
                    • - -
                    • -

                      Returns WalletInstance | undefined

                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWalletConfig.html b/packages/react/typedoc/functions/useWalletConfig.html deleted file mode 100644 index ee930d7b30f..00000000000 --- a/packages/react/typedoc/functions/useWalletConfig.html +++ /dev/null @@ -1,69 +0,0 @@ -useWalletConfig | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useWalletConfig

                    -
                    -
                      - -
                    • -

                      Returns WalletConfig | undefined

                      the current active wallet's configuration object

                      - -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWalletConnect.html b/packages/react/typedoc/functions/useWalletConnect.html deleted file mode 100644 index 8bf9c2a73d6..00000000000 --- a/packages/react/typedoc/functions/useWalletConnect.html +++ /dev/null @@ -1,85 +0,0 @@ -useWalletConnect | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useWalletConnect

                    -
                    -
                      - -
                    • -

                      Returns ((options?) => Promise<WalletConnect>)

                      -
                        -
                      • -
                          -
                        • (options?): Promise<WalletConnect>
                        • -
                        • -
                          -

                          Parameters

                          -
                            -
                          • -
                            Optional options: {
                                chainId?: number;
                                projectId?: string;
                                qrModalOptions?: QRModalOptions;
                            }
                            -
                              -
                            • -
                              Optional chainId?: number
                            • -
                            • -
                              Optional projectId?: string
                            • -
                            • -
                              Optional qrModalOptions?: QRModalOptions
                          -

                          Returns Promise<WalletConnect>

                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWalletConnectV1.html b/packages/react/typedoc/functions/useWalletConnectV1.html deleted file mode 100644 index a71a536950b..00000000000 --- a/packages/react/typedoc/functions/useWalletConnectV1.html +++ /dev/null @@ -1,81 +0,0 @@ -useWalletConnectV1 | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useWalletConnectV1

                    -
                    -
                      - -
                    • -

                      Returns ((options?) => Promise<WalletConnect>)

                      -
                        -
                      • -
                          -
                        • (options?): Promise<WalletConnect>
                        • -
                        • -
                          -

                          Parameters

                          -
                            -
                          • -
                            Optional options: {
                                chainId?: number;
                            }
                            -
                              -
                            • -
                              Optional chainId?: number
                          -

                          Returns Promise<WalletConnect>

                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWalletContext.html b/packages/react/typedoc/functions/useWalletContext.html deleted file mode 100644 index 6d7b9b9adcd..00000000000 --- a/packages/react/typedoc/functions/useWalletContext.html +++ /dev/null @@ -1,67 +0,0 @@ -useWalletContext | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useWalletContext

                    -
                    -
                      - -
                    • -

                      Returns ThirdwebWalletContextData

                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWallets.html b/packages/react/typedoc/functions/useWallets.html deleted file mode 100644 index 2ca55f2b7f9..00000000000 --- a/packages/react/typedoc/functions/useWallets.html +++ /dev/null @@ -1,69 +0,0 @@ -useWallets | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useWallets

                    -
                    -
                      - -
                    • -

                      Returns WalletConfig[]

                      supportedWallets configured in the <ThirdwebProvider/>

                      - -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWatchTransactions.html b/packages/react/typedoc/functions/useWatchTransactions.html deleted file mode 100644 index c8f928cfcd0..00000000000 --- a/packages/react/typedoc/functions/useWatchTransactions.html +++ /dev/null @@ -1,81 +0,0 @@ -useWatchTransactions | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useWatchTransactions

                    -
                    -
                      - -
                    • -

                      Hook that listens to transactions on a given chain for a given address.

                      -
                      import { useWatchTransactions } from "@thirdweb-dev/react"
                      -
                      -
                      -
                      -

                      Parameters

                      -
                      -

                      Returns Transaction[]

                      an array of Transaction objects

                      - -
                      -

                      Example

                      const transactions = useWatchTransactions({
                      address: "0x1234",
                      network: "ethereum",
                      }); -
                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/useWinningBid.html b/packages/react/typedoc/functions/useWinningBid.html deleted file mode 100644 index 64110b8e5c3..00000000000 --- a/packages/react/typedoc/functions/useWinningBid.html +++ /dev/null @@ -1,89 +0,0 @@ -useWinningBid | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function useWinningBid

                    -
                    -
                      - -
                    • Beta -

                      Get the winning bid for an auction

                      -
                      -
                      -

                      Parameters

                      -
                        -
                      • -
                        contract: RequiredParam<Marketplace>
                        -

                        an instance of a marketplace contract

                        -
                        -
                      • -
                      • -
                        listingId: RequiredParam<BigNumberish>
                        -

                        the listing id to check

                        -
                        -
                      -

                      Returns UseQueryResult

                      a response object that includes the Offer that is winning the auction

                      - -
                      -

                      Example

                      const listingId = 0;
                      const { data: winningBid, isLoading, error } = useWinningBid(contract, listingId); -
                      - -

                      See

                      Documentation

                      -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/walletConnect.html b/packages/react/typedoc/functions/walletConnect.html deleted file mode 100644 index 1a761859538..00000000000 --- a/packages/react/typedoc/functions/walletConnect.html +++ /dev/null @@ -1,72 +0,0 @@ -walletConnect | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function walletConnect

                    -
                    -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/walletConnectV1.html b/packages/react/typedoc/functions/walletConnectV1.html deleted file mode 100644 index 9491911ffae..00000000000 --- a/packages/react/typedoc/functions/walletConnectV1.html +++ /dev/null @@ -1,77 +0,0 @@ -walletConnectV1 | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function walletConnectV1

                    -
                    -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/functions/zerionWallet.html b/packages/react/typedoc/functions/zerionWallet.html deleted file mode 100644 index 54fa19f8216..00000000000 --- a/packages/react/typedoc/functions/zerionWallet.html +++ /dev/null @@ -1,72 +0,0 @@ -zerionWallet | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Function zerionWallet

                    -
                    -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/index.html b/packages/react/typedoc/index.html deleted file mode 100644 index 8ff39ed6247..00000000000 --- a/packages/react/typedoc/index.html +++ /dev/null @@ -1,520 +0,0 @@ -@thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    -

                    @thirdweb-dev/react

                    -

                    -
                    - -
                    -

                    -

                    thirdweb React SDK

                    -

                    -npm version -Build Status -Join our Discord! - -

                    -

                    Ultimate collection of React hooks for your web3 apps

                    -
                    - -
                    - -

                    Installation

                    The easiest way to get started with the React SDK is to use the CLI:

                    -
                    npx thirdweb create --app
                    -
                    -

                    Alternatively, you can install the SDK into your existing project using npm or yarn:

                    -
                    npm install @thirdweb-dev/react @thirdweb-dev/sdk ethers@5
                    -
                    -
                    yarn add @thirdweb-dev/react @thirdweb-dev/sdk ethers@5
                    -
                    -
                    - -

                    Getting Started

                    Our SDK uses a Provider Pattern; meaning any component within the ThirdwebProvider will have access to the SDK. If you use the CLI to initialize your project, this is already set up for you.

                    -

                    Let's take a look at a typical setup:

                    -
                    - -

                    Configure the ThirdwebProvider

                    Specify the network your smart contracts are deployed to in the desiredChainId prop and wrap your application like so:

                    -
                    import { ChainId, ThirdwebProvider } from "@thirdweb-dev/react";

                    const App = () => {
                    return (
                    <ThirdwebProvider desiredChainId={ChainId.Mainnet}>
                    <YourApp />
                    </ThirdwebProvider>
                    );
                    }; -
                    -

                    Below are examples of where to set this up in your application:

                    -

                    - Create React App • - Next.js • - Vite -

                    - -
                    - -

                    Connect to a User's Wallet

                    Now the provider is set up, we can use all of the hooks and UI components available in the SDK, such as the ConnectWallet component.

                    -

                    Once the user has connected their wallet, all the calls we make to interact with contracts using the SDK will be on behalf of the user.

                    -
                    import { ConnectWallet, useAddress } from "@thirdweb-dev/react";

                    export const YourApp = () => {
                    const address = useAddress();
                    return (
                    <div>
                    <ConnectWallet />
                    </div>
                    );
                    }; -
                    -

                    The ConnectWallet component handles everything for us, including switching networks, accounts, displaying balances and more.

                    -

                    We can then get the connected address using the useAddress hook anywhere in the app.

                    -
                    - -

                    Interact With Contracts

                    Connect to your smart contract using the useContract -hook like so:

                    -
                    import { useContract } from "@thirdweb-dev/react";

                    export default function Home() {
                    const { contract } = useContract("<CONTRACT_ADDRESS>");

                    // Now you can use the contract in the rest of the component!
                    } -
                    -

                    You can then use useContractRead and useContractWrite to read data and write transactions to the contract.

                    -

                    You pass the contract object returned from useContract to these hooks as the first parameter and the name of the function (or view/mapping, etc.) on your smart contract as the second parameter. If your function requires parameters, you can pass them as additional arguments.

                    -

                    For example, we can read the name of our contract like so:

                    -
                    import {
                    useContract,
                    useContractRead,
                    useContractWrite,
                    } from "@thirdweb-dev/react";

                    export default function Home() {
                    const { contract } = useContract("<CONTRACT_ADDRESS>");
                    const { data: name, isLoading: loadingName } = useContractRead(
                    contract,
                    "name", // The name of the view/mapping/variable on your contract
                    );
                    const { mutate: setName, isLoading: settingName } = useContractWrite(
                    contract,
                    "setName", // The name of the function on your contract
                    );
                    } -
                    -
                    - -

                    Using Extensions

                    Each extension you implement in your smart contract unlocks new functionality in the SDK.

                    -

                    These hooks make it easy to interact with your smart contracts by implementing the complex logic for you under the hood.

                    -

                    For example, if your smart contract implements ERC721Supply, you unlock the ability to view all NFTs on that contract using the SDK; which fetches all of your NFT metadata and the current owner of each NFT in parallel. In the React SDK, that is available using useNFTs:

                    -
                    import { useContract, useNFTs } from "@thirdweb-dev/react";

                    export default function Home() {
                    const { contract } = useContract("<CONTRACT_ADDRESS>");
                    const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);
                    } -
                    -

                    If we want to mint an NFT and our contract implements ERC721Mintable, we can use the useMintNFT hook to mint an NFT from the connected wallet; handling all of the logic of uploading and pinning the metadata to IPFS for us behind the scenes.

                    -
                    import { useContract, useNFTs, useMintNFT } from "@thirdweb-dev/react";

                    export default function Home() {
                    const { contract } = useContract("<CONTRACT_ADDRESS>");
                    const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);
                    const { mutate: mintNFT, isLoading: isMintingNFT } = useMintNFT(contract);
                    } -
                    -
                    - -

                    UI Components

                    The SDK provides many UI components to help you build your application.

                    -

                    For example, we can render each of the NFTs using the NFT Media Renderer -component, making use of the loading state from useNFTs:

                    -
                    import { useContract, useNFTs, ThirdwebNftMedia } from "@thirdweb-dev/react";

                    export default function Home() {
                    const { contract } = useContract("<CONTRACT_ADDRESS>");
                    const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);

                    return (
                    <div>
                    <h2>My NFTs</h2>
                    {isReadingNfts ? (
                    <p>Loading...</p>
                    ) : (
                    <div>
                    {nfts.map((nft) => (
                    <ThirdwebNftMedia
                    key={nft.metadata.id}
                    metadata={nft.metadata}
                    height={200}
                    />
                    ))}
                    </div>
                    )}
                    </div>
                    );
                    } -
                    -

                    The Web3Button component ensures the user has connected their wallet and is currently configured to the same network as your smart contract before calling the function. It also has access to the contract directly, allowing you to perform any action on your smart contract when the button is clicked.

                    -

                    For example, we can mint an NFT like so:

                    -
                    import {
                    useContract,
                    useNFTs,
                    ThirdwebNftMedia,
                    Web3Button,
                    } from "@thirdweb-dev/react";

                    const contractAddress = "<CONTRACT_ADDRESS>";
                    export default function Home() {
                    const { contract } = useContract(contractAddress);
                    const { data: nfts, isLoading: isReadingNfts } = useNFTs(contract);

                    return (
                    <div>
                    {/* ... Existing Display Logic here ... */}

                    <Web3Button
                    contractAddress={contractAddress}
                    action={(contract) =>
                    contract.erc721.mint({
                    name: "Hello world!",
                    image:
                    // You can use a file or URL here!
                    "ipfs://QmZbovNXznTHpYn2oqgCFQYP4ZCpKDquenv5rFCX8irseo/0.png",
                    })
                    }
                    >
                    Mint NFT
                    </Web3Button>
                    </div>
                    );
                    } -
                    -
                    - -

                    Advanced Configuration

                    The ThirdwebProvider offers a number of configuration options to control the behavior of the React and Typescript SDK.

                    -

                    These are all the configuration options of the <ThirdwebProvider />. -We provide defaults for all of these, but you customize them to suit your needs.

                    -
                    import { ChainId, IpfsStorage, ThirdwebProvider } from "@thirdweb-dev/react";

                    const KitchenSinkExample = () => {
                    return (
                    <ThirdwebProvider
                    desiredChainId={ChainId.Mainnet}
                    chainRpc={{ [ChainId.Mainnet]: "https://mainnet.infura.io/v3" }}
                    dAppMeta={{
                    name: "Example App",
                    description: "This is an example app",
                    isDarkMode: false,
                    logoUrl: "https://example.com/logo.png",
                    url: "https://example.com",
                    }}
                    storageInterface={new IpfsStorage("https://your.ipfs.host.com")}
                    supportedChains={[ChainId.Mainnet]}
                    walletConnectors={[
                    "walletConnect",
                    { name: "injected", options: { shimDisconnect: false } },
                    {
                    name: "walletLink",
                    options: {
                    appName: "Example App",
                    },
                    },
                    {
                    name: "magic",
                    options: {
                    apiKey: "your-magic-api-key",
                    rpcUrls: {
                    [ChainId.Mainnet]: "https://mainnet.infura.io/v3",
                    },
                    },
                    },
                    ]}
                    sdkOptions={{
                    gasSettings: { maxPriceInGwei: 500, speed: "fast" },
                    readonlySettings: {
                    chainId: ChainId.Mainnet,
                    rpcUrl: "https://mainnet.infura.io/v3",
                    },
                    gasless: {
                    openzeppelin: {
                    relayerUrl: "your-relayer-url",
                    },
                    },
                    }}
                    >
                    <YourApp />
                    </ThirdwebProvider>
                    );
                    }; -
                    -

                    Available hooks

                    Main hooks

                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useSDKAccess the instance of the thirdweb SDK created by the ThirdwebProvider.
                    useContractUse this resolve a contract address to a smart contract instance.
                    useContractWriteUse this to get data from a contract read-function call.
                    useContractReadUse this to get a function to make a write call to your contract.
                    useContractEventsUse this to get the contract metadata for a (built-in or custom) contract.
                    useContractMetadataUse this to get the contract metadata for a (built-in or custom) contract.
                    -

                    Wallet connection

                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useAddressHook for accessing the address of the connected wallet.
                    useMetamaskHook for connecting to a Metamask wallet.
                    useWalletConnectHook for connecting to a mobile wallet with Wallet Connect.
                    useCoinbaseWalletHook for connecting to a Coinbase wallet.
                    useMagicHook for connecting to an email wallet using magic link.
                    useGnosisHook for connecting to a Gnosis Safe.
                    useDisconnectHook for disconnecting the currently connected wallet.
                    -

                    Network connection

                    - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useChainIdHook for accessing the chain ID of the network the current wallet is connected to
                    useNetworkHook for getting metadata about the network the current wallet is connected to and switching networks.
                    useNetworkMismatchHook for checking whether the connected wallet is on the correct network specified by the desiredChainId passed to the .
                    -

                    NFT

                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useNFTUse this to get an individual NFT token of your NFTContract.
                    useNFTsUse this to get a list of NFT tokens of your NFTContract.
                    useTotalCirculatingSupplyUse this to get a the total (minted) supply of your NFTContract.
                    useOwnedNFTsUse this to get a the owned NFTs for a specific Erc721OrErc1155 and wallet address.
                    useNFTBalanceUse this to get a the total balance of a NFTContract and wallet address.
                    useTotalCountUse this to get the total count of NFT tokens of your NFTContract.
                    useMintNFTUse this to mint a new NFT on your Erc721OrErc1155.
                    useMintNFTSupplyUse this mint extra supply on your Erc1155.
                    useTransferNFTUse this to transfer tokens on your NFTContract.
                    useAirdropNFTUse this to airdrop tokens on your Erc1155.
                    useBurnNFTUse this to burn an NFT on your Erc721OrErc1155.
                    -

                    Token

                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useTokenSupplyUse this to get a the total supply of your contract.
                    useTokenBalanceUse this to get the balance of your contract for a given address.
                    useTokenDecimalsUse this to get the decimals of your contract for a given address.
                    useMintTokenUse this to mint new tokens on your contract.
                    useClaimTokenUse this to claim tokens from your contract.
                    useTransferTokenUse this to transfer tokens on your contract.
                    useTransferBatchTokenUse this to transfer batch tokens on your contract.
                    useBurnTokenUse this to burn tokens on your contract.
                    -

                    Marketplace

                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useListingUse this to get a specific listing from the marketplace.
                    useListingsUse this to get a list all listings from your marketplace contract.
                    useListingsCountUse this to get a count of all listings on your marketplace contract.
                    useActiveListingsUse this to get a list active listings from your marketplace contract.
                    useWinningBidUse this to get a the winning bid for an auction listing from your marketplace contract.
                    useAuctionWinnerUse this to get the winner of an auction listing from your marketplace contract.
                    useBidBufferUse this to get the buffer in basis points between offers from your marketplace contract.
                    useCreateDirectListingUse this to create a new Direct Listing on your marketplace contract.
                    useCreateAuctionListingUse this to create a new Auction Listing on your marketplace contract.
                    useCancelListingUse this to cancel a listing on your marketplace contract.
                    useMakeBidUse this to place a bid on an auction listing from your marketplace contract.
                    useBuyNowUse this to buy out an auction listing from your marketplace contract.
                    useBuyDirectListingUse this to buy from a direct listing in your marketplace v3 contract.
                    -

                    Permissions Controls

                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useAllRoleMembersUse this to get the roles of all members.
                    useRoleMembersUse this to get the members of a role.
                    useIsAddressRoleUse this to check if a WalletAddress is a member of a role.
                    useSetAllRoleMembersUse this to OVERWRITE the list of addresses that are members of specific roles.
                    useGrantRoleUse this to grant a WalletAddress a specific role.
                    useRevokeRoleUse this to revoke a WalletAddress a specific role.
                    -

                    Drop

                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useUnclaimedNFTsUse this to get a list of unclaimed NFT tokens of your ERC721 Drop contract.
                    useClaimedNFTsUse this to get a list of claimed (minted) NFT tokens of your ERC721 Drop contract..
                    useUnclaimedNFTSupplyUse this to get the total unclaimed NFT supply of your ERC721 Drop contract.
                    useClaimedNFTSupplyUse this to get the total claimed (minted) NFT supply of your ERC721 Drop contract.
                    useBatchesToRevealUse this to get a list of batches that are ready to be revealed.
                    useClaimNFTUse this to claim a NFT on your DropContract
                    useLazyMintUse this to lazy mint a batch of NFTs on your DropContract.
                    useDelayedRevealLazyMintUse this to lazy mint a batch of delayed reveal NFTs on your DropContract.
                    useRevealLazyMintUse this to reveal a batch of delayed reveal NFTs on your RevealableContract.
                    -

                    Claim Conditions

                    - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    HookDescription
                    useActiveClaimConditionUse this to get the active claim condition for ERC20, ERC721 or ERC1155 based contracts.
                    useClaimConditionsUse this to get all claim conditions for ERC20, ERC721 or ERC1155 based contracts.
                    useClaimIneligibilityReasonsUse this to check for reasons that prevent claiming for either ERC20, ERC721 or ERC1155 based contracts.
                    useSetClaimConditionsUse this to set claim conditions on your DropContract.
                    useResetClaimConditionsUse this to reset claim conditions on your DropContract.
                    -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ISecureStorage.html b/packages/react/typedoc/interfaces/ISecureStorage.html deleted file mode 100644 index 1fb2e83c1d2..00000000000 --- a/packages/react/typedoc/interfaces/ISecureStorage.html +++ /dev/null @@ -1,127 +0,0 @@ -ISecureStorage | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Interface ISecureStorage

                    -
                    -

                    Hierarchy

                    -
                      -
                    • ISecureStorage
                    -
                    -
                    -
                    - -
                    -
                    -

                    Methods

                    -
                    -
                    -

                    Methods

                    -
                    - -
                      - -
                    • -
                      -

                      Parameters

                      -
                        -
                      • -
                        key: string
                      -

                      Returns Promise<null | string>

                    -
                    - -
                      - -
                    • -
                      -

                      Parameters

                      -
                        -
                      • -
                        key: string
                      -

                      Returns Promise<void>

                    -
                    - -
                      - -
                    • -
                      -

                      Parameters

                      -
                        -
                      • -
                        key: string
                      • -
                      • -
                        value: string
                      -

                      Returns Promise<void>

                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/MediaRendererProps.html b/packages/react/typedoc/interfaces/MediaRendererProps.html deleted file mode 100644 index a047acfd1f6..00000000000 --- a/packages/react/typedoc/interfaces/MediaRendererProps.html +++ /dev/null @@ -1,196 +0,0 @@ -MediaRendererProps | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Interface MediaRendererProps

                    -
                    -

                    The props for the MediaRenderer component.

                    -
                    -
                    -
                    -

                    Hierarchy

                    -
                      -
                    • SharedMediaProps -
                        -
                      • MediaRendererProps
                    -
                    -
                    -
                    - -
                    -
                    -

                    Properties

                    -
                    - -
                    alt?: string
                    -

                    The alt text for the media.

                    -
                    -
                    -
                    - -
                    children?: ReactNode
                    -
                    - -
                    className?: string
                    -
                    - -
                    controls?: boolean
                    -

                    Show the media controls (where applicable) (default false)

                    -
                    -
                    -
                    - -
                    gatewayUrl?: string
                    -

                    The IPFS gateway URL to use

                    -
                    -
                    -
                    - -
                    height?: string
                    -
                    - -
                    mimeType?: string
                    -
                    - -
                    poster?: null | string
                    -

                    The media poster image uri. (if applicable)

                    -
                    -
                    -
                    - -
                    requireInteraction?: boolean
                    -

                    Require user interaction to play the media. (default false)

                    -
                    -
                    -
                    - -
                    src?: null | string
                    -

                    The media source uri.

                    -
                    -
                    -
                    - -
                    style?: CSSProperties
                    -
                    - -
                    width?: string
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/MediaType.html b/packages/react/typedoc/interfaces/MediaType.html deleted file mode 100644 index 9626527734d..00000000000 --- a/packages/react/typedoc/interfaces/MediaType.html +++ /dev/null @@ -1,94 +0,0 @@ -MediaType | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Interface MediaType

                    -
                    -

                    Hierarchy

                    -
                      -
                    • MediaType
                    -
                    -
                    -
                    - -
                    -
                    -

                    Properties

                    -
                    -
                    -

                    Properties

                    -
                    - -
                    mimeType?: string
                    -
                    - -
                    url?: string
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ThirdwebAuthConfig.html b/packages/react/typedoc/interfaces/ThirdwebAuthConfig.html deleted file mode 100644 index 9fe45f458a1..00000000000 --- a/packages/react/typedoc/interfaces/ThirdwebAuthConfig.html +++ /dev/null @@ -1,120 +0,0 @@ -ThirdwebAuthConfig | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Interface ThirdwebAuthConfigBeta

                    -
                    -

                    The configuration to use the react SDK with an auth server.

                    -
                    -
                    -
                    -

                    Hierarchy

                    -
                      -
                    • ThirdwebAuthConfig
                    -
                    -
                    -
                    - -
                    -
                    -

                    Properties

                    -
                    -
                    -

                    Properties

                    -
                    - -
                    authUrl?: string
                    -

                    The backend URL of the authentication endoints. For example, if your endpoints are -at /api/auth/login, /api/auth/logout, etc. then this should be set to /api/auth.

                    -
                    -
                    -
                    - -
                    domain: string
                    -

                    The frontend domain used to generate the login payload. -This domain should match the domain used on your auth backend.

                    -
                    -
                    -
                    - -
                    secureStorage?: ISecureStorage
                    -

                    Secure storage to use for storing the auth token when using JWT tokens.

                    -

                    Do not use a storage option that stores values accessible outside -your aplication (like localStorage on web environments) since you may -be exposing your auth token to malicious actors.

                    -

                    ** By default auth uses cookies so no need to set this unless you want to specifically use JWT tokens **

                    -
                    -
                    -
                    -
                    -

                    Generated using TypeDoc

                    -
                    \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ThirdwebNftMediaProps.html b/packages/react/typedoc/interfaces/ThirdwebNftMediaProps.html deleted file mode 100644 index d32351b21ee..00000000000 --- a/packages/react/typedoc/interfaces/ThirdwebNftMediaProps.html +++ /dev/null @@ -1,169 +0,0 @@ -ThirdwebNftMediaProps | @thirdweb-dev/react
                    -
                    - -
                    -
                    -
                    -
                    - -

                    Interface ThirdwebNftMediaProps

                    -
                    -

                    The props for the ThirdwebNftMedia component.

                    -
                    -
                    -
                    -

                    Hierarchy

                    -
                      -
                    • SharedMediaProps -
                        -
                      • ThirdwebNftMediaProps
                    -
                    -
                    -
                    - -
                    -
                    -

                    Properties

                    -
                    - -
                    children?: ReactNode
                    -
                    - -
                    className?: string
                    -
                    - -
                    controls?: boolean
                    -

                    Show the media controls (where applicable) (default false)

                    -
                    -
                    -
                    - -
                    height?: string
                    -
                    - -
                    metadata: objectOutputType<{}, ZodUnion<[ZodEffects<ZodUnion<[ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>, ZodType<BN, ZodTypeDef, BN>]>, string, bigint | BigNumber | BN>, ZodUnknown]>, "strip">
                    -

                    The NFT metadata of the NFT returned by the thirdweb sdk.

                    -
                    -
                    -

                    Type declaration

                    -
                      -
                      -
                      - -
                      mimeType?: string
                      -
                      - -
                      requireInteraction?: boolean
                      -

                      Require user interaction to play the media. (default false)

                      -
                      -
                      -
                      - -
                      style?: CSSProperties
                      -
                      - -
                      width?: string
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ThirdwebProviderCoreProps.html b/packages/react/typedoc/interfaces/ThirdwebProviderCoreProps.html deleted file mode 100644 index 309478277c6..00000000000 --- a/packages/react/typedoc/interfaces/ThirdwebProviderCoreProps.html +++ /dev/null @@ -1,253 +0,0 @@ -ThirdwebProviderCoreProps | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Interface ThirdwebProviderCoreProps<TChains>

                      -
                      -

                      The possible props for the ThirdwebProvider.

                      -
                      -
                      -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        TChains extends Chain[]

                      -
                      -

                      Hierarchy

                      -
                      -
                      -
                      -
                      - -
                      -
                      -

                      Properties

                      -
                      - -
                      activeChain?: string & {} | number & {} | Chain | TChains[number]["chainId"] | TChains[number]["slug"]
                      -

                      The network to use for the SDK.

                      -
                      -
                      -
                      - -
                      authConfig?: ThirdwebAuthConfig
                      -

                      The configuration used for thirdweb auth usage. Enables users to login -to backends with their wallet.

                      -
                      -
                      -
                      - -
                      autoConnect?: boolean
                      -

                      Whether or not to attempt auto-connect to a wallet.

                      -
                      -
                      -
                      - -
                      autoConnectTimeout?: number
                      -

                      Timeout for auto-connecting wallet in milliseconds

                      -

                      If wallet fails to connect in this time, it will stop trying to connect and user will have to manually connect

                      -
                      -
                      -

                      Default Value

                      15000
                      -
                      -
                      -
                      - -
                      autoSwitch?: boolean
                      -

                      Whether or not to automatically switch to wallet's network to active chain

                      -
                      -
                      -
                      - -
                      clientId?: string
                      -
                      - -
                      createWalletStorage?: CreateAsyncStorage
                      -
                      - -
                      dAppMeta?: DAppMetaData
                      -

                      Metadata to pass to wallet connect and walletlink wallet connect. (Used to show which dApp is being connected to in mobile wallets that support it) -Defaults to just the name being passed as thirdweb powered dApp.

                      -
                      -
                      -
                      - -
                      queryClient?: QueryClient
                      -
                      - -
                      sdkOptions?: Omit<undefined | {}, "chains">
                      -

                      The SDKOptions | Thirdweb SDK Options to pass to the thirdweb SDK -comes with sensible defaults

                      -
                      -
                      -
                      - -
                      secretKey?: string
                      -
                      - -
                      signerWallet?: WalletConfig<SignerWallet>
                      -
                      - -
                      storageInterface?: IThirdwebStorage
                      -

                      The storage interface to use with the sdk.

                      -
                      -
                      -
                      - -
                      supportedChains?: TChains
                      -

                      Chains to support. If not provided, will default to the chains supported by the SDK.

                      -
                      -
                      -
                      - -
                      supportedWallets: WalletConfig[]
                      -

                      An array of wallets that the dApp supports -If not provided, will default to Metamask (injected), Coinbase wallet and Device wallet

                      -
                      -
                      -

                      Example

                      You can Import the wallets you want to support from @thirdweb-dev/wallets and pass them to supportedWallets

                      -
                      import { ThirdwebProvider } from "@thirdweb-dev/react";

                      const App = () => {
                      return (
                      <ThirdwebProvider>
                      <YourApp />
                      </ThirdwebProvider>
                      );
                      }; -
                      -
                      -
                      - -
                      theme?: "dark" | "light"
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/ThirdwebSDKProviderProps.html b/packages/react/typedoc/interfaces/ThirdwebSDKProviderProps.html deleted file mode 100644 index 4d1904c9ec7..00000000000 --- a/packages/react/typedoc/interfaces/ThirdwebSDKProviderProps.html +++ /dev/null @@ -1,168 +0,0 @@ -ThirdwebSDKProviderProps | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Interface ThirdwebSDKProviderProps<TChains>

                      -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        TChains extends Chain[]

                      -
                      -

                      Hierarchy

                      -
                        -
                      • QueryClientProviderProps -
                          -
                        • ThirdwebSDKProviderProps
                      -
                      -
                      -
                      - -
                      -
                      -

                      Properties

                      -
                      - -
                      activeChain?: string & {} | number & {} | Chain | TChains[number]["chainId"] | TChains[number]["slug"]
                      -

                      The network to use for the SDK.

                      -
                      -
                      -
                      - -
                      authConfig?: ThirdwebAuthConfig
                      -

                      The configuration used for thirdweb auth usage. Enables users to login -to backends with their wallet.

                      -
                      -
                      -
                      - -
                      clientId?: string
                      -
                      - -
                      queryClient?: QueryClient
                      -
                      - -
                      sdkOptions?: Omit<undefined | {}, "chains">
                      -

                      The SDKOptions | Thirdweb SDK Options to pass to the thirdweb SDK -comes with sensible defaults

                      -
                      -
                      -
                      - -
                      secretKey?: string
                      -
                      - -
                      signer?: Signer
                      -
                      - -
                      storageInterface?: IThirdwebStorage
                      -

                      The storage interface to use with the sdk.

                      -
                      -
                      -
                      - -
                      supportedChains?: TChains
                      -

                      Chains to support. If not provided, will default to the chains supported by the SDK.

                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/interfaces/UserWithData.html b/packages/react/typedoc/interfaces/UserWithData.html deleted file mode 100644 index c9d6ece35d7..00000000000 --- a/packages/react/typedoc/interfaces/UserWithData.html +++ /dev/null @@ -1,112 +0,0 @@ -UserWithData | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Interface UserWithData<TData, TContext>

                      -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        TData extends Json = Json

                      • -
                      • -

                        TContext extends Json = Json

                      -
                      -

                      Hierarchy

                      -
                        -
                      • User<TContext> -
                          -
                        • UserWithData
                      -
                      -
                      -
                      - -
                      -
                      -

                      Properties

                      -
                      -
                      -

                      Properties

                      -
                      - -
                      address: string
                      -
                      - -
                      data?: TData
                      -
                      - -
                      session?: TContext
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/modules.html b/packages/react/typedoc/modules.html deleted file mode 100644 index 6c47205f5bb..00000000000 --- a/packages/react/typedoc/modules.html +++ /dev/null @@ -1,326 +0,0 @@ -@thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      -

                      @thirdweb-dev/react

                      -
                      -
                      -

                      Index

                      -
                      -

                      Interfaces

                      -
                      -
                      -

                      Type Aliases

                      -
                      -
                      -

                      Variables

                      -
                      -
                      -

                      Functions

                      -
                      ConnectModalInline -ConnectWallet -MediaRenderer -NetworkSelector -ThirdwebAuthProvider -ThirdwebConfigProvider -ThirdwebConnectedWalletProvider -ThirdwebNftMedia -ThirdwebProvider -ThirdwebProviderCore -ThirdwebSDKProvider -Web3Button -bloctoWallet -coinbaseWallet -darkTheme -embeddedWallet -frameWallet -getErc1155 -getErc20 -getErc721 -getErcs -lightTheme -localWallet -magicLink -metamaskWallet -paperWallet -phantomWallet -rainbowWallet -resolveMimeType -safeWallet -shouldNeverPersistQuery -smartWallet -trustWallet -useAcceptDirectListingOffer -useAccountAdmins -useAccountAdminsAndSigners -useAccountSigners -useAccounts -useAccountsForAddress -useActiveChain -useActiveClaimCondition -useActiveClaimConditionForWallet -useActiveListings -useAddAdmin -useAddress -useAirdropNFT -useAllRoleMembers -useAppURI -useAuctionWinner -useAuth -useBalance -useBatchesToReveal -useBidBuffer -useBloctoWallet -useBurnNFT -useBurnToken -useBuyDirectListing -useBuyNow -useCancelDirectListing -useCancelEnglishAuction -useCancelListing -useChain -useChainId -useClaimConditions -useClaimIneligibilityReasons -useClaimNFT -useClaimToken -useClaimedNFTSupply -useClaimedNFTs -useClaimerProofs -useCoinbaseWallet -useCompilerMetadata -useConnect -useConnectionStatus -useContract -useContractEvents -useContractMetadata -useContractMetadataUpdate -useContractRead -useContractType -useContractWrite -useCreateAccount -useCreateAuctionListing -useCreateDirectListing -useCreateSessionKey -useCreateWalletInstance -useDelayedRevealLazyMint -useDirectListing -useDirectListings -useDirectListingsCount -useDisconnect -useENS -useEdition -useEditionDrop -useEnglishAuction -useEnglishAuctionWinningBid -useEnglishAuctions -useEnglishAuctionsCount -useExecuteAuctionSale -useFrameWallet -useGrantRole -useInstalledWallets -useIsAccountDeployed -useIsAddressRole -useIsWalletModalOpen -useLazyMint -useListing -useListings -useListingsCount -useLogin -useLogout -useMagic -useMakeBid -useMakeOffer -useMarketplace -useMetadata -useMetamask -useMinimumNextBid -useMintNFT -useMintNFTSupply -useMintToken -useMultiwrap -useNFT -useNFTBalance -useNFTCollection -useNFTDrop -useNFTs -useNetwork -useNetworkMismatch -useOffers -useOwnedNFTs -usePack -usePaperWallet -usePaperWalletUserEmail -usePlatformFees -usePrimarySaleRecipient -useRainbowWallet -useRemoveAdmin -useResetClaimConditions -useResolvedMediaType -useRevealLazyMint -useRevokeRole -useRevokeSessionKey -useRoleMembers -useRoyaltySettings -useSDK -useSafe -useSetAllRoleMembers -useSetAppURI -useSetClaimConditions -useSetConnectedWallet -useSetConnectionStatus -useSetIsWalletModalOpen -useSetSharedMetadata -useSharedMetadata -useSignatureDrop -useSmartWallet -useSplit -useStorage -useStorageUpload -useSupportedChains -useSupportedWallet -useSwitchAccount -useSwitchChain -useThirdwebAuthContext -useThirdwebConfigContext -useThirdwebConnectedWalletContext -useToken -useTokenBalance -useTokenDecimals -useTokenDrop -useTokenSupply -useTotalCirculatingSupply -useTotalCount -useTransferBatchToken -useTransferNFT -useTransferToken -useTrustWallet -useUnclaimedNFTSupply -useUnclaimedNFTs -useUpdateMetadata -useUpdatePlatformFees -useUpdatePrimarySaleRecipient -useUpdateRoyaltySettings -useUser -useValidDirectListings -useValidEnglishAuctions -useVote -useWallet -useWalletConfig -useWalletConnect -useWalletConnectV1 -useWalletContext -useWallets -useWatchTransactions -useWinningBid -walletConnect -walletConnectV1 -zerionWallet -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/AcceptDirectOffer.html b/packages/react/typedoc/types/AcceptDirectOffer.html deleted file mode 100644 index 61ed91ef695..00000000000 --- a/packages/react/typedoc/types/AcceptDirectOffer.html +++ /dev/null @@ -1,70 +0,0 @@ -AcceptDirectOffer | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias AcceptDirectOffer

                      -
                      AcceptDirectOffer: {
                          addressOfOfferor: string;
                          listingId: BigNumberish;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        addressOfOfferor: string
                      • -
                      • -
                        listingId: BigNumberish
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/AirdropNFTParams.html b/packages/react/typedoc/types/AirdropNFTParams.html deleted file mode 100644 index ac89c95382d..00000000000 --- a/packages/react/typedoc/types/AirdropNFTParams.html +++ /dev/null @@ -1,73 +0,0 @@ -AirdropNFTParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias AirdropNFTParamsBeta

                      -
                      AirdropNFTParams: {
                          addresses: AirdropInput;
                          tokenId: BigNumberish;
                      }
                      -

                      The params to pass to useTransferBatchNFT.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        addresses: AirdropInput
                      • -
                      • -
                        tokenId: BigNumberish
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/BurnNFTParams.html b/packages/react/typedoc/types/BurnNFTParams.html deleted file mode 100644 index 08b7de954a4..00000000000 --- a/packages/react/typedoc/types/BurnNFTParams.html +++ /dev/null @@ -1,73 +0,0 @@ -BurnNFTParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias BurnNFTParamsBeta

                      -
                      BurnNFTParams: {
                          amount?: Amount;
                          tokenId: BigNumberish;
                      }
                      -

                      The params for the useBurnNFT hook mutation.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        Optional amount?: Amount
                      • -
                      • -
                        tokenId: BigNumberish
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/BuyNowParams.html b/packages/react/typedoc/types/BuyNowParams.html deleted file mode 100644 index eaec2a6cb2b..00000000000 --- a/packages/react/typedoc/types/BuyNowParams.html +++ /dev/null @@ -1,68 +0,0 @@ -BuyNowParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias BuyNowParams<TListingType>

                      -
                      BuyNowParams<TListingType>: TListingType extends ListingType.Direct
                          ? {
                              buyAmount: BigNumberish;
                              buyForWallet?: WalletAddress;
                              id: BigNumberish;
                              type: ListingType.Direct;
                          }
                          : {
                              id: BigNumberish;
                              type: ListingType.Auction;
                          }
                      -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        TListingType = ListingType

                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/Chain.html b/packages/react/typedoc/types/Chain.html deleted file mode 100644 index 4b14a533997..00000000000 --- a/packages/react/typedoc/types/Chain.html +++ /dev/null @@ -1,78 +0,0 @@ -Chain | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias Chain

                      -
                      Chain: {
                          blockExplorers?: {
                              name: string;
                              url: string;
                          }[];
                          id: number;
                          name: AddEthereumChainParameter["chainName"];
                          nativeCurrency?: AddEthereumChainParameter["nativeCurrency"];
                          rpcUrls: AddEthereumChainParameter["rpcUrls"];
                          testnet?: boolean;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        Optional blockExplorers?: {
                            name: string;
                            url: string;
                        }[]
                      • -
                      • -
                        id: number
                      • -
                      • -
                        name: AddEthereumChainParameter["chainName"]
                      • -
                      • -
                        Optional nativeCurrency?: AddEthereumChainParameter["nativeCurrency"]
                      • -
                      • -
                        rpcUrls: AddEthereumChainParameter["rpcUrls"]
                      • -
                      • -
                        Optional testnet?: boolean
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ClaimIneligibilityParams.html b/packages/react/typedoc/types/ClaimIneligibilityParams.html deleted file mode 100644 index f646ef5c81c..00000000000 --- a/packages/react/typedoc/types/ClaimIneligibilityParams.html +++ /dev/null @@ -1,73 +0,0 @@ -ClaimIneligibilityParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias ClaimIneligibilityParamsBeta

                      -
                      ClaimIneligibilityParams: {
                          quantity: string | number;
                          walletAddress: WalletAddress;
                      }
                      -

                      The options to be passed as the second parameter to the useClaimIneligibilityReasons` hook.

                      -
                      -
                      -

                      Type declaration

                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ClaimNFTParams.html b/packages/react/typedoc/types/ClaimNFTParams.html deleted file mode 100644 index fb3c933a470..00000000000 --- a/packages/react/typedoc/types/ClaimNFTParams.html +++ /dev/null @@ -1,80 +0,0 @@ -ClaimNFTParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias ClaimNFTParamsBeta

                      -
                      ClaimNFTParams: {
                          options?: ClaimOptions;
                          quantity: BigNumberish;
                          to?: WalletAddress;
                          tokenId?: BigNumberish;
                      }
                      -

                      The params for the useClaimNFT hook mutation.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        Optional options?: ClaimOptions
                      • -
                      • -
                        quantity: BigNumberish
                      • -
                      • -
                        Optional to?: WalletAddress
                      • -
                      • -
                        Optional tokenId?: BigNumberish
                        -

                        tokenId is only used for ERC1155 tokens

                        -
                        -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ClaimNFTReturnType.html b/packages/react/typedoc/types/ClaimNFTReturnType.html deleted file mode 100644 index 2af7c1054e7..00000000000 --- a/packages/react/typedoc/types/ClaimNFTReturnType.html +++ /dev/null @@ -1,66 +0,0 @@ -ClaimNFTReturnType | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias ClaimNFTReturnTypeBeta

                      -
                      ClaimNFTReturnType: Awaited<ReturnType<Erc721["claimTo"]>> | Awaited<ReturnType<Erc1155["claimTo"]>>
                      -

                      The return type of the useClaimNFT hook.

                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ClaimTokenParams.html b/packages/react/typedoc/types/ClaimTokenParams.html deleted file mode 100644 index e430fe3ada5..00000000000 --- a/packages/react/typedoc/types/ClaimTokenParams.html +++ /dev/null @@ -1,72 +0,0 @@ -ClaimTokenParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias ClaimTokenParams

                      -
                      ClaimTokenParams: {
                          amount: Amount;
                          checkERC20Allowance?: boolean;
                          to: WalletAddress;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        amount: Amount
                      • -
                      • -
                        Optional checkERC20Allowance?: boolean
                      • -
                      • -
                        to: WalletAddress
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ConnectUIProps.html b/packages/react/typedoc/types/ConnectUIProps.html deleted file mode 100644 index 8c7c7487b3e..00000000000 --- a/packages/react/typedoc/types/ConnectUIProps.html +++ /dev/null @@ -1,199 +0,0 @@ -ConnectUIProps | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias ConnectUIProps<I>

                      -
                      ConnectUIProps<I>: {
                          connected: (() => void);
                          goBack: (() => void);
                          hide: (() => void);
                          isOpen: boolean;
                          modalSize: "compact" | "wide";
                          onLocallyConnected?: ((walleInstance) => void);
                          selectionData: any;
                          setSelectionData: ((data) => void);
                          show: (() => void);
                          supportedWallets: WalletConfig[];
                          theme: "dark" | "light";
                          walletConfig: WalletConfig<I>;
                      }
                      -
                      -

                      Type Parameters

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        connected: (() => void)
                        -
                          -
                        • -
                            -
                          • (): void
                          • -
                          • -

                            when the wallet is connected, call this function to indicate that the wallet is connected and it is safe to close the Modal

                            -
                            -

                            Returns void

                            -
                      • -
                      • -
                        goBack: (() => void)
                        -
                          -
                        • -
                            -
                          • (): void
                          • -
                          • -

                            go back to the wallet selector screen in connect wallet modal

                            -
                            -

                            Returns void

                            -
                      • -
                      • -
                        hide: (() => void)
                        -
                          -
                        • -
                            -
                          • (): void
                          • -
                          • -

                            temporarily hide the ConnectModal -This is useful when you want to open another modal and do not want to show the ConnectModal in the background

                            -
                            -

                            Returns void

                            -
                      • -
                      • -
                        isOpen: boolean
                        -

                        indicates whether the connect wallet modal is open or not

                        -
                        -
                      • -
                      • -
                        modalSize: "compact" | "wide"
                        -

                        Size of the modal

                        -

                        This is always compact on React Native

                        -
                        -
                      • -
                      • -
                        Optional onLocallyConnected?: ((walleInstance) => void)
                        -
                          -
                        • -
                            -
                          • (walleInstance): void
                          • -
                          • -

                            Called when the wallet is connected but it's -part of another wallet's connection flow.

                            -
                            -
                            -

                            Parameters

                            -
                              -
                            • -
                              walleInstance: WalletInstance
                              -

                              the instance of the connected wallet

                              -
                              -
                            -

                            Returns void

                            -
                      • -
                      • -
                        selectionData: any
                        -

                        selectionData passed from selectUI's onSelect function

                        -
                        -
                      • -
                      • -
                        setSelectionData: ((data) => void)
                        -
                          -
                        • -
                            -
                          • (data): void
                          • -
                          • -

                            set selectionData

                            -
                            -
                            -

                            Parameters

                            -
                              -
                            • -
                              data: any
                            -

                            Returns void

                            -
                      • -
                      • -
                        show: (() => void)
                        -
                          -
                        • -
                            -
                          • (): void
                          • -
                          • -

                            show the hidden connect wallet modal again

                            -
                            -

                            Returns void

                            -
                      • -
                      • -
                        supportedWallets: WalletConfig[]
                        -

                        List of all supported wallets including your wallet.

                        -
                        -
                      • -
                      • -
                        theme: "dark" | "light"
                        -

                        theme of the connect wallet modal

                        -
                        -
                      • -
                      • -
                        walletConfig: WalletConfig<I>
                        -

                        WalletConfig object of your wallet

                        -

                        you can use this to connect to your wallet

                        -

                        1. Using useConnect hook

                         const connect = useConnect();

                        // call this function to connect to your wallet
                        async function handleConnect() {
                        await connect(walletConfig, options);
                        }
                        -
                        -

                        OR

                        -

                        2. Manually creating wallet instance and connecting

                        const createWalletInstance = useCreateWalletInstance();
                        const setConnectedWallet = useSetConnectedWallet();
                        const setConnectionStatus = useSetConnectionStatus();

                        // call this function to connect to your wallet
                        async function handleConnect() {
                        // create instance
                        const walletInstance = createWalletInstance(walletConfig);
                        // connect wallet
                        setConnectionStatus('connecting);
                        try {
                        await walletInstance.connect(options);
                        // set connected wallet
                        setConnectedWallet(walletInstance);
                        } catch {
                        setConnectionStatus('disconnected');
                        }
                        } -
                        -
                        -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ConnectWalletProps.html b/packages/react/typedoc/types/ConnectWalletProps.html deleted file mode 100644 index c7557010980..00000000000 --- a/packages/react/typedoc/types/ConnectWalletProps.html +++ /dev/null @@ -1,188 +0,0 @@ -ConnectWalletProps | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias ConnectWalletProps

                      -
                      ConnectWalletProps: {
                          auth?: {
                              loginOptional?: boolean;
                              onLogin?: ((token) => void);
                              onLogout?: (() => void);
                          };
                          btnTitle?: string;
                          className?: string;
                          detailsBtn?: (() => JSX.Element);
                          displayBalanceToken?: Record<number, string>;
                          dropdownPosition?: DropDownPosition;
                          hideTestnetFaucet?: boolean;
                          modalSize?: "compact" | "wide";
                          modalTitle?: string;
                          modalTitleIconUrl?: string;
                          networkSelector?: Omit<NetworkSelectorProps, "theme" | "onClose" | "chains" | "open">;
                          privacyPolicyUrl?: string;
                          style?: React.CSSProperties;
                          supportedTokens?: SupportedTokens;
                          switchToActiveChain?: boolean;
                          termsOfServiceUrl?: string;
                          theme?: "dark" | "light" | Theme;
                          welcomeScreen?: WelcomeScreen;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        Optional auth?: {
                            loginOptional?: boolean;
                            onLogin?: ((token) => void);
                            onLogout?: (() => void);
                        }
                        -
                          -
                        • -
                          Optional loginOptional?: boolean
                        • -
                        • -
                          Optional onLogin?: ((token) => void)
                          -
                            -
                          • -
                              -
                            • (token): void
                            • -
                            • -
                              -

                              Parameters

                              -
                                -
                              • -
                                token: string
                              -

                              Returns void

                        • -
                        • -
                          Optional onLogout?: (() => void)
                          -
                            -
                          • -
                              -
                            • (): void
                            • -
                            • -

                              Returns void

                      • -
                      • -
                        Optional btnTitle?: string
                      • -
                      • -
                        Optional className?: string
                      • -
                      • -
                        Optional detailsBtn?: (() => JSX.Element)
                        -
                          -
                        • -
                            -
                          • (): JSX.Element
                          • -
                          • -

                            render a custom button to display the connected wallet details instead of the default button

                            -
                            -

                            Returns JSX.Element

                            -
                      • -
                      • -
                        Optional displayBalanceToken?: Record<number, string>
                        -

                        Show balance of ERC20 token instead of the native token in the "Connected" button when connected to certain network

                        -
                        -
                        -

                        Example

                        <ConnectWallet balanceToken={{
                        1: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599" // show USDC balance when connected to Ethereum mainnet
                        }} /> -
                        -
                      • -
                      • -
                        Optional dropdownPosition?: DropDownPosition
                      • -
                      • -
                        Optional hideTestnetFaucet?: boolean
                        -

                        Hide option to request testnet funds for testnets in dropdown

                        -
                        -
                        -

                        Default

                        false
                        -
                        -
                      • -
                      • -
                        Optional modalSize?: "compact" | "wide"
                        -

                        Set the size of the modal - compact or wide on desktop

                        -

                        Modal size is always compact on mobile

                        -
                        -
                        -

                        Default

                        "wide"
                        -
                        -
                      • -
                      • -
                        Optional modalTitle?: string
                        -

                        Set a custom title for the modal

                        -
                        -
                        -

                        Default

                        "Connect"
                        -
                        -
                      • -
                      • -
                        Optional modalTitleIconUrl?: string
                        -

                        Replace the thirdweb icon next to modalTitle and set your own iconUrl

                        -

                        Set to empty string to hide the icon

                        -
                        -
                      • -
                      • -
                        Optional networkSelector?: Omit<NetworkSelectorProps, "theme" | "onClose" | "chains" | "open">
                      • -
                      • -
                        Optional privacyPolicyUrl?: string
                        -

                        If provided, Modal will show a Privacy Policy message at the bottom with below link

                        -
                        -
                      • -
                      • -
                        Optional style?: React.CSSProperties
                      • -
                      • -
                        Optional supportedTokens?: SupportedTokens
                        -

                        Override the default supported tokens for each network

                        -

                        These tokens will be displayed in "Send Funds" Modal

                        -
                        -
                      • -
                      • -
                        Optional switchToActiveChain?: boolean
                        -

                        Whether to show "Switch Network" button if the wallet is connected, -but it is not connected to the activeChain provided in ThirdwebProvider

                        -

                        Please, note that if you support multiple networks in your app this prop should -be set to false to allow users to switch between networks.

                        -
                        -
                        -

                        Default

                        false
                        -
                        -
                      • -
                      • -
                        Optional termsOfServiceUrl?: string
                        -

                        If provided, Modal will show a Terms of Service message at the bottom with below link

                        -
                        -
                      • -
                      • -
                        Optional theme?: "dark" | "light" | Theme
                      • -
                      • -
                        Optional welcomeScreen?: WelcomeScreen
                        -

                        Customize the welcome screen

                        -

                        Either provide a component to replace the default screen entirely

                        -

                        or an object with title, subtitle and imgSrc to change the content of the default screen

                        -
                        -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/DelayedRevealLazyMintInput.html b/packages/react/typedoc/types/DelayedRevealLazyMintInput.html deleted file mode 100644 index 353f6b7987c..00000000000 --- a/packages/react/typedoc/types/DelayedRevealLazyMintInput.html +++ /dev/null @@ -1,75 +0,0 @@ -DelayedRevealLazyMintInput | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias DelayedRevealLazyMintInputBeta

                      -
                      DelayedRevealLazyMintInput: {
                          metadatas: NFTMetadataInput[];
                          password: string;
                          placeholder: NFTMetadataInput;
                      }
                      -

                      The params for the useDelayedRevealLazyMint hook mutation.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        metadatas: NFTMetadataInput[]
                      • -
                      • -
                        password: string
                      • -
                      • -
                        placeholder: NFTMetadataInput
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/DropContract.html b/packages/react/typedoc/types/DropContract.html deleted file mode 100644 index 6752015eec5..00000000000 --- a/packages/react/typedoc/types/DropContract.html +++ /dev/null @@ -1,66 +0,0 @@ -DropContract | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias DropContractBeta

                      -
                      DropContract: NFTDrop | EditionDrop | SignatureDrop | TokenDrop | SmartContract | null
                      -

                      The possible DROP contract types.

                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/Erc721OrErc1155.html b/packages/react/typedoc/types/Erc721OrErc1155.html deleted file mode 100644 index dda97342021..00000000000 --- a/packages/react/typedoc/types/Erc721OrErc1155.html +++ /dev/null @@ -1,66 +0,0 @@ -Erc721OrErc1155 | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias Erc721OrErc1155Beta

                      -
                      Erc721OrErc1155: Erc721 | Erc1155
                      -

                      Possible NFT contract types.

                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ExecuteAuctionSale.html b/packages/react/typedoc/types/ExecuteAuctionSale.html deleted file mode 100644 index 5811fbb1140..00000000000 --- a/packages/react/typedoc/types/ExecuteAuctionSale.html +++ /dev/null @@ -1,68 +0,0 @@ -ExecuteAuctionSale | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias ExecuteAuctionSale

                      -
                      ExecuteAuctionSale: {
                          listingId: BigNumberish;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        listingId: BigNumberish
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ExtraCoreWalletOptions.html b/packages/react/typedoc/types/ExtraCoreWalletOptions.html deleted file mode 100644 index 82f69bcb5b6..00000000000 --- a/packages/react/typedoc/types/ExtraCoreWalletOptions.html +++ /dev/null @@ -1,68 +0,0 @@ -ExtraCoreWalletOptions | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias ExtraCoreWalletOptions

                      -
                      ExtraCoreWalletOptions: {
                          chain: Chain;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        chain: Chain
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/MakeBidParams.html b/packages/react/typedoc/types/MakeBidParams.html deleted file mode 100644 index 7e2c14a9cd6..00000000000 --- a/packages/react/typedoc/types/MakeBidParams.html +++ /dev/null @@ -1,70 +0,0 @@ -MakeBidParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias MakeBidParams

                      -
                      MakeBidParams: {
                          bid: Price;
                          listingId: BigNumberish;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        bid: Price
                      • -
                      • -
                        listingId: BigNumberish
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/MakeOfferParams.html b/packages/react/typedoc/types/MakeOfferParams.html deleted file mode 100644 index be3226d0318..00000000000 --- a/packages/react/typedoc/types/MakeOfferParams.html +++ /dev/null @@ -1,72 +0,0 @@ -MakeOfferParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias MakeOfferParams

                      -
                      MakeOfferParams: {
                          listingId: BigNumberish;
                          pricePerToken: Price;
                          quantity?: Amount;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        listingId: BigNumberish
                      • -
                      • -
                        pricePerToken: Price
                      • -
                      • -
                        Optional quantity?: Amount
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/MintNFTParams.html b/packages/react/typedoc/types/MintNFTParams.html deleted file mode 100644 index b3d770ad58e..00000000000 --- a/packages/react/typedoc/types/MintNFTParams.html +++ /dev/null @@ -1,75 +0,0 @@ -MintNFTParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias MintNFTParamsBeta

                      -
                      MintNFTParams: {
                          metadata: NFTMetadataOrUri;
                          supply?: Amount;
                          to: WalletAddress;
                      }
                      -

                      The params for the useMintNFT hook mutation.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        metadata: NFTMetadataOrUri
                      • -
                      • -
                        Optional supply?: Amount
                      • -
                      • -
                        to: WalletAddress
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/MintNFTReturnType.html b/packages/react/typedoc/types/MintNFTReturnType.html deleted file mode 100644 index e020abac0fa..00000000000 --- a/packages/react/typedoc/types/MintNFTReturnType.html +++ /dev/null @@ -1,71 +0,0 @@ -MintNFTReturnType | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias MintNFTReturnType<TContract>Beta

                      -
                      MintNFTReturnType<TContract>: TContract extends Erc721
                          ? Awaited<ReturnType<Erc721Mintable["to"]>>
                          : TContract extends Erc1155
                              ? Awaited<ReturnType<Erc1155Mintable["to"]>>
                              : never
                      -

                      The return type of the useMintNFT hook.

                      -
                      -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        TContract

                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/MintNFTSupplyParams.html b/packages/react/typedoc/types/MintNFTSupplyParams.html deleted file mode 100644 index f6a468b0d1d..00000000000 --- a/packages/react/typedoc/types/MintNFTSupplyParams.html +++ /dev/null @@ -1,75 +0,0 @@ -MintNFTSupplyParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias MintNFTSupplyParamsBeta

                      -
                      MintNFTSupplyParams: {
                          additionalSupply: Amount;
                          to: WalletAddress;
                          tokenId: BigNumberish;
                      }
                      -

                      The params to pass to useMintNFTSupply.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        additionalSupply: Amount
                      • -
                      • -
                        to: WalletAddress
                      • -
                      • -
                        tokenId: BigNumberish
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/NFTContract.html b/packages/react/typedoc/types/NFTContract.html deleted file mode 100644 index 40cd2199722..00000000000 --- a/packages/react/typedoc/types/NFTContract.html +++ /dev/null @@ -1,69 +0,0 @@ -NFTContract | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias NFTContractBeta

                      -
                      NFTContract: NFTCollection | Edition | Pack | Multiwrap | Exclude<DropContract, "TokenDrop">
                      -

                      The possible NFT contract types.

                      -
                      -
                      -

                      Example

                      const { contract } = useContract("{{contract_address}}");
                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/NetworkSelectorProps.html b/packages/react/typedoc/types/NetworkSelectorProps.html deleted file mode 100644 index c41fbe3620f..00000000000 --- a/packages/react/typedoc/types/NetworkSelectorProps.html +++ /dev/null @@ -1,107 +0,0 @@ -NetworkSelectorProps | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias NetworkSelectorProps

                      -
                      NetworkSelectorProps: {
                          chains?: Chain[];
                          onClose?: (() => void);
                          onCustomClick?: (() => void);
                          onSwitch?: ((chain) => void);
                          open: boolean;
                          popularChains?: Chain[];
                          recentChains?: Chain[];
                          renderChain?: RenderChain;
                          theme: "dark" | "light" | Theme;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        Optional chains?: Chain[]
                      • -
                      • -
                        Optional onClose?: (() => void)
                        -
                          -
                        • -
                            -
                          • (): void
                          • -
                          • -

                            Returns void

                      • -
                      • -
                        Optional onCustomClick?: (() => void)
                        -
                          -
                        • -
                            -
                          • (): void
                          • -
                          • -

                            Returns void

                      • -
                      • -
                        Optional onSwitch?: ((chain) => void)
                        -
                          -
                        • -
                            -
                          • (chain): void
                          • -
                          • -
                            -

                            Parameters

                            -
                              -
                            • -
                              chain: Chain
                            -

                            Returns void

                      • -
                      • -
                        open: boolean
                      • -
                      • -
                        Optional popularChains?: Chain[]
                      • -
                      • -
                        Optional recentChains?: Chain[]
                      • -
                      • -
                        Optional renderChain?: RenderChain
                      • -
                      • -
                        theme: "dark" | "light" | Theme
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/RequiredParam.html b/packages/react/typedoc/types/RequiredParam.html deleted file mode 100644 index d74f5176114..00000000000 --- a/packages/react/typedoc/types/RequiredParam.html +++ /dev/null @@ -1,71 +0,0 @@ -RequiredParam | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias RequiredParam<T>Beta

                      -
                      RequiredParam<T>: T | null | undefined
                      -

                      Makes a parameter required to be passed, but still allows it to be null or undefined.

                      -
                      -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        T

                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/RevealLazyMintInput.html b/packages/react/typedoc/types/RevealLazyMintInput.html deleted file mode 100644 index 668e6624572..00000000000 --- a/packages/react/typedoc/types/RevealLazyMintInput.html +++ /dev/null @@ -1,73 +0,0 @@ -RevealLazyMintInput | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias RevealLazyMintInputBeta

                      -
                      RevealLazyMintInput: {
                          batchId: BigNumberish;
                          password: string;
                      }
                      -

                      The params for the useRevealLazyMint hook mutation.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        batchId: BigNumberish
                      • -
                      • -
                        password: string
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/RevealableContract.html b/packages/react/typedoc/types/RevealableContract.html deleted file mode 100644 index 589afb57d15..00000000000 --- a/packages/react/typedoc/types/RevealableContract.html +++ /dev/null @@ -1,66 +0,0 @@ -RevealableContract | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias RevealableContractBeta

                      -
                      RevealableContract: NFTDrop | SignatureDrop | SmartContract | null
                      -

                      The possible revealable contract types.

                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/SelectUIProps.html b/packages/react/typedoc/types/SelectUIProps.html deleted file mode 100644 index b5720be4a38..00000000000 --- a/packages/react/typedoc/types/SelectUIProps.html +++ /dev/null @@ -1,114 +0,0 @@ -SelectUIProps | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias SelectUIProps<I>

                      -
                      SelectUIProps<I>: {
                          modalSize: "compact" | "wide";
                          onSelect: ((selectionData) => void);
                          supportedWallets: WalletConfig[];
                          theme: "dark" | "light";
                          walletConfig: WalletConfig<I>;
                      }
                      -
                      -

                      Type Parameters

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        modalSize: "compact" | "wide"
                        -

                        Size of the modal

                        -

                        This is always compact on React Native

                        -
                        -
                      • -
                      • -
                        onSelect: ((selectionData) => void)
                        -
                          -
                        • -
                            -
                          • (selectionData): void
                          • -
                          • -

                            Call this function to "select" your wallet and render the screen for connecting the wallet

                            -
                            -
                            -

                            Parameters

                            -
                              -
                            • -
                              selectionData: any
                              -

                              selectionData to be passed to connectUI's selectionData prop

                              -
                              -
                            -

                            Returns void

                            -
                      • -
                      • -
                        supportedWallets: WalletConfig[]
                        -

                        List of all supported wallets including your wallet.

                        -

                        You can use this to conditionally render UI based on how many wallets are supported. -For example: You can render a larger UI if only one wallet (your wallet) is supported.

                        -
                        -
                      • -
                      • -
                        theme: "dark" | "light"
                        -

                        theme of the connect wallet modal

                        -
                        -
                      • -
                      • -
                        walletConfig: WalletConfig<I>
                        -

                        WalletConfig object of your wallet

                        -

                        you can use this get metadata of your wallet by doing walletConfig.meta

                        -
                        -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/SetClaimConditionsParams.html b/packages/react/typedoc/types/SetClaimConditionsParams.html deleted file mode 100644 index 1bc5827ce55..00000000000 --- a/packages/react/typedoc/types/SetClaimConditionsParams.html +++ /dev/null @@ -1,73 +0,0 @@ -SetClaimConditionsParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias SetClaimConditionsParamsBeta

                      -
                      SetClaimConditionsParams: {
                          phases: ClaimConditionInput[];
                          reset?: boolean;
                      }
                      -

                      The params for the useSetClaimConditions hook mutation.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        phases: ClaimConditionInput[]
                      • -
                      • -
                        Optional reset?: boolean
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/Theme.html b/packages/react/typedoc/types/Theme.html deleted file mode 100644 index 55ace0a5a64..00000000000 --- a/packages/react/typedoc/types/Theme.html +++ /dev/null @@ -1,63 +0,0 @@ -Theme | @thirdweb-dev/react
                      -
                      - -
                      - -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/ThemeOverrides.html b/packages/react/typedoc/types/ThemeOverrides.html deleted file mode 100644 index 956a35771ac..00000000000 --- a/packages/react/typedoc/types/ThemeOverrides.html +++ /dev/null @@ -1,63 +0,0 @@ -ThemeOverrides | @thirdweb-dev/react
                      -
                      - -
                      - -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/TokenBurnParams.html b/packages/react/typedoc/types/TokenBurnParams.html deleted file mode 100644 index f28b3a0cdc0..00000000000 --- a/packages/react/typedoc/types/TokenBurnParams.html +++ /dev/null @@ -1,71 +0,0 @@ -TokenBurnParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias TokenBurnParamsBeta

                      -
                      TokenBurnParams: {
                          amount: Amount;
                      }
                      -

                      The parameters to pass to the burn function.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        amount: Amount
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/TokenContract.html b/packages/react/typedoc/types/TokenContract.html deleted file mode 100644 index b747a6c5876..00000000000 --- a/packages/react/typedoc/types/TokenContract.html +++ /dev/null @@ -1,69 +0,0 @@ -TokenContract | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias TokenContractBeta

                      -
                      TokenContract: TokenDrop | Token | SmartContract | null
                      -

                      The possible Token contract types.

                      -
                      -
                      -

                      Example

                      const { contract } = useContract("{{contract_address}}");
                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/TokenParams.html b/packages/react/typedoc/types/TokenParams.html deleted file mode 100644 index 512d5a4bc67..00000000000 --- a/packages/react/typedoc/types/TokenParams.html +++ /dev/null @@ -1,73 +0,0 @@ -TokenParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias TokenParamsBeta

                      -
                      TokenParams: {
                          amount: Amount;
                          to: WalletAddress;
                      }
                      -

                      The parameters to pass to the mint and transfer functions.

                      -
                      -
                      -

                      Type declaration

                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/TransferNFTParams.html b/packages/react/typedoc/types/TransferNFTParams.html deleted file mode 100644 index 29ceb8b569e..00000000000 --- a/packages/react/typedoc/types/TransferNFTParams.html +++ /dev/null @@ -1,75 +0,0 @@ -TransferNFTParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias TransferNFTParamsBeta

                      -
                      TransferNFTParams: {
                          amount?: Amount;
                          to: WalletAddress;
                          tokenId: BigNumberish;
                      }
                      -

                      The params to pass to useTransferNFT.

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        Optional amount?: Amount
                      • -
                      • -
                        to: WalletAddress
                      • -
                      • -
                        tokenId: BigNumberish
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/UseContractResult.html b/packages/react/typedoc/types/UseContractResult.html deleted file mode 100644 index e3b269e972c..00000000000 --- a/packages/react/typedoc/types/UseContractResult.html +++ /dev/null @@ -1,73 +0,0 @@ -UseContractResult | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias UseContractResult<TContract>

                      -
                      UseContractResult<TContract>: UseQueryResult<TContract | undefined> & {
                          contract: TContract | undefined;
                      }
                      -
                      -

                      Type Parameters

                      -
                        -
                      • -

                        TContract extends ValidContractInstance = SmartContract

                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        contract: TContract | undefined
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/UseWatchTransactionsParams.html b/packages/react/typedoc/types/UseWatchTransactionsParams.html deleted file mode 100644 index f0b3f38b7a9..00000000000 --- a/packages/react/typedoc/types/UseWatchTransactionsParams.html +++ /dev/null @@ -1,68 +0,0 @@ -UseWatchTransactionsParams | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias UseWatchTransactionsParams

                      -
                      UseWatchTransactionsParams: Partial<Omit<WatchTransactionsParams, "onTransactions">> & {
                          limit?: number;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        Optional limit?: number
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletAddress.html b/packages/react/typedoc/types/WalletAddress.html deleted file mode 100644 index 9009b7a18bd..00000000000 --- a/packages/react/typedoc/types/WalletAddress.html +++ /dev/null @@ -1,66 +0,0 @@ -WalletAddress | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias WalletAddressBeta

                      -
                      WalletAddress: AddressOrEns
                      -

                      A wallet address.

                      -
                      -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletClass.html b/packages/react/typedoc/types/WalletClass.html deleted file mode 100644 index b851ead1aad..00000000000 --- a/packages/react/typedoc/types/WalletClass.html +++ /dev/null @@ -1,85 +0,0 @@ -WalletClass | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias WalletClass<I>

                      -
                      WalletClass<I>: {
                          id: string;
                          meta: typeof AbstractClientWallet["meta"];
                          new (options): I;
                      }
                      -
                      -

                      Type Parameters

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                          -
                        • new (options): I
                        • -
                        • -
                          -

                          Parameters

                          -
                          -

                          Returns I

                      • -
                      • -
                        id: string
                      • -
                      • -
                        meta: typeof AbstractClientWallet["meta"]
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletConfig.html b/packages/react/typedoc/types/WalletConfig.html deleted file mode 100644 index f3f8f6d5cd7..00000000000 --- a/packages/react/typedoc/types/WalletConfig.html +++ /dev/null @@ -1,135 +0,0 @@ -WalletConfig | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias WalletConfig<I>

                      -
                      WalletConfig<I>: {
                          category?: "socialLogin" | "walletLogin";
                          connectUI?: React.FC<ConnectUIProps<I>>;
                          create: ((options) => I);
                          id: string;
                          isHeadless?: boolean;
                          isInstalled?: (() => boolean);
                          meta: typeof AbstractClientWallet["meta"];
                          personalWallets?: WalletConfig[];
                          recommended?: boolean;
                          selectUI?: React.FC<SelectUIProps<I>>;
                      }
                      -
                      -

                      Type Parameters

                      -
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        Optional category?: "socialLogin" | "walletLogin"
                      • -
                      • -
                        Optional connectUI?: React.FC<ConnectUIProps<I>>
                        -

                        UI for connecting wallet

                        -
                        -
                      • -
                      • -
                        create: ((options) => I)
                        -
                          -
                        • -
                            -
                          • (options): I
                          • -
                          • -
                            -

                            Parameters

                            -
                            -

                            Returns I

                      • -
                      • -
                        id: string
                      • -
                      • -
                        Optional isHeadless?: boolean
                        -

                        If the wallet can sign transactions without user interaction, set this to true.

                        -
                        -
                        -

                        Default

                        false
                        -
                        -
                      • -
                      • -
                        Optional isInstalled?: (() => boolean)
                        -
                          -
                        • -
                            -
                          • (): boolean
                          • -
                          • -

                            Returns boolean

                      • -
                      • -
                        meta: typeof AbstractClientWallet["meta"]
                      • -
                      • -
                        Optional personalWallets?: WalletConfig[]
                        -

                        An array of WalletConfig that users can use as a personal wallet to connect to your wallet

                        -

                        This is only required if your wallet requires a personal wallet to be connected such as a Safe Wallet or Smart Wallet

                        -

                        providing the personalWallets ensures that autoconnect and ConnectWallet modal works properly for your wallet.

                        -
                          -
                        • autoconnect will connect the last connected personal wallet first and then connect your wallet
                        • -
                        • ConnectWallet modal will reopen once the personal wallet is connected so that you can render UI for connecting your wallet as the next step
                        • -
                        -
                        -
                      • -
                      • -
                        Optional recommended?: boolean
                        -

                        If true, this wallet will be tagged as "recommended" in ConnectWallet Modal and will be shown at the top of the list

                        -
                        -
                        -

                        Default

                        false
                        -
                        -
                      • -
                      • -
                        Optional selectUI?: React.FC<SelectUIProps<I>>
                        -

                        UI for selecting wallet - this UI is rendered in the wallet selection screen

                        -
                        -
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletInstance.html b/packages/react/typedoc/types/WalletInstance.html deleted file mode 100644 index 13db76db253..00000000000 --- a/packages/react/typedoc/types/WalletInstance.html +++ /dev/null @@ -1,63 +0,0 @@ -WalletInstance | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias WalletInstance

                      -
                      WalletInstance: AbstractClientWallet
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/types/WalletOptions.html b/packages/react/typedoc/types/WalletOptions.html deleted file mode 100644 index f136841bdd3..00000000000 --- a/packages/react/typedoc/types/WalletOptions.html +++ /dev/null @@ -1,63 +0,0 @@ -WalletOptions | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Type alias WalletOptions

                      -
                      WalletOptions: WalletOptions_<ExtraCoreWalletOptions>
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/variables/ThirdwebThemeContext.html b/packages/react/typedoc/variables/ThirdwebThemeContext.html deleted file mode 100644 index c4d9be6a0c7..00000000000 --- a/packages/react/typedoc/variables/ThirdwebThemeContext.html +++ /dev/null @@ -1,63 +0,0 @@ -ThirdwebThemeContext | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Variable ThirdwebThemeContextConst

                      -
                      ThirdwebThemeContext: Context
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/variables/__DEV__.html b/packages/react/typedoc/variables/__DEV__.html deleted file mode 100644 index 2c887d3592a..00000000000 --- a/packages/react/typedoc/variables/__DEV__.html +++ /dev/null @@ -1,63 +0,0 @@ -__DEV__ | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Variable __DEV__Const

                      -
                      __DEV__: boolean
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/variables/compilerMetadata.html b/packages/react/typedoc/variables/compilerMetadata.html deleted file mode 100644 index 4cc60a396d9..00000000000 --- a/packages/react/typedoc/variables/compilerMetadata.html +++ /dev/null @@ -1,85 +0,0 @@ -compilerMetadata | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Variable compilerMetadataConst

                      -
                      compilerMetadata: {
                          cacheKey: ((contractAddress, chainId) => QueryKey);
                          fetchQuery: typeof fetchCompilerMetadata;
                          useQuery: typeof useCompilerMetadata;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        cacheKey: ((contractAddress, chainId) => QueryKey)
                        -
                          -
                        • -
                            -
                          • (contractAddress, chainId): QueryKey
                          • -
                          • -
                            -

                            Parameters

                            -
                            -

                            Returns QueryKey

                      • -
                      • -
                        fetchQuery: typeof fetchCompilerMetadata
                      • -
                      • -
                        useQuery: typeof useCompilerMetadata
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/variables/contractType.html b/packages/react/typedoc/variables/contractType.html deleted file mode 100644 index 538dd70f71c..00000000000 --- a/packages/react/typedoc/variables/contractType.html +++ /dev/null @@ -1,85 +0,0 @@ -contractType | @thirdweb-dev/react
                      -
                      - -
                      -
                      -
                      -
                      - -

                      Variable contractTypeConst

                      -
                      contractType: {
                          cacheKey: ((contractAddress, chainId) => QueryKey);
                          fetchQuery: typeof fetchContractType;
                          useQuery: typeof useContractType;
                      }
                      -
                      -

                      Type declaration

                      -
                        -
                      • -
                        cacheKey: ((contractAddress, chainId) => QueryKey)
                        -
                          -
                        • -
                            -
                          • (contractAddress, chainId): QueryKey
                          • -
                          • -
                            -

                            Parameters

                            -
                            -

                            Returns QueryKey

                      • -
                      • -
                        fetchQuery: typeof fetchContractType
                      • -
                      • -
                        useQuery: typeof useContractType
                      -
                      -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/variables/defaultTokens.html b/packages/react/typedoc/variables/defaultTokens.html deleted file mode 100644 index 953f1fec185..00000000000 --- a/packages/react/typedoc/variables/defaultTokens.html +++ /dev/null @@ -1,63 +0,0 @@ -defaultTokens | @thirdweb-dev/react
                      -
                      - -
                      - -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file diff --git a/packages/react/typedoc/variables/defaultWallets.html b/packages/react/typedoc/variables/defaultWallets.html deleted file mode 100644 index 7e375537826..00000000000 --- a/packages/react/typedoc/variables/defaultWallets.html +++ /dev/null @@ -1,63 +0,0 @@ -defaultWallets | @thirdweb-dev/react
                      -
                      - -
                      - -
                      -

                      Generated using TypeDoc

                      -
                      \ No newline at end of file From bd2ea4d74e30f0c7ba56a507af0523adb2d7289e Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Thu, 19 Oct 2023 19:11:15 -0400 Subject: [PATCH 05/19] translations --- .../src/evm/components/ConnectWallet.tsx | 5 +- .../ConnectWalletDetailsModal.tsx | 25 +++-- .../ExportLocalWalletModal.tsx | 12 +-- .../SessionProposalModal.tsx | 9 +- .../SessionRequestModal.tsx | 15 +-- .../SmartWalletAdditionalActions.tsx | 15 ++- .../WalletDetailsButton.tsx | 4 +- .../ChooseWallet/ChooseWallet.tsx | 28 ++++-- .../ChooseWalletContentSquare.tsx | 93 ------------------- .../ConnectWalletFlow/ConnectWalletButton.tsx | 4 +- .../ConnectWalletFlow/ConnectWalletFlow.tsx | 5 +- .../ConnectingWallet/ConnectingWallet.tsx | 6 +- .../ConnectWalletFlow/LocalWalletFlow.tsx | 6 +- .../LocalWalletImportModal.tsx | 19 ++-- .../SmartWallet/SmartWalletFlow.tsx | 12 ++- .../SmartWallet/UsernameInput.tsx | 4 +- .../src/evm/components/ReceiveButton.tsx | 12 +-- .../evm/components/SendFunds/SendButton.tsx | 11 ++- .../components/SendFunds/TokenSelector.tsx | 9 +- .../src/evm/components/base/NetworkButton.tsx | 14 ++- .../src/evm/components/base/WalletButton.tsx | 6 +- packages/react-native/src/evm/i18n/strings.ts | 18 ++-- packages/react-native/src/evm/i18n/types.ts | 64 ++++++++++--- .../wallets/embedded/EmbeddedConnectionUI.tsx | 12 ++- .../wallets/embedded/EmbeddedSelectionUI.tsx | 8 +- .../src/evm/wallets/wallets/magic-link.tsx | 5 +- .../wallet-connect/WalletConnectUI.tsx | 10 +- 27 files changed, 221 insertions(+), 210 deletions(-) delete mode 100644 packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWalletContentSquare.tsx diff --git a/packages/react-native/src/evm/components/ConnectWallet.tsx b/packages/react-native/src/evm/components/ConnectWallet.tsx index 15909e3214b..4e20506de43 100644 --- a/packages/react-native/src/evm/components/ConnectWallet.tsx +++ b/packages/react-native/src/evm/components/ConnectWallet.tsx @@ -14,7 +14,7 @@ import { ConnectWalletButton } from "./ConnectWalletFlow/ConnectWalletButton"; import { ConnectWalletButtonProps } from "./ConnectWalletFlow/ConnectWalletButton"; import BaseButton from "./base/BaseButton"; import Text from "./base/Text"; -import { useUIContext } from "../providers/ui-context-provider"; +import { useLocale, useUIContext } from "../providers/ui-context-provider"; import { ThemeProvider } from "../styles/ThemeProvider"; import { SupportedTokens, defaultTokens } from "./SendFunds/defaultTokens"; @@ -81,6 +81,7 @@ export const ConnectWallet = ({ privacyPolicyUrl, supportedTokens, }: ConnectWalletProps) => { + const l = useLocale(); const fadeAnim = useRef(new Animated.Value(0)).current; const address = useAddress(); const isNetworkMismatch = useNetworkMismatch(); @@ -142,7 +143,7 @@ export const ConnectWallet = ({ ) : ( - Switch Network + {l.common.switch_network} )} diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectWalletDetailsModal.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectWalletDetailsModal.tsx index a5f340fd61b..5c7bc5a5936 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectWalletDetailsModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectWalletDetailsModal.tsx @@ -29,6 +29,7 @@ import { SendButton } from "../SendFunds/SendButton"; import { SupportedTokens } from "../SendFunds/defaultTokens"; import { ActiveDot } from "../base"; import { EmbeddedWallet } from "../../wallets/wallets/embedded/EmbeddedWallet"; +import { useLocale } from "../../providers/ui-context-provider"; const MODAL_HEIGHT = Dimensions.get("window").height * 0.7; const DEVICE_WIDTH = Dimensions.get("window").width; @@ -50,6 +51,7 @@ export const ConnectWalletDetailsModal = ({ supportedTokens: SupportedTokens; displayBalanceToken?: Record; }) => { + const l = useLocale(); const [isExportModalVisible, setIsExportModalVisible] = useState(false); const activeWallet = useWallet(); const chain = useChain(); @@ -137,7 +139,9 @@ export const ConnectWalletDetailsModal = ({ return ( <> - Additional Actions + + {l.connect_wallet_details.additional_actions} + - Backup wallet + + {l.connect_wallet_details.backup_wallet} + @@ -171,7 +177,9 @@ export const ConnectWalletDetailsModal = ({ <> - Import wallet + + {l.connect_wallet_details.import_wallet} + @@ -201,6 +209,7 @@ export const ConnectWalletDetailsModal = ({ onExportLocalWalletPress, onWalletImported, smartWallet, + l, ]); return ( @@ -234,7 +243,7 @@ export const ConnectWalletDetailsModal = ({ - Connected to a Smart Wallet + {l.connect_wallet_details.connected_to_smart_wallet} {isSmartWalletDeployed ? ( @@ -260,13 +269,15 @@ export const ConnectWalletDetailsModal = ({ - Current Network + + {l.connect_wallet_details.current_network} + {!hideTestnetFaucet && chain?.testnet && chain?.faucets?.length ? ( } onPress={() => { if (chain?.faucets?.[0]) { @@ -278,7 +289,7 @@ export const ConnectWalletDetailsModal = ({ {chain?.explorers && chain?.explorers?.[0] && ( } onPress={() => { Linking.openURL( diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/ExportLocalWalletModal.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/ExportLocalWalletModal.tsx index d46679c260d..dc8f4ab643b 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/ExportLocalWalletModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/ExportLocalWalletModal.tsx @@ -18,6 +18,7 @@ import { usePersonalWalletAddress } from "../../wallets/hooks/usePersonalWalletA import { shortenWalletAddress } from "../../utils/addresses"; import { LocalWallet } from "../../wallets/wallets/LocalWallet"; import { TWModal } from "../base/modal/TWModal"; +import { useLocale } from "../../providers/ui-context-provider"; export type ExportLocalWalletModalProps = { isVisible: boolean; @@ -28,6 +29,7 @@ export const ExportLocalWalletModal = ({ isVisible, onClose, }: ExportLocalWalletModalProps) => { + const l = useLocale(); const [password, setPassword] = useState(); const [error, setError] = useState(); const [isExporting, setIsExporting] = useState(false); @@ -154,12 +156,10 @@ export const ExportLocalWalletModal = ({ headerText="Backup your Wallet" /> - { - "This will download a JSON file containing your wallet information onto your device encrypted with the password." - } + {l.local_wallet.this_will_download_json} - Wallet Address + {l.local_wallet.wallet_address} {shortenWalletAddress( @@ -167,7 +167,7 @@ export const ExportLocalWalletModal = ({ )} - Password + {l.common.password} @@ -183,7 +183,7 @@ export const ExportLocalWalletModal = ({ ) : ( - Backup + {l.connect_wallet_details.backup} )} diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/SessionProposalModal.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/SessionProposalModal.tsx index 470fbad05fd..f36822cc041 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/SessionProposalModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/SessionProposalModal.tsx @@ -7,9 +7,10 @@ import { CLOSE_MODAL_STATE, WalletConnectSessionProposalModal, } from "../../utils/modalTypes"; -import { useModalState } from "../../providers/ui-context-provider"; +import { useLocale, useModalState } from "../../providers/ui-context-provider"; export const SessionProposalModal = () => { + const l = useLocale(); const { modalState, setModalState } = useModalState(); const { data: proposalData } = modalState as WalletConnectSessionProposalModal; @@ -27,7 +28,7 @@ export const SessionProposalModal = () => { borderRadius="md" p="lg" > - Connect to App + {l.connect_wallet_details.connect_to_app} {proposalData.proposer.metadata.name} { onClose(); }} > - Reject + {l.common.reject} { }} > - Approve + {l.common.approve} diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/SessionRequestModal.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/SessionRequestModal.tsx index 17277f13f7c..f31163b7093 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/SessionRequestModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/SessionRequestModal.tsx @@ -6,7 +6,7 @@ import { EIP155_SIGNING_METHODS, IWalletConnectReceiver, } from "@thirdweb-dev/wallets"; -import { useModalState } from "../../providers/ui-context-provider"; +import { useLocale, useModalState } from "../../providers/ui-context-provider"; import { CLOSE_MODAL_STATE, WalletConnectSessionRequestModal, @@ -30,6 +30,7 @@ const getTitle = (method: string) => { const MODAL_HEIGHT = Dimensions.get("window").height * 0.7; export const SessionRequestModal = () => { + const l = useLocale(); const { modalState, setModalState } = useModalState(); const { data: requestData } = modalState as WalletConnectSessionRequestModal; const [approvingRequest, setApprovingRequest] = useState(false); @@ -60,7 +61,7 @@ export const SessionRequestModal = () => { case EIP155_SIGNING_METHODS.SWITCH_CHAIN: return ( - {`Switch to ${ + {`${l.connect_wallet_details.switch_to} ${ requestData.params[0].chainId === chain?.chainId ? chain?.slug : requestData.params[0].chainId @@ -85,17 +86,17 @@ export const SessionRequestModal = () => { return ( - {`from: ${shortenWalletAddress(from)}`} + {`${l.common.from}: ${shortenWalletAddress(from)}`} - {`to: ${shortenWalletAddress(to)}`} + {`${l.common.to}: ${shortenWalletAddress(to)}`} ); default: throw new Error(`Method not implemented: ${requestData.method}`); } - }, [chain?.chainId, chain?.slug, requestData]); + }, [chain?.chainId, chain?.slug, requestData, l]); return ( { onClose(); }} > - Reject + {l.common.reject} { ) : ( - Approve + {l.common.approve} )} diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/SmartWalletAdditionalActions.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/SmartWalletAdditionalActions.tsx index 116608af7b6..f8f0ae54972 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/SmartWalletAdditionalActions.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/SmartWalletAdditionalActions.tsx @@ -14,13 +14,14 @@ import RightArrowIcon from "../../assets/right-arrow"; import ConnectAppField from "./ConnectAppField"; import DisconnectIcon from "../../assets/disconnect"; import { IconTextButton } from "../base/IconTextButton"; -import { useGlobalTheme } from "../../providers/ui-context-provider"; +import { useGlobalTheme, useLocale } from "../../providers/ui-context-provider"; export const SmartWalletAdditionalActions = ({ onExportPress, }: { onExportPress: () => void; }) => { + const l = useLocale(); const { setConnectedWallet } = useWalletContext(); const [smartWallet, setSmartWallet] = useSmartWallet(); const [smartWalletAddress, setSmartWalletAddress] = useState(""); @@ -64,8 +65,8 @@ export const SmartWalletAdditionalActions = ({ mt="xs" text={ showSmartWallet - ? "Switch to Smart Wallet" - : "Switch to Personal Wallet" + ? l.smart_wallet.switch_to_smart + : l.smart_wallet.switch_to_personal } icon={ {wallet?.walletId === walletIds.localWallet - ? "Backup personal wallet" - : "Backup wallet"} + ? l.connect_wallet_details.backup_personal_wallet + : l.connect_wallet_details.backup_wallet} @@ -110,9 +111,7 @@ export const SmartWalletAdditionalActions = ({ /> - { - "This is a temporary guest wallet. Download a backup if you don't want to loose access to it." - } + {l.local_wallet.this_is_a_temporary_wallet} ) : null} diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/WalletDetailsButton.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/WalletDetailsButton.tsx index f052a2c58c1..bc8afeb64ec 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/WalletDetailsButton.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/WalletDetailsButton.tsx @@ -11,6 +11,7 @@ import { TextBalance } from "../base/TextBalance"; import { SupportedTokens } from "../SendFunds/defaultTokens"; import { SMART_WALLET_ICON } from "../../assets/svgs"; import { ImageSvgUri } from "../base"; +import { useLocale } from "../../providers/ui-context-provider"; export type ConnectWalletDetailsProps = { address?: string; @@ -45,6 +46,7 @@ export const WalletDetailsButton = ({ supportedTokens, displayBalanceToken, }: ConnectWalletDetailsProps) => { + const l = useLocale(); const activeWallet = useWallet(); const [isModalVisible, setIsModalVisible] = useState(false); const ensQuery = useENS(); @@ -100,7 +102,7 @@ export const WalletDetailsButton = ({ {activeWallet?.walletId === LocalWallet.id ? ( - Guest + {l.connect_wallet_details.guest} ) : ens ? ( {ens} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx index 273f390d499..1a026627d96 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx @@ -9,7 +9,10 @@ import { ChooseWalletContent } from "./ChooseWalletContent"; import { BaseButton, ImageSvgUri, WalletButton } from "../../base"; import { ActivityIndicator, Linking } from "react-native"; import { useTheme } from "@shopify/restyle"; -import { useGlobalTheme } from "../../../providers/ui-context-provider"; +import { + useGlobalTheme, + useLocale, +} from "../../../providers/ui-context-provider"; export type ChooseWalletProps = { headerText?: ReactNode | string; @@ -34,6 +37,7 @@ export function ChooseWallet({ termsOfServiceUrl, privacyPolicyUrl, }: ChooseWalletProps) { + const l = useLocale(); const theme = useGlobalTheme(); const themeLightDark = useTheme(); const [isConnecting, setIsConnecting] = useState(false); @@ -123,7 +127,7 @@ export function ChooseWallet({ /> )} - Connect + {l.connect_wallet_details.connect} ) @@ -153,9 +157,11 @@ export function ChooseWallet({ justifyContent="space-between" alignItems="center" > - New to wallets? + + {l.connect_wallet_details.new_to_wallets} + - Get started + {l.connect_wallet_details.get_started} @@ -224,7 +230,9 @@ export function ChooseWallet({ ); })} - Connect a wallet + + {l.connect_wallet_details.connect_a_wallet} + ) ) : null} @@ -245,7 +253,9 @@ export function ChooseWallet({ color={theme.colors.textPrimary} /> ) : ( - Continue as guest + + {l.connect_wallet_details.continue_as_guest} + )} ) : null} @@ -256,7 +266,7 @@ export function ChooseWallet({ alignItems="center" > - By connecting, you agree to the + {l.connect_wallet_details.by_connecting_you_agree} {termsOfServiceUrl ? ( @@ -271,7 +281,7 @@ export function ChooseWallet({ padding="none" lineHeight={14} > - Terms of Service + {l.connect_wallet_details.tos} ) : null} @@ -297,7 +307,7 @@ export function ChooseWallet({ padding="none" lineHeight={14} > - Privacy Policy + {l.connect_wallet_details.privacy_policy} ) : null} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWalletContentSquare.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWalletContentSquare.tsx deleted file mode 100644 index 26e67826102..00000000000 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWalletContentSquare.tsx +++ /dev/null @@ -1,93 +0,0 @@ -import { useMemo } from "react"; -import type { WalletConfig } from "@thirdweb-dev/react-core"; -import { FlatList, Dimensions } from "react-native"; -import Box from "../../base/Box"; -import { useTheme } from "@shopify/restyle"; -import { WalletButtonSquare } from "../../base/WalletButtonSquare"; -import Text from "../../base/Text"; - -const SCREEN_WIDTH = Dimensions.get("screen").width; -const SCREEN_HEIGHT = Dimensions.get("screen").height; -const MAX_HEIGHT = SCREEN_HEIGHT * 0.4; -const NUM_COLUMNS = 3; -const TILE_SIZE = SCREEN_WIDTH / NUM_COLUMNS; - -interface ChooseWalletContentProps { - wallets: WalletConfig[]; - excludeWalletIds?: string[]; - onChooseWallet: (wallet: WalletConfig, data?: any) => void; -} - -export const ChooseWalletContentSquare = ({ - wallets, - excludeWalletIds, - onChooseWallet, -}: ChooseWalletContentProps) => { - const walletsToDisplay = useMemo(() => { - return wallets.filter( - (w) => !!!excludeWalletIds?.find((ewId) => ewId === w.id), - ); - }, [wallets, excludeWalletIds]); - const theme = useTheme(); - - return ( - - {walletsToDisplay.map((wallet) => { - if (!wallet.selectUI) { - return null; - } - - return ( - - { - onChooseWallet(wallet, data); - }} - walletConfig={wallet} - /> - - ); - })} - item.meta.name} - data={walletsToDisplay} - numColumns={NUM_COLUMNS} - style={{ maxHeight: MAX_HEIGHT }} - fadingEdgeLength={10} - showsVerticalScrollIndicator={false} - renderItem={({ item }) => { - return !item.selectUI ? ( - onChooseWallet(item)} - /> - ) : null; - }} - /> - - New to wallets? - Get started - - - ); -}; diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectWalletButton.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectWalletButton.tsx index 70e9215d224..3990e848483 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectWalletButton.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectWalletButton.tsx @@ -4,6 +4,7 @@ import { useConnectionStatus, useWallets } from "@thirdweb-dev/react-core"; import { useState, useEffect } from "react"; import { useGlobalTheme, + useLocale, useModalState, } from "../../providers/ui-context-provider"; import { ThemeProvider, ThemeProviderProps } from "../../styles/ThemeProvider"; @@ -45,6 +46,7 @@ export const ConnectWalletButton = ({ buttonTitle, theme, }: ConnectWalletButtonProps) => { + const l = useLocale(); const appTheme = useGlobalTheme(); const connectionStatus = useConnectionStatus(); const isWalletConnecting = connectionStatus === "connecting"; @@ -106,7 +108,7 @@ export const ConnectWalletButton = ({ ) : buttonTitle ? ( buttonTitle ) : ( - "Connect Wallet" + l.connect_wallet.label )} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectWalletFlow.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectWalletFlow.tsx index 0dc914676f3..c5092992423 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectWalletFlow.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectWalletFlow.tsx @@ -7,6 +7,7 @@ import { walletIds } from "@thirdweb-dev/wallets"; import { useColorScheme } from "react-native"; import { useGlobalTheme, + useLocale, useModalState, } from "../../providers/ui-context-provider"; import { @@ -17,6 +18,7 @@ import Box from "../base/Box"; import { ThemeProvider } from "../../styles/ThemeProvider"; export const ConnectWalletFlow = () => { + const l = useLocale(); const { modalState, setModalState } = useModalState(); const { modalTitle, @@ -25,7 +27,6 @@ export const ConnectWalletFlow = () => { termsOfServiceUrl, walletConfig, } = (modalState as ConnectWalletFlowModal).data; - const [modalVisible, setModalVisible] = useState(false); const [activeWallet, setActiveWallet] = useState(); const [isConnecting, setIsConnecting] = useState(false); @@ -147,7 +148,7 @@ export const ConnectWalletFlow = () => { content={ activeWallet.id === walletIds.localWallet ? ( - Creating, encrypting and securing your device wallet. + {l.connecting_wallet.creating_encrypting} ) : undefined } diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectingWallet/ConnectingWallet.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectingWallet/ConnectingWallet.tsx index ad770d19985..99dd3bf6968 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectingWallet/ConnectingWallet.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectingWallet/ConnectingWallet.tsx @@ -1,3 +1,4 @@ +import { useLocale } from "../../../providers/ui-context-provider"; import WalletLoadingThumbnail from "../../../wallets/wallets/wallet-connect/WalletLoadingThumbnail"; import { Box, ImageSvgUri } from "../../base"; import Text from "../../base/Text"; @@ -23,6 +24,7 @@ export function ConnectingWallet({ onClose, onBackPress, }: ConnectingWalletProps) { + const l = useLocale(); return ( - Connecting your wallet + {l.connecting_wallet.connecting_your_wallet} - {`Login and connect your wallet through the ${wallet.meta.name} pop-up`} + {l.connecting_wallet.connecting_through_pop_up} )} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletFlow.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletFlow.tsx index 44f058b2ead..bacdb9e74d7 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletFlow.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletFlow.tsx @@ -13,6 +13,7 @@ import { import { LocalWalletImportModal } from "./LocalWalletImportModal"; import { LocalWallet } from "../../wallets/wallets/LocalWallet"; import Box from "../base/Box"; +import { useLocale } from "../../providers/ui-context-provider"; type LocalWalletFlowUIProps = ConnectUIProps & { onConnected?: (wallet: WalletInstance) => void; @@ -24,6 +25,7 @@ export function LocalWalletFlow({ walletConfig, onConnected, }: LocalWalletFlowUIProps) { + const l = useLocale(); const [isImportModalVisible, setIsImportModalVisible] = useState(false); const [isCreatingWallet, setIsCreatingWallet] = useState(false); const { setConnectedWallet } = useWalletContext(); @@ -75,7 +77,7 @@ export function LocalWalletFlow({ ) : ( - Create new wallet + {l.local_wallet.create_new_wallet} )} @@ -88,7 +90,7 @@ export function LocalWalletFlow({ > - OR + {l.common.or} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx index 9ba571152db..e590110687e 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx @@ -16,7 +16,7 @@ import * as FileSystem from "expo-file-system"; import { TWModal } from "../base/modal/TWModal"; import { localWallet } from "../../wallets/wallets/local-wallet"; import { TextInput } from "../base"; -import { useGlobalTheme } from "../../providers/ui-context-provider"; +import { useGlobalTheme, useLocale } from "../../providers/ui-context-provider"; export type LocalWalletImportModalProps = { isVisible: boolean; @@ -29,6 +29,7 @@ export const LocalWalletImportModal = ({ onClose, onWalletImported, }: LocalWalletImportModalProps) => { + const l = useLocale(); const [password, setPassword] = useState(); const [privateKeyOrMnemonic, setPrivateKeyOrMnemonic] = useState< string | undefined @@ -107,7 +108,7 @@ export const LocalWalletImportModal = ({ } if (!localWalletInstance) { - setError("Please, double check your password or private key."); + setError(l.local_wallet.double_check_password); setIsImporting(false); return; } @@ -147,7 +148,7 @@ export const LocalWalletImportModal = ({ setJsonFile(result.uri); setError(undefined); } else { - setError("Error accessing the file. Please try again."); + setError(l.local_wallet.error_accessing_file); } }; @@ -169,9 +170,7 @@ export const LocalWalletImportModal = ({ onClose={onCloseInternal} /> - { - "The application can authorize any transactions on behalf of the wallet without any approvals. We recommend only connecting to trusted applications." - } + {l.local_wallet.application_can_authorize_transactions} - Password + {l.common.password} @@ -200,14 +199,14 @@ export const LocalWalletImportModal = ({ > - Or Private key or Mnemonic + {l.local_wallet.private_key_mnemonic} ) : ( - Import + {l.common.import} )} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/SmartWalletFlow.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/SmartWalletFlow.tsx index db85894d6f0..09b1109a5e9 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/SmartWalletFlow.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/SmartWalletFlow.tsx @@ -15,7 +15,10 @@ import WalletLoadingThumbnail from "../../../wallets/wallets/wallet-connect/Wall import ImageSvgUri from "../../base/ImageSvgUri"; import Box from "../../base/Box"; import { ConnectWalletHeader } from "../ConnectingWallet/ConnectingWalletHeader"; -import { useGlobalTheme } from "../../../providers/ui-context-provider"; +import { + useGlobalTheme, + useLocale, +} from "../../../providers/ui-context-provider"; export const SmartWalletFlow = ({ connected, @@ -24,6 +27,7 @@ export const SmartWalletFlow = ({ personalWalletConfig, ...props }: ConnectUIProps & { personalWalletConfig: WalletConfig }) => { + const l = useLocale(); const theme = useGlobalTheme(); const [connectedPersonalWallet, setConnectedPersonalWallet] = useState(); @@ -145,9 +149,7 @@ export const SmartWalletFlow = ({ {mismatch ? ( - { - "There's a network mismatch between your contract and your wallet" - } + {l.connect_wallet_details.network_mismatch} ) : null} @@ -173,7 +175,7 @@ export const SmartWalletFlow = ({ ) : ( - Switch Network + {l.common.switch_network} )} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/UsernameInput.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/UsernameInput.tsx index 36aecdf5ae7..ea0dcc21815 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/UsernameInput.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/UsernameInput.tsx @@ -1,15 +1,17 @@ import { TextInput } from "react-native"; import Text from "../../base/Text"; +import { useLocale } from "../../../providers/ui-context-provider"; export const UsernameInput = ({ onChangeText, }: { onChangeText: TextInput["props"]["onChangeText"]; }) => { + const l = useLocale(); return ( <> - Username + {l.common.username} diff --git a/packages/react-native/src/evm/components/ReceiveButton.tsx b/packages/react-native/src/evm/components/ReceiveButton.tsx index a9e00e3a13c..b1dd1d9c8f8 100644 --- a/packages/react-native/src/evm/components/ReceiveButton.tsx +++ b/packages/react-native/src/evm/components/ReceiveButton.tsx @@ -14,7 +14,7 @@ import { import DownloadIcon from "../assets/download"; import CopyIcon from "../assets/copy"; import QRCode from "react-native-qrcode-svg"; -import { useGlobalTheme } from "../providers/ui-context-provider"; +import { useGlobalTheme, useLocale } from "../providers/ui-context-provider"; export const ReceiveButton = () => { const theme = useGlobalTheme(); @@ -60,6 +60,7 @@ export const ReceiveFundsModal = ({ isVisible, onClose, }: ReceiveFundsModalProps) => { + const l = useLocale(); const theme = useGlobalTheme(); const address = useAddress(); const [addressCopied, setAddressCopied] = useState(false); @@ -102,11 +103,10 @@ export const ReceiveFundsModal = ({ mt="md" marginHorizontal="xmd" > - Copy the wallet address or scan the QR code to send funds to this - wallet. + {l.connect_wallet_details.copy_address_or_scan} - Your address + {l.connect_wallet_details.your_address} - QR Code + {l.connect_wallet_details.qr_code} {addressCopied === true ? ( - + ) : null} diff --git a/packages/react-native/src/evm/components/SendFunds/SendButton.tsx b/packages/react-native/src/evm/components/SendFunds/SendButton.tsx index cfa5597fcdb..2f2a1b65960 100644 --- a/packages/react-native/src/evm/components/SendFunds/SendButton.tsx +++ b/packages/react-native/src/evm/components/SendFunds/SendButton.tsx @@ -29,7 +29,7 @@ import { utils } from "ethers"; import LoadingTextAnimation from "../base/LoadingTextAnimation"; import CheckIcon from "../../assets/check"; import { TokenSelector } from "./TokenSelector"; -import { useGlobalTheme } from "../../providers/ui-context-provider"; +import { useGlobalTheme, useLocale } from "../../providers/ui-context-provider"; export const SendButton = ({ supportedTokens, @@ -139,6 +139,7 @@ const SendFundsForm = ({ onTokenSelectorPress: () => void; token?: TokenInfo; }) => { + const l = useLocale(); const theme = useGlobalTheme(); const chain = useChain(); const wallet = useWallet(); @@ -221,7 +222,7 @@ const SendFundsForm = ({ > - Select Token + {l.connect_wallet_details.select_token} - Send to + {l.connect_wallet_details.send_to} - Amount + {l.common.amount} ) : ( - Send + {l.common.send} )} diff --git a/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx b/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx index 2a06bb6c956..26f71dffb0a 100644 --- a/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx +++ b/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx @@ -18,7 +18,7 @@ import { import { SelectTokenButton } from "./SelectTokenButton"; import CloseIcon from "../../assets/close"; import Text from "../base/Text"; -import { useGlobalTheme } from "../../providers/ui-context-provider"; +import { useGlobalTheme, useLocale } from "../../providers/ui-context-provider"; export function useToken(tokenAddress: string): { isLoading: boolean; @@ -82,6 +82,7 @@ export function TokenSelector(props: { onBack: () => void; supportedTokens: SupportedTokens; }) { + const l = useLocale(); const theme = useGlobalTheme(); const [input, setInput] = useState(""); const chainId = useChainId(); @@ -120,7 +121,7 @@ export function TokenSelector(props: { - No Tokens found + + {l.connect_wallet_details.no_tokens_found} + )} diff --git a/packages/react-native/src/evm/components/base/NetworkButton.tsx b/packages/react-native/src/evm/components/base/NetworkButton.tsx index c38b57d8f0a..9c4f035c1e4 100644 --- a/packages/react-native/src/evm/components/base/NetworkButton.tsx +++ b/packages/react-native/src/evm/components/base/NetworkButton.tsx @@ -15,7 +15,7 @@ import Box from "./Box"; import { ModalHeaderTextClose } from "./modal/ModalHeaderTextClose"; import { TWModal } from "./modal/TWModal"; import { Chain } from "@thirdweb-dev/chains"; -import { useGlobalTheme } from "../../providers/ui-context-provider"; +import { useGlobalTheme, useLocale } from "../../providers/ui-context-provider"; type NetworkButtonProps = { chain?: Chain; @@ -35,6 +35,7 @@ export const NetworkButton = ({ padding, ...props }: NetworkButtonProps) => { + const l = useLocale(); const theme = useGlobalTheme(); const [isModalVisible, setIsModalVisible] = useState(false); const [switchError, setSwitchError] = useState(); @@ -94,12 +95,12 @@ export const NetworkButton = ({ mr="xxs" fontSize={10} > - Confirm in your wallet + {l.connect_wallet_details.confirm_in_wallet} ) : switchError ? ( - Error switching network + {l.common.error_switching_network} ) : null} @@ -129,6 +130,7 @@ export const SwitchChainModal = ({ isVisible, onClose, }: SwitchChainModalProps) => { + const l = useLocale(); const supportedChains = useSupportedChains(); const onCloseInternal = () => { @@ -147,7 +149,7 @@ export const SwitchChainModal = ({ > - Select Network + {l.connect_wallet_details.select_network} @@ -167,7 +169,9 @@ export const SwitchChainModal = ({ ); }) ) : ( - No supported chains detected + + {l.connect_wallet_details.no_supported_chains_detected} + )} diff --git a/packages/react-native/src/evm/components/base/WalletButton.tsx b/packages/react-native/src/evm/components/base/WalletButton.tsx index 64be845582d..8f4e9b00840 100644 --- a/packages/react-native/src/evm/components/base/WalletButton.tsx +++ b/packages/react-native/src/evm/components/base/WalletButton.tsx @@ -5,6 +5,7 @@ import { Label } from "./Label"; import Text from "./Text"; import Box from "./Box"; import { Palette } from "../../styles/colors"; +import { useLocale } from "../../providers/ui-context-provider"; type WalletButtonProps = { onPress?: () => void; @@ -29,6 +30,7 @@ export const WalletButton = ({ recommended, ...props }: WalletButtonProps) => { + const l = useLocale(); return ( {name} - {recommended ? Recommended : null} + {recommended ? ( + {l.connect_wallet_details.recommended} + ) : null} {labelText ? diff --git a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx index c6d17bbf45d..6773d9abc38 100644 --- a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx @@ -13,7 +13,10 @@ import { GOOGLE_ICON } from "../../../assets/svgs"; import { WalletButton } from "../../../components/base/WalletButton"; import { AuthProvider } from "@paperxyz/embedded-wallet-service-sdk"; import { OauthOptions } from "../../connectors/embedded-wallet/types"; -import { useGlobalTheme } from "../../../providers/ui-context-provider"; +import { + useGlobalTheme, + useLocale, +} from "../../../providers/ui-context-provider"; /** * UI for selecting wallet - this UI is rendered in the wallet selection screen @@ -24,6 +27,7 @@ export const EmailSelectionUI: React.FC< email?: boolean; } > = ({ onSelect, walletConfig, oauthOptions, email }) => { + const l = useLocale(); const theme = useGlobalTheme(); const [emailInput, setEmailInput] = useState(""); const [errorMessage, setErrorMessage] = useState(""); @@ -168,7 +172,7 @@ export const EmailSelectionUI: React.FC< /> ) : ( - Continue + {l.common.continue} )} diff --git a/packages/react-native/src/evm/wallets/wallets/magic-link.tsx b/packages/react-native/src/evm/wallets/wallets/magic-link.tsx index 1887618f4d2..8c74a948455 100644 --- a/packages/react-native/src/evm/wallets/wallets/magic-link.tsx +++ b/packages/react-native/src/evm/wallets/wallets/magic-link.tsx @@ -19,7 +19,7 @@ import { useMagicLink } from "../../providers/context-provider"; import BaseButton from "../../components/base/BaseButton"; import React from "react"; import { ConnectingWallet } from "../../components/ConnectWalletFlow/ConnectingWallet/ConnectingWallet"; -import { useGlobalTheme } from "../../providers/ui-context-provider"; +import { useGlobalTheme, useLocale } from "../../providers/ui-context-provider"; export const magicLink = ( magicLinkOptions: MagicLinkOptions & { recommended?: boolean }, @@ -54,6 +54,7 @@ export const magicLink = ( }; const MagicSelectionUI: React.FC> = (props) => { + const l = useLocale(); const theme = useGlobalTheme(); const [email, setEmail] = React.useState(""); @@ -99,7 +100,7 @@ const MagicSelectionUI: React.FC> = (props) => { color="accentButtonTextColor" fontWeight="700" > - Continue + {l.common.continue} diff --git a/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx b/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx index 6ea65a8da6b..881c865f768 100644 --- a/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx @@ -21,7 +21,10 @@ import { import { WalletConnect } from "./WalletConnect"; import { WalletConnectButton } from "./WalletConnectButton"; import { ModalHeaderTextClose } from "../../../components/base"; -import { useGlobalTheme } from "../../../providers/ui-context-provider"; +import { + useGlobalTheme, + useLocale, +} from "../../../providers/ui-context-provider"; type WCWallet = { iconURL: string; @@ -41,6 +44,7 @@ export function WalletConnectUI({ goBack, projectId, }: ConnectUIProps & { projectId: string }) { + const l = useLocale(); const theme = useGlobalTheme(); const [wallets, setWallets] = useState([]); const [error, setError] = useState(); @@ -209,7 +213,9 @@ export function WalletConnectUI({ { height: Math.round(MODAL_HEIGHT) }, ]} > - No results found + + {l.wallet_connect.no_results_found} + ) } From 0ef20a2823dd4d4dcc83983e7121d0820849a27a Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Thu, 19 Oct 2023 19:12:15 -0400 Subject: [PATCH 06/19] one lang --- packages/react-native/src/evm/i18n/strings.ts | 13 +-- packages/react-native/src/evm/i18n/types.ts | 79 ------------------- 2 files changed, 3 insertions(+), 89 deletions(-) diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts index 96dbff457e3..56165e3440e 100644 --- a/packages/react-native/src/evm/i18n/strings.ts +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -3,11 +3,11 @@ import { Locale, LocaleType, _en, _es } from "./types"; export const setLocale = (locale: Locale): LocaleType => { if (typeof locale === "string") { - if (locale === "es") { - return es(); - } else if (locale === "en") { + if (locale === "en") { return en(); } + + throw new Error(`Locale ${locale} not supported`); } return locale; }; @@ -18,10 +18,3 @@ export const en = (locale?: DeepPartial): LocaleType => { } return deepMerge(_en, locale); }; - -export const es = (locale?: DeepPartial): LocaleType => { - if (!locale) { - return _es; - } - return deepMerge(_es, locale); -}; diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index 712367deee6..b740c351a32 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -90,82 +90,3 @@ export const _en = { to: "from", }, }; - -export const _es = { - connect_wallet: { - label: "Conectar Cartera", - }, - connect_wallet_details: { - additional_actions: "Acciones Adicionales", - address_copied_clipboard: "Dirección copiada al portapapeles", - backup_wallet: "Respaldar Cartera", - import_wallet: "Importar Cartera", - connected_to_smart_wallet: "Conectado a una Cartera Inteligente", - current_network: "Red Actual", - backup: "Respaldo", - connect_to_app: "Conectar a la Aplicación", - guest: "Invitado", - connect: "Conectar", - new_to_wallets: "¿Nuevo en carteras?", - get_started: "Comenzar", - connect_a_wallet: "Conectar una cartera", - continue_as_guest: "Continuar como invitado", - tos: "Términos del Servicio", - privacy_policy: "Política de Privacidad", - by_connecting_you_agree: "Al conectar, aceptas los", - copy_address_or_scan: - "Copia la dirección de la cartera o escanea el código QR para enviar fondos a esta cartera.", - your_address: "Tu dirección", - qr_code: "Código QR", - select_token: "Seleccionar Token", - send_to: "Enviar a", - no_tokens_found: "No se encontraron tokens", - confirm_in_wallet: "Confirmar en tu cartera", - select_network: "Seleccionar Red", - switch_to: "Cambiar a", - no_supported_chains_detected: "No se detectaron cadenas compatibles", - recommended: "Recomendado", - network_mismatch: "Hay un desajuste de red entre tu contrato y tu cartera", - }, - connecting_wallet: { - creating_encrypting: - "Creando, cifrando y asegurando tu cartera del dispositivo.", - connecting_your_wallet: "Conectando tu cartera", - connecting_through_pop_up: - "Inicia sesión y conecta tu aplicación a través del pop-up de la cartera", - }, - local_wallet: { - create_new_wallet: "Crear nueva cartera", - private_key_mnemonic: "O clave privada o mnemotécnico", - private_key_mnemonic_placeholder: "Clave privada / Mnemotécnico", - application_can_authorize_transactions: - "La aplicación puede autorizar cualquier transacción en nombre de la cartera sin ninguna aprobación. Recomendamos conectar solo con aplicaciones de confianza.", - double_check_password: "Por favor, verifica tu contraseña o clave privada.", - error_accessing_file: "Error al acceder al archivo. Intente nuevamente.", - wallet_address: "Dirección de la Cartera", - this_will_download_json: - "Esto descargará un archivo JSON con la información de tu cartera en tu dispositivo cifrado con la contraseña.", - }, - embedded_wallet: { - request_new_code: "Solicitar nuevo código", - sign_in: "Iniciar Sesión", - }, - wallet_connect: { - no_results_found: "No se encontraron resultados", - }, - common: { - password: "Contraseña", - reject: "Rechazar", - approve: "Aprobar", - switch_network: "Cambiar Red", - import: "Importar", - username: "Nombre de Usuario", - amount: "Cantidad", - send: "Enviar", - continue: "Continuar", - error_switching_network: "Error al cambiar de red", - or: "O", - from: "de", - to: "a", - }, -}; From 53eb7f8c2b56851ae61e826ab2367d0fdbceba45 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Thu, 19 Oct 2023 19:14:36 -0400 Subject: [PATCH 07/19] fix funds --- packages/react-native/src/evm/components/ReceiveButton.tsx | 2 +- .../react-native/src/evm/components/SendFunds/SendButton.tsx | 1 + packages/react-native/src/evm/i18n/types.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react-native/src/evm/components/ReceiveButton.tsx b/packages/react-native/src/evm/components/ReceiveButton.tsx index b1dd1d9c8f8..299636b9186 100644 --- a/packages/react-native/src/evm/components/ReceiveButton.tsx +++ b/packages/react-native/src/evm/components/ReceiveButton.tsx @@ -95,7 +95,7 @@ export const ReceiveFundsModal = ({ > Date: Thu, 19 Oct 2023 19:34:27 -0400 Subject: [PATCH 08/19] spanish --- .../ConnectWalletDetailsModal.tsx | 4 +- packages/react-native/src/evm/i18n/strings.ts | 7 ++ packages/react-native/src/evm/i18n/types.ts | 91 +++++++++++++++++++ 3 files changed, 99 insertions(+), 3 deletions(-) diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectWalletDetailsModal.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectWalletDetailsModal.tsx index 5c7bc5a5936..f7d7d99241d 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectWalletDetailsModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectWalletDetailsModal.tsx @@ -193,9 +193,7 @@ export const ConnectWalletDetailsModal = ({ {activeWallet?.walletId === LocalWallet.id ? ( - { - "This is a temporary guest wallet. Download a backup if you don't want to lose access to it." - } + {l.local_wallet.this_is_a_temporary_wallet} ) : null} diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts index 56165e3440e..632fd5218d2 100644 --- a/packages/react-native/src/evm/i18n/strings.ts +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -18,3 +18,10 @@ export const en = (locale?: DeepPartial): LocaleType => { } return deepMerge(_en, locale); }; + +export const es = (locale?: DeepPartial): LocaleType => { + if (!locale) { + return _es; + } + return deepMerge(_es, locale); +}; diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index d59e86c43b2..afa9909482e 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -19,6 +19,7 @@ export const _en = { guest: "Guest", connect: "Connect", new_to_wallets: "New to wallets?", + view_transaction_history: "View Transaction History", get_started: "Get started", receive_funds: "Receive Funds", connect_a_wallet: "Connect a wallet", @@ -91,3 +92,93 @@ export const _en = { to: "from", }, }; + +export const _es = { + connect_wallet: { + label: "Conectar Cartera", + }, + connect_wallet_details: { + additional_actions: "Acciones Adicionales", + address_copied_clipboard: "Dirección copiada al portapapeles", + backup_wallet: "Respaldar Cartera", + backup_personal_wallet: "Respaldar cartera personal", + import_wallet: "Importar Cartera", + connected_to_smart_wallet: "Conectado a una Cartera Inteligente", + current_network: "Red Actual", + backup: "Respaldo", + connect_to_app: "Conectar a la Aplicación", + guest: "Invitado", + connect: "Conectar", + view_transaction_history: "Ver Historial de Transacciones", + new_to_wallets: "¿Nuevo en carteras?", + get_started: "Comenzar", + receive_funds: "Recibir Fondos", + connect_a_wallet: "Conectar una cartera", + continue_as_guest: "Continuar como invitado", + tos: "Términos de Servicio", + privacy_policy: "Política de Privacidad", + by_connecting_you_agree: "Al conectar, aceptas los", + copy_address_or_scan: + "Copia la dirección de la cartera o escanea el código QR para enviar fondos a esta cartera.", + request_testnet_funds: "Solicitar Fondos de Testnet", + view_transatcion_history: "Ver Historial de Transacciones", + your_address: "Tu dirección", + qr_code: "Código QR", + select_token: "Seleccionar Token", + send_to: "Enviar a", + no_tokens_found: "No se encontraron tokens", + confirm_in_wallet: "Confirmar en tu cartera", + select_network: "Seleccionar Red", + switch_to: "Cambiar a", + no_supported_chains_detected: "No se detectaron cadenas soportadas", + recommended: "Recomendado", + network_mismatch: "Hay un desajuste de red entre tu contrato y tu cartera", + }, + connecting_wallet: { + creating_encrypting: + "Creando, cifrando y asegurando tu cartera del dispositivo.", + connecting_your_wallet: "Conectando tu cartera", + connecting_through_pop_up: + "Iniciar sesión y conectar tu aplicación a través del pop-up de la cartera", + }, + local_wallet: { + create_new_wallet: "Crear nueva cartera", + private_key_mnemonic: "O clave privada o mnemónico", + private_key_mnemonic_placeholder: "Clave privada / Mnemónico", + application_can_authorize_transactions: + "La aplicación puede autorizar cualquier transacción en nombre de la cartera sin ninguna aprobación. Recomendamos conectar solo con aplicaciones de confianza.", + double_check_password: "Por favor, verifica tu contraseña o clave privada.", + error_accessing_file: "Error al acceder al archivo. Intente nuevamente.", + wallet_address: "Dirección de la Cartera", + this_will_download_json: + "Esto descargará un archivo JSON que contiene información de tu cartera en tu dispositivo, cifrado con la contraseña.", + this_is_a_temporary_wallet: + "Esta es una cartera de invitado temporal. Descarga un respaldo si no quieres perder acceso a ella.", + }, + smart_wallet: { + switch_to_smart: "Cambiar a Cartera Inteligente", + switch_to_personal: "Cambiar a Cartera Personal", + }, + embedded_wallet: { + request_new_code: "Solicitar nuevo código", + sign_in: "Iniciar Sesión", + }, + wallet_connect: { + no_results_found: "No se encontraron resultados", + }, + common: { + password: "Contraseña", + reject: "Rechazar", + approve: "Aprobar", + switch_network: "Cambiar de Red", + import: "Importar", + username: "Nombre de usuario", + amount: "Cantidad", + send: "Enviar", + continue: "Continuar", + error_switching_network: "Error al cambiar de red", + or: "O", + from: "de", + to: "a", + }, +}; From c84b9db015711f05730d75e4eab6fefad6e2776b Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Thu, 19 Oct 2023 19:37:47 -0400 Subject: [PATCH 09/19] just en --- packages/react-native/src/evm/i18n/strings.ts | 9 +- packages/react-native/src/evm/i18n/types.ts | 92 +------------------ 2 files changed, 2 insertions(+), 99 deletions(-) diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts index 632fd5218d2..7563e04cadb 100644 --- a/packages/react-native/src/evm/i18n/strings.ts +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -1,5 +1,5 @@ import { DeepPartial, deepMerge } from "../types/deepPartial"; -import { Locale, LocaleType, _en, _es } from "./types"; +import { Locale, LocaleType, _en } from "./types"; export const setLocale = (locale: Locale): LocaleType => { if (typeof locale === "string") { @@ -18,10 +18,3 @@ export const en = (locale?: DeepPartial): LocaleType => { } return deepMerge(_en, locale); }; - -export const es = (locale?: DeepPartial): LocaleType => { - if (!locale) { - return _es; - } - return deepMerge(_es, locale); -}; diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index afa9909482e..5101fa2c64b 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -1,4 +1,4 @@ -export type Locale = LocaleType | "en" | "es"; +export type Locale = LocaleType | "en"; export type LocaleType = typeof _en; @@ -92,93 +92,3 @@ export const _en = { to: "from", }, }; - -export const _es = { - connect_wallet: { - label: "Conectar Cartera", - }, - connect_wallet_details: { - additional_actions: "Acciones Adicionales", - address_copied_clipboard: "Dirección copiada al portapapeles", - backup_wallet: "Respaldar Cartera", - backup_personal_wallet: "Respaldar cartera personal", - import_wallet: "Importar Cartera", - connected_to_smart_wallet: "Conectado a una Cartera Inteligente", - current_network: "Red Actual", - backup: "Respaldo", - connect_to_app: "Conectar a la Aplicación", - guest: "Invitado", - connect: "Conectar", - view_transaction_history: "Ver Historial de Transacciones", - new_to_wallets: "¿Nuevo en carteras?", - get_started: "Comenzar", - receive_funds: "Recibir Fondos", - connect_a_wallet: "Conectar una cartera", - continue_as_guest: "Continuar como invitado", - tos: "Términos de Servicio", - privacy_policy: "Política de Privacidad", - by_connecting_you_agree: "Al conectar, aceptas los", - copy_address_or_scan: - "Copia la dirección de la cartera o escanea el código QR para enviar fondos a esta cartera.", - request_testnet_funds: "Solicitar Fondos de Testnet", - view_transatcion_history: "Ver Historial de Transacciones", - your_address: "Tu dirección", - qr_code: "Código QR", - select_token: "Seleccionar Token", - send_to: "Enviar a", - no_tokens_found: "No se encontraron tokens", - confirm_in_wallet: "Confirmar en tu cartera", - select_network: "Seleccionar Red", - switch_to: "Cambiar a", - no_supported_chains_detected: "No se detectaron cadenas soportadas", - recommended: "Recomendado", - network_mismatch: "Hay un desajuste de red entre tu contrato y tu cartera", - }, - connecting_wallet: { - creating_encrypting: - "Creando, cifrando y asegurando tu cartera del dispositivo.", - connecting_your_wallet: "Conectando tu cartera", - connecting_through_pop_up: - "Iniciar sesión y conectar tu aplicación a través del pop-up de la cartera", - }, - local_wallet: { - create_new_wallet: "Crear nueva cartera", - private_key_mnemonic: "O clave privada o mnemónico", - private_key_mnemonic_placeholder: "Clave privada / Mnemónico", - application_can_authorize_transactions: - "La aplicación puede autorizar cualquier transacción en nombre de la cartera sin ninguna aprobación. Recomendamos conectar solo con aplicaciones de confianza.", - double_check_password: "Por favor, verifica tu contraseña o clave privada.", - error_accessing_file: "Error al acceder al archivo. Intente nuevamente.", - wallet_address: "Dirección de la Cartera", - this_will_download_json: - "Esto descargará un archivo JSON que contiene información de tu cartera en tu dispositivo, cifrado con la contraseña.", - this_is_a_temporary_wallet: - "Esta es una cartera de invitado temporal. Descarga un respaldo si no quieres perder acceso a ella.", - }, - smart_wallet: { - switch_to_smart: "Cambiar a Cartera Inteligente", - switch_to_personal: "Cambiar a Cartera Personal", - }, - embedded_wallet: { - request_new_code: "Solicitar nuevo código", - sign_in: "Iniciar Sesión", - }, - wallet_connect: { - no_results_found: "No se encontraron resultados", - }, - common: { - password: "Contraseña", - reject: "Rechazar", - approve: "Aprobar", - switch_network: "Cambiar de Red", - import: "Importar", - username: "Nombre de usuario", - amount: "Cantidad", - send: "Enviar", - continue: "Continuar", - error_switching_network: "Error al cambiar de red", - or: "O", - from: "de", - to: "a", - }, -}; From c4464d43b45cd957264b8c5eb97ba19883e48144 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Thu, 19 Oct 2023 19:47:23 -0400 Subject: [PATCH 10/19] changeset --- .changeset/silver-donuts-pretend.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .changeset/silver-donuts-pretend.md diff --git a/.changeset/silver-donuts-pretend.md b/.changeset/silver-donuts-pretend.md new file mode 100644 index 00000000000..3a3205f0080 --- /dev/null +++ b/.changeset/silver-donuts-pretend.md @@ -0,0 +1,17 @@ +--- +"@thirdweb-dev/react-native": patch +--- + +Adds localization for the React Native SDK + +You can now pass a Locale object to the ThirdwebProvider with your translations: + +```javascript +import { ThirdwebProvicer, en } from @thirdweb-dev/react-native; + + + + +``` From 2d2c46f7ac649652148f22d9561452d9f1a73a57 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Thu, 19 Oct 2023 20:13:09 -0400 Subject: [PATCH 11/19] [RN]i18n Extract more strings --- .../ConnectWalletDetails/ExportLocalWalletModal.tsx | 2 +- .../components/ConnectWalletFlow/LocalWalletFlow.tsx | 2 +- .../react-native/src/evm/components/ReceiveButton.tsx | 3 ++- .../src/evm/components/SendFunds/SelectTokenButton.tsx | 4 +++- .../src/evm/components/SendFunds/SendButton.tsx | 10 +++++++--- .../src/evm/components/SendFunds/TokenSelector.tsx | 2 +- .../src/evm/components/base/NetworkButton.tsx | 4 +++- .../src/evm/components/base/TextBalance.tsx | 4 +++- packages/react-native/src/evm/i18n/types.ts | 9 +++++++++ .../wallets/wallets/embedded/EmbeddedSelectionUI.tsx | 2 +- .../wallets/wallets/wallet-connect/WalletConnectUI.tsx | 2 +- 11 files changed, 32 insertions(+), 12 deletions(-) diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/ExportLocalWalletModal.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/ExportLocalWalletModal.tsx index dc8f4ab643b..86fd02f4747 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/ExportLocalWalletModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/ExportLocalWalletModal.tsx @@ -153,7 +153,7 @@ export const ExportLocalWalletModal = ({ > {l.local_wallet.this_will_download_json} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletFlow.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletFlow.tsx index bacdb9e74d7..8ff2cd730e4 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletFlow.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletFlow.tsx @@ -60,7 +60,7 @@ export function LocalWalletFlow({ <> { + const l = useLocale(); const theme = useGlobalTheme(); const [isModalVisible, setIsModalVisible] = useState(false); @@ -33,7 +34,7 @@ export const ReceiveButton = () => { void; }) { + const l = useLocale(); const balanceQuery = useBalance(props.token?.address); const chain = useChain(); const tokenName = props.token?.name || balanceQuery.data?.name; @@ -27,7 +29,7 @@ export function SelectTokenButton(props: { {tokenName} {!balanceQuery.data ? ( ) : ( diff --git a/packages/react-native/src/evm/components/SendFunds/SendButton.tsx b/packages/react-native/src/evm/components/SendFunds/SendButton.tsx index 5370fb7c200..d5687b77099 100644 --- a/packages/react-native/src/evm/components/SendFunds/SendButton.tsx +++ b/packages/react-native/src/evm/components/SendFunds/SendButton.tsx @@ -36,6 +36,7 @@ export const SendButton = ({ }: { supportedTokens: SupportedTokens; }) => { + const l = useLocale(); const theme = useGlobalTheme(); const [isModalVisible, setIsModalVisible] = useState(false); @@ -51,7 +52,7 @@ export const SendButton = ({ <> @@ -220,7 +221,10 @@ const SendFundsForm = ({ borderRadius="md" p="lg" > - + {l.connect_wallet_details.select_token} @@ -252,7 +256,7 @@ const SendFundsForm = ({ {tokenName} {!balanceQuery.data ? ( ) : ( diff --git a/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx b/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx index 2e86a9ae96d..44251c646a3 100644 --- a/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx +++ b/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx @@ -147,7 +147,7 @@ export function TokenSelector(props: { height: 40, paddingHorizontal: 16, }} - placeholder="Search or paste token address" + placeholder={l.connect_wallet_details.search_or_paste_token} placeholderTextColor={theme.colors.textSecondary} autoCapitalize="none" autoCorrect={false} diff --git a/packages/react-native/src/evm/components/base/NetworkButton.tsx b/packages/react-native/src/evm/components/base/NetworkButton.tsx index 9c4f035c1e4..8b440522c28 100644 --- a/packages/react-native/src/evm/components/base/NetworkButton.tsx +++ b/packages/react-native/src/evm/components/base/NetworkButton.tsx @@ -86,7 +86,9 @@ export const NetworkButton = ({ - {chain?.name || "Unknown Network"} + + {chain?.name || l.common.unknown_network} + {isSwitching ? ( ; @@ -10,9 +11,10 @@ type TextBalance = { export const TextBalance = ({ textVariant, tokenAddress }: TextBalance) => { const balanceQuery = useBalance(tokenAddress); + const l = useLocale(); return !balanceQuery.data ? ( - + ) : ( {Number(balanceQuery.data?.displayValue).toFixed(3)}{" "} diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index 5101fa2c64b..10b6e381174 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -22,6 +22,7 @@ export const _en = { view_transaction_history: "View Transaction History", get_started: "Get started", receive_funds: "Receive Funds", + search_or_paste_token: "Search or paste token address", connect_a_wallet: "Connect a wallet", continue_as_guest: "Continue as guest", tos: "Terms of Service", @@ -35,6 +36,7 @@ export const _en = { qr_code: "QR Code", select_token: "Select Token", send_to: "Send to", + send_funds: "Send Funds", no_tokens_found: "No Tokens found", confirm_in_wallet: "Confirm in your wallet", select_network: "Select Network", @@ -52,6 +54,8 @@ export const _en = { "Login and connect your app through the wallet pop-up", }, local_wallet: { + guest_wallet: "Guest Wallet", + backup_your_wallet: "Backup your wallet", create_new_wallet: "Create new wallet", private_key_mnemonic: "Or Private key or Mnemonic", private_key_mnemonic_placeholder: "Private key / Mnemonic", @@ -72,11 +76,15 @@ export const _en = { embedded_wallet: { request_new_code: "Request new code", sign_in: "Sign In", + sign_in_google: "Sign in with Google", }, wallet_connect: { no_results_found: "No results found", + search_wallets: "Search Wallets", }, common: { + unknown_network: "Unknown Network", + fetching: "Fetching...", password: "Password", reject: "Reject", approve: "Approve", @@ -85,6 +93,7 @@ export const _en = { username: "Username", amount: "Amount", send: "Send", + receive: "Receive", continue: "Continue", error_switching_network: "Error switching network", or: "OR", diff --git a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx index 6773d9abc38..fe7cb9e5862 100644 --- a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx @@ -102,7 +102,7 @@ export const EmailSelectionUI: React.FC< backgroundColor="buttonBackgroundColor" nameColor="buttonTextColor" justifyContent="center" - name="Sign in with Google" + name={l.embedded_wallet.sign_in_google} walletIconUrl={GOOGLE_ICON} onPress={onGoogleSignInPress} /> diff --git a/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx b/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx index 82f8ffcd23b..acfc3cbce0b 100644 --- a/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx @@ -193,7 +193,7 @@ export function WalletConnectUI({ > Date: Fri, 20 Oct 2023 11:42:20 -0400 Subject: [PATCH 12/19] [RN] Makes locale optional --- packages/react-native/src/evm/providers/thirdweb-provider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/src/evm/providers/thirdweb-provider.tsx b/packages/react-native/src/evm/providers/thirdweb-provider.tsx index afc6aacd319..42fef21f53d 100644 --- a/packages/react-native/src/evm/providers/thirdweb-provider.tsx +++ b/packages/react-native/src/evm/providers/thirdweb-provider.tsx @@ -75,7 +75,7 @@ interface ThirdwebProviderProps * ``` * */ - locale: Locale; + locale?: Locale; } /** From 9ba3131e31fcada1cd96f50938a56d37e9908f33 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Fri, 20 Oct 2023 13:54:21 -0400 Subject: [PATCH 13/19] unstash --- .../ConnectWalletDetails/ConnectAppField.tsx | 6 ++++-- .../ConnectWalletFlow/LocalWalletImportModal.tsx | 2 +- .../src/evm/components/PasswordInput.tsx | 2 +- .../src/evm/components/SendFunds/SendButton.tsx | 4 ++-- .../src/evm/components/SendFunds/TokenSelector.tsx | 2 +- packages/react-native/src/evm/i18n/types.ts | 1 + .../react-native/src/evm/styles/textVariants.ts | 14 +++++++------- .../wallets/embedded/EmbeddedSelectionUI.tsx | 2 +- .../src/evm/wallets/wallets/magic-link.tsx | 2 +- .../wallets/wallet-connect/WalletConnectUI.tsx | 2 +- 10 files changed, 20 insertions(+), 17 deletions(-) diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx index fb0ef0ed962..ef55a6db297 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx @@ -13,9 +13,11 @@ import { WalletIcon } from "../base/WalletIcon"; import WalletConnectIcon from "../../assets/wallet-connect"; import QrCodeIcon from "../../assets/qr-code"; import { QRCodeScan } from "./QRCodeScan"; +import { useLocale } from "../../providers/ui-context-provider"; const ConnectAppField = () => { const theme = useTheme(); + const l = useLocale(); const [showWCInput, setShowWCInput] = useState(false); const [wcUri, setWCUri] = useState(); const [appMeta, setAppMeta] = useState<{ name: string; iconUrl: string }>(); @@ -132,7 +134,7 @@ const ConnectAppField = () => { numberOfLines: 1, style: { color: theme.colors.textPrimary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, }, }} containerProps={{ @@ -181,7 +183,7 @@ const ConnectAppField = () => { )} - {appMeta ? appMeta.name : "Connect app"} + {appMeta ? appMeta.name : l.common.connect_app} diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx index 1aadd89ede7..662504a78b8 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx @@ -211,7 +211,7 @@ export const LocalWalletImportModal = ({ onChangeText: onPrivateKeyEntered, style: { color: theme.colors.textPrimary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, }, }} containerProps={{ pl: "xxs" }} diff --git a/packages/react-native/src/evm/components/PasswordInput.tsx b/packages/react-native/src/evm/components/PasswordInput.tsx index 93de1b3dd77..eeb698f54f6 100644 --- a/packages/react-native/src/evm/components/PasswordInput.tsx +++ b/packages/react-native/src/evm/components/PasswordInput.tsx @@ -31,7 +31,7 @@ export const PasswordInput = ({ style={{ ...styles.textInput, color: theme.colors.textPrimary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, }} secureTextEntry={!showPassword} textContentType="none" diff --git a/packages/react-native/src/evm/components/SendFunds/SendButton.tsx b/packages/react-native/src/evm/components/SendFunds/SendButton.tsx index d5687b77099..e4fa9dacb60 100644 --- a/packages/react-native/src/evm/components/SendFunds/SendButton.tsx +++ b/packages/react-native/src/evm/components/SendFunds/SendButton.tsx @@ -289,7 +289,7 @@ const SendFundsForm = ({ onChangeText={setReceiverAddress} style={{ color: theme.colors.textPrimary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, textAlign: "left", flex: 1, height: 40, @@ -323,7 +323,7 @@ const SendFundsForm = ({ clearTextOnFocus={false} style={{ color: theme.colors.textPrimary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, textAlign: "left", flex: 1, height: 40, diff --git a/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx b/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx index 44251c646a3..5c29f0a3f89 100644 --- a/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx +++ b/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx @@ -141,7 +141,7 @@ export function TokenSelector(props: { onChangeText={setInput} style={{ color: theme.colors.textPrimary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, textAlign: "left", flex: 1, height: 40, diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index 10b6e381174..0094d16fccd 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -83,6 +83,7 @@ export const _en = { search_wallets: "Search Wallets", }, common: { + connect_app: "Connect app", unknown_network: "Unknown Network", fetching: "Fetching...", password: "Password", diff --git a/packages/react-native/src/evm/styles/textVariants.ts b/packages/react-native/src/evm/styles/textVariants.ts index 3d1497f2324..bc3be3c85ff 100644 --- a/packages/react-native/src/evm/styles/textVariants.ts +++ b/packages/react-native/src/evm/styles/textVariants.ts @@ -1,11 +1,11 @@ export const textVariants = { - defaults: { - fontFamily: "none", - fontSize: 24, - fontWeight: "700", - lineHeight: 32, - color: "textPrimary", - }, + // defaults: { + // fontFamily: "ShopifySans", //Platform.OS === "ios" ? "San Francisco" : "Roboto", + // fontSize: 24, + // fontWeight: "700", + // lineHeight: 32, + // color: "textPrimary", + // }, header: { fontSize: 24, fontWeight: "600", diff --git a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx index fe7cb9e5862..d2aabdb4a0e 100644 --- a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx @@ -137,7 +137,7 @@ export const EmailSelectionUI: React.FC< style: { fontSize: 14, color: theme.colors.textPrimary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, lineHeight: 16, padding: 0, flex: 1, diff --git a/packages/react-native/src/evm/wallets/wallets/magic-link.tsx b/packages/react-native/src/evm/wallets/wallets/magic-link.tsx index 7fcde583f28..13930d0f944 100644 --- a/packages/react-native/src/evm/wallets/wallets/magic-link.tsx +++ b/packages/react-native/src/evm/wallets/wallets/magic-link.tsx @@ -77,7 +77,7 @@ const MagicSelectionUI: React.FC> = (props) => { style: { fontSize: 14, color: theme.colors.textPrimary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, lineHeight: 16, padding: 0, }, diff --git a/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx b/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx index acfc3cbce0b..93893d1e485 100644 --- a/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx @@ -198,7 +198,7 @@ export function WalletConnectUI({ style={{ ...styles.textInput, color: theme.colors.textSecondary, - fontFamily: theme.textVariants.defaults.fontFamily, + // fontFamily: theme.textVariants.defaults.fontFamily, }} /> From 030e0960e362374b7f5a0831e3f4287d71d3c303 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Fri, 20 Oct 2023 13:58:05 -0400 Subject: [PATCH 14/19] [RN] more strings --- .../ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx | 2 +- packages/react-native/src/evm/i18n/types.ts | 1 + .../src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx | 4 ++-- packages/react-native/src/evm/wallets/wallets/magic-link.tsx | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx index 1a026627d96..7b16b87b405 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/ChooseWallet/ChooseWallet.tsx @@ -188,7 +188,7 @@ export function ChooseWallet({ > - OR + {l.common.or} diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index 0094d16fccd..d26bdd07432 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -77,6 +77,7 @@ export const _en = { request_new_code: "Request new code", sign_in: "Sign In", sign_in_google: "Sign in with Google", + enter_your_email: "Enter your email address", }, wallet_connect: { no_results_found: "No results found", diff --git a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx index d2aabdb4a0e..a3510166d03 100644 --- a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx @@ -120,7 +120,7 @@ export const EmailSelectionUI: React.FC< textAlign="center" marginHorizontal="xxs" > - OR + {l.common.or} @@ -131,7 +131,7 @@ export const EmailSelectionUI: React.FC< <> > = (props) => { { setEmail(text); From ec1ef37304a838927013f042fa611f3b74ba5425 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Fri, 20 Oct 2023 15:00:29 -0400 Subject: [PATCH 15/19] [RN] i18n strings --- .../ConnectingWallet/ConnectingWalletHeader.tsx | 14 ++++++++++++-- .../SmartWallet/SmartWalletFlow.tsx | 4 +++- packages/react-native/src/evm/i18n/types.ts | 2 ++ 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectingWallet/ConnectingWalletHeader.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectingWallet/ConnectingWalletHeader.tsx index 70accf7fc79..d1ab7f4cd7a 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectingWallet/ConnectingWalletHeader.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/ConnectingWallet/ConnectingWalletHeader.tsx @@ -1,5 +1,8 @@ import { Icon } from "../../../assets/icon"; -import { useGlobalTheme } from "../../../providers/ui-context-provider"; +import { + useGlobalTheme, + useLocale, +} from "../../../providers/ui-context-provider"; import Text from "../../base/Text"; import { FlexAlignType, StyleSheet, View } from "react-native"; @@ -14,13 +17,20 @@ interface ConnectWalletHeaderProps { export const ConnectWalletHeader = ({ headerText, - subHeaderText = "Connecting your wallet", + subHeaderText, alignHeader = "center", middleContent, onClose, onBackPress, }: ConnectWalletHeaderProps) => { + const l = useLocale(); const theme = useGlobalTheme(); + + subHeaderText = + subHeaderText !== undefined + ? subHeaderText + : l.connecting_wallet.connecting_your_wallet; + return ( <> diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/SmartWalletFlow.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/SmartWalletFlow.tsx index 09b1109a5e9..e5ad513cbef 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/SmartWalletFlow.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/SmartWallet/SmartWalletFlow.tsx @@ -145,7 +145,9 @@ export const SmartWalletFlow = ({ <> - {mismatch ? "Network Mismatch" : "Connecting..."} + {mismatch + ? l.smart_wallet.network_mistmach + : `${l.smart_wallet.connecting} ...`} {mismatch ? ( diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index d26bdd07432..51c30f5981b 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -72,6 +72,8 @@ export const _en = { smart_wallet: { switch_to_smart: "Switch to Smart Wallet", switch_to_personal: "Switch to Personal Wallet", + network_mistmach: "Network Mismatch", + connecting: "Connecting", }, embedded_wallet: { request_new_code: "Request new code", From 9ebc9f0ebb5a6de62cbe732cf52d6ebea5cfb488 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Fri, 20 Oct 2023 16:34:28 -0400 Subject: [PATCH 16/19] [RN] Allow custom fontFamily --- .../ConnectWalletDetails/ConnectAppField.tsx | 2 +- .../LocalWalletImportModal.tsx | 2 +- .../src/evm/components/PasswordInput.tsx | 2 +- .../evm/components/SendFunds/SendButton.tsx | 4 +-- .../components/SendFunds/TokenSelector.tsx | 2 +- .../src/evm/styles/textVariants.ts | 26 ++++++++++++++----- .../wallets/embedded/EmbeddedSelectionUI.tsx | 2 +- .../src/evm/wallets/wallets/magic-link.tsx | 2 +- .../wallet-connect/WalletConnectUI.tsx | 2 +- 9 files changed, 28 insertions(+), 16 deletions(-) diff --git a/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx b/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx index ef55a6db297..dae5e3c4a7d 100644 --- a/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletDetails/ConnectAppField.tsx @@ -134,7 +134,7 @@ const ConnectAppField = () => { numberOfLines: 1, style: { color: theme.colors.textPrimary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, }, }} containerProps={{ diff --git a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx index 662504a78b8..1aadd89ede7 100644 --- a/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx +++ b/packages/react-native/src/evm/components/ConnectWalletFlow/LocalWalletImportModal.tsx @@ -211,7 +211,7 @@ export const LocalWalletImportModal = ({ onChangeText: onPrivateKeyEntered, style: { color: theme.colors.textPrimary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, }, }} containerProps={{ pl: "xxs" }} diff --git a/packages/react-native/src/evm/components/PasswordInput.tsx b/packages/react-native/src/evm/components/PasswordInput.tsx index eeb698f54f6..93de1b3dd77 100644 --- a/packages/react-native/src/evm/components/PasswordInput.tsx +++ b/packages/react-native/src/evm/components/PasswordInput.tsx @@ -31,7 +31,7 @@ export const PasswordInput = ({ style={{ ...styles.textInput, color: theme.colors.textPrimary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, }} secureTextEntry={!showPassword} textContentType="none" diff --git a/packages/react-native/src/evm/components/SendFunds/SendButton.tsx b/packages/react-native/src/evm/components/SendFunds/SendButton.tsx index e4fa9dacb60..d5687b77099 100644 --- a/packages/react-native/src/evm/components/SendFunds/SendButton.tsx +++ b/packages/react-native/src/evm/components/SendFunds/SendButton.tsx @@ -289,7 +289,7 @@ const SendFundsForm = ({ onChangeText={setReceiverAddress} style={{ color: theme.colors.textPrimary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, textAlign: "left", flex: 1, height: 40, @@ -323,7 +323,7 @@ const SendFundsForm = ({ clearTextOnFocus={false} style={{ color: theme.colors.textPrimary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, textAlign: "left", flex: 1, height: 40, diff --git a/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx b/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx index 5c29f0a3f89..44251c646a3 100644 --- a/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx +++ b/packages/react-native/src/evm/components/SendFunds/TokenSelector.tsx @@ -141,7 +141,7 @@ export function TokenSelector(props: { onChangeText={setInput} style={{ color: theme.colors.textPrimary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, textAlign: "left", flex: 1, height: 40, diff --git a/packages/react-native/src/evm/styles/textVariants.ts b/packages/react-native/src/evm/styles/textVariants.ts index 75ad6d47b7a..36dd5c4c026 100644 --- a/packages/react-native/src/evm/styles/textVariants.ts +++ b/packages/react-native/src/evm/styles/textVariants.ts @@ -1,30 +1,36 @@ +// import { Platform } from "react-native"; + export const textVariants = { - // defaults: { - // fontFamily: "ShopifySans", //Platform.OS === "ios" ? "San Francisco" : "Roboto", - // fontSize: 24, - // fontWeight: "700", - // lineHeight: 32, - // color: "textPrimary", - // }, + defaults: { + fontFamily: undefined as string | undefined, + fontSize: 24, + fontWeight: "700", + lineHeight: 32, + color: "textPrimary", + }, header: { + fontFamily: undefined as string | undefined, fontSize: 24, fontWeight: "600", lineHeight: 32, color: "textPrimary", }, headerBold: { + fontFamily: undefined as string | undefined, fontSize: 24, fontWeight: "700", lineHeight: 32, color: "textPrimary", }, subHeader: { + fontFamily: undefined as string | undefined, fontSize: 16, fontWeight: "500", lineHeight: 24, color: "textSecondary", }, link: { + fontFamily: undefined as string | undefined, fontWeight: "500", fontSize: 14, lineHeight: 24, @@ -32,6 +38,7 @@ export const textVariants = { letterSpacing: -0.02, }, bodyLarge: { + fontFamily: undefined as string | undefined, color: "textPrimary", textAlign: "center", fontWeight: "600", @@ -39,6 +46,7 @@ export const textVariants = { lineHeight: 24, }, bodyLargeBold: { + fontFamily: undefined as string | undefined, color: "textPrimary", textAlign: "center", fontWeight: "700", @@ -46,6 +54,7 @@ export const textVariants = { lineHeight: 24, }, bodySmall: { + fontFamily: undefined as string | undefined, color: "textPrimary", textAlign: "center", fontWeight: "600", @@ -53,6 +62,7 @@ export const textVariants = { lineHeight: 16, }, bodySmallBold: { + fontFamily: undefined as string | undefined, color: "textPrimary", textAlign: "center", fontWeight: "700", @@ -60,6 +70,7 @@ export const textVariants = { lineHeight: 16, }, bodySmallSecondary: { + fontFamily: undefined as string | undefined, color: "textSecondary", textAlign: "left", fontWeight: "600", @@ -67,6 +78,7 @@ export const textVariants = { lineHeight: 16, }, error: { + fontFamily: undefined as string | undefined, color: "error", fontWeight: "500", fontSize: 12, diff --git a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx index a3510166d03..de95dbf39af 100644 --- a/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/embedded/EmbeddedSelectionUI.tsx @@ -137,7 +137,7 @@ export const EmailSelectionUI: React.FC< style: { fontSize: 14, color: theme.colors.textPrimary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, lineHeight: 16, padding: 0, flex: 1, diff --git a/packages/react-native/src/evm/wallets/wallets/magic-link.tsx b/packages/react-native/src/evm/wallets/wallets/magic-link.tsx index fef428d854f..342a77b00bc 100644 --- a/packages/react-native/src/evm/wallets/wallets/magic-link.tsx +++ b/packages/react-native/src/evm/wallets/wallets/magic-link.tsx @@ -77,7 +77,7 @@ const MagicSelectionUI: React.FC> = (props) => { style: { fontSize: 14, color: theme.colors.textPrimary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, lineHeight: 16, padding: 0, }, diff --git a/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx b/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx index 93893d1e485..acfc3cbce0b 100644 --- a/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx +++ b/packages/react-native/src/evm/wallets/wallets/wallet-connect/WalletConnectUI.tsx @@ -198,7 +198,7 @@ export function WalletConnectUI({ style={{ ...styles.textInput, color: theme.colors.textSecondary, - // fontFamily: theme.textVariants.defaults.fontFamily, + fontFamily: theme.textVariants.defaults.fontFamily, }} /> From c8f53f2912aa7f1d362a7155efb8dd71a0f73954 Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Mon, 30 Oct 2023 18:14:23 -0400 Subject: [PATCH 17/19] [RN] Adds Japanese and Spanish support --- packages/react-native/src/evm/i18n/en.ts | 107 +++++++++++++++++ packages/react-native/src/evm/i18n/es.ts | 113 ++++++++++++++++++ packages/react-native/src/evm/i18n/jp.ts | 109 +++++++++++++++++ packages/react-native/src/evm/i18n/strings.ts | 14 ++- packages/react-native/src/evm/i18n/types.ts | 112 +---------------- 5 files changed, 343 insertions(+), 112 deletions(-) create mode 100644 packages/react-native/src/evm/i18n/en.ts create mode 100644 packages/react-native/src/evm/i18n/es.ts create mode 100644 packages/react-native/src/evm/i18n/jp.ts diff --git a/packages/react-native/src/evm/i18n/en.ts b/packages/react-native/src/evm/i18n/en.ts new file mode 100644 index 00000000000..b8a25aa3d13 --- /dev/null +++ b/packages/react-native/src/evm/i18n/en.ts @@ -0,0 +1,107 @@ +export const _en = { + connect_wallet: { + label: "Connect Wallet", + }, + connect_wallet_details: { + additional_actions: "Additional Actions", + address_copied_clipboard: "Address copied to clipboard", + backup_wallet: "Backup Wallet", + backup_personal_wallet: "Backup personal wallet", + import_wallet: "Import Wallet", + connected_to_smart_wallet: "Connected to a Smart Wallet", + current_network: "Current Network", + backup: "Backup", + connect_to_app: "Connect to App", + guest: "Guest", + connect: "Connect", + new_to_wallets: "New to wallets?", + view_transaction_history: "View Transaction History", + get_started: "Get started", + receive_funds: "Receive Funds", + search_or_paste_token: "Search or paste token address", + connect_a_wallet: "Connect a wallet", + continue_as_guest: "Continue as guest", + tos: "Terms of Service", + privacy_policy: "Privacy Policy", + by_connecting_you_agree: "By connecting, you agree to the", + copy_address_or_scan: + "Copy the wallet address or scan the QR code to send funds to this wallet.", + request_testnet_funds: "Request Testnet Funds", + your_address: "Your address", + qr_code: "QR Code", + select_token: "Select Token", + send_to: "Send to", + send_funds: "Send Funds", + no_tokens_found: "No Tokens found", + confirm_in_wallet: "Confirm in your wallet", + select_network: "Select Network", + switch_to: "Switch to", + no_supported_chains_detected: "No supported chains detected", + recommended: "Recommended", + network_mismatch: + "There's a network mismatch between your contract and your wallet", + }, + connecting_wallet: { + creating_encrypting: + "Creating, encrypting and securing your device wallet.", + connecting_your_wallet: "Connecting your wallet", + connecting_through_pop_up: + "Login and connect your app through the wallet pop-up", + }, + local_wallet: { + guest_wallet: "Guest Wallet", + backup_your_wallet: "Backup your wallet", + create_new_wallet: "Create new wallet", + private_key_mnemonic: "Or Private key or Mnemonic", + private_key_mnemonic_placeholder: "Private key / Mnemonic", + application_can_authorize_transactions: + "The application can authorize any transactions on behalf of the wallet without any approvals. We recommend only connecting to trusted applications.", + double_check_password: "Please, double check your password or private key.", + error_accessing_file: "Error accessing the file. Please try again.", + wallet_address: "Wallet Address", + this_will_download_json: + "This will download a JSON file containing your wallet information onto your device encrypted with the password.", + this_is_a_temporary_wallet: + "This is a temporary guest wallet. Download a backup if you don't want to loose access to it.", + }, + smart_wallet: { + switch_to_smart: "Switch to Smart Wallet", + switch_to_personal: "Switch to Personal Wallet", + network_mismatch: "Network Mismatch", + connecting: "Connecting", + }, + embedded_wallet: { + request_new_code: "Request new code", + sign_in: "Sign In", + sign_in_google: "Sign in with Google", + enter_your_email: "Enter your email address", + forgot_password: "Forgot password", + enter_account_recovery_code: "Enter account recovery code", + backup_your_account: "Backup your account", + }, + wallet_connect: { + no_results_found: "No results found", + search_wallets: "Search Wallets", + }, + common: { + connect_app: "Connect app", + unknown_network: "Unknown Network", + fetching: "Fetching...", + password: "Password", + reject: "Reject", + approve: "Approve", + switch_network: "Switch Network", + import: "Import", + username: "Username", + amount: "Amount", + send: "Send", + receive: "Receive", + continue: "Continue", + error_switching_network: "Error switching network", + or: "OR", + from: "from", + to: "from", + next: "Next", + learn_more: "Learn More", + }, +}; diff --git a/packages/react-native/src/evm/i18n/es.ts b/packages/react-native/src/evm/i18n/es.ts new file mode 100644 index 00000000000..517a2473b8a --- /dev/null +++ b/packages/react-native/src/evm/i18n/es.ts @@ -0,0 +1,113 @@ +export const _es = { + connect_wallet: { + label: "Conectar Cartera", + }, + connect_wallet_details: { + additional_actions: "Acciones Adicionales", + address_copied_clipboard: "Dirección copiada al portapapeles", + backup_wallet: "Respaldar Cartera", + backup_personal_wallet: "Respaldar cartera personal", + import_wallet: "Importar Cartera", + connected_to_smart_wallet: "Conectado a una Cartera Inteligente", + current_network: "Red Actual", + backup: "Respaldar", + connect_to_app: "Conectar a la Aplicación", + guest: "Invitado", + connect: "Conectar", + new_to_wallets: "¿Nuevo en billeteras?", + view_transaction_history: "Ver Historial de Transacciones", + get_started: "Comenzar", + receive_funds: "Recibir Fondos", + search_or_paste_token: "Buscar o pegar dirección del token", + connect_a_wallet: "Conectar una cartera", + continue_as_guest: "Continuar como invitado", + tos: "Términos de Servicio", + privacy_policy: "Política de Privacidad", + by_connecting_you_agree: "Al conectar, aceptas los", + copy_address_or_scan: + "Copia la dirección de la cartera o escanea el código QR para enviar fondos a esta cartera.", + request_testnet_funds: "Solicitar Fondos de Testnet", + your_address: "Tu dirección", + qr_code: "Código QR", + select_token: "Seleccionar Token", + send_to: "Enviar a", + send_funds: "Enviar Fondos", + no_tokens_found: "No se encontraron tokens", + confirm_in_wallet: "Confirma en tu cartera", + select_network: "Seleccionar Red", + switch_to: "Cambiar a", + no_supported_chains_detected: "No se detectaron cadenas compatibles", + recommended: "Recomendado", + network_mismatch: "Hay un desajuste de red entre tu contrato y tu cartera", + }, + connecting_wallet: { + creating_encrypting: + "Creando, cifrando y asegurando tu cartera de dispositivo.", + connecting_your_wallet: "Conectando tu cartera", + connecting_through_pop_up: + "Iniciar sesión y conectar tu aplicación a través del pop-up de la cartera", + }, + local_wallet: { + guest_wallet: "Cartera de Invitado", + backup_your_wallet: "Haz un respaldo de tu cartera", + create_new_wallet: "Crear nueva cartera", + private_key_mnemonic: "O clave privada o frase mnemotécnica", + private_key_mnemonic_placeholder: "Clave privada / Frase mnemotécnica", + application_can_authorize_transactions: + "La aplicación puede autorizar cualquier transacción en nombre de la cartera sin aprobaciones. Recomendamos conectar solo a aplicaciones de confianza.", + double_check_password: "Por favor, verifica tu contraseña o clave privada.", + error_accessing_file: + "Error al acceder al archivo. Por favor, inténtalo de nuevo.", + wallet_address: "Dirección de la Cartera", + this_will_download_json: + "Esto descargará un archivo JSON que contiene la información de tu cartera en tu dispositivo cifrada con la contraseña.", + this_is_a_temporary_wallet: + "Esta es una cartera de invitado temporal. Descarga un respaldo si no quieres perder el acceso a ella.", + }, + smart_wallet: { + switch_to_smart: "Cambiar a Cartera Inteligente", + switch_to_personal: "Cambiar a Cartera Personal", + network_mismatch: "Desajuste de Red", + connecting: "Conectando", + }, + embedded_wallet: { + request_new_code: "Solicitar nuevo código", + sign_in: "Iniciar Sesión", + sign_in_google: "Iniciar sesión con Google", + enter_your_email: "Ingresa tu dirección de correo electrónico", + forgot_password: "Olvidé mi contraseña", + enter_account_recovery_code: "Ingresa el código de recuperación de cuenta", + backup_your_account: "Haz un respaldo de tu cuenta", + enter_password: "Introduce contraseña", + create_password: "Crear contraseña", + set_password_message: + "Establece una contraseña para tu cuenta. Necesitarás esta contraseña cuando te conectes desde un nuevo dispositivo.", + enter_password_for_email: "Ingresa la contraseña del correo electrónico", + make_sure_you_save_it: "Asegúrate de guardarlo", + }, + wallet_connect: { + no_results_found: "No se encontraron resultados", + search_wallets: "Buscar Billeteras", + }, + common: { + connect_app: "Conectar aplicación", + unknown_network: "Red Desconocida", + fetching: "Recuperando...", + password: "Contraseña", + reject: "Rechazar", + approve: "Aprobar", + switch_network: "Cambiar Red", + import: "Importar", + username: "Nombre de usuario", + amount: "Cantidad", + send: "Enviar", + receive: "Recibir", + continue: "Continuar", + error_switching_network: "Error al cambiar de red", + or: "O", + from: "de", + to: "a", + next: "Siguiente", + learn_more: "Saber más", + }, +}; diff --git a/packages/react-native/src/evm/i18n/jp.ts b/packages/react-native/src/evm/i18n/jp.ts new file mode 100644 index 00000000000..a761b7fd39f --- /dev/null +++ b/packages/react-native/src/evm/i18n/jp.ts @@ -0,0 +1,109 @@ +export const _jp = { + connect_wallet: { + label: "ウォレットを接続", + }, + connect_wallet_details: { + additional_actions: "追加のアクション", + address_copied_clipboard: "アドレスがクリップボードにコピーされました", + backup_wallet: "ウォレットのバックアップ", + backup_personal_wallet: "個人のウォレットのバックアップ", + import_wallet: "ウォレットのインポート", + connected_to_smart_wallet: "スマートウォレットに接続されています", + current_network: "現在のネットワーク", + backup: "バックアップ", + connect_to_app: "アプリに接続", + guest: "ゲスト", + connect: "接続", + kpepe: "KPEPE", + new_to_wallets: "ウォレットは初めてですか?", + view_transaction_history: "取引履歴を見る", + get_started: "開始する", + receive_funds: "資金を受け取る", + search_or_paste_token: "トークンのアドレスを検索または貼り付け", + connect_a_wallet: "ウォレットを接続", + continue_as_guest: "ゲストとして続行", + tos: "利用規約", + privacy_policy: "プライバシーポリシー", + by_connecting_you_agree: "接続することで、あなたは以下に同意します", + copy_address_or_scan: + "ウォレットのアドレスをコピーするか、QRコードをスキャンして資金をこのウォレットに送信します", + request_testnet_funds: "テストネットの資金をリクエスト", + your_address: "あなたのアドレス", + qr_code: "QRコード", + select_token: "トークンを選択", + send_to: "送信先", + send_funds: "資金を送る", + no_tokens_found: "トークンが見つかりません", + confirm_in_wallet: "ウォレットで確認", + select_network: "ネットワークを選択", + switch_to: "に切り替える", + no_supported_chains_detected: + "サポートされているチェーンが検出されませんでした", + recommended: "推奨", + network_mismatch: + "あなたのコントラクトとウォレットの間にネットワークの不一致があります", + }, + connecting_wallet: { + creating_encrypting: "デバイスのウォレットを作成、暗号化、保護しています", + connecting_your_wallet: "ウォレットを接続しています", + connecting_through_pop_up: + "ウォレットのポップアップを通じてアプリにログインして接続します", + }, + local_wallet: { + guest_wallet: "ゲストウォレット", + backup_your_wallet: "ウォレットをバックアップ", + create_new_wallet: "新しいウォレットを作成", + private_key_mnemonic: "または、秘密鍵またはニーモニック", + private_key_mnemonic_placeholder: "秘密鍵 / ニーモニック", + application_can_authorize_transactions: + "アプリケーションは、承認なしにウォレットを代わりにトランザクションを許可することができます 信頼できるアプリケーションのみに接続することをおすすめします", + double_check_password: "パスワードまたは秘密鍵を再度確認してください", + error_accessing_file: + "ファイルにアクセスできませんでしたもう一度試してください", + wallet_address: "ウォレットのアドレス", + this_will_download_json: + "これにより、パスワードで暗号化されたウォレット情報を含むJSONファイルがデバイスにダウンロードされます", + this_is_a_temporary_wallet: + "これは一時的なゲストウォレットです アクセスを失わないようにバックアップをダウンロードしてください", + }, + smart_wallet: { + switch_to_smart: "スマートウォレットに切り替え", + switch_to_personal: "個人のウォレットに切り替え", + network_mismatch: "ネットワークの不一致", + connecting: "接続中", + }, + embedded_wallet: { + request_new_code: "新しいコードをリクエスト", + sign_in: "サインイン", + sign_in_google: "Googleでサインイン", + enter_your_email: "メールアドレスを入力", + forgot_password: "パスワードを忘れた", + enter_account_recovery_code: "アカウント回復コードを入力", + backup_your_account: "アカウントのバックアップ", + }, + wallet_connect: { + no_results_found: "結果が見つかりません", + search_wallets: "ウォレットを検索", + }, + common: { + connect_app: "アプリに接続", + unknown_network: "不明なネットワーク", + fetching: "取得中...", + password: "パスワード", + reject: "拒否", + approve: "承認", + switch_network: "ネットワークの切り替え", + import: "インポート", + username: "ユーザー名", + amount: "金額", + send: "送信", + receive: "受け取り", + continue: "続行", + error_switching_network: "ネットワークの切り替えエラー", + or: "または", + from: "から", + to: "まで", + next: "次へ", + learn_more: "もっと詳しく", + }, +}; diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts index 7563e04cadb..397525476dd 100644 --- a/packages/react-native/src/evm/i18n/strings.ts +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -1,10 +1,18 @@ import { DeepPartial, deepMerge } from "../types/deepPartial"; -import { Locale, LocaleType, _en } from "./types"; +import { _en } from "./en"; +import { _es } from "./es"; +import { _jp } from "./jp"; +import { Locale, LocaleType } from "./types"; export const setLocale = (locale: Locale): LocaleType => { if (typeof locale === "string") { - if (locale === "en") { - return en(); + switch (locale) { + case "en": + return _en; + case "es": + return _es; + case "jp": + return _jp; } throw new Error(`Locale ${locale} not supported`); diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index e7dd6196195..0ba61080fa8 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -1,111 +1,5 @@ -export type Locale = LocaleType | "en"; +import { _en } from "./en"; -export type LocaleType = typeof _en; +export type Locale = LocaleType | "en" | "es" | "jp"; -export const _en = { - connect_wallet: { - label: "Connect Wallet", - }, - connect_wallet_details: { - additional_actions: "Additional Actions", - address_copied_clipboard: "Address copied to clipboard", - backup_wallet: "Backup Wallet", - backup_personal_wallet: "Backup personal wallet", - import_wallet: "Import Wallet", - connected_to_smart_wallet: "Connected to a Smart Wallet", - current_network: "Current Network", - backup: "Backup", - connect_to_app: "Connect to App", - guest: "Guest", - connect: "Connect", - new_to_wallets: "New to wallets?", - view_transaction_history: "View Transaction History", - get_started: "Get started", - receive_funds: "Receive Funds", - search_or_paste_token: "Search or paste token address", - connect_a_wallet: "Connect a wallet", - continue_as_guest: "Continue as guest", - tos: "Terms of Service", - privacy_policy: "Privacy Policy", - by_connecting_you_agree: "By connecting, you agree to the", - copy_address_or_scan: - "Copy the wallet address or scan the QR code to send funds to this wallet.", - request_testnet_funds: "Request Testnet Funds", - your_address: "Your address", - qr_code: "QR Code", - select_token: "Select Token", - send_to: "Send to", - send_funds: "Send Funds", - no_tokens_found: "No Tokens found", - confirm_in_wallet: "Confirm in your wallet", - select_network: "Select Network", - switch_to: "Switch to", - no_supported_chains_detected: "No supported chains detected", - recommended: "Recommended", - network_mismatch: - "There's a network mismatch between your contract and your wallet", - }, - connecting_wallet: { - creating_encrypting: - "Creating, encrypting and securing your device wallet.", - connecting_your_wallet: "Connecting your wallet", - connecting_through_pop_up: - "Login and connect your app through the wallet pop-up", - }, - local_wallet: { - guest_wallet: "Guest Wallet", - backup_your_wallet: "Backup your wallet", - create_new_wallet: "Create new wallet", - private_key_mnemonic: "Or Private key or Mnemonic", - private_key_mnemonic_placeholder: "Private key / Mnemonic", - application_can_authorize_transactions: - "The application can authorize any transactions on behalf of the wallet without any approvals. We recommend only connecting to trusted applications.", - double_check_password: "Please, double check your password or private key.", - error_accessing_file: "Error accessing the file. Please try again.", - wallet_address: "Wallet Address", - this_will_download_json: - "This will download a JSON file containing your wallet information onto your device encrypted with the password.", - this_is_a_temporary_wallet: - "This is a temporary guest wallet. Download a backup if you don't want to loose access to it.", - }, - smart_wallet: { - switch_to_smart: "Switch to Smart Wallet", - switch_to_personal: "Switch to Personal Wallet", - network_mismatch: "Network Mismatch", - connecting: "Connecting", - }, - embedded_wallet: { - request_new_code: "Request new code", - sign_in: "Sign In", - sign_in_google: "Sign in with Google", - enter_your_email: "Enter your email address", - forgot_password: "Forgot password", - enter_account_recovery_code: "Enter account recovery code", - backup_your_account: "Backup your account", - }, - wallet_connect: { - no_results_found: "No results found", - search_wallets: "Search Wallets", - }, - common: { - connect_app: "Connect app", - unknown_network: "Unknown Network", - fetching: "Fetching...", - password: "Password", - reject: "Reject", - approve: "Approve", - switch_network: "Switch Network", - import: "Import", - username: "Username", - amount: "Amount", - send: "Send", - receive: "Receive", - continue: "Continue", - error_switching_network: "Error switching network", - or: "OR", - from: "from", - to: "from", - next: "Next", - learn_more: "Learn More", - }, -}; +export type LocaleType = typeof _en; From c3c59bbe6c17c1b48a0d2986109177e274cc3e2c Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Mon, 30 Oct 2023 18:18:55 -0400 Subject: [PATCH 18/19] changeset --- .changeset/olive-books-fly.md | 15 +++++++++++++++ packages/react-native/src/evm/i18n/strings.ts | 18 ++++++++++++++++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .changeset/olive-books-fly.md diff --git a/.changeset/olive-books-fly.md b/.changeset/olive-books-fly.md new file mode 100644 index 00000000000..b548d50f908 --- /dev/null +++ b/.changeset/olive-books-fly.md @@ -0,0 +1,15 @@ +--- +"@thirdweb-dev/react-native": patch +--- + +Adds support for Japanese and Spanish + +You can now pass 'jp' or 'es' to our ThirdwebProvider: + +``` +import { ThirdwebProvider } from '@thirdweb-dev/react-native'; + + + + +``` diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts index 397525476dd..7ee2e9119ff 100644 --- a/packages/react-native/src/evm/i18n/strings.ts +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -13,9 +13,9 @@ export const setLocale = (locale: Locale): LocaleType => { return _es; case "jp": return _jp; + default: + throw new Error(`Locale ${locale} not supported`); } - - throw new Error(`Locale ${locale} not supported`); } return locale; }; @@ -26,3 +26,17 @@ export const en = (locale?: DeepPartial): LocaleType => { } return deepMerge(_en, locale); }; + +export const jp = (locale?: DeepPartial): LocaleType => { + if (!locale) { + return _jp; + } + return deepMerge(_jp, locale); +}; + +export const es = (locale?: DeepPartial): LocaleType => { + if (!locale) { + return _es; + } + return deepMerge(_es, locale); +}; From 84536c0ade897d1d4905504f36811fd7d2e9909c Mon Sep 17 00:00:00 2001 From: ikethirdweb Date: Mon, 30 Oct 2023 19:12:24 -0400 Subject: [PATCH 19/19] ja --- .changeset/olive-books-fly.md | 4 ++-- packages/react-native/src/evm/i18n/{jp.ts => ja.ts} | 2 +- packages/react-native/src/evm/i18n/strings.ts | 12 ++++++------ packages/react-native/src/evm/i18n/types.ts | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) rename packages/react-native/src/evm/i18n/{jp.ts => ja.ts} (99%) diff --git a/.changeset/olive-books-fly.md b/.changeset/olive-books-fly.md index b548d50f908..03ab5046b16 100644 --- a/.changeset/olive-books-fly.md +++ b/.changeset/olive-books-fly.md @@ -4,12 +4,12 @@ Adds support for Japanese and Spanish -You can now pass 'jp' or 'es' to our ThirdwebProvider: +You can now pass 'ja' or 'es' to our ThirdwebProvider: ``` import { ThirdwebProvider } from '@thirdweb-dev/react-native'; - + ``` diff --git a/packages/react-native/src/evm/i18n/jp.ts b/packages/react-native/src/evm/i18n/ja.ts similarity index 99% rename from packages/react-native/src/evm/i18n/jp.ts rename to packages/react-native/src/evm/i18n/ja.ts index a761b7fd39f..dc0dc13352c 100644 --- a/packages/react-native/src/evm/i18n/jp.ts +++ b/packages/react-native/src/evm/i18n/ja.ts @@ -1,4 +1,4 @@ -export const _jp = { +export const _ja = { connect_wallet: { label: "ウォレットを接続", }, diff --git a/packages/react-native/src/evm/i18n/strings.ts b/packages/react-native/src/evm/i18n/strings.ts index 7ee2e9119ff..120bf0055c3 100644 --- a/packages/react-native/src/evm/i18n/strings.ts +++ b/packages/react-native/src/evm/i18n/strings.ts @@ -1,7 +1,7 @@ import { DeepPartial, deepMerge } from "../types/deepPartial"; import { _en } from "./en"; import { _es } from "./es"; -import { _jp } from "./jp"; +import { _ja } from "./ja"; import { Locale, LocaleType } from "./types"; export const setLocale = (locale: Locale): LocaleType => { @@ -11,8 +11,8 @@ export const setLocale = (locale: Locale): LocaleType => { return _en; case "es": return _es; - case "jp": - return _jp; + case "ja": + return _ja; default: throw new Error(`Locale ${locale} not supported`); } @@ -27,11 +27,11 @@ export const en = (locale?: DeepPartial): LocaleType => { return deepMerge(_en, locale); }; -export const jp = (locale?: DeepPartial): LocaleType => { +export const ja = (locale?: DeepPartial): LocaleType => { if (!locale) { - return _jp; + return _ja; } - return deepMerge(_jp, locale); + return deepMerge(_ja, locale); }; export const es = (locale?: DeepPartial): LocaleType => { diff --git a/packages/react-native/src/evm/i18n/types.ts b/packages/react-native/src/evm/i18n/types.ts index 0ba61080fa8..7ef01a3e3c0 100644 --- a/packages/react-native/src/evm/i18n/types.ts +++ b/packages/react-native/src/evm/i18n/types.ts @@ -1,5 +1,5 @@ import { _en } from "./en"; -export type Locale = LocaleType | "en" | "es" | "jp"; +export type Locale = LocaleType | "en" | "es" | "ja"; export type LocaleType = typeof _en;